Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 795156 - dev-cpp/pystring-1.1.3 still looking for gcc v10.2.0 crti.o and crtbeginS.o causes failure at libpystring.la
Summary: dev-cpp/pystring-1.1.3 still looking for gcc v10.2.0 crti.o and crtbeginS.o c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Sebastian Parborg
URL:
Whiteboard: Fix: please re-emerge libtool (emerge...
Keywords:
: 795402 795516 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-06-10 05:46 UTC by Austin Kilgore
Modified: 2021-06-12 12:55 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,3.30 KB, text/x-log)
2021-06-10 05:46 UTC, Austin Kilgore
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Austin Kilgore 2021-06-10 05:46:40 UTC
Looks like a plroblem of older gcc version libraries not being updated to point to the newest versions.



Reproducible: Always

Steps to Reproduce:
emerge pystring from ~amd64
Actual Results:  
failing


Portage 3.0.19 (python 3.9.5-final-0, default/linux/amd64/17.1/no-multilib, gcc-11.1.0, glibc-2.33, 5.12.9-gentoo x86_64)
=================================================================
System uname: Linux-5.12.9-gentoo-x86_64-AMD_Ryzen_7_3700U_with_Radeon_Vega_Mobile_Gfx-with-glibc2.33
KiB Mem:    34889460 total,  25233940 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 10 Jun 2021 03:15:01 +0000
Head commit of repository gentoo: 44232f680289de7d56e2167815fda9e1b5d07594
Timestamp of repository guru: Wed, 09 Jun 2021 15:20:07 +0000
Head commit of repository guru: af25a0c79edc16ba4c5132759eeeb674995214a6

sh bash 5.1_p8
ld GNU ld (Gentoo 2.36.1 p3) 2.36.1
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.34.0::gentoo
dev-lang/python:          2.7.18_p10::gentoo, 3.8.10_p2::gentoo, 3.9.5_p2::gentoo, 3.10.0_beta2::gentoo
dev-lang/rust:            1.52.1::gentoo
dev-util/cmake:           3.20.3::gentoo
sys-apps/baselayout:      2.7-r2::gentoo
sys-apps/openrc:          0.43.3::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.36.1-r1::gentoo
sys-devel/gcc:            11.1.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.12::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O3 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --with-bdeps y --complete-graph y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O3 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O3 -pipe"
GENTOO_MIRRORS="https://gentoo.osuosl.org/ http://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="10bit 12bit 16k_voice 24-bit-color 24bpp 256-color 7z 7za 7zip 8bit X a52 aac aacplus aacs aalib acl acpi activities adns airdrop-ng airgraph-ng alsa alsa-plugin amd64 aom asm async atm bash-completion bdplus berkdb bluetooth bluray branding bzip2 cairo cdda cddb cdr cjk cli colord crypt css cups curl cycles dav1d dbus declarative dri dri3 drm dts dvb dvd dvdr egl elogind encode exif fbcon ffmpeg flac fontconfig fortran frei0r ftp fuse gdbm gif gimp git gles2 gold gpm gtk gui gzip iconv icu imlib ipv6 jit jpeg jpeg2k kde kipi kwallet lame lcms libglvnd libnotify libsamplerate libtirpc lm-sensors lto lz4 lzma lzo lzo2 mad matroska minizip mng mono mp3 mp4 mpeg mpv mtp ncurses networkmanager nls nptl ogg openal opengl openimageio openmp otr pam pango pcre pcre16 pda pdf pgo phonon plasma plotutils png policykit ppds pulseaudio qml qt5 rar raw readline scanner scripttools sdl seccomp semantic-desktop slang smp sound speex spell split-usr ssl startup-notification svc svg svg2 szip taglib tcpd text threads tiff truetype udev udisks unicode upower usb v4l v4l2 v4lutils vaapi vdpau vim-syntax vkd3d vlc vorbis vulkan wavpack wayland webp widgets wifi wxwidgets x264 x265 xattr xcb xinerama xml xscreensaver xv xvid zip zlib zsh-completion zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 1 Austin Kilgore 2021-06-10 05:46:59 UTC
Created attachment 715020 [details]
build.log
Comment 2 younky.yang 2021-06-10 12:14:38 UTC
on my system, it looks up gcc 9.2.0

libtool: link: x86_64-pc-linux-gnu-g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/crtbeginS.o  .libs/pystring.o   -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/crtn.o    -Wl,-soname -Wl,libpystring.so.0 -o .libs/libpystring.so.0.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/crti.o: No such file or directory
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/crtbeginS.o: No such file or directory
Comment 3 younky.yang 2021-06-10 12:21:37 UTC
reemerge libtool solved the problem.
Comment 4 Ted Marston 2021-06-10 22:00:34 UTC
(In reply to younky.yang from comment #3)
> reemerge libtool solved the problem.
Thankyou younky.yang, I can confirm this too. :)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-10 22:01:52 UTC
Yeah, unfortunately GCC upgrades still require this, but it appears less often now.

https://wiki.gentoo.org/wiki/Upgrading_GCC
Comment 6 Austin Kilgore 2021-06-11 02:46:33 UTC
(In reply to Sam James from comment #5)
> Yeah, unfortunately GCC upgrades still require this, but it appears less
> often now.
> 
> https://wiki.gentoo.org/wiki/Upgrading_GCC

Ah, my bad then. I appreciate the info though, I'll remember this for the future.
Comment 7 Ionen Wolkens gentoo-dev 2021-06-11 22:17:03 UTC
*** Bug 795402 has been marked as a duplicate of this bug. ***
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-12 08:46:58 UTC
*** Bug 795516 has been marked as a duplicate of this bug. ***
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-12 11:47:50 UTC
Reopening for visibility. Please run emerge -v1 libtool if you hit this.
Comment 10 Larry the Git Cow gentoo-dev 2021-06-12 12:55:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91773fd1eb57d4c080c0151f5899f1631ddf2aac

commit 91773fd1eb57d4c080c0151f5899f1631ddf2aac
Author:     Sebastian Parborg <darkdefende@gmail.com>
AuthorDate: 2021-06-12 12:00:18 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-12 12:54:54 +0000

    dev-cpp/pystring: Don't use hardcoded g++ (convert to CMake)
    
    Convert the project into cmake so we get compiler switching for free.
    
    Closes: https://bugs.gentoo.org/795156
    Closes: https://bugs.gentoo.org/795168
    Signed-off-by: Sebastian Parborg <darkdefende@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/21209
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-cpp/pystring/files/cmake.patch                 | 84 ++++++++++++++++++++++
 ...tring-1.1.3.ebuild => pystring-1.1.3-r1.ebuild} | 20 ++----
 2 files changed, 91 insertions(+), 13 deletions(-)