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

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

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

David Wolfskill
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     [hidden email]:/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     [hidden email]:/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 [hidden email]
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.

signature.asc (616 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

Kevin Oberman-4
On Wed, Dec 23, 2015 at 5:14 AM, David Wolfskill <[hidden email]>
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
>  [hidden email]:/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
>  [hidden email]:/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                              [hidden email]
> 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.
>

The latest update to ImageMagick built with no problems on my amd64
10.2-STABLE system. My system is two weeks old (r291863), so it looks like
something broke something between then and now. I really can't see why it
would be linking to stuff in lib32.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: [hidden email]
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

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

Walter Schwarzenfeld
In reply to this post by David Wolfskill
The old question: Is something in /etc/make.conf ode /etc/libmap.conf,
which can cause this errors?
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

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

David Wolfskill
On Thu, Dec 24, 2015 at 02:00:09AM +0100, Walter Schwarzenfeld wrote:
> The old question: Is something in /etc/make.conf ode /etc/libmap.conf,
> which can cause this errors?
> ....

Well, I don't *think* so, but:

g1-252(10.2-S)[1] ls -lT /etc/make.conf
-r--r--r--  1 root  wheel  442 Dec 20 06:24:12 2015 /etc/make.conf
g1-252(10.2-S)[2] cat !$
cat /etc/make.conf
NET_SNMP_SYS_CONTACT="[hidden email]"
NET_SNMP_SYS_LOCATION="variable"
NET_SNMP_LOGFILE=/var/log/snmpd.log
NET_SNMP_PERSISTENTDIR=/var/net-snmp
WITH_BSD_JDK=TRUE
# For mplayer
WITHOUT_RUNTIME_CPUDETECTION=   YES
WITHOUT_CJK=    YES
NO_SUID_XSERVER=YES
# For Linux compat
OVERRIDE_LINUX_BASE_PORT=c6
OVERRIDE_LINUX_NONBASE_PORTS=c6
INSTALL_AS_NCFTP=yes
OPTIONS_SET=OPTIMIZED_CFLAGS
# DISABLE_VULNERABILITIES=yes
DEFAULT_VERSIONS+=      perl5=5.22
g1-252(10.2-S)[3] ls -lT libmap.conf
ls: libmap.conf: No such file or directory
g1-252(10.2-S)[4]

[The relatively recent mtime for make.conf is from the
"# DISABLE_VULNERABILITIES=yes" line.]

Peace,
david
--
David H. Wolfskill [hidden email]
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.

signature.asc (616 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

Walter Schwarzenfeld
I don't really believe it is cause this errors, but comment out

WITHOUT_RUNTIME_CPUDETECTION=   YES and OPTIONS_SET=OPTIMIZED_CFLAGS

and try it.

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

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

David Wolfskill
On Thu, Dec 24, 2015 at 02:28:24AM +0100, Walter Schwarzenfeld wrote:
> I don't really believe it is cause this errors, but comment out
>
> WITHOUT_RUNTIME_CPUDETECTION=   YES and OPTIONS_SET=OPTIMIZED_CFLAGS
>
> and try it.
> ...

Thanks for the suggestion; I tried it, but the failure recurred.

Peace,
david
--
David H. Wolfskill [hidden email]
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.

signature.asc (616 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

Kevin Oberman-4
On Wed, Dec 23, 2015 at 5:36 PM, David Wolfskill <[hidden email]>
wrote:

> On Thu, Dec 24, 2015 at 02:28:24AM +0100, Walter Schwarzenfeld wrote:
> > I don't really believe it is cause this errors, but comment out
> >
> > WITHOUT_RUNTIME_CPUDETECTION=   YES and OPTIONS_SET=OPTIMIZED_CFLAGS
> >
> > and try it.
> > ...
>
> Thanks for the suggestion; I tried it, but the failure recurred.
>
> Peace,
> david
> --
> David H. Wolfskill                              [hidden email]
> Those who would murder in the name of God or prophet are blasphemous
> cowards.
>



I seriously doubt that it will make a difference, but why not just move
make.conf and src.conf aside for a quick test? That should remove any
possibility.

I am now updating my system. I'll try re-building ImageMagick as soon as it
finishes (allowing for delay while we have dinner).
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: [hidden email]
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

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

Kevin Oberman-4
On Wed, Dec 23, 2015 at 6:11 PM, Kevin Oberman <[hidden email]> wrote:

> On Wed, Dec 23, 2015 at 5:36 PM, David Wolfskill <[hidden email]>
> wrote:
>
>> On Thu, Dec 24, 2015 at 02:28:24AM +0100, Walter Schwarzenfeld wrote:
>> > I don't really believe it is cause this errors, but comment out
>> >
>> > WITHOUT_RUNTIME_CPUDETECTION=   YES and OPTIONS_SET=OPTIMIZED_CFLAGS
>> >
>> > and try it.
>> > ...
>>
>> Thanks for the suggestion; I tried it, but the failure recurred.
>>
>> Peace,
>> david
>> --
>> David H. Wolfskill                              [hidden email]
>> Those who would murder in the name of God or prophet are blasphemous
>> cowards.
>>
>
>
>
> I seriously doubt that it will make a difference, but why not just move
> make.conf and src.conf aside for a quick test? That should remove any
> possibility.
>
> I am now updating my system. I'll try re-building ImageMagick as soon as
> it finishes (allowing for delay while we have dinner).
>

I can now confirm that it is the system. After updating 10-STABLE to
r292678, I get the same lib32 errors  when building ImageMagick.

I can try bisecting, but it's too late tonight and I have to work tomorrow
AM and then finish wrapping packages. (Packages will be a TOP priority.)
The problem has to be fairly recent as graphics/ImageMagik has had several
updates recently. I'd try backing off about a week at the most as a
starting point. :Looks like the most likely place is the linker.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: [hidden email]
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

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

Walter Schwarzenfeld
Seems only STABLE. On 10-2-RELEASE amd64 and i386 and on 9.3-RELEASE
also both compiles fine.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

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

Kevin Oberman-4
It's definitely 10-STABLE and a fairly recent change. It MIGHT be in HEAD,
as well, but I don't have anything running HEAD ATM. It's nothing older
than a couple of weeks.

Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: [hidden email]
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

On Wed, Dec 23, 2015 at 10:45 PM, Walter Schwarzenfeld <
[hidden email]> wrote:

> Seems only STABLE. On 10-2-RELEASE amd64 and i386 and on 9.3-RELEASE
> also both compiles fine.
> _______________________________________________
> [hidden email] mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "[hidden email]"
>
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

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

David Wolfskill
On Wed, Dec 23, 2015 at 11:21:07PM -0800, Kevin Oberman wrote:
> It's definitely 10-STABLE and a fairly recent change. It MIGHT be in HEAD,
> as well, but I don't have anything running HEAD ATM. It's nothing older
> than a couple of weeks.
> ....

As an experiment, I booted my build machine up to:

FreeBSD 10.2-STABLE #1886  r292490M/292509:1002503: Sun Dec 20 04:38:35 PST 2015
[hidden email]:/common/S1/obj/usr/src/sys/GENERIC  amd64

and ran "poudriere bulk," which built a lot of things (I had previously
last run that on the 20th -- I normally do so on Saturdays & Sundays),
including graphics/ImageMagick.  Today, my ports tree is at r404341.

I then flipped the build machine to:

FreeBSD 10.2-STABLE #1890  r292673M/292683:1002504: Thu Dec 24 04:19:19 PST 2015
[hidden email]:/common/S1/obj/usr/src/sys/GENERIC  amd64

and since "poudriere bulk" didn't try to rebuild graphics/ImageMagick, I
tried "poudriere testport -o graphics/ImageMagick" -- and that failed
with the same whines about /usr/lib32 that we've been discussing.

I need to head out to run errands for a while, but perhaps this
information will be of use...?

(The build machine is faster than my laptop, but doesn't have X11 at
all, so trying to use portmaster to build ImageMagick isn't feasible.
But apparently "poudriere testport" is sufficient to generate the
failure.)

Peace,
david
--
David H. Wolfskill [hidden email]
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.

signature.asc (616 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

Per olof Ljungmark
In reply to this post by David Wolfskill

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     [hidden email]:/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     [hidden email]:/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
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

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

Shin-ichi Okano
In reply to this post by Kevin Oberman-4
Hi,

I faced the same issue.
I think this is caused by below:

----------------------------------------------------------------------
% pkgconf --libs liblzma
-L/usr/lib32 -llzma  
% cat /usr/libdata/pkgconfig/liblzma.pc
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#

prefix=/usr
exec_prefix=/usr
libdir=/usr/lib32
includedir=/usr/include

Name: liblzma
Description: General purpose data compression library
URL: http://tukaani.org/xz/
Version: 5.2.2
Cflags: -I${includedir}
Libs: -L${libdir} -llzma
Libs.private:  @LIBS@
----------------------------------------------------------------------

I am afraid that the file for "lib32" is installed (overwrites?).
When I change "/usr/lib32" to "/usr/lib", I can build ImageMagick
successfully.

Best Regards,
Shin-ichi Okano
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

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

Hajimu UMEMOTO
Hi,

>>>>> On Fri, 25 Dec 2015 21:57:34 +0900 (JST)
>>>>> Shin-ichi Okano <[hidden email]> said:

s-okano> I am afraid that the file for "lib32" is installed (overwrites?).
s-okano> When I change "/usr/lib32" to "/usr/lib", I can build ImageMagick
s-okano> successfully.

It seems we have to do MFC the equivalence of r276962.

Sincerely,

--
Hajimu UMEMOTO
[hidden email]  [hidden email]
http://www.mahoroba.org/~ume/
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

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

Hajimu UMEMOTO
Hi,

>>>>> On Sat, 26 Dec 2015 12:35:15 +0900
>>>>> Hajimu UMEMOTO <[hidden email]> said:

s-okano> I am afraid that the file for "lib32" is installed (overwrites?).
s-okano> When I change "/usr/lib32" to "/usr/lib", I can build ImageMagick
s-okano> successfully.

ume> It seems we have to do MFC the equivalence of r276962.

Done as r292747.

Sincerely,

--
Hajimu UMEMOTO
[hidden email]  [hidden email]
http://www.mahoroba.org/~ume/
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

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

David Wolfskill
On Sat, Dec 26, 2015 at 09:10:06PM +0900, Hajimu UMEMOTO wrote:

> Hi,
>
> >>>>> On Sat, 26 Dec 2015 12:35:15 +0900
> >>>>> Hajimu UMEMOTO <[hidden email]> said:
>
> s-okano> I am afraid that the file for "lib32" is installed (overwrites?).
> s-okano> When I change "/usr/lib32" to "/usr/lib", I can build ImageMagick
> s-okano> successfully.
>
> ume> It seems we have to do MFC the equivalence of r276962.
>
> Done as r292747.
>
> Sincerely,
>
> --
> Hajimu UMEMOTO
> [hidden email]  [hidden email]
> http://www.mahoroba.org/~ume/
> .....
I thank both of you!  I confirm that applying r292747 to stable/10
@r292746 allows graphics/ImageMagick to build with no reports of
problems.

Peace,
david
--
David H. Wolfskill [hidden email]
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.

signature.asc (616 bytes) Download Attachment