[MacPorts] #66999: howl does not respect Macports archflags
MacPorts
noreply at macports.org
Sat Feb 25 16:47:52 UTC 2023
#66999: howl does not respect Macports archflags
--------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: howl
--------------------------+--------------------
There is a total mess:
{{{
/usr/bin/gcc-4.2 -r -keep_private_externs -nostdlib -o .libs/libhowl.0.0.0
.dylib-master.o address.lo buffer.lo channel.lo debug.lo interface.lo
ior.lo message.lo object.lo orb.lo platform.lo profile.lo discovery.lo
salt.lo signal.lo socket.lo text_record.lo time.lo macosx_salt.lo
macosx_socket.lo macosx_time.lo macosx_mdns_stub.lo && /usr/bin/gcc-4.2
-dynamiclib -flat_namespace -undefined suppress -o
.libs/libhowl.0.0.0.dylib .libs/libhowl.0.0.0.dylib-master.o
-L/opt/local/lib -lc -headerpad_max_install_names -install_name
/opt/local/lib/libhowl.0.dylib -compatibility_version 1 -current_version
1.0
ld: warning: in address.lo, file was built for ppc7400 which is not the
architecture being linked (x86_64)
ld: warning: in buffer.lo, file was built for ppc7400 which is not the
architecture being linked (x86_64)
. . .
/bin/sh ../../../libtool --mode=link /usr/bin/gcc-4.2 -pipe -Os -arch ppc
-L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -o mDNSPublish
publish.o ../../../src/lib/howl/libhowl.la -framework CoreFoundation
mkdir .libs
/usr/bin/gcc-4.2 -pipe -Os -arch ppc -Wl,-headerpad_max_install_names
-arch ppc -o .libs/mDNSPublish publish.o -framework CoreFoundation
-L/opt/local/lib -L../../../src/lib/howl/.libs -lhowl
ld: warning: in ../../../src/lib/howl/.libs/libhowl.dylib, file was built
for unsupported file format which is not the architecture being linked
(ppc)
Undefined symbols:
"_sw_text_record_add_string", referenced from:
_main in publish.o
"_sw_text_record_fina", referenced from:
_main in publish.o
_main in publish.o
"_sw_text_record_bytes", referenced from:
_main in publish.o
"_sw_text_record_init", referenced from:
_main in publish.o
"_sw_text_record_len", referenced from:
_main in publish.o
"_sw_discovery_run", referenced from:
_main in publish.o
"_sw_discovery_init", referenced from:
_main in publish.o
"_sw_discovery_publish", referenced from:
_main in publish.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [mDNSPublish] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66999>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list