Re: [Fink-devel] Fwd: Re: [Fink-users] mplayer fails to compile

2011-06-07 Thread Daniel Johnson

On Jun 6, 2011, at 11:49 PM, Daniel Macks wrote:

 On Mon, 06 Jun 2011 10:50:46 -0400, Alexander Hansen  wrote:
 
 OK, it's been more than a month since I sent this.  I haven't gotten
 anything from the listed mplayer maintainer.   (cc'ed on this message). 
 
 If we can't fix this, is there a prior version that worked on
 10.6/x86_64 that we can roll back to?  Or should we block this out on
 10.6/x86_64 altogether?
 
 [...]
 
 cc -I../libavcodec -I../libavformat -Wdisabled-optimization
 -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil
 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4  -mtune=generic
 -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16
 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/sw/include -I/sw/include/lame
 -I/sw/lib/fontconfig2/include -I/usr/local/include -mmmx -msse -msse2
 -msse3 -mssse3 -m3dnow -I/usr/X11/include -I/sw/include/freetype2
 -I/sw/include -I/sw/include -I/sw/include -I/sw/include/dvdnav   -c -o
 vf_ilpack.o vf_ilpack.c
 {standard input}:482:suffix or operands invalid for `push'
 {standard input}:561:suffix or operands invalid for `pop'
 {standard input}:620:suffix or operands invalid for `push'
 {standard input}:703:suffix or operands invalid for `pop'
 make[1]: *** [vf_ilpack.o] Error 1
 make: *** [libmpcodecs/libmpcodecs.a] Error 2
 ### execution of make failed, exit code 2
 Removing runtime build-lock... 
 Removing build-lock package... 
 /sw/bin/dpkg-lockwait -r fink-buildlock-mplayer-1.0.0rc2-1011
 (Reading database ... 335737 files and directories currently installed.)
 Removing fink-buildlock-mplayer-1.0.0rc2-1011 ... 
 Failed: phase compiling: mplayer-1.0.0rc2-1011 failed
 
 Your assistance will be appreciated. 
 I am On a Snow leopard osx version 10.6.7 intel imac. 
 
 Richard Miles
 richard.mile...@gmail.com mailto:richard.mile...@gmail.com
 
 
 32 or 64 bit Fink?
 
 I get the same thing on 64-bit, and the error has been reported before
 there. 
 
 32-bit, on the other hand, works for me. 
 
 I'll cc the maintainer, and I've posted build logs  at
 
 http://akh.users.finkproject.org/finklogs/archives/2011/05/03/mplayer-1_0_0rc2-1011_fails_to_build_on_10_6x86_64/index.html
 
 I just tried 1.0.0rc2 on 64-bit (current unstable) with xcode4. Built 
 fine well beyond this point. In particular, vf_ilpack.c - .o had no 
 errors or even warnings. Eventually exploded at:
 
 cc -I../libavcodec -I../libavformat -Wdisabled-optimization 
 -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil 
 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4  
 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic 
 -falign-loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE 
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H 
 -I/sw64/include -I/sw64/include/lame -I/sw64/lib/fontconfig2/include 
 -I/usr/local/include -mmmx -msse -msse2 -msse3 -mssse3 -m3dnow 
 -I/usr/X11/include -I/sw64/include/freetype2 -I/sw64/include 
 -I/sw64/include -I/sw64/include -I/sw64/include/dvdnav 
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -c -o driver.o 
 driver.c
 In file included from wine/winbase.h:5,
  from win32.h:13,
  from driver.c:19:
 wine/winnt.h:624:2: error: #error You need to define a CONTEXT for your CPU
 In file included from wine/winbase.h:5,
  from win32.h:13,
  from driver.c:19:
 wine/winnt.h:627: error: expected '=', ',', ';', 'asm' or 
 '__attribute__' before '*' token
 wine/winnt.h:751:2: error: #error You need to define 
 DEFINE_REGS_ENTRYPOINT macros for your CPU
 wine/winnt.h:762:3: error: #error You must define GET_IP for this CPU
 wine/winnt.h:1016: error: expected specifier-qualifier-list before 'PCONTEXT'
 wine/winnt.h:1029: error: expected declaration specifiers or '...' 
 before 'PCONTEXT'
 
 and a mess of warnings and other errors. See:
 
 http://dmacks.users.finkproject.org/fink-build-log_mplayer_1.0.0rc2-1011_2011.06.06-23.42.14

Eww, it looks like mplayer is using code from wine internally. If that's the 
case, it will not build at all on x86_64. The wine code doesn't have cpu 
context information for 64 bit processors. At least it never did when I tried 
to build it. Maybe wine upstream has updated code by now?

Looks like there is a 64 bit fork at http://wiki.winehq.org/Wine64.

Daniel


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:

[Fink-devel] Fwd: Re: [Fink-users] mplayer fails to compile

2011-06-06 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

OK, it's been more than a month since I sent this.  I haven't gotten
anything from the listed mplayer maintainer.   (cc'ed on this message).

If we can't fix this, is there a prior version that worked on
10.6/x86_64 that we can roll back to?  Or should we block this out on
10.6/x86_64 altogether?


-  Original Message 
Subject: Re: [Fink-users] mplayer fails to compile
Date: Tue, 03 May 2011 14:02:05 -0400
From: Alexander Hansen alexanderk.han...@gmail.com
Reply-To: fink-us...@lists.sourceforge.net
Organization: Fink Users
To: Richard Miles richard.mile...@gmail.com
CC: fink users fink-us...@lists.sourceforge.net,  James Bunton
jamesbun...@fastmail.fm

On 5/3/11 12:27 PM, Richard Miles wrote:
 I have tried to install and build mplayer. It fails:


snip

 cc -I../libavcodec -I../libavformat -Wdisabled-optimization
 -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil
 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4  -mtune=generic
 -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16
 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/sw/include -I/sw/include/lame
 -I/sw/lib/fontconfig2/include -I/usr/local/include -mmmx -msse -msse2
 -msse3 -mssse3 -m3dnow -I/usr/X11/include -I/sw/include/freetype2
 -I/sw/include -I/sw/include -I/sw/include -I/sw/include/dvdnav   -c -o
 vf_ilpack.o vf_ilpack.c
 {standard input}:482:suffix or operands invalid for `push'
 {standard input}:561:suffix or operands invalid for `pop'
 {standard input}:620:suffix or operands invalid for `push'
 {standard input}:703:suffix or operands invalid for `pop'
 make[1]: *** [vf_ilpack.o] Error 1
 make: *** [libmpcodecs/libmpcodecs.a] Error 2
 ### execution of make failed, exit code 2
 Removing runtime build-lock...
 Removing build-lock package...
 /sw/bin/dpkg-lockwait -r fink-buildlock-mplayer-1.0.0rc2-1011
 (Reading database ... 335737 files and directories currently installed.)
 Removing fink-buildlock-mplayer-1.0.0rc2-1011 ...
 Failed: phase compiling: mplayer-1.0.0rc2-1011 failed

 Your assistance will be appreciated.
 I am On a Snow leopard osx version 10.6.7 intel imac.

 Richard Miles
 richard.mile...@gmail.com mailto:richard.mile...@gmail.com


32 or 64 bit Fink?

I get the same thing on 64-bit, and the error has been reported before
there.

32-bit, on the other hand, works for me.

I'll cc the maintainer, and I've posted build logs  at

http://akh.users.finkproject.org/finklogs/archives/2011/05/03/mplayer-1_0_0rc2-1011_fails_to_build_on_10_6x86_64/index.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3s6UYACgkQB8UpO3rKjQ8crwCfbkVy+OcADeat9g/3lnE3AgJ2
WKwAn3pBIdqht149OAGKHWtuXEkFvn/R
=h1RX
-END PGP SIGNATURE-

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Fwd: Re: [Fink-users] mplayer fails to compile

2011-06-06 Thread Hanspeter Niederstrasser
On 6/6/11 10:50 AM, Alexander Hansen wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 OK, it's been more than a month since I sent this.  I haven't gotten
 anything from the listed mplayer maintainer.   (cc'ed on this message).

 If we can't fix this, is there a prior version that worked on
 10.6/x86_64 that we can roll back to?  Or should we block this out on
 10.6/x86_64 altogether?

mplayer-1.0.0rc2 is from 2007.  rc4 is newest upstream from early 2011, 
so I doubt that anything older than our current rc2 would ever work on 
x86_64.  That being said, the revision log[1] did show some attempts at 
getting x86_64 working with some ./configure flags.  Maybe the stuff in 
revision 1.13 in the CVS log might help (assuming it doesn't break ppc).

[1] 
http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.4/unstable/main/finkinfo/graphics/mplayer.info?view=log

Hanspeter

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Fwd: Re: [Fink-users] mplayer fails to compile

2011-06-06 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 6/6/11 1:38 PM, Hanspeter Niederstrasser wrote:
 On 6/6/11 10:50 AM, Alexander Hansen wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 OK, it's been more than a month since I sent this.  I haven't gotten
 anything from the listed mplayer maintainer.   (cc'ed on this message).

 If we can't fix this, is there a prior version that worked on
 10.6/x86_64 that we can roll back to?  Or should we block this out on
 10.6/x86_64 altogether?
 
 mplayer-1.0.0rc2 is from 2007.  rc4 is newest upstream from early 2011, 
 so I doubt that anything older than our current rc2 would ever work on 
 x86_64.  That being said, the revision log[1] did show some attempts at 
 getting x86_64 working with some ./configure flags.  Maybe the stuff in 
 revision 1.13 in the CVS log might help (assuming it doesn't break ppc).
 
 [1] 
 http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.4/unstable/main/finkinfo/graphics/mplayer.info?view=log
 
 Hanspeter
 

Looks promising.  I'll play around with using that as an x86_64-only
.info file and if it works I'll put it in.

- -- 
Alexander Hansen
Fink User Liaison
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3tFJEACgkQB8UpO3rKjQ+WmACfXl6N62rsv41J4bqBFuDa0boN
edkAoItkG/do54VuwoUfPUoamHcPjZGt
=DZs7
-END PGP SIGNATURE-

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Fwd: Re: [Fink-users] mplayer fails to compile

2011-06-06 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 6/6/11 1:55 PM, Alexander Hansen wrote:
 On 6/6/11 1:38 PM, Hanspeter Niederstrasser wrote:
 On 6/6/11 10:50 AM, Alexander Hansen wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 OK, it's been more than a month since I sent this.  I haven't gotten
 anything from the listed mplayer maintainer.   (cc'ed on this message).

 If we can't fix this, is there a prior version that worked on
 10.6/x86_64 that we can roll back to?  Or should we block this out on
 10.6/x86_64 altogether?
 
 mplayer-1.0.0rc2 is from 2007.  rc4 is newest upstream from early 2011, 
 so I doubt that anything older than our current rc2 would ever work on 
 x86_64.  That being said, the revision log[1] did show some attempts at 
 getting x86_64 working with some ./configure flags.  Maybe the stuff in 
 revision 1.13 in the CVS log might help (assuming it doesn't break ppc).
 
 [1] 
 http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.4/unstable/main/finkinfo/graphics/mplayer.info?view=log
 
 Hanspeter
 
 
 Looks promising.  I'll play around with using that as an x86_64-only
 .info file and if it works I'll put it in.
 

Unfortunately, that failed, too.
- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3tY0gACgkQB8UpO3rKjQ+W5gCcD7dpRONPkVACsHkeoAbOGXrb
5J0AnRI4mbEsreI2jT84lLkcczQN3haL
=q9Ks
-END PGP SIGNATURE-

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Fwd: Re: [Fink-users] mplayer fails to compile

2011-06-06 Thread Daniel Macks
On Mon, 06 Jun 2011 10:50:46 -0400, Alexander Hansen  wrote:

 OK, it's been more than a month since I sent this.  I haven't gotten
 anything from the listed mplayer maintainer.   (cc'ed on this message). 

 If we can't fix this, is there a prior version that worked on
 10.6/x86_64 that we can roll back to?  Or should we block this out on
 10.6/x86_64 altogether?

[...]

  cc -I../libavcodec -I../libavformat -Wdisabled-optimization
  -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil
  -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4  -mtune=generic
  -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16
  -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/sw/include -I/sw/include/lame
  -I/sw/lib/fontconfig2/include -I/usr/local/include -mmmx -msse -msse2
  -msse3 -mssse3 -m3dnow -I/usr/X11/include -I/sw/include/freetype2
  -I/sw/include -I/sw/include -I/sw/include -I/sw/include/dvdnav   -c -o
  vf_ilpack.o vf_ilpack.c
  {standard input}:482:suffix or operands invalid for `push'
  {standard input}:561:suffix or operands invalid for `pop'
  {standard input}:620:suffix or operands invalid for `push'
  {standard input}:703:suffix or operands invalid for `pop'
  make[1]: *** [vf_ilpack.o] Error 1
  make: *** [libmpcodecs/libmpcodecs.a] Error 2
  ### execution of make failed, exit code 2
  Removing runtime build-lock... 
  Removing build-lock package... 
  /sw/bin/dpkg-lockwait -r fink-buildlock-mplayer-1.0.0rc2-1011
  (Reading database ... 335737 files and directories currently installed.)
  Removing fink-buildlock-mplayer-1.0.0rc2-1011 ... 
  Failed: phase compiling: mplayer-1.0.0rc2-1011 failed
 
  Your assistance will be appreciated. 
  I am On a Snow leopard osx version 10.6.7 intel imac. 
 
  Richard Miles
  richard.mile...@gmail.com mailto:richard.mile...@gmail.com
 
 
 32 or 64 bit Fink?

 I get the same thing on 64-bit, and the error has been reported before
 there. 

 32-bit, on the other hand, works for me. 

 I'll cc the maintainer, and I've posted build logs  at

 http://akh.users.finkproject.org/finklogs/archives/2011/05/03/mplayer-1_0_0rc2-1011_fails_to_build_on_10_6x86_64/index.html

I just tried 1.0.0rc2 on 64-bit (current unstable) with xcode4. Built 
fine well beyond this point. In particular, vf_ilpack.c - .o had no 
errors or even warnings. Eventually exploded at:

cc -I../libavcodec -I../libavformat -Wdisabled-optimization 
-Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil 
-Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4  
-mtune=generic -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic 
-falign-loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H 
-I/sw64/include -I/sw64/include/lame -I/sw64/lib/fontconfig2/include 
-I/usr/local/include -mmmx -msse -msse2 -msse3 -mssse3 -m3dnow 
-I/usr/X11/include -I/sw64/include/freetype2 -I/sw64/include 
-I/sw64/include -I/sw64/include -I/sw64/include/dvdnav 
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -c -o driver.o 
driver.c
In file included from wine/winbase.h:5,
 from win32.h:13,
 from driver.c:19:
wine/winnt.h:624:2: error: #error You need to define a CONTEXT for your CPU
In file included from wine/winbase.h:5,
 from win32.h:13,
 from driver.c:19:
wine/winnt.h:627: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
wine/winnt.h:751:2: error: #error You need to define 
DEFINE_REGS_ENTRYPOINT macros for your CPU
wine/winnt.h:762:3: error: #error You must define GET_IP for this CPU
wine/winnt.h:1016: error: expected specifier-qualifier-list before 'PCONTEXT'
wine/winnt.h:1029: error: expected declaration specifiers or '...' 
before 'PCONTEXT'

and a mess of warnings and other errors. See:

http://dmacks.users.finkproject.org/fink-build-log_mplayer_1.0.0rc2-1011_2011.06.06-23.42.14

dan

  --
Daniel Macks
dma...@netspace.org



--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel