Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2015 05:14:31 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        freebsd-ports@freebsd.org
Subject:   Failed upgrade graphics/ImageMagick: /usr/bin/ld: skipping incompatible /usr/lib32/...
Message-ID:  <20151223131431.GF42584@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--7mxbaLlpDEyR1+x6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Today's daily stable/10 laptop update was from:

FreeBSD g1-252.catwhisker.org 10.2-STABLE FreeBSD 10.2-STABLE #235  r292590=
M/292594:1002504: Tue Dec 22 04:31:23 PST 2015     root@g1-252.catwhisker.o=
rg:/common/S1/obj/usr/src/sys/CANARY  amd64

to:

FreeBSD g1-252.catwhisker.org 10.2-STABLE FreeBSD 10.2-STABLE #236  r292656=
M/292657:1002504: Wed Dec 23 04:20:06 PST 2015     root@g1-252.catwhisker.o=
rg:/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:

=3D=3D=3D>>> 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:

=2E..
=3D=3D=3D>  Building for ImageMagick-6.9.2.10,1
gmake[2]: Entering directory '/common/ports/graphics/ImageMagick/work/Image=
Magick-6.9.2-10'
gmake  all-am
gmake[3]: Entering directory '/common/ports/graphics/ImageMagick/work/Image=
Magick-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
=2E..
  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 f=
or -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 fo=
r -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 f=
or -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/ImageM=
agick-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/ImageM=
agick-6.9.2-10'
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes 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

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

=3D=3D=3D>>> You can restart from the point of failure with this command li=
ne:
       portmaster <flags> graphics/ImageMagick=20

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=20
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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- Makefile    (revision 404264)
+++ Makefile    (revision 404265)
@@ -1,8 +1,7 @@
 # $FreeBSD$
=20
 PORTNAME=3D      ImageMagick
-DISTVERSION=3D   6.9.2-8
-PORTREVISION=3D  1
+DISTVERSION=3D   6.9.2-10
 PORTEPOCH=3D     1
 CATEGORIES=3D    graphics perl5
 MASTER_SITES=3D  http://www.imagemagick.org/download/ \
Index: distinfo
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- distinfo    (revision 404264)
+++ distinfo    (revision 404265)
@@ -1,2 +1,2 @@
-SHA256 (ImageMagick-6.9.2-8.tar.xz) =3D f2c6de7b73b7c207911909d7ca26b18fb4=
f40c1ea654a251e7ed4c886b6ad92d
-SIZE (ImageMagick-6.9.2-8.tar.xz) =3D 8844076
+SHA256 (ImageMagick-6.9.2-10.tar.xz) =3D da2f6fba43d69f20ddb11783f13f77782=
b0b57783dde9cda39c9e5e733c2013c
+SIZE (ImageMagick-6.9.2-10.tar.xz) =3D 8755528
g1-252(11.0-C)[15]=20


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

Any clues?

Thanks!

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Those who would murder in the name of God or prophet are blasphemous coward=
s.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--7mxbaLlpDEyR1+x6
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAEBCgBmBQJWep43XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix
NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4X/x8H/jpI/K49utvzvszeArHYxvVy
k6GWA/GBcNtzeLQsx3S+GbU5ZcuffGioU1cNUxUaoKMlFP+OaG0/bkDJFjOlSPQg
2STGuw84qoUSrXmv1H/BvBMZCuFY1/bBrqlx1bGJ+FAvjxAYURd3v8qX6/ymBIn0
/WzIM0aSPFsTH27IOcXdLBlkWx5xUsp0CZHPnfoNyHb3ckwxuuVKt+wnYVlqHsG/
G1hDOixAkV5lP9hDKulyIMxMnM4ZMyRfwa1z7hGcFlT2yyGlX0lh2dFrZQEKCUZE
Ok3iZ5U1hKJZcTd5E+w/P8AmG+NglkZPQZBxZvYFcT8jdj9WR3xr8Z0ytUKr1Sw=
=uuTe
-----END PGP SIGNATURE-----

--7mxbaLlpDEyR1+x6--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151223131431.GF42584>