Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916046 - x11-libs/libxcb fails to compile (
Summary: x11-libs/libxcb fails to compile (
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-20 13:29 UTC by Joe
Modified: 2023-10-23 15:38 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 Joe 2023-10-20 13:29:06 UTC
When using distcc, compile phase fails for several packages, including x11-libs/libxcb.  In a few cases, including libxcb, build log output contains text such as "relocation R_X86_64_PC32 against symbol" "can not be used when making a shared object" "recompile with -fpic"

These packages compile locally without error, so I have worked around by creating a per-package package.env entry like "x11-libs/libxcb nodist_features.conf" where /etc/portage/env/nodist_features.conf contains -- 
# /etc/portage/env/nodist_features.conf 
FEATURES=" -getbinpkg -userpriv -distcc -distcc-pump"

Why does distributed compile fail, and is there a better work-around?

# emerge --info x11-libs/libxcb
Portage 3.0.51 (python 3.11.5-final-0, default/linux/amd64/17.1/hardened, gcc-13, glibc-2.37-r7, 6.1.57-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.57-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-glibc2.37
KiB Mem:    16229128 total,  11327288 free
KiB Swap:    3145724 total,   3145724 free
Timestamp of repository gentoo: Fri, 20 Oct 2023 04:15:01 +0000
Head commit of repository gentoo: dedbe0d6397f3badfe41523e5e9607e58ded966a
Head commit of repository joetoo: fdd170e91b63ac998eaf6d67ce0629fde460202d

Head commit of repository crossdev: 90fdf132345ab998d10bdb6a69a0b983233b3403

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
distcc[29663] (dcc_trace_version) distcc 3.4 x86_64-pc-linux-gnu; built Sep 28 2023 01:23:50 [enabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.11.5::gentoo
dev-lang/rust:             1.71.1::gentoo
dev-util/cmake:            3.26.5-r2::gentoo
dev-util/meson:            1.2.1-r1::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/openrc:           0.48::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r7::gentoo
Repositories:

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

joetoo
    location: /var/db/repos/joetoo
    sync-type: git
    sync-uri: https://github.com/JosephBrendler/joetoo.git
    masters: gentoo
    volatile: False

crossdev
    location: /var/db/repos/crossdev
    sync-type: git
    sync-uri: https://github.com/alphallc/crossdev/
    masters: gentoo
    priority: 10
    volatile: False

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=ivybridge -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=ivybridge -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-march=ivybridge -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live config-protect-if-modified distcc distlocks ebuild-locks fixlafiles getbinpkg ipc-sandbox merge-sync network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
FFLAGS="-march=ivybridge -O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftpp.gtlib.gatech.edu/pub/gentoo http://open-systems.ufl.edu/mirrors/gentoo ftp://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/"
INSTALL_MASK="/usr/share/dev-perl/DBD-mysqllocale   -/usr/share/locale/en   -/usr/share/locale/en_US   -/usr/share/locale/kf5_all_languages   -/usr/share/locale/locale.alias"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en_US"
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_BINHOST="https://thuvia/packages/x86_64-pc-linux-gnu-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"
SHELL="/bin/bash"
USE="acpi amd64 apache2 apic bash-completion bzip2 caps cdr cet cgi cli consolekit crypt cxx dbus dri dvd dvdr evdev fortran gd gdbm gif git gnutls gpm hardened iconv idm introspection ipv6 libnotify libtirpc logrotate lxde modules mp3 mp4 mpeg mtp multilib mysql ncurses nptl odbc ogg openmp pam pcre pdf perl php pie png policykit readline samba seccomp split-usr ssl ssp startup-notification test-rust threads tiff truetype udev udisks unicode upnp upower urandom usb verify-sig xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2021" 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="mmx mmxext sse sse2 aes avx f16c pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" 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 multiboot qemu" INPUT_DEVICES="evdev libinput tslib" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="ARM X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1 php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="aarch64 arm armeb i386 x86_64" QEMU_USER_TARGETS="aarch64 aarch64_be arm armeb i386 x86_64" RUBY_TARGETS="ruby31" VIDEO_CARDS="intel nvidia fbdev vga vesa modesetting" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

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

x11-libs/libxcb-1.16::gentoo was built with the following:
USE="xkb -doc (-selinux) -test" ABI_X86="(64) -32 (-x32)"
FEATURES="usersandbox usersync news sandbox unmerge-logs xattr buildpkg pid-sandbox network-sandbox ebuild-locks unmerge-orphans distlocks binpkg-docompress unknown-features-warn ipc-sandbox warn-on-large-env userfetch config-protect-if-modified merge-sync parallel-fetch sfperms assume-digests buildpkg-live binpkg-logs fixlafiles binpkg-dostrip strict preserve-libs protect-owned strict-keepdir qa-unresolved-soname-deps"
Comment 1 Andreas Sturmlechner gentoo-dev 2023-10-20 18:46:00 UTC
missing build.log.
Comment 2 Mike Gilbert gentoo-dev 2023-10-23 15:38:20 UTC
Please change the bug status to UNCONFIRMED once a build log has been attached.