[MacPorts] #25806: Mesa won't build/upgrade

MacPorts noreply at macports.org
Mon Jul 26 10:57:29 PDT 2010


#25806: Mesa won't build/upgrade
---------------------------------+------------------------------------------
 Reporter:  hobbsilla@…          |       Owner:  jeremyhu@…           
     Type:  defect               |      Status:  new                  
 Priority:  Normal               |   Milestone:                       
Component:  ports                |     Version:  1.9.1                
 Keywords:                       |        Port:  mesa                 
---------------------------------+------------------------------------------

Comment(by acb@…):

 Oops, spoke too soon.  I got as far as building xorg-libXt and got the
 same error again, referencing mesa:

 {{{
 Error: Target org.macports.build returned: shell command failed
 Log for xorg-libXt is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_x11_xorg-libXt/main.log
 Error: Unable to upgrade port: 1
 Error: Unable to execute port: upgrade mesa failed
 }}}

 Here's a tail -80 from the referenced logfile:

 {{{
 :info:build i686-apple-darwin10-gcc-4.2.1: -flat_namespace: linker input
 file unused because linking not done
 :info:build i686-apple-darwin10-gcc-4.2.1: -flat_namespace: linker input
 file unused because linking not done
 :info:build   CC     VarGet.lo
 :info:build /bin/sh ../libtool --silent --tag=CC   --mode=compile
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11
 -I../include -I../include/X11  -I/opt/local/include -Wall -Wpointer-arith
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-
 externs -fno-strict-aliasing -Wbad-function-cast -Wformat=2 -Wold-style-
 definition -Wdeclaration-after-statement  -I/opt/local/include
 -Wl,-flat_namespace
 -DXFILESEARCHPATHDEFAULT=\"/opt/local/etc/X11/%L/%T/%N%C%S:/opt/local/etc/X11/%l/%T/%N%C%S:/opt/local/etc/X11/%T/%N%C%S:/opt/local/etc/X11/%L/%T/%N%S:/opt/local/etc/X11/%l/%T/%N%S:/opt/local/etc/X11/%T/%N%S:/opt/local/share/X11/%L/%T/%N%C%S:/opt/local/share/X11/%l/%T/%N%C%S:/opt/local/share/X11/%T/%N%C%S:/opt/local/share/X11/%L/%T/%N%S:/opt/local/share/X11/%l/%T/%N%S:/opt/local/share/X11/%T/%N%S:/opt/local/lib/X11/%L/%T/%N%C%S:/opt/local/lib/X11/%l/%T/%N%C%S:/opt/local/lib/X11/%T/%N%C%S:/opt/local/lib/X11/%L/%T/%N%S:/opt/local/lib/X11/%l/%T/%N%S:/opt/local/lib/X11/%T/%N%S\"
 -DERRORDB=\"/opt/local/lib/X11/XtErrorDB\"  -O2 -arch x86_64 -arch i386 -c
 -o VarGet.lo VarGet.c
 :info:build i686-apple-darwin10-gcc-4.2.1: -flat_namespace: linker input
 file unused because linking not done
 :info:build i686-apple-darwin10-gcc-4.2.1: -flat_namespace: linker input
 file unused because linking not done
 :info:build   CC     Varargs.lo
 :info:build /bin/sh ../libtool --silent --tag=CC   --mode=compile
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11
 -I../include -I../include/X11  -I/opt/local/include -Wall -Wpointer-arith
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-
 externs -fno-strict-aliasing -Wbad-function-cast -Wformat=2 -Wold-style-
 definition -Wdeclaration-after-statement  -I/opt/local/include
 -Wl,-flat_namespace
 -DXFILESEARCHPATHDEFAULT=\"/opt/local/etc/X11/%L/%T/%N%C%S:/opt/local/etc/X11/%l/%T/%N%C%S:/opt/local/etc/X11/%T/%N%C%S:/opt/local/etc/X11/%L/%T/%N%S:/opt/local/etc/X11/%l/%T/%N%S:/opt/local/etc/X11/%T/%N%S:/opt/local/share/X11/%L/%T/%N%C%S:/opt/local/share/X11/%l/%T/%N%C%S:/opt/local/share/X11/%T/%N%C%S:/opt/local/share/X11/%L/%T/%N%S:/opt/local/share/X11/%l/%T/%N%S:/opt/local/share/X11/%T/%N%S:/opt/local/lib/X11/%L/%T/%N%C%S:/opt/local/lib/X11/%l/%T/%N%C%S:/opt/local/lib/X11/%T/%N%C%S:/opt/local/lib/X11/%L/%T/%N%S:/opt/local/lib/X11/%l/%T/%N%S:/opt/local/lib/X11/%T/%N%S\"
 -DERRORDB=\"/opt/local/lib/X11/XtErrorDB\"  -O2 -arch x86_64 -arch i386 -c
 -o Varargs.lo Varargs.c
 :info:build   CC     Vendor.lo
 :info:build /bin/sh ../libtool --silent --tag=CC   --mode=compile
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11
 -I../include -I../include/X11  -I/opt/local/include -Wall -Wpointer-arith
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-
 externs -fno-strict-aliasing -Wbad-function-cast -Wformat=2 -Wold-style-
 definition -Wdeclaration-after-statement  -I/opt/local/include
 -Wl,-flat_namespace
 -DXFILESEARCHPATHDEFAULT=\"/opt/local/etc/X11/%L/%T/%N%C%S:/opt/local/etc/X11/%l/%T/%N%C%S:/opt/local/etc/X11/%T/%N%C%S:/opt/local/etc/X11/%L/%T/%N%S:/opt/local/etc/X11/%l/%T/%N%S:/opt/local/etc/X11/%T/%N%S:/opt/local/share/X11/%L/%T/%N%C%S:/opt/local/share/X11/%l/%T/%N%C%S:/opt/local/share/X11/%T/%N%C%S:/opt/local/share/X11/%L/%T/%N%S:/opt/local/share/X11/%l/%T/%N%S:/opt/local/share/X11/%T/%N%S:/opt/local/lib/X11/%L/%T/%N%C%S:/opt/local/lib/X11/%l/%T/%N%C%S:/opt/local/lib/X11/%T/%N%C%S:/opt/local/lib/X11/%L/%T/%N%S:/opt/local/lib/X11/%l/%T/%N%S:/opt/local/lib/X11/%T/%N%S\"
 -DERRORDB=\"/opt/local/lib/X11/XtErrorDB\"  -O2 -arch x86_64 -arch i386 -c
 -o Vendor.lo Vendor.c
 :info:build Varargs.c: In function 'TypedArgToArg':
 :info:build Varargs.c:247: warning: cast from function call of type 'char
 *' to non-matching type 'long int'
 :info:build i686-apple-darwin10-gcc-4.2.1: -flat_namespace: linker input
 file unused because linking not done
 :info:build i686-apple-darwin10-gcc-4.2.1: -flat_namespace: linker input
 file unused because linking not done
 :info:build i686-apple-darwin10-gcc-4.2.1: -flat_namespace: linker input
 file unused because linking not done
 :info:build Varargs.c: In function 'TypedArgToArg':
 :info:build Varargs.c:247: warning: cast from function call of type 'char
 *' to non-matching type 'long int'
 :info:build   CC     sharedlib.lo
 :info:build /bin/sh ../libtool --silent --tag=CC   --mode=compile
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11
 -I../include -I../include/X11  -I/opt/local/include -Wall -Wpointer-arith
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-
 externs -fno-strict-aliasing -Wbad-function-cast -Wformat=2 -Wold-style-
 definition -Wdeclaration-after-statement  -I/opt/local/include
 -Wl,-flat_namespace
 -DXFILESEARCHPATHDEFAULT=\"/opt/local/etc/X11/%L/%T/%N%C%S:/opt/local/etc/X11/%l/%T/%N%C%S:/opt/local/etc/X11/%T/%N%C%S:/opt/local/etc/X11/%L/%T/%N%S:/opt/local/etc/X11/%l/%T/%N%S:/opt/local/etc/X11/%T/%N%S:/opt/local/share/X11/%L/%T/%N%C%S:/opt/local/share/X11/%l/%T/%N%C%S:/opt/local/share/X11/%T/%N%C%S:/opt/local/share/X11/%L/%T/%N%S:/opt/local/share/X11/%l/%T/%N%S:/opt/local/share/X11/%T/%N%S:/opt/local/lib/X11/%L/%T/%N%C%S:/opt/local/lib/X11/%l/%T/%N%C%S:/opt/local/lib/X11/%T/%N%C%S:/opt/local/lib/X11/%L/%T/%N%S:/opt/local/lib/X11/%l/%T/%N%S:/opt/local/lib/X11/%T/%N%S\"
 -DERRORDB=\"/opt/local/lib/X11/XtErrorDB\"  -O2 -arch x86_64 -arch i386 -c
 -o sharedlib.lo sharedlib.c
 :info:build i686-apple-darwin10-gcc-4.2.1: -flat_namespace: linker input
 file unused because linking not done
 :info:build sharedlib.c:187: warning: 'dummy' defined but not used
 :info:build i686-apple-darwin10-gcc-4.2.1: -flat_namespace: linker input
 file unused because linking not done
 :info:build sharedlib.c:187: warning: 'dummy' defined but not used
 :info:build i686-apple-darwin10-gcc-4.2.1: -flat_namespace: linker input
 file unused because linking not done
 :info:build   CC     StringDefs.lo
 :info:build /bin/sh ../libtool --silent --tag=CC   --mode=compile
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include/ -I../include/X11
 -I../include -I../include/X11  -I/opt/local/include -Wall -Wpointer-arith
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-
 externs -fno-strict-aliasing -Wbad-function-cast -Wformat=2 -Wold-style-
 definition -Wdeclaration-after-statement  -I/opt/local/include
 -Wl,-flat_namespace
 -DXFILESEARCHPATHDEFAULT=\"/opt/local/etc/X11/%L/%T/%N%C%S:/opt/local/etc/X11/%l/%T/%N%C%S:/opt/local/etc/X11/%T/%N%C%S:/opt/local/etc/X11/%L/%T/%N%S:/opt/local/etc/X11/%l/%T/%N%S:/opt/local/etc/X11/%T/%N%S:/opt/local/share/X11/%L/%T/%N%C%S:/opt/local/share/X11/%l/%T/%N%C%S:/opt/local/share/X11/%T/%N%C%S:/opt/local/share/X11/%L/%T/%N%S:/opt/local/share/X11/%l/%T/%N%S:/opt/local/share/X11/%T/%N%S:/opt/local/lib/X11/%L/%T/%N%C%S:/opt/local/lib/X11/%l/%T/%N%C%S:/opt/local/lib/X11/%T/%N%C%S:/opt/local/lib/X11/%L/%T/%N%S:/opt/local/lib/X11/%l/%T/%N%S:/opt/local/lib/X11/%T/%N%S\"
 -DERRORDB=\"/opt/local/lib/X11/XtErrorDB\"  -O2 -arch x86_64 -arch i386 -c
 -o StringDefs.lo StringDefs.c
 :info:build i686-apple-darwin10-gcc-4.2.1: -flat_namespace: linker input
 file unused because linking not done
 :info:build i686-apple-darwin10-gcc-4.2.1: -flat_namespace: linker input
 file unused because linking not done
 :info:build   CCLD   libXt.la
 :info:build ld: warning: in /opt/local/lib/libSM.dylib, file was built for
 unsupported file format which is not the architecture being linked (i386)
 :info:build ld: warning: in /opt/local/lib/libICE.dylib, file was built
 for unsupported file format which is not the architecture being linked
 (i386)
 :info:build Undefined symbols:
 :info:build   "_IceConnectionNumber", referenced from:
 :info:build       _JoinSession in Shell.o
 :info:build   "_SmcSaveYourselfDone", referenced from:
 :info:build       _XtSessionReturnToken in Shell.o
 :info:build       _CallSaveCallbacks in Shell.o
 :info:build       _XtCallCancelCallbacks in Shell.o
 :info:build   "_SmcGetIceConnection", referenced from:
 :info:build       _GetIceEvent in Shell.o
 :info:build       _JoinSession in Shell.o
 :info:build   "_IceProcessMessages", referenced from:
 :info:build       _GetIceEvent in Shell.o
 :info:build   "_SmcInteractDone", referenced from:
 :info:build       _XtInteractPermission in Shell.o
 :info:build       _XtSessionReturnToken in Shell.o
 :info:build   "_SmcRequestSaveYourselfPhase2", referenced from:
 :info:build       _XtSessionReturnToken in Shell.o
 :info:build   "_SmcClientID", referenced from:
 :info:build       _JoinSession in Shell.o
 :info:build   "_SmcModifyCallbacks", referenced from:
 :info:build       _JoinSession in Shell.o
 :info:build   "_SmcDeleteProperties", referenced from:
 :info:build       _SetSessionProperties in Shell.o
 :info:build   "_SmcInteractRequest", referenced from:
 :info:build       _XtSessionReturnToken in Shell.o
 :info:build   "_SmcCloseConnection", referenced from:
 :info:build       _StopManagingSession in Shell.o
 :info:build   "_SmcOpenConnection", referenced from:
 :info:build       _JoinSession in Shell.o
 :info:build   "_SmcSetProperties", referenced from:
 :info:build       _SetSessionProperties in Shell.o
 :info:build       _SetSessionProperties in Shell.o
 :info:build ld: symbol(s) not found
 :info:build collect2: ld returned 1 exit status
 :info:build lipo: can't open input file: /var/tmp//cc5OZq3M.out (No such
 file or directory)
 :info:build make[3]: *** [libXt.la] Error 1
 :info:build make[2]: *** [all] Error 2
 :info:build make[1]: *** [all-recursive] Error 1
 :info:build make: *** [all] Error 2
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_x11_xorg-libXt/work/libXt-1.0.8" && /usr/bin/make -j2
 all " returned error 2
 :error:build Target org.macports.build returned: shell command failed
 :debug:build Backtrace: shell command failed
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: the following items did not execute (for xorg-libXt):
 org.macports.destroot org.macports.build
 :notice:build Log for xorg-libXt is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_x11_xorg-libXt/main.log
 }}}

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


More information about the macports-tickets mailing list