[MacPorts] #65771: aolserver ignores Macports arch flags and fails on Rosetta: file was built for unsupported file format which is not the architecture being linked (ppc)

MacPorts noreply at macports.org
Mon Sep 5 03:38:03 UTC 2022


#65771: aolserver ignores Macports arch flags and fails on Rosetta: file was built
for unsupported file format which is not the architecture being linked
(ppc)
-------------------------------------------+--------------------------
 Reporter:  barracuda156                   |      Owner:  tobypeterson
     Type:  defect                         |     Status:  assigned
 Priority:  Normal                         |  Milestone:
Component:  ports                          |    Version:  2.7.2
 Keywords:  powerpc, rosetta, snowleopard  |       Port:  aolserver
-------------------------------------------+--------------------------
 {{{
 :info:build ranlib libnsthread.a
 :info:build /usr/bin/gcc-4.2 -dynamiclib -install_name
 /opt/local/aolserver/lib/libnsthread.dylib -init __NsThreads_LibInit -pipe
 -Os  -pipe    -o libnsthread.dylib error.o master.o memory.o mutex.o
 cslock.o rwlock.o reentrant.o sema.o thread.o tls.o compat.o time.o
 pthread.o fork.o signal.o nsthread_libinit.o \
 :info:build      -L/opt/local/lib -ltcl8.6  -lz  -lpthread -framework
 CoreFoundation  -L/opt/local/lib -Wl,-headerpad_max_install_names -arch
 ppc
 :info:build ld: warning: in error.o, file was built for unsupported file
 format which is not the architecture being linked (ppc)
 :info:build ld: warning: in master.o, file was built for unsupported file
 format which is not the architecture being linked (ppc)
 :info:build ld: warning: in memory.o, file was built for unsupported file
 format which is not the architecture being linked (ppc)
 :info:build ld: warning: in mutex.o, file was built for unsupported file
 format which is not the architecture being linked (ppc)
 :info:build ld: warning: in cslock.o, file was built for unsupported file
 format which is not the architecture being linked (ppc)
 :info:build ld: warning: in rwlock.o, file was built for unsupported file
 format which is not the architecture being linked (ppc)
 :info:build ld: warning: in reentrant.o, file was built for unsupported
 file format which is not the architecture being linked (ppc)
 :info:build ld: warning: in sema.o, file was built for unsupported file
 format which is not the architecture being linked (ppc)
 :info:build ld: warning: in thread.o, file was built for unsupported file
 format which is not the architecture being linked (ppc)
 :info:build ld: warning: in tls.o, file was built for unsupported file
 format which is not the architecture being linked (ppc)
 :info:build ld: warning: in compat.o, file was built for unsupported file
 format which is not the architecture being linked (ppc)
 :info:build ld: warning: in time.o, file was built for unsupported file
 format which is not the architecture being linked (ppc)
 :info:build ld: warning: in pthread.o, file was built for unsupported file
 format which is not the architecture being linked (ppc)
 :info:build ld: warning: in fork.o, file was built for unsupported file
 format which is not the architecture being linked (ppc)
 :info:build ld: warning: in signal.o, file was built for unsupported file
 format which is not the architecture being linked (ppc)
 :info:build ld: warning: in nsthread_libinit.o, file was built for
 unsupported file format which is not the architecture being linked (ppc)
 :info:build Undefined symbols:
 :info:build   "__NsThreads_LibInit", referenced from:
 :info:build      -init command line option
 :info:build ld: symbol(s) not found
 :info:build collect2: ld returned 1 exit status
 :info:build gmake[1]: *** [../include/ns.mak:200: libnsthread.dylib] Error
 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/65771>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list