[MacPorts] #67433: Build of libxml2 @2.10.4_1 on PPC Tiger, Mac OS X 10.4.11 is faulty, registers dylibs without path
MacPorts
noreply at macports.org
Mon May 15 17:33:20 UTC 2023
#67433: Build of libxml2 @2.10.4_1 on PPC Tiger, Mac OS X 10.4.11 is faulty,
registers dylibs without path
------------------------+-----------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: tiger ppc
Port: libxml2 |
------------------------+-----------------------
Comment (by ballapete):
Configuring `icu` without any `rpath` option leads to this install step:
{{{
gnumake[1]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source/data'
/bin/sh ../mkinstalldirs
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/destroot/opt/local/lib
DYLD_LIBRARY_PATH=../stubdata:../tools/ctestfw:../lib:$DYLD_LIBRARY_PATH
../bin/pkgdata -O ../data/icupkg.inc -q -c -s
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source/data/out/build/icudt73b
-d ../lib -m static -e icudt73 -T ./out/tmp -s ./out/build/icudt73b -p
icudt73b -L icudata ./out/tmp/icudata.lst -I
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/destroot/opt/local/lib
pkgdata: cd ../lib/ && /usr/bin/install -c libicudata.a
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/destroot/opt/local/lib/libicudata.a
DYLD_LIBRARY_PATH=../stubdata:../tools/ctestfw:../lib:$DYLD_LIBRARY_PATH
../bin/pkgdata -O ../data/icupkg.inc -q -c -s
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source/data/out/build/icudt73b
-d ../lib -m dll -r 73.1 -e icudt73 -T ./out/tmp -s ./out/build/icudt73b
-p icudt73b -L icudata ./out/tmp/icudata.lst -I
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/destroot/opt/local/lib
pkgdata: cd ../lib/ && /usr/bin/install -c libicudata.73.1.dylib
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/destroot/opt/local/lib/libicudata.73.1.dylib
pkgdata: cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/destroot/opt/local/lib
&& rm -f libicudata.73.dylib && ln -s libicudata.73.1.dylib
libicudata.73.dylib
pkgdata: cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/destroot/opt/local/lib
&& rm -f libicudata.dylib && ln -s libicudata.73.1.dylib libicudata.dylib
gnumake[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source/data'
}}}
The `icu` tool `icudt73b` produces both kinds of libraries. It might be
missing an option to record the path under which the dylib will be
installed – so some other tool should be used to edit the installed dylib…
The fault is with the recent `icu`version:
{{{
/opt/local/bin/icuinfo:
libicutu.73.dylib (compatibility version 73.0.0, current version
73.1.0)
libicui18n.73.dylib (compatibility version 73.0.0, current version
73.1.0)
libicuuc.73.dylib (compatibility version 73.0.0, current version
73.1.0)
libicudata.73.dylib (compatibility version 73.0.0, current version
73.1.0)
/opt/local/lib/libgcc/libstdc++.6.dylib (compatibility version
7.0.0, current version 7.24.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
/opt/local/lib/libgcc/libgcc_s.1.dylib (compatibility version
1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.1.12)
}}}
Previous version applied two more patches:
{{{
> patchfiles-append patch-config-mh-darwin.diff \
> patch-cinttypes-header.diff
}}}
--
Ticket URL: <https://trac.macports.org/ticket/67433#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list