Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643226 - x11-libs/motif-2.3.8 final link failed: Bad value
Summary: x11-libs/motif-2.3.8 final link failed: Bad value
Status: RESOLVED DUPLICATE of bug 583842
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ulrich Müller
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-03 12:56 UTC by Kévin Petit
Modified: 2018-01-03 16:29 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,36.19 KB, text/x-log)
2018-01-03 12:56 UTC, Kévin Petit
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kévin Petit 2018-01-03 12:56:04 UTC
Created attachment 512968 [details]
Build log

Can't build x11-libs/motif-2.3.8:

--------------------------------------------------
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-libs/motif-2.3.8/work/motif-2.3.8 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_compile
make -j16 -C tools/wml CC=x86_64-pc-linux-gnu-gcc LIBS=-lfl wmluiltok 
make: Entering directory '/var/tmp/portage/x11-libs/motif-2.3.8/work/motif-2.3.8-abi_x86_32.x86/tools/wml'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/motif-2.3.8/work/motif-2.3.8/tools/wml -I../../include -I../../lib/Xm -I../../lib -I/var/tmp/portage/x11-libs/motif-2.3.8/work/motif-2.3.8/tools/wml/../../lib -I/var/tmp/portage/x11-libs/motif-2.3.8/work/motif-2.3.8/tools/wml/../../include      -O2 -pipe -mtune=corei7-avx -fno-strict-aliasing -Wall -fno-strict-aliasing -Wno-unused -Wno-comment   -c -o wmluiltok.o /var/tmp/portage/x11-libs/motif-2.3.8/work/motif-2.3.8/tools/wml/wmluiltok.c
/bin/sh ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -mtune=corei7-avx -fno-strict-aliasing -Wall -fno-strict-aliasing -Wno-unused -Wno-comment    -Wl,-O1 -Wl,--as-needed -o wmluiltok wmluiltok.o -lfl -lfl
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -mtune=corei7-avx -fno-strict-aliasing -Wall -fno-strict-aliasing -Wno-unused -Wno-comment -Wl,-O1 -o wmluiltok wmluiltok.o  -Wl,--as-needed -lfl
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libfl.a(libmain.o): warning: relocation against `exit@@GLIBC_2.2.5' in readonly section `.text.startup'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libfl.a(libmain.o): relocation R_X86_64_PC32 against symbol `exit@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make: *** [Makefile:495: wmluiltok] Error 1
make: Leaving directory '/var/tmp/portage/x11-libs/motif-2.3.8/work/motif-2.3.8-abi_x86_32.x86/tools/wml'
 * ERROR: x11-libs/motif-2.3.8::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=x11-libs/motif-2.3.8::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/motif-2.3.8::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/motif-2.3.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/motif-2.3.8/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-libs/motif-2.3.8/work/motif-2.3.8-abi_x86_32.x86'
 * S: '/var/tmp/portage/x11-libs/motif-2.3.8/work/motif-2.3.8'

>>> Failed to emerge x11-libs/motif-2.3.8, Log file:

>>>  '/var/tmp/portage/x11-libs/motif-2.3.8/temp/build.log'
--------------------------------------------------

Here's the output from emerge --info:
--------------------------------------------------
# emerge --info
Portage 2.3.19 (python 2.7.14-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-6.4.0, glibc-2.26-r5, 4.14.6-gentoo x86_64)                                                                                                         
=================================================================                                                   
System uname: Linux-4.14.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790K_CPU_@_4.00GHz-with-gentoo-2.4.1
KiB Mem:    32838072 total,   4564472 free
KiB Swap:    8534012 total,   8534012 free
Timestamp of repository gentoo: Wed, 03 Jan 2018 09:43:13 +0000
Head commit of repository gentoo: 3a725294072691292fad2e4e85ad044eb7e6c8a5

sh bash 4.4_p12
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.6-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.10.1::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.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6::gentoo, 1.13.4-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo, 7.2.0::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://anongit.gentoo.org/repo/gentoo.git
    priority: -1000

bircoph
    location: /var/lib/layman/bircoph
    masters: gentoo
    priority: 50

bitcoin
    location: /var/lib/layman/bitcoin
    masters: gentoo
    priority: 50

graaff
    location: /var/lib/layman/graaff
    masters: gentoo haskell
    priority: 50

haskell
    location: /var/lib/layman/haskell
    masters: gentoo
    priority: 50

laurentb
    location: /var/lib/layman/laurentb
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA googleearth PUEL Q3AEULA cadsoft skype-eula AdobeFlash-11.x FraunhoferFDK Intel-SDP"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=corei7-avx"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -mtune=corei7-avx"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer 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="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j16"
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="X a52 aac acl acpi activities alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvb dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac fontconfig fortran gcj gd gdbm gif glamor gnome gpm gtk hal iconv icu ipv6 java jpeg kde kipi kwallet latex lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mtp multilib ncurses nls nptl nsplugin nvidia octave ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds profile pulseaudio python qml qt3support qt5 readline sdl seccomp session smp spell sqlite sse sse2 ssl startup-notification svg tcl tcpd theora threads tiff tk truetype udev udisks unicode upower usb vaapi vdpau vim-syntax vorbis widgets wxwidgets x264 xattr xcb xcomposite 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="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 avx2 fma3 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="evdev" KERNEL="linux" L10N="en fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en fr fr_FR" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby22 ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="vesa radeon radeonsi amdgpu nvidia intel" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
--------------------------------------------------
Comment 1 Ulrich Müller gentoo-dev 2018-01-03 16:29:50 UTC

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