Opened 14 years ago

Closed 14 years ago

#25806 closed defect (invalid)

Mesa won't build/upgrade

Reported by: hobbsilla Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: mesa

Description

I'm attempting to install wine-devel and mesa is failing to upgrade. Its trying to update MesaLib to 7.8.2 but I've checked the distlist and 7.8.1 is only avaiable not sure if that has anything to do with it. But the following error message appears after typing sudo port install wine-devel:

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

Also as a sidenote question, what is the best way to edit the macport.conf file so I can have permissions to remove the comment/# symbol to let buildmakejobs equal 0? I have no idea how to use vi and text edit won't let you do save changes even if you give the user writing privileges to the .conf file.

Change History (9)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Keywords: mesa removed
Owner: changed from macports-tickets@… to jeremyhu@…
Type: updatedefect

Please remember to cc the maintainer. Attach the referenced log.

comment:2 Changed 14 years ago by hobbsilla

Cc: hobbsilla@… added

Cc Me!

comment:3 in reply to:  1 ; Changed 14 years ago by hobbsilla

Replying to jmr@…:

Please remember to cc the maintainer. Attach the referenced log.

Was the text I left in the box of code not the referenced log?

comment:4 in reply to:  3 Changed 14 years ago by mf2k (Frank Schima)

Cc: hobbsilla@… removed

Replying to hobbsilla@…:

Was the text I left in the box of code not the referenced log?

No.

comment:5 Changed 14 years ago by acb@…

I was having the same problem but just did a direct "sudo port install mesa" and got @7.8.2_2 successfully installed... and now the wine install is proceeding.

comment:6 Changed 14 years ago 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

comment:7 Changed 14 years ago by acb@…

Is the double path-slash in ":info:build lipo: can't open input file: /var/tmpcc5OZq3M.out (No such file or directory)" significant, perhaps?

comment:8 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

: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)

xorg-libice and xorg-libsm need to be built +universal since you are building xorg-libXt +universal

This is not a 'mesa' bug. It says mesa couldn't be built because that is what you wanted to install (and it failed on a dependency because of your configuration).

comment:9 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.