Opened 15 years ago

Closed 15 years ago

#20040 closed defect (worksforme)

mesa-7.4.3 Fails to build with +hw_render +darwin_8 +universal

Reported by: cgtobi@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: anddam (Andrea D'Amore)
Port: mesa

Description (last modified by mf2k (Frank Schima))

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.4.3" && make default INSTALL_DIR=/opt/local CC=/usr/bin/gcc-4.0 CXX=/usr/bin/g++-4.0 RC_CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk  -arch ppc -arch i386" " returned error 2
Command output: _getegid referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
_geteuid referenced from libX11 expected to be def
ined in /usr/lib/libSystem.B.dylib
_getgid referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
_getuid referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
_issetugid referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
_strncat referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
_strstr referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
_shmat referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
_shmctl referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
_shmdt referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
_fdopen referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
_mmap referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
_munmap referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
_nl_langinfo referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
_stat referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
_time referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
_fileno referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
_getc referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
_ungetc referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
_mblen referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
___toupper referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
_getpid referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
_gettimeofday referenced from libX11 expected to be defined in /usr/lib/libSystem.B.dylib
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edit command failed
lipo: can't figure out the architecture type of: /var/tmp//ccCJsfdN.out
mklib: Installing libGL.1.2.dylib libGL.1.dylib libGL.dylib in ../../../lib
mv: rename libGL.1.2.dylib to ../../../lib/libGL.1.2.dylib: No such file or directory
make[2]: *** [../../../lib/libGL.dylib] Error 1
make[1]: *** [subdirs] Error 1
make: *** [default] Error 1
Error: Unable to upgrade port: 1
Executing: /opt/local/bin/port -ufn upgrade mesa +hw_render +darwin_8 +universal

Change History (6)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: and.damore@… added; cgtobi@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to jeremyhu@…

comment:2 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

My guess is you have some environment settings for preloading or something. What is the output of:

set | grep LD

comment:3 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Status: newassigned

comment:4 Changed 15 years ago by blb@…

port should be cleaning any DYLD environment variables before it runs; since you're trying to build mesa +universal, are all of its dependencies built +universal as well?

port installed

comment:5 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

I wonder if this is a problem where it's linking against /usr/lib/libSystem.B.dylib on ppc, and is thus missing the intel bits.

Please attach the entire build log (sudo port -v install mesa)

comment:6 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: worksforme
Status: assignedclosed

Closing due to lack of user response. This works for other people, so assuming user error...

Note: See TracTickets for help on using tickets.