Opened 2 years ago

Last modified 2 years ago

#57755 assigned defect

libmacho @921 does not build on PPC Mac OS X 10.4.11, Tiger, because execvp is missing

Reported by: ballapete (Peter Dyballa) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: tiger Cc:
Port: libmacho

Description

Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_libmacho/libmacho/work/cctools-921/libmacho" && /usr/bin/make -w libmacho.a libmacho.dylib CC="/opt/local/bin/gcc-apple-4.2" RC_CFLAGS="-Os -arch i386 -arch ppc" RC_ARCHS="i386 ppc" DEPENDENT_LIBS="" RC_ProjectSourceVersion=921 INSTALL_NAME="/opt/local/lib/libmacho.1.dylib" 
DEBUG: system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_libmacho/libmacho/work/cctools-921/libmacho" && /usr/bin/make -w libmacho.a libmacho.dylib CC="/opt/local/bin/gcc-apple-4.2" RC_CFLAGS="-Os -arch i386 -arch ppc" RC_ARCHS="i386 ppc" DEPENDENT_LIBS="" RC_ProjectSourceVersion=921 INSTALL_NAME="/opt/local/lib/libmacho.1.dylib" 
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_libmacho/libmacho/work/cctools-921/libmacho'
/opt/local/bin/gcc-apple-4.2 -Os -g -Wall -D_MACH_I386_THREAD_STATUS_FPSTATE_LEGACY_FIELD_NAMES_ -D_ARCHITECTURE_I386_FPU_FPSTATE_LEGACY_FIELD_NAMES_ -I. -I./../include -I.  -Os -arch i386 -arch ppc  -c -o ./arch.o arch.c
gcc-apple-4.2: error trying to exec '/opt/local/bin/i686-apple-darwin8-gcc-apple-4.2.4': execvp: No such file or directory
fatal error: lipo: can't figure out the architecture type of: /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_libmacho/libmacho/work/.tmp/ccbSycbD.out
make: *** [arch.o] Error 255
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_libmacho/libmacho/work/cctools-921/libmacho'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_libmacho/libmacho/work/cctools-921/libmacho" && /usr/bin/make -w libmacho.a libmacho.dylib CC="/opt/local/bin/gcc-apple-4.2" RC_CFLAGS="-Os -arch i386 -arch ppc" RC_ARCHS="i386 ppc" DEPENDENT_LIBS="" RC_ProjectSourceVersion=921 INSTALL_NAME="/opt/local/lib/libmacho.1.dylib" 
Exit code: 2

Attachments (1)

main.log (9.7 KB) - added by ballapete (Peter Dyballa) 2 years ago.
Main.log from build on PowerPC 7447A Mac OS X 10.4.11, Tiger

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by ballapete (Peter Dyballa)

Attachment: main.log added

Main.log from build on PowerPC 7447A Mac OS X 10.4.11, Tiger

comment:1 Changed 2 years ago by ballapete (Peter Dyballa)

/opt/local/bin/i686-apple-darwin8-gcc-apple-4.2.4 is missing on PPC.

comment:2 Changed 2 years ago by mf2k (Frank Schima)

Cc: jeremyhu@… removed
Owner: set to jeremyhu
Status: newassigned

comment:3 Changed 2 years ago by kencu (Ken)

You have to build it as -universal on TigerPPC. Actually, -universal might well best be in your variants.conf, as building things +universal on Tiger PPC is presently all but a lost cause with the move to c++11 and gcc6 building so much of everything.

We should be happy it builds as -universal at all!

Note: See TracTickets for help on using tickets.