[MacPorts] #65582: util-linux @2.38_1 does not build on PPC Tiger, Mac OS X 10.4.11, because of "Undefined symbols: "_timersub", referenced from: _print_stats in hardlink-hardlink.o"
MacPorts
noreply at macports.org
Wed Aug 3 19:42:29 UTC 2022
#65582: util-linux @2.38_1 does not build on PPC Tiger, Mac OS X 10.4.11, because
of "Undefined symbols: "_timersub", referenced from: _print_stats in
hardlink-hardlink.o"
-------------------------+--------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: tiger
Port: util-linux |
-------------------------+--------------------
Comment (by ballapete):
With my little patch the port built! But – `gmake check` fails because it
seems to depend on a Linux utility:
{{{
/bin/sh ./libtool --tag=CC --mode=link /opt/local/bin/gcc-apple-4.2
-fsigned-char -fno-common -Wall -Wextra -Wformat-security -Wimplicit-
function-declaration -Wmissing-declarations -Wmissing-prototypes -Wnested-
externs -Wno-missing-field-initializers -Wpointer-arith -Wredundant-decls
-Wsign-compare -Wstrict-prototypes -Wunused-parameter -Wunused-variable
-Werror=sequence-point -pipe -Os -H -I/opt/local/include/LegacySupport
-arch ppc -L/opt/local/lib -Wl,-headerpad_max_install_names
-lMacportsLegacySupport -arch ppc -o isosize disk-utils/isosize.o
-L/opt/local/lib -lintl -R/opt/local/lib -Wl,-framework -Wl,CoreFoundation
libcommon.la
libtool: link: /opt/local/bin/gcc-apple-4.2 -fsigned-char -fno-common
-Wall -Wextra -Wformat-security -Wimplicit-function-declaration -Wmissing-
declarations -Wmissing-prototypes -Wnested-externs -Wno-missing-field-
initializers -Wpointer-arith -Wredundant-decls -Wsign-compare -Wstrict-
prototypes -Wunused-parameter -Wunused-variable -Werror=sequence-point
-pipe -Os -H -I/opt/local/include/LegacySupport -arch ppc
-Wl,-headerpad_max_install_names -arch ppc -o isosize disk-utils/isosize.o
-Wl,-framework -Wl,CoreFoundation -L/opt/local/lib
/opt/local/lib/libintl.dylib ./.libs/libcommon.a -lMacportsLegacySupport
/opt/local/bin/gmkdir -p $(dirname libsmartcols/smartcols.pc)
srcdir=''; \
test -f ./libsmartcols/smartcols.pc.in || srcdir=./; \
sed -e 's|@prefix[@]|/opt/local|g' -e
's|@exec_prefix[@]|/opt/local|g' -e 's|@sysconfdir[@]|/opt/local/etc|g' -e
's|@datadir[@]|/opt/local/share|g' -e 's|@sbindir[@]|/opt/local/sbin|g' -e
's|@bindir[@]|/opt/local/bin|g' -e 's|@docdir[@]|/opt/local/share/doc
/util-linux|g' -e 's|@includedir[@]|/opt/local/include|g' -e
's|@runstatedir[@]|/opt/local/var/run|g' -e
's|@usrlib_execdir[@]|/opt/local/lib|g' -e
's|@usrbin_execdir[@]|/opt/local/bin|g' -e
's|@usrsbin_execdir[@]|/opt/local/sbin|g' -e 's|@VERSION[@]|2.38|g' -e
's|@ADJTIME_PATH[@]|/etc/adjtime|g' -e 's|@LIBUUID_VERSION[@]|2.38.0|g' -e
's|@LIBMOUNT_VERSION[@]|2.38.0|g' -e 's|@LIBMOUNT_MAJOR_VERSION[@]|2|g' -e
's|@LIBMOUNT_MINOR_VERSION[@]|38|g' -e 's|@LIBMOUNT_PATCH_VERSION[@]|0|g'
-e 's|@LIBSMARTCOLS_VERSION[@]|2.38.0|g' -e
's|@LIBFDISK_PC_REQUIRES[@]|uuid|g' -e 's|@LIBFDISK_VERSION[@]|2.38.0|g'
-e 's|@LIBFDISK_MAJOR_VERSION[@]|2|g' -e
's|@LIBFDISK_MINOR_VERSION[@]|38|g' -e 's|@LIBFDISK_PATCH_VERSION[@]|0|g'
-e 's|@LIBBLKID_VERSION[@]|2.38.0|g' -e 's|@LIBSELINUX[@]||g' -e
's|@LIBCRYPTSETUP[@]||g' -e 's|@LIBDL[@]||g' -e 's|@vendordir[@]||g'
${srcdir}libsmartcols/smartcols.pc.in >libsmartcols/smartcols.pc.tmp
gmake[2]: Das Ziel „check-am“ wurde wegen Fehlern nicht aktualisiert.
gmake[2]: Verzeichnis
„/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_devel_util-linux/util-linux/work
/util-linux-2.38“ wird verlassen
gmake[1]: *** [Makefile:15052: check-recursive] Fehler 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/65582#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list