Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706254 - media-video/vlc-3.0.8 USE=lua - ld: /usr/lib64/liblua.a(lauxlib.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
Summary: media-video/vlc-3.0.8 USE=lua - ld: /usr/lib64/liblua.a(lauxlib.o): relocatio...
Status: RESOLVED DUPLICATE of bug 706378
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-24 17:39 UTC by Sergey Ilinykh
Modified: 2020-01-27 07:44 UTC (History)
4 users (show)

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


Attachments
build.log (build.log.gz,111.69 KB, application/gzip)
2020-01-24 17:41 UTC, Sergey Ilinykh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Ilinykh 2020-01-24 17:39:24 UTC
libtool: link:  x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  lua/.libs/liblua_plugin_la-extension.o lua/.libs/liblua_plugin_la-extension_thread.o lua/.libs/liblua_plugin_la-intf.o lua/.libs/liblua_plugin_la-meta.o lua/.libs/liblua_plugin_la-demux.o lua/.libs/liblua_plugin_la-services_discovery.o lua/.libs/liblua_plugin_la-vlc.o lua/libs/.libs/liblua_plugin_la-configuration.o lua/libs/.libs/liblua_plugin_la-equalizer.o lua/libs/.libs/liblua_plugin_la-gettext.o lua/libs/.libs/liblua_plugin_la-dialog.o lua/libs/.libs/liblua_plugin_la-httpd.o lua/libs/.libs/liblua_plugin_la-input.o lua/libs/.libs/liblua_plugin_la-messages.o lua/libs/.libs/liblua_plugin_la-misc.o lua/libs/.libs/liblua_plugin_la-net.o lua/libs/.libs/liblua_plugin_la-objects.o lua/libs/.libs/liblua_plugin_la-osd.o lua/libs/.libs/liblua_plugin_la-playlist.o lua/libs/.libs/liblua_plugin_la-sd.o lua/libs/.libs/liblua_plugin_la-stream.o lua/libs/.libs/liblua_plugin_la-strings.o lua/libs/.libs/liblua_plugin_la-variables.o lua/libs/.libs/liblua_plugin_la-video.o lua/libs/.libs/liblua_plugin_la-vlm.o lua/libs/.libs/liblua_plugin_la-volume.o lua/libs/.libs/liblua_plugin_la-xml.o lua/libs/.libs/liblua_plugin_la-io.o lua/libs/.libs/liblua_plugin_la-errno.o   -Wl,-rpath -Wl,/var/tmp/portage/media-video/vlc-3.0.8/work/vlc-3.0.8/src/.libs ../compat/.libs/libcompat.a -L/usr/lib64/sidplay/builders/ ../src/.libs/libvlccore.so -lidn -ldbus-1 -Wl,--as-needed -llua -ldl -lm -lpthread  -march=native -O2 -maes -Wl,-O1 -Wl,-z -Wl,defs   -Wl,-soname -Wl,liblua_plugin.so -Wl,-version-script -Wl,.libs/liblua_plugin.ver -o .libs/liblua_plugin.so
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/liblua.a(lauxlib.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/liblua.a(lbaselib.o): relocation R_X86_64_PC32 against symbol `stdout@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/liblua.a(ldblib.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/liblua.a(liolib.o): relocation R_X86_64_PC32 against symbol `stdin@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:16168: liblua_plugin.la] Error 1
make[4]: *** Waiting for unfinished jobs....


# emerge --info media-video/vlc
Portage 2.3.85 (python 3.6.10-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-9.2.0, glibc-2.30-r3, 5.4.7-050407-generic x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.7-050407-generic-x86_64-Intel-R-_Core-TM-_i7-9750H_CPU_@_2.60GHz-with-gentoo-2.6
KiB Mem:    32725376 total,   8242332 free
KiB Swap:    1358960 total,   1358960 free
Timestamp of repository gentoo: Fri, 24 Jan 2020 07:00:01 +0000
Head commit of repository gentoo: f56216b1e622cec07d4b98fb4bd374d4f0b6f586
sh bash 5.0_p11
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          5.0_p11::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r1::gentoo, 3.5.9::gentoo, 3.6.10::gentoo, 3.8.1::gentoo
dev-util/cmake:           3.16.3::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.1-r2::gentoo
sys-devel/binutils:       2.32-r1::gentoo, 2.33.1-r1::gentoo
sys-devel/gcc:            9.2.0-r3::gentoo
sys-devel/gcc-config:     2.2::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r3::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -maes"
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 -O2 -pipe -maes"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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-docompress binpkg-dostrip binpkg-logs config-protect-if-modified digest distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox 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://mirror.yandex.ru/gentoo-distfiles/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://mirror.netcologne.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru ru_RU en"
MAKEOPTS="-j3"
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="X a52 aac acl acpi activities alsa amd64 avahi avx bash-completion berkdb bluetooth branding bs2b bzip2 cairo cdda cdio cli crypt cups cxx d3d9 dbus declarative dri dri3 dts dv dvd dvdnav dvdr egl emboss encode exif faac faad ffmpeg flac fuse gallium gdbm gif glamor gles glitz gnome-keyring gphoto2 gpm gsm gstreamer gtk gtk3 h323 iconv icu idn ipv6 jabber java6 jingle jpeg jpeg2k kde kipi kwallet ladspa lcms libass libcanberra libidn2 libnotify libsecret libtirpc mad mate mng modemmanager modplug mp3 mp4 mpeg mtp multilib natspec ncurses networkmanager nls nptl nsplugin offensive ogg opengl openmax openmp pam pango pch pcmcia pcre pdf phonon pm-utils png policykit ppds pulseaudio qalculate qml qt5 readline rtmp samba scanner schroedinger sdl seccomp semantic-desktop sip smp speex spell split-usr ssl startup-notification svg symlink systemd systemtap tcpd theora threads thunar tiff tokenizer truetype udev udisks unicode upnp upower usb v4l vdpau vhosts vnc vorbis vpx wayland webkit webp widgets wifi x264 xattr xcb xcomposite xinerama xml xv xvid zlib" 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="dav dav_fs authn_file auth_basic auth_digest authz_groupfile authz_host dir mime log_config" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="ptp2 canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx popcnt mmx mmxext sse sse2 ssse3 sse3 sse4 sse4_1 sse4_2" 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="pc efi-64 emu" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="ru ru-RU en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport harness ide nb websvccommon php profiler webcommon cnd ergonomics dlight" NGINX_MODULES_HTTP="dav fastcgi flv access auth_basic autoindex charset browser empty_gif gzip map memcached rewrite userid" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby25" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="i965 radeon radeonsi" 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

=================================================================
                        Package Settings
=================================================================

media-video/vlc-3.0.8::gentoo was built with the following:
USE="X a52 alsa bluray dbus dts dvbpsi dvd encode faad ffmpeg flac fontconfig gcrypt gnome-keyring gstreamer jpeg kate libass libnotify libsamplerate libtiger lua mad matroska modplug mp3 mpeg mtp ncurses ogg opus png pulseaudio qt5 samba skins speex ssl svg theora truetype udev upnp v4l vdpau vnc vorbis vpx wayland x264 xml (-altivec) -aom -archive -aribsub -bidi -cddb -chromaprint -chromecast -dav1d -dc1394 -debug (-directx) -fdk -fluidsynth -gme -ieee1394 -jack -libav -libcaca -libtar -linsys -lirc -live -macosx-notifications -musepack (-neon) -nfs -omxil -opencv -optimisememory -postproc -projectm -rdp -run-as-root -sdl-image -sftp -shout -sid -soxr -srt -taglib -test -tremor -twolame -vaapi -x265 -zeroconf -zvbi" ABI_X86="(64)" CPU_FLAGS_X86="mmx sse"
CXXFLAGS="-march=native -O2 -pipe -maes -std=c++11"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -L/usr/lib64/sidplay/builders/"

Reproducible: Always
Comment 1 Sergey Ilinykh 2020-01-24 17:41:53 UTC
Created attachment 604204 [details]
build.log
Comment 2 jospezial 2020-01-26 01:43:28 UTC
Even the live ebuilds are hit by this.
confirming.
Comment 3 jospezial 2020-01-26 02:10:48 UTC
This could be the cause:
-rw-r--r-- 1 root root 356604 24. Jan 03:21 /usr/lib64/liblua.a

equery b /usr/lib64/liblua.a
 * Searching for /usr/lib64/liblua.a ... 
dev-lang/lua-5.1.5-r5 (/usr/lib64/liblua.a)

summaryrefslogtreecommitdiff	
path: root/dev-lang/lua/lua-5.1.5-r5.ebuild
	Commit message (Expand)	Author	Age	Files	Lines
* 	dev-lang/lua: EAPI bump	Robin H. Johnson	2 days	1	-0/+113


=================================================================
                        Package Settings
=================================================================

dev-lang/lua-5.1.5-r5::gentoo was built with the following:
USE="deprecated readline -doc -emacs" ABI_X86="(64) -32 (-x32)"
CFLAGS="-march=native -O2 -pipe -DLUA_USE_LINUX"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-E"


emerge -vat1D "<lua-5.1.5-r5" ;eject -T
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[ebuild     UD ] dev-lang/lua-5.1.5-r4::gentoo [5.1.5-r5::gentoo] USE="deprecated readline -emacs -static% (-doc%)" ABI_X86="(64) -32 (-x32)" 0 KiB
>>> Emerging (1 of 1) dev-lang/lua-5.1.5-r4::gentoo
>>> Installing (1 of 1) dev-lang/lua-5.1.5-r4::gentoo

emerge -vat1D =vlc-3.0.8 ;eject -T

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild     UD ] media-video/vlc-3.0.8:0/5-9::gentoo [3.0.9999:0/5-9::gentoo] USE="X a52 alsa archive bluray cddb dav1d dbus dts dvbpsi dvd encode faad fdk ffmpeg flac fluidsynth fontconfig gcrypt gme gstreamer jack jpeg libass libnotify libsamplerate live lua mad matroska modplug mp3 mpeg mtp musepack ncurses ogg opus png postproc projectm pulseaudio qt5 sftp shout skins speex ssl svg taglib theora truetype twolame udev v4l vaapi vdpau vnc vorbis vpx x264 x265 xml zvbi (-altivec) -aom -aribsub -bidi -chromaprint -chromecast -dc1394 -debug (-directx) -gnome-keyring -ieee1394 -kate -libav -libcaca -libtar -libtiger -linsys -lirc -macosx-notifications -nfs -omxil -opencv -optimisememory -rdp -run-as-root -samba -sdl-image -sid -soxr -srt -test -tremor -upnp -wayland -zeroconf" CPU_FLAGS_X86="mmx sse" 0 KiB

Total: 1 package (1 downgrade), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] 
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-video/vlc-3.0.8::gentoo
>>> Installing (1 of 1) media-video/vlc-3.0.8::gentoo
>>> Jobs: 1 of 1 complete
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2020-01-27 07:43:35 UTC

*** This bug has been marked as a duplicate of bug 706334 ***
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2020-01-27 07:44:43 UTC

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