Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639718 - cdrdao-1.2.3-r4 build fails with 17.0 profile
Summary: cdrdao-1.2.3-r4 build fails with 17.0 profile
Status: RESOLVED DUPLICATE of bug 635014
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-04 06:43 UTC by Francesco Lamonica
Modified: 2017-12-04 07:11 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Lamonica 2017-12-04 06:43:40 UTC
After switching to the new 17.0 profile (kde desktop NO systemd)
and emerging world cdrdao package refuses to build due to follwoing error:

x86_64-pc-linux-gnu-g++  -march=k8 -O2 -pipe -fweb -std=c++11 -pthread  -Wl,-O1 -Wl,--as-needed -o toc2mp3 toc2mp3-toc2mp3.o ../trackdb/libtrackdb.a  -lmp3lame -lmad -lm -lvorbisfile -lao -pthread 
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: toc2mp3-toc2mp3.o: warning: relocation against `bitrate_table' in readonly section `.text.startup'
toc2mp3-toc2mp3.o: In function `init_encoder(int)':
toc2mp3.cc:(.text+0x30a): undefined reference to `bitrate_table'
toc2mp3.cc:(.text+0x318): undefined reference to `bitrate_table'
toc2mp3.cc:(.text+0x323): undefined reference to `bitrate_table'
toc2mp3-toc2mp3.o: In function `main':
toc2mp3.cc:(.text.startup+0x29a): undefined reference to `bitrate_table'
toc2mp3.cc:(.text.startup+0x2a1): undefined reference to `bitrate_table'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in a shared object.
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:487: toc2mp3] Error 1
make[2]: Leaving directory '/var/tmp/portage/app-cdr/cdrdao-1.2.3-r4/work/cdrdao-1.2.3/utils'
make[1]: *** [Makefile:436: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-cdr/cdrdao-1.2.3-r4/work/cdrdao-1.2.3'
make: *** [Makefile:375: all] Error 2


Here follows emerge info
Shadowland ~ # emerge --info
Portage 2.3.13 (python 2.7.14-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-6.4.0, glibc-2.25-r9, 4.12.12-gentoo x86_64)
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.4.1
KiB Mem:    16313356 total,   7217320 free
KiB Swap:    4646908 total,   4641012 free
Timestamp of repository gentoo: Sun, 03 Dec 2017 01:30:01 +0000
Head commit of repository gentoo: 4aae72be00074f5c93687d4ae16d142f4a28663b
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.2.4 [enabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.5::gentoo, 3.5.4::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.8.2::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.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL RAR google-chrome skype-eula skype-4.0.0.7-copyright googleearth AdobeFlash-11.x Oracle-BCLA-JavaSE OPERA-2014 Vivaldi"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fweb"
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/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -fweb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/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="3dnow 3dnowext X a52 aac acl acpi activities ads aften alsa amd64 amr audiofile avi bluetooth branding bzip2 cairo cdda cdr chroot cli consolekit cracklib crypt cscope cups cxx dbus declarative dri dts dvd dvdr emboss encode esd exif fam firefox flac fortran gdbm gif glamor gphoto2 gpm gstreamer gtk gtk3 hardened hpcups hpijs iconv imagemagick jpeg kde kipi kwallet lcms ldap libnotify loop-aes mad matroska mbox minizip mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp oss pam pango pcre pcre16 pdf phonon plasma png policykit ppds qml qt-dbus qt3support qt4 qt5 readline samba scanner sdl seccomp semantic-desktop session smp spell sql sqlite3 ssl startup-notification subversion svg tcpd tetex theora threads tiff truetype udev udisks unicode upower usb vorbis webkit widevine widgets wxwidgets x264 xattr xcb xcomposite xine xinerama xml xprint xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 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="evdev keyboard mouse" KERNEL="linux" 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" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="vesa fbdev nouveau nvidia" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andreas Sturmlechner gentoo-dev 2017-12-04 07:11:12 UTC

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