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

David Wolfskill david at catwhisker.org
Wed Dec 23 13:14:34 UTC 2015


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:

...
===>  Building for ImageMagick-6.9.2.10,1
gmake[2]: Entering directory '/common/ports/graphics/ImageMagick/work/ImageMagick-6.9.2-10'
gmake  all-am
gmake[3]: Entering directory '/common/ports/graphics/ImageMagick/work/ImageMagick-6.9.2-10'
cp -f magick/ImageMagick.pc magick/ImageMagick-6.pc
cp -f magick/MagickCore.pc magick/MagickCore-6.pc
cp -f wand/MagickWand.pc wand/MagickWand-6.pc
cp -f wand/Wand.pc wand/Wand-6.pc
cp -f Magick++/lib/Magick++.pc Magick++/lib/Magick++-6.pc
cp -f Magick++/lib/ImageMagick++.pc Magick++/lib/ImageMagick++-6.pc
  GEN      PerlMagick/quantum/Q16HDRI.xs
  GEN      PerlMagick/quantum/Q16HDRI.pm
  CC       coders/coders_aai_la-aai.lo
  CC       magick/magick_libMagickCore_6_la-animate.lo
...
  CC       utilities/montage.o
  CC       utilities/stream.o
  CCLD     magick/libMagickCore-6.la
/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/libbz2.so when searching for -lbz2
/usr/bin/ld: skipping incompatible /usr/lib32/libbz2.a when searching for -lbz2
/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/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/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib32/libpthread.a when searching for -lpthread
/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/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib32/libpthread.a when searching for -lpthread
/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:6617: recipe for target 'magick/libMagickCore-6.la' failed
gmake[3]: *** [magick/libMagickCore-6.la] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory '/common/ports/graphics/ImageMagick/work/ImageMagick-6.9.2-10'
Makefile:5194: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/common/ports/graphics/ImageMagick/work/ImageMagick-6.9.2-10'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /common/ports/graphics/ImageMagick
*** Error code 1

Stop.
make: stopped in /common/ports/graphics/ImageMagick

===>>> make build failed for graphics/ImageMagick
===>>> Aborting update

===>>> You can restart from the point of failure with this command line:
       portmaster <flags> graphics/ImageMagick 

Script done on Wed Dec 23 04:40:36 2015


As I am not attempting to cross-build -- this is a native amd64
environment; no jails; no virtualization -- and building "for local
consumption," I'm not at all clear why the port was looking at
32-bit libraries in the first place ... but I freely admit that I've
never had occasion to examine that in detail before, so don't take
that as anything more than an admission of ignorance.

The change to the port itself appears to be quite minor:

g1-252(11.0-C)[12] dirs
/usr/ports/graphics/ImageMagick 
g1-252(11.0-C)[13] svn log Makefile |head -3
------------------------------------------------------------------------
r404265 | kwm | 2015-12-22 12:04:50 -0800 (Tue, 22 Dec 2015) | 2 lines

g1-252(11.0-C)[14] svn diff -c r404265
Index: Makefile
===================================================================
--- Makefile    (revision 404264)
+++ Makefile    (revision 404265)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=      ImageMagick
-DISTVERSION=   6.9.2-8
-PORTREVISION=  1
+DISTVERSION=   6.9.2-10
 PORTEPOCH=     1
 CATEGORIES=    graphics perl5
 MASTER_SITES=  http://www.imagemagick.org/download/ \
Index: distinfo
===================================================================
--- distinfo    (revision 404264)
+++ distinfo    (revision 404265)
@@ -1,2 +1,2 @@
-SHA256 (ImageMagick-6.9.2-8.tar.xz) = f2c6de7b73b7c207911909d7ca26b18fb4f40c1ea654a251e7ed4c886b6ad92d
-SIZE (ImageMagick-6.9.2-8.tar.xz) = 8844076
+SHA256 (ImageMagick-6.9.2-10.tar.xz) = da2f6fba43d69f20ddb11783f13f77782b0b57783dde9cda39c9e5e733c2013c
+SIZE (ImageMagick-6.9.2-10.tar.xz) = 8755528
g1-252(11.0-C)[15] 


so I'm pretty much at a loss to understand what happened.

Any clues?

Thanks!

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Those who would murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20151223/6f112298/attachment.sig>


More information about the freebsd-ports mailing list