[MacPorts] #22775: dependencies for wine-devel fail to build universal, so wine-devel cannot install on Snow Leopard

MacPorts noreply at macports.org
Fri Dec 4 05:50:16 PST 2009


#22775: dependencies for wine-devel fail to build universal, so wine-devel cannot
install on Snow Leopard
--------------------------------------+-------------------------------------
 Reporter:  megAnhalt@…               |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  1.8.1                                
 Keywords:  wine-devel, snow leopard  |        Port:  wine-devel                           
--------------------------------------+-------------------------------------
 Hello everybody,

 I've looked around the db for a similar report, but they are different
 afaics:

 When trying to install wine-devel +universal on Snow Leopard on a
 uninstalled and cleaned system (following Migration instructions), wine-
 devel must be installed as universal. the problem is that jpeg fails to
 build universal, with the following error code:

 {{{
 ...
 --->  Building jpeg
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_jpeg/work
 /jpeg-6b" && /usr/bin/make -j2 all " returned error 2
 Command output: /usr/bin/gcc-4.2 -O2 -arch i386 -arch ppc
 -isystem/opt/local/include -I. -c ./transupp.c -o transupp.o >/dev/null
 2>&1
 /usr/bin/gcc-4.2 -O2 -arch i386 -arch ppc -isystem/opt/local/include -I.
 -c ./rdjpgcom.c -o rdjpgcom.o >/dev/null 2>&1
 mv -f .libs/rdjpgcom.lo rdjpgcom.lo
 ./libtool --mode=compile /usr/bin/gcc-4.2 -O2 -arch i386 -arch ppc
 -isystem/opt/local/include -I. -c ./wrjpgcom.c
 rm -f .libs/wrjpgcom.lo
 /usr/bin/gcc-4.2 -O2 -arch i386 -arch ppc -isystem/opt/local/include -I.
 -c ./wrjpgcom.c  -fno-common -DPIC -o .libs/wrjpgcom.lo
 /usr/bin/gcc-4.2 -O2 -arch i386 -arch ppc -isystem/opt/local/include -I.
 -c ./wrjpgcom.c -o wrjpgcom.o >/dev/null 2>&1
 mv -f .libs/wrjpgcom.lo wrjpgcom.lo
 ./libtool --mode=link "/usr/bin/gcc-4.2 -O2 -arch i386 -arch ppc
 -isystem/opt/local/include -I." -o libjpeg.la jcapimin.lo jcapistd.lo
 jctrans.lo jcparam.lo jdatadst.lo jcinit.lo jcmaster.lo jcmarker.lo
 jcmainct.lo jcprepct.lo jccoefct.lo jccolor.lo jcsample.lo jchuff.lo
 jcphuff.lo jcdctmgr.lo jfdctfst.lo jfdctflt.lo jfdctint.lo jdapimin.lo
 jdapistd.lo jdtrans.lo jdatasrc.lo jdmaster.lo jdinput.lo jdmarker.lo
 jdhuff.lo jdphuff.lo jdmainct.lo jdcoefct.lo jdpostct.lo jddctmgr.lo
 jidctfst.lo jidctflt.lo jidctint.lo jidctred.lo jdsample.lo jdcolor.lo
 jquant1.lo jquant2.lo jdmerge.lo jcomapi.lo jutils.lo jerror.lo jmemmgr.lo
 jmemnobs.lo \
                 -rpath /opt/local/lib -no-undefined -version-info 62
 rm -fr .libs/libjpeg.la .libs/libjpeg.* .libs/libjpeg.*
 mv -f .libs/transupp.lo transupp.lo
 ./libtool --mode=link /usr/bin/gcc-4.2  -o rdjpgcom rdjpgcom.lo -arch
 x86_64 -arch i386 -arch ppc
 /usr/bin/gcc-4.2 -o rdjpgcom rdjpgcom.o -arch x86_64 -arch i386 -arch ppc
 ld: warning: in rdjpgcom.o, missing required architecture x86_64 in file
 Undefined symbols for architecture x86_64:
   "_main", referenced from:
       start in crt1.10.6.o
 ld: symbol(s) not found for architecture x86_64
 collect2: ld returned 1 exit status
 lipo: can't open input file: /var/tmp//ccozXoFR.out (No such file or
 directory)
 make: *** [rdjpgcom] Error 1
 make: *** Waiting for unfinished jobs....
 /usr/bin/gcc-4.2 -O2 -arch i386 -arch ppc -isystem/opt/local/include -I.
 -dynamiclib  -o .libs/libjpeg.62.0.0.dylib  jcapimin.lo jcapistd.lo
 jctrans.lo jcparam.lo jdatadst.lo jcinit.lo jcmaster.lo jcmarker.lo
 jcmainct.lo jcprepct.lo jccoefct.lo jccolor.lo jcsample.lo jchuff.lo
 jcphuff.lo jcdctmgr.lo jfdctfst.lo jfdctflt.lo jfdctint.lo jdapimin.lo
 jdapistd.lo jdtrans.lo jdatasrc.lo jdmaster.lo jdinput.lo jdmarker.lo
 jdhuff.lo jdphuff.lo jdmainct.lo jdcoefct.lo jdpostct.lo jddctmgr.lo
 jidctfst.lo jidctflt.lo jidctint.lo jidctred.lo jdsample.lo jdcolor.lo
 jquant1.lo jquant2.lo jdmerge.lo jcomapi.lo jutils.lo jerror.lo jmemmgr.lo
 jmemnobs.lo  -lc  -install_name /opt/local/lib/libjpeg.62.dylib
 -compatibility_version 63 -current_version 63.0
 (cd .libs && rm -f libjpeg.62.dylib && ln -s libjpeg.62.0.0.dylib
 libjpeg.62.dylib)
 (cd .libs && rm -f libjpeg.dylib && ln -s libjpeg.62.0.0.dylib
 libjpeg.dylib)
 ar cru .libs/libjpeg.a  jcapimin.o jcapistd.o jctrans.o jcparam.o
 jdatadst.o jcinit.o jcmaster.o jcmarker.o jcmainct.o jcprepct.o jccoefct.o
 jccolor.o jcsample.o jchuff.o jcphuff.o jcdctmgr.o jfdctfst.o jfdctflt.o
 jfdctint.o jdapimin.o jdapistd.o jdtrans.o jdatasrc.o jdmaster.o jdinput.o
 jdmarker.o jdhuff.o jdphuff.o jdmainct.o jdcoefct.o jdpostct.o jddctmgr.o
 jidctfst.o jidctflt.o jidctint.o jidctred.o jdsample.o jdcolor.o jquant1.o
 jquant2.o jdmerge.o jcomapi.o jutils.o jerror.o jmemmgr.o jmemnobs.o
 ranlib .libs/libjpeg.a
 creating libjpeg.la
 (cd .libs && rm -f libjpeg.la && ln -s ../libjpeg.la libjpeg.la)

 Error: The following dependencies failed to build: jpeg libxml2 libxslt
 mesa glut makedepend pkgconfig xorg-xproto xorg-dri2proto xorg-glproto
 xorg-libXfixes xorg-fixesproto xorg-libX11 groff xorg-bigreqsproto xorg-
 inputproto xorg-kbproto xorg-libXau xorg-libXdmcp xorg-util-macros xorg-
 xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXi
 xorg-libXext xorg-libXmu xorg-libXt xorg-libsm xorg-libice ncurses
 ncursesw openssl xorg-libXcursor xorg-renderproto xrender xorg-libXinerama
 xorg-xineramaproto xorg-libXrandr xorg-randrproto xorg-libXxf86vm xorg-
 xf86vidmodeproto
 Error: Status 1 encountered during processing.


 }}}

 Wine refuses to build unless it's i386, which is impossible since jpeg
 doesn't build universal. (tried to build it regularly, which works, but
 doesn't work as a dependency for wine.

 As I said, following the Migration instructions for Macport, I wiped the
 Macports system clean after installing Snow Leopard, XCode and Macports
 was updated, and wine was the first one to be installed.

 I've been trying for two days to install wine-devel, reading bug reports
 and tickets, uninstalling, cleaning, and installing again.
 Is there a working solution to the problem?

 I actually hope it's just me and not a general problem...

-- 
Ticket URL: <http://trac.macports.org/ticket/22775>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list