Failed upgrade graphics/ImageMagick: /usr/bin/ld: skipping incompatible /usr/lib32/...

Per olof Ljungmark peo at intersonic.se
Thu Dec 24 16:36:30 UTC 2015


On 2015-12-23 14:14, David Wolfskill wrote:
> Today's daily stable/10 laptop update was from:
> 
> FreeBSD g1-252.catwhisker.org 10.2-STABLE FreeBSD 10.2-STABLE #235  r292590M/292594:1002504: Tue Dec 22 04:31:23 PST 2015     root at g1-252.catwhisker.org:/common/S1/obj/usr/src/sys/CANARY  amd64
> 
> to:
> 
> FreeBSD g1-252.catwhisker.org 10.2-STABLE FreeBSD 10.2-STABLE #236  r292656M/292657:1002504: Wed Dec 23 04:20:06 PST 2015     root at g1-252.catwhisker.org:/common/S1/obj/usr/src/sys/CANARY  amd64
> 
> 
> After a successful reboot, I then (as is my custom) invoked portmaster
> to update the installed ports on it; the following were selected:
> 
> ===>>> The following actions will be taken if you choose to proceed:
>         Upgrade rpm2cpio-1.4 to rpm2cpio-1.4_1
>         Upgrade ImageMagick-6.9.2.8_1,1 to ImageMagick-6.9.2.10,1
>         Upgrade librsvg2-2.40.10 to librsvg2-2.40.12
>         Upgrade libXi-1.7.5,1 to libXi-1.7.6,1
>         Upgrade openjdk8-8.66.17 to openjdk8-8.66.17_1
> 
> 
> /usr/ports had been updated to 404287 (on ports/head).
> 
> During the initial pass, the ImageMagick update failed; I proceeded
> with the remianing 3 (which succeeeded), then re-tried ImageMagick,
> which failed again in the same way:
> 

Apparently not only ImageMagick is affected, this is libxml2:


sed -e 's?\@XML_LIBDIR\@?-L/usr/local/lib?g' \
    -e 's?\@XML_INCLUDEDIR\@?-I/usr/local/include/libxml2
-I/usr/include?g' \
    -e 's?\@VERSION\@?2.9.3?g' \
    -e 's?\@XML_LIBS\@?-lxml2 -lz  -L/usr/lib -lm ?g' \
       < ./xml2Conf.sh.in > xml2Conf.tmp \
&& mv xml2Conf.tmp xml2Conf.sh
  CCLD     testdso.la
1 warning generated.
11 warnings generated.
99 warnings generated.
  CCLD     libxml2.la
/usr/bin/ld: skipping incompatible /usr/lib32/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib32/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib32/liblzma.so when searching
for -llzma
/usr/bin/ld: skipping incompatible /usr/lib32/liblzma.a when searching
for -llzma
/usr/bin/ld: skipping incompatible /usr/lib32/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib32/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib32/libgcc.a when searching
for -lgcc
/usr/bin/ld: skipping incompatible /usr/lib32/libgcc_s.so when searching
for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/lib32/libc.so.7 when searching
for /usr/lib32/libc.so.7
/usr/bin/ld: cannot find /usr/lib32/libc.so.7
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:967: recipe for target 'libxml2.la' failed
gmake[4]: *** [libxml2.la] Error 1
gmake[4]: Leaving directory '/usr/ports/textproc/libxml2/work/libxml2-2.9.3'
Makefile:1438: recipe for target 'all-recursive' failed
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/textproc/libxml2/work/libxml2-2.9.3'
Makefile:857: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/usr/ports/textproc/libxml2/work/libxml2-2.9.3'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1


More information about the freebsd-ports mailing list