Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
failure to emerge a package
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Kurogane
n00b
n00b


Joined: 23 May 2010
Posts: 45

PostPosted: Wed Jun 05, 2024 6:41 am    Post subject: failure to emerge a package Reply with quote

I'm trying to emerge gpgme-1.23.2 but fail to an error.


Code:
 * python3_10: running distutils-r1_run_phase distutils-r1_python_compile
python3.10 setup.py build -j 1
/var/tmp/portage/app-crypt/gpgme-1.23.2/work/b-base/lang/python/setup.py:21: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils.core import setup, Extension
running build
Using gpgme.h from ../../src/gpgme.h
running build_ext
building 'gpg._gpgme' extension
swigging /var/tmp/portage/app-crypt/gpgme-1.23.2/work/b-base-python3_10/gpgme.i to /var/tmp/portage/app-crypt/gpgme-1.23.2/work/b-base-python3_10/gpgme_wrap.c
swig -python -threads -py3 -DHAVE_CONFIG_H=1 -DHAVE_DATA_H=1 -DIN_TREE_BUILD=1 -I/var/tmp/portage/app-crypt/gpgme-1.23.2/work/b-base-python3_10 -outdir /var/tmp/portage/app-crypt/gpgme-1.23.2/work/b-base-python3_10/lib/gpg -o /var/tmp/portage/app-crypt/gpgme-1.23.2/work/b-base-python3_10/gpgme_wrap.c /var/tmp/portage/app-crypt/gpgme-1.23.2/work/b-base-python3_10/gpgme.i
/usr/bin/swig: /usr/lib/gcc/x86_64-pc-linux-gnu/12/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /usr/bin/swig)
error: command '/usr/bin/swig' failed with exit code 1


When i do ldd /usr/bin/swig

Code:
# ldd /usr/bin/swig
/usr/bin/swig: /usr/lib/gcc/x86_64-pc-linux-gnu/12/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /usr/bin/swig)
        linux-vdso.so.1 (0x00007ffe99b17000)
        libpcre2-8.so.0 => /usr/lib64/libpcre2-8.so.0 (0x00007fdf13476000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/12/libstdc++.so.6 (0x00007fdf13232000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/12/libgcc_s.so.1 (0x00007fdf13212000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fdf13032000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fdf12f54000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fdf1368f000)


Give me same error when fail to emerge gpgme.

I try revdep-rebuild and rebuild swig no dice.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4669
Location: Germany

PostPosted: Wed Jun 05, 2024 9:04 am    Post subject: Reply with quote

Hi,
/usr/lib/gcc/x86_64-pc-linux-gnu/12/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /usr/bin/swig)
is probably from using mixed gcc versions (with downgradet gcc).

I think best is, switch to the latest stable gcc, via gcc-config
then it should work.

See https://wiki.gentoo.org/wiki/Upgrading_GCC#libstdc.2B.2B.so.6:_version_.60GLIBCXX_3.4.15.27_not_found too.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum