| Summary: | x11-base/xorg-server-1.20.10 fails to compile (<artificial>:(.text+0xb62c): undefined reference to `GrabButton') | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Patrick Lauer <patrick> |
| Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | sam |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
I can reproduce with either 1.20.8 and 1.20.10 if I add -flto I don't think this should block stabilization. Also, duplicate of bug #729772 *** This bug has been marked as a duplicate of bug 729772 *** |
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Wimplicit -Wnonnull -Winit-self -Wmain -Wmissing-braces -Wsequence-point -Wreturn-type -Wtrigraphs -Warray-bounds -Wwrite-strings -Waddress -Wint-to-pointer-cast -Wpointer-to-int-cast -fno-strict-aliasing -fno-strict-aliasing -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/X11/dri -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/sync -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -I../dbe -I../present -fvisibility=hidden -DHAVE_XORG_CONFIG_H -fvisibility=hidden -I/usr/include/libdrm -O2 -pipe -march=native -flto=4 -fuse-linker-plugin -pthread -Wl,-wrap,dixLookupWindow -Wl,-wrap,dixLookupClient -Wl,-wrap,WriteToClient -Wl,-wrap,dixLookupWindow -Wl,-wrap,XISetEventMask -Wl,-wrap,AddResource -Wl,-wrap,GrabButton -O2 -flto=4 -Wl,-z,lazy -o tests tests-tests-common.o tests-list.o tests-string.o tests-tests.o tests-fixes.o tests-input.o tests-misc.o tests-signal-logging.o tests-touch.o tests-xfree86.o tests-test_xkb.o tests-xtest.o tests-hashtabletest.o tests-protocol-xchangedevicecontrol.o tests-protocol-common.o tests-protocol-xiqueryversion.o tests-protocol-xiquerydevice.o tests-protocol-xiselectevents.o tests-protocol-xigetselectedevents.o tests-protocol-xisetclientpointer.o tests-protocol-xigetclientpointer.o tests-protocol-xiquerypointer.o tests-protocol-xipassivegrabdevice.o tests-protocol-xiwarppointer.o tests-protocol-eventconvert.o tests-xi2.o tests-sdksyms.o ../hw/xfree86/loader/libloader.la ../hw/xfree86/common/libcommon.la ../hw/xfree86/os-support/libxorgos.la ../hw/xfree86/parser/libxf86config.la ../hw/xfree86/dixmods/libdixmods.la ../hw/xfree86/modes/libxf86modes.la ../hw/xfree86/ramdac/libramdac.la ../hw/xfree86/ddc/libddc.la ../hw/xfree86/i2c/libi2c.la ../hw/xfree86/xkb/libxorgxkb.la ../Xext/libXvidmode.la ../dix/libdix.la ../mi/libmi.la ../os/libos.la ../composite/libcomposite.la ../xfixes/libxfixes.la ../Xext/libXext.la ../dbe/libdbe.la ../record/librecord.la ../randr/librandr.la ../render/librender.la ../damageext/libdamageext.la ../dri3/libdri3.la ../present/libpresent.la ../miext/sync/libsync.la ../miext/damage/libdamage.la ../Xi/libXi.la ../xkb/libxkb.la ../os/libos.la ../glx/libglxvnd.la ../hw/xfree86/dri/libdri.la ../hw/xfree86/dri2/libdri2.la ../dri3/libdri3.la -lpciaccess -ldrm -lpixman-1 -lXfont2 -lXau -lxshmfence -lXdmcp -lm -lbsd -lGL -lm -lbsd libtool: link: x86_64-pc-linux-gnu-gcc -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Wimplicit -Wnonnull -Winit-self -Wmain -Wmissing-braces -Wsequence-point -Wreturn-type -Wtrigraphs -Warray-bounds -Wwrite-strings -Waddress -Wint-to-pointer-cast -Wpointer-to-int-cast -fno-strict-aliasing -fno-strict-aliasing -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/X11/dri -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/sync -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -I../dbe -I../present -fvisibility=hidden -DHAVE_XORG_CONFIG_H -fvisibility=hidden -I/usr/include/libdrm -O2 -pipe -march=native -flto=4 -fuse-linker-plugin -pthread -Wl,-wrap -Wl,dixLookupWindow -Wl,-wrap -Wl,dixLookupClient -Wl,-wrap -Wl,WriteToClient -Wl,-wrap -Wl,dixLookupWindow -Wl,-wrap -Wl,XISetEventMask -Wl,-wrap -Wl,AddResource -Wl,-wrap -Wl,GrabButton -O2 -flto=4 -Wl,-z -Wl,lazy -o tests tests-tests-common.o tests-list.o tests-string.o tests-tests.o tests-fixes.o tests-input.o tests-misc.o tests-signal-logging.o tests-touch.o tests-xfree86.o tests-test_xkb.o tests-xtest.o tests-hashtabletest.o tests-protocol-xchangedevicecontrol.o tests-protocol-common.o tests-protocol-xiqueryversion.o tests-protocol-xiquerydevice.o tests-protocol-xiselectevents.o tests-protocol-xigetselectedevents.o tests-protocol-xisetclientpointer.o tests-protocol-xigetclientpointer.o tests-protocol-xiquerypointer.o tests-protocol-xipassivegrabdevice.o tests-protocol-xiwarppointer.o tests-protocol-eventconvert.o tests-xi2.o tests-sdksyms.o ../hw/xfree86/loader/.libs/libloader.a ../hw/xfree86/common/.libs/libcommon.a -ludev ../hw/xfree86/os-support/.libs/libxorgos.a ../hw/xfree86/parser/.libs/libxf86config.a ../hw/xfree86/dixmods/.libs/libdixmods.a ../hw/xfree86/modes/.libs/libxf86modes.a ../hw/xfree86/ramdac/.libs/libramdac.a ../hw/xfree86/ddc/.libs/libddc.a ../hw/xfree86/i2c/.libs/libi2c.a ../hw/xfree86/xkb/.libs/libxorgxkb.a ../Xext/.libs/libXvidmode.a ../dix/.libs/libdix.a ../mi/.libs/libmi.a ../composite/.libs/libcomposite.a ../xfixes/.libs/libxfixes.a ../Xext/.libs/libXext.a ../dbe/.libs/libdbe.a ../record/.libs/librecord.a ../randr/.libs/librandr.a ../render/.libs/librender.a ../damageext/.libs/libdamageext.a ../present/.libs/libpresent.a ../miext/sync/.libs/libsync.a ../miext/damage/.libs/libdamage.a ../Xi/.libs/libXi.a ../xkb/.libs/libxkb.a ../os/.libs/libos.a -lcrypto -ldl ../glx/.libs/libglxvnd.a ../hw/xfree86/dri/.libs/libdri.a ../hw/xfree86/dri2/.libs/libdri2.a ../dri3/.libs/libdri3.a -lpciaccess -ldrm -lpixman-1 -lXfont2 -lXau -lxshmfence -lXdmcp -lGL -lm -lbsd -pthread xkbUtils.c: In function 'XkbUpdateActions.constprop': XKBMisc.c:721:44: warning: 'mask' may be used uninitialized in this function [-Wmaybe-uninitialized] XKBMisc.c:718:18: note: 'mask' was declared here XKBMisc.c:782:17: warning: 'newMask' may be used uninitialized in this function [-Wmaybe-uninitialized] XKBMisc.c:779:22: note: 'newMask' was declared here XKBMisc.c:795:17: warning: 'newMask' may be used uninitialized in this function [-Wmaybe-uninitialized] XKBMisc.c:792:22: note: 'newMask' was declared here XKBMisc.c:832:21: warning: 'newMask' may be used uninitialized in this function [-Wmaybe-uninitialized] XKBMisc.c:829:26: note: 'newMask' was declared here XKBMisc.c:813:25: warning: 'newMask' may be used uninitialized in this function [-Wmaybe-uninitialized] XKBMisc.c:810:30: note: 'newMask' was declared here ptrveloc.c: In function 'AccelSetProfileProperty': ptrveloc.c:194:9: warning: 'profile' may be used uninitialized in this function [-Wmaybe-uninitialized] /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/x11-base/xorg-server-1.20.10/temp/tests.ZcWAfw.ltrans1.ltrans.o: in function `__wrap_GrabButton': <artificial>:(.text+0xb62c): undefined reference to `GrabButton' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:1055: tests] Error 1 make[3]: Leaving directory '/var/tmp/portage/x11-base/xorg-server-1.20.10/work/xorg-server-1.20.10/test' make[2]: *** [Makefile:1510: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/x11-base/xorg-server-1.20.10/work/xorg-server-1.20.10/test' make[1]: *** [Makefile:1006: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/x11-base/xorg-server-1.20.10/work/xorg-server-1.20.10/test' make: *** [Makefile:817: all-recursive] Error 1 * ERROR: x11-base/xorg-server-1.20.10::gentoo failed (compile phase): * emake failed Portage 3.0.11 (python 3.8.6-final-0, default/linux/amd64/17.0, gcc-10.2.0, glibc-2.32-r3, 5.9.1-gentoo x86_64) ================================================================= System uname: Linux-5.9.1-gentoo-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-glibc2.2.5 KiB Mem: 32923728 total, 22184220 free KiB Swap: 0 total, 0 free sh bash 5.0_p18 ld GNU ld (Gentoo 2.34 p6) 2.34.0 app-shells/bash: 5.0_p18::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 2.7.18-r4::gentoo, 3.7.9::gentoo, 3.8.6::gentoo, 3.9.0::gentoo dev-util/cmake: 3.19.1::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7-r1::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.3-r1::gentoo sys-devel/binutils: 2.34-r2::gentoo, 2.35.1-r1::gentoo sys-devel/gcc: 9.3.0-r2::gentoo, 10.2.0-r3::gentoo sys-devel/gcc-config: 2.3.2-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.9::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r3::gentoo Repositories: gentoo location: /home/me/code/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: no sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: adjust location: /home/me/code/adjust/gentoo-overlay masters: gentoo priority: 0 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -flto=4 -fuse-linker-plugin" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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="-O2 -pipe -march=native -flto=4 -fuse-linker-plugin" DISTDIR="/chroot/distfiles" 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="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" INSTALL_MASK="/etc/X11/xinit/xinitrc.d/80-dbus /usr/bin/dbus-launch" LANG="en_US.utf8" LDFLAGS="-O2 -flto=4" MAKEOPTS="-j8" 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 acl alsa amd64 apng berkdb bzip2 cli crypt cups dri ffmpeg fortran gdbm glamor gmp gpo iconv icu ipv6 lapack libglvnd libtirpc minizip multilib ncurses nls nptl opencl opengl openmp pam pcre pgo readline seccomp split-usr sqlite ssl tcpd truetype udev unicode vdpau vulkan xattr xvmc zlib" ABI_X86="64 32" 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="aes avx f16c 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 greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7 python3_8" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="radeon r600 radeonsi amdgpu" 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, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS