public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant Edwards <grant.b.edwards@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] matplotlib build fails: link using /usr/lib instead of /usr/lib64
Date: Wed, 27 May 2020 14:26:15 -0000 (UTC)	[thread overview]
Message-ID: <ralta7$1hmn$1@ciao.gmane.io> (raw)

I tried to emerge matplotlib today, and it failed because it's linking
in 32-bit libraries instead of 64 bit ones:

    x86_64-pc-linux-gnu-g++ -shared -Wl,-O1 -Wl,--as-needed -march=native -O2 -pipe -fno-strict-aliasing -DNDEBUG /var/tmp/portage/dev-python/matplotlib-2.2.2-r1/work/matplotlib-2.2.2-python3_7/build/temp.linux-x86_64-3.7/src/mplutils.o /var/tmp/portage/dev-python/matplotlib-2.2.2-r1/work/matplotlib-2.2.2-python3_7/build/temp.linux-x86_64-3.7/src/py_converters.o /var/tmp/portage/dev-python/matplotlib-2.2.2-r1/work/matplotlib-2.2.2-python3_7/build/temp.linux-x86_64-3.7/src/_backend_agg.o /var/tmp/portage/dev-python/matplotlib-2.2.2-r1/work/matplotlib-2.2.2-python3_7/build/temp.linux-x86_64-3.7/src/_backend_agg_wrapper.o /var/tmp/portage/dev-python/matplotlib-2.2.2-r1/work/matplotlib-2.2.2-python3_7/build/temp.linux-x86_64-3.7/extern/agg24-svn/src/agg_bezier_arc.o /var/tmp/portage/dev-python/matplotlib-2.2.2-r1/work/matplotlib-2.2.2-python3_7/build/temp.linux-x86_64-3.7/extern/agg24-svn/src/agg_curves.o /var/tmp/portage/dev-python/matplotlib-2.2.2-r1/work/matplotlib-2.2.2-python3_7/bui
 ld/temp.linux-x86_64-3.7/extern/agg24-svn/src/agg_image_filters.o /var/tmp/portage/dev-python/matplotlib-2.2.2-r1/work/matplotlib-2.2.2-python3_7/build/temp.linux-x86_64-3.7/extern/agg24-svn/src/agg_trans_affine.o /var/tmp/portage/dev-python/matplotlib-2.2.2-r1/work/matplotlib-2.2.2-python3_7/build/temp.linux-x86_64-3.7/extern/agg24-svn/src/agg_vcgen_contour.o /var/tmp/portage/dev-python/matplotlib-2.2.2-r1/work/matplotlib-2.2.2-python3_7/build/temp.linux-x86_64-3.7/extern/agg24-svn/src/agg_vcgen_dash.o /var/tmp/portage/dev-python/matplotlib-2.2.2-r1/work/matplotlib-2.2.2-python3_7/build/temp.linux-x86_64-3.7/extern/agg24-svn/src/agg_vcgen_stroke.o /var/tmp/portage/dev-python/matplotlib-2.2.2-r1/work/matplotlib-2.2.2-python3_7/build/temp.linux-x86_64-3.7/extern/agg24-svn/src/agg_vpgen_segmentator.o -L/usr/lib -L/usr/lib64 -L/usr/lib64 -lfreetype -lpython3.7m -o /var/tmp/portage/dev-python/matplotlib-2.2.2-r1/work/matplotlib-2.2.2-python3_7/build/lib/matplotlib/backends/_backend_agg.
 cpython-37m-x86_64-linux-gnu.so
    /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
    /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
    /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
    /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
    error: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1

What would cause that?

It doesn't appear that it's being build for both 32-bit and 64-bit targets:

    These are the packages that would be merged, in order:

    Calculating dependencies... done!
    [ebuild  N     ] dev-python/matplotlib-2.2.2-r1::gentoo  USE="-cairo (-doc) -examples -excel -gtk2 -gtk3 -latex -qt5 -test -tk -wxwidgets" PYTHON_TARGETS="python2_7 python3_7 -python3_6" 0 KiB

    Total: 1 package (1 new), Size of downloads: 0 KiB

    Would you like to merge these packages? [Yes/No]



             reply	other threads:[~2020-05-27 14:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-27 14:26 Grant Edwards [this message]
2020-05-27 14:44 ` [gentoo-user] matplotlib build fails: link using /usr/lib instead of /usr/lib64 Michael Orlitzky
2020-05-27 14:45 ` [gentoo-user] " Grant Edwards
2020-05-27 14:53   ` Ashley Dixon
2020-05-27 16:04     ` Grant Edwards
2020-05-27 15:45 ` [gentoo-user] " Jack

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ralta7$1hmn$1@ciao.gmane.io' \
    --to=grant.b.edwards@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox