Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666376 - dev-util/cargo fails to build due to missing rx_additional_link_map_text
Summary: dev-util/cargo fails to build due to missing rx_additional_link_map_text
Status: RESOLVED DUPLICATE of bug 666100
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Rust Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-16 23:52 UTC by Pablo Yanez Trujillo
Modified: 2018-09-25 07:38 UTC (History)
2 users (show)

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


Attachments
build.log (file_666376.txt,54.05 KB, text/plain)
2018-09-16 23:52 UTC, Pablo Yanez Trujillo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo Yanez Trujillo 2018-09-16 23:52:58 UTC
Created attachment 547046 [details]
build.log

I've done an eix-syn and emerge -uvDN world and =dev-util/cargo-0.29.0 failed to be built:

  = note: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: symbol lookup error: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: undefined symbol: rx_additional_link_map_text
          collect2: error: ld returned 127 exit status


see also build.log

emerge --info

Portage 2.3.40 (python 2.7.15-final-0, default/linux/amd64/17.0/desktop, gcc-6.4.0, glibc-2.26-r7, 4.14.65-gentoo x86_64)
=================================================================
System uname: Linux-4.14.65-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:    16300316 total,  10714740 free
KiB Swap:   33554428 total,  33553404 free
Timestamp of repository gentoo: Sun, 16 Sep 2018 15:30:01 +0000
Head commit of repository gentoo: 9b8fe4a50980af599ef244647fb52c55ad82090b
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p2) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.4.8::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r2::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r3::gentoo, 6.4.0-r1::gentoo, 7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Repositories:

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

local
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles keepwork merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB ja"
MAKEOPTS="-j9"
PKGDIR="/export/packages"
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="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli consolekit crypt cups cxx dbus directfb dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg lcms ldap libnotify libtirpc mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt5 readline sdl seccomp spell sqlite ssl startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb vim-pager vim-syntax vorbis win32codecs wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64 32" 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 plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="en en_GB ja" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pablo Yanez Trujillo 2018-09-17 00:15:12 UTC
After reading this https://forums.gentoo.org/viewtopic-t-1085288-highlight-thunderbird.html

I checked the USE flags of my sys-libs/binutils-libs package and indeed "multitarget" was not enabled. I added it to package.use and recompiled sys-libs/binutils-libs. Now I was able to compile dev-util/cargo.
Comment 2 Dirkjan Ochtman (RETIRED) gentoo-dev 2018-09-20 18:42:42 UTC
See also bug 645222 and bug 646660. Sergei, since you were so successful recently with that other ld bug, do you have any ideas about the right place to fix this?
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2018-09-20 19:00:11 UTC
Looks like another case of https://bugs.gentoo.org/666100. I'll try to push new binutils and binutils-libs into ~arch by the weekend to unbreak people.
Comment 4 Larry the Git Cow gentoo-dev 2018-09-21 07:00:44 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42a2033b9cdf87e13684dba32e70b4366e2fcdbb

commit 42a2033b9cdf87e13684dba32e70b4366e2fcdbb
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-09-20 22:14:39 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-09-21 07:00:30 +0000

    sys-devel/binutils-hppa64: release patchset 3 for 2.31.1
    
    One new patch:
    + 0014-Gentoo-add-with-extra-soversion-suffix-option.patch
    
    Changes SONAME from
        libopcodes-2.31.1.so
    to
        libopcodes-2.31.1.gentoo-sys-devel-binutils-hppa64-st.so
    
    SONAME now encodes USE=multilib and package name.
    
    Bug: https://bugs.gentoo.org/663690
    Bug: https://bugs.gentoo.org/666376
    Bug: https://bugs.gentoo.org/666100
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 sys-devel/binutils-hppa64/Manifest                 |   1 +
 .../binutils-hppa64-2.31.1-r1.ebuild               | 396 +++++++++++++++++++++
 2 files changed, 397 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29a5c809380b2a3cb1eb15229404e9cf4dfca61c

commit 29a5c809380b2a3cb1eb15229404e9cf4dfca61c
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-09-20 21:58:33 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-09-21 07:00:29 +0000

    sys-devel/binutils: release patchset 3 for 2.31.1
    
    One new patch:
    + 0014-Gentoo-add-with-extra-soversion-suffix-option.patch
    
    Changes SONAME from
        libopcodes-2.31.1.so
    to
        libopcodes-2.31.1.gentoo-sys-devel-binutils-mt.so
    
    SONAME now encodes USE=multilib and package name.
    
    Bug: https://bugs.gentoo.org/663690
    Bug: https://bugs.gentoo.org/666376
    Bug: https://bugs.gentoo.org/666100
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 sys-devel/binutils/Manifest                  |   1 +
 sys-devel/binutils/binutils-2.31.1-r1.ebuild | 427 +++++++++++++++++++++++++++
 2 files changed, 428 insertions(+)

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

commit a15bb52d009b4071e0e3d28b7bba6abad725f8d3
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-09-20 21:39:59 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-09-21 07:00:29 +0000

    sys-libs/binutils-libs: release patchset 3 for 2.31.1
    
    One new patch:
    + 0014-Gentoo-add-with-extra-soversion-suffix-option.patch
    
    Changes SONAME from
        libopcodes-2.31.1.so
    to
        libopcodes-2.31.1.gentoo-sys-libs-binutils-libs-mt-def.so
    
    SONAME now encodes USE=multilib, USE=64-bit-bfd and package name.
    
    Bug: https://bugs.gentoo.org/663690
    Bug: https://bugs.gentoo.org/666376
    Bug: https://bugs.gentoo.org/666100
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 sys-libs/binutils-libs/Manifest                    |   1 +
 .../binutils-libs/binutils-libs-2.31.1-r1.ebuild   | 112 +++++++++++++++++++++
 2 files changed, 113 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2018-09-25 07:37:43 UTC
The bug has been referenced in the following commit(s):

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

commit ec9a106deef4fc52c5f81a1ef52e18af323f2513
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-09-25 07:33:26 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-09-25 07:33:26 +0000

    sys-libs/binutils-libs: release patchset 5 for 2.30
    
    One new main patch:
    + 0098-Gentoo-add-with-extra-soversion-suffix-option.patch
    
    And four backports:
    + 0094-Replace-CET-bit-with-IBT-and-SHSTK-bits.patch
    + 0095-Fix-parens-in-ld-bootstrap.exp.patch
    + 0096-x86-64-Clear-the-R_X86_64_converted_reloc_bit-bit.patch
    + 0097-Fix-unwind-offset-for-call_info-start_symbol.patch
    
    Changes SONAME from
        libopcodes-2.30.so
    to
        libopcodes-2.30.gentoo-sys-libs-binutils-libs-mt-def.so
    
    SONAME now encodes USE=multilib and package name.
    
    Bug: https://bugs.gentoo.org/663690
    Bug: https://bugs.gentoo.org/666376
    Bug: https://bugs.gentoo.org/666100
    Package-Manager: Portage-2.3.49, Repoman-2.3.11

 sys-libs/binutils-libs/Manifest                    |   1 +
 .../binutils-libs/binutils-libs-2.30-r4.ebuild     | 112 +++++++++++++++++++++
 2 files changed, 113 insertions(+)

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

commit f7764cb4e0cf79ec433f488a7cc76f0f9da34285
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-09-25 07:32:10 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-09-25 07:32:10 +0000

    sys-devel/binutils-hppa64: release patchset 5 for 2.30
    
    One new main patch:
    + 0098-Gentoo-add-with-extra-soversion-suffix-option.patch
    
    And four backports:
    + 0094-Replace-CET-bit-with-IBT-and-SHSTK-bits.patch
    + 0095-Fix-parens-in-ld-bootstrap.exp.patch
    + 0096-x86-64-Clear-the-R_X86_64_converted_reloc_bit-bit.patch
    + 0097-Fix-unwind-offset-for-call_info-start_symbol.patch
    
    Changes SONAME from
        libopcodes-2.30.so
    to
        libopcodes-2.30.gentoo-sys-devel-binutils-hppa64-st.so
    
    SONAME now encodes USE=multilib and package name.
    
    Bug: https://bugs.gentoo.org/663690
    Bug: https://bugs.gentoo.org/666376
    Bug: https://bugs.gentoo.org/666100
    Package-Manager: Portage-2.3.49, Repoman-2.3.11

 sys-devel/binutils-hppa64/Manifest                 |   1 +
 .../binutils-hppa64/binutils-hppa64-2.30-r4.ebuild | 396 +++++++++++++++++++++
 2 files changed, 397 insertions(+)

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

commit d8b0a8d7bb07bd2a7c4bd33a9e9598051030823a
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-09-25 07:30:30 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-09-25 07:30:30 +0000

    sys-devel/binutils: release patchset 5 for 2.30
    
    One new main patch:
    + 0098-Gentoo-add-with-extra-soversion-suffix-option.patch
    
    And four backports:
    + 0094-Replace-CET-bit-with-IBT-and-SHSTK-bits.patch
    + 0095-Fix-parens-in-ld-bootstrap.exp.patch
    + 0096-x86-64-Clear-the-R_X86_64_converted_reloc_bit-bit.patch
    + 0097-Fix-unwind-offset-for-call_info-start_symbol.patch
    
    Changes SONAME from
        libopcodes-2.30.so
    to
        libopcodes-2.30.gentoo-sys-devel-binutils-mt.so
    
    SONAME now encodes USE=multilib and package name.
    
    Bug: https://bugs.gentoo.org/663690
    Bug: https://bugs.gentoo.org/666376
    Bug: https://bugs.gentoo.org/666100
    Package-Manager: Portage-2.3.49, Repoman-2.3.11

 sys-devel/binutils/Manifest                |   1 +
 sys-devel/binutils/binutils-2.30-r4.ebuild | 419 +++++++++++++++++++++++++++++
 2 files changed, 420 insertions(+)
Comment 6 Sergei Trofimovich (RETIRED) gentoo-dev 2018-09-25 07:38:58 UTC

*** This bug has been marked as a duplicate of bug 666100 ***