Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] libxcb build fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
nameiwillforget
n00b
n00b


Joined: 07 May 2024
Posts: 7

PostPosted: Tue May 07, 2024 6:17 pm    Post subject: [SOLVED] libxcb build fails Reply with quote

This happened on a newly configured Gentoo system after I used `resolve-march-native` to re-do my CFLAGS and did `emerge -e system` because I thought if I was to recompile my system to optimize its performance, I better do it now while not much is on it. The output of `emerge --info` for the package is

Code:
Portage 3.0.63 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop/systemd, gcc-13, glibc-2.38-r13, 6.8.5-arch1-1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.8.5-arch1-1-x86_64-13th_Gen_Intel-R-_Core-TM-_i7-13700K-with-glibc2.38
KiB Mem:    32648124 total,  15613564 free
KiB Swap:   34815996 total,  34815996 free
Timestamp of repository gentoo: Fri, 03 May 2024 20:00:00 +0000
Head commit of repository gentoo: ac8fa2f619bcb6ceeaf0000c0ec642ff7866f19f
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.11.9::gentoo, 3.12.3::gentoo
dev-lang/rust-bin:         1.77.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.4::gentoo
sys-devel/binutils:        2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            17.0.6::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r13::gentoo
Repositories:

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

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=30720"
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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d"
CXXFLAGS="-march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=30720"
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=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=30720"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=30720"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j15 -l15"
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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bash-completion bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus dri dts dvd dvdr emacs encode exif flac gdbm gif git gpm gui hardened iconv icu ipv6 jpeg latex lcms libnotify libtirpc mad mng mp3 mp4 mpeg mplayer multilib ncurses nls ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks uefi unicode upower usb vorbis vulkan wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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 avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto 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, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

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

x11-libs/libxcb-1.16.1::gentoo was built with the following:
USE="xkb -doc (-selinux) -test" ABI_X86="(64) -32 (-x32)"
CFLAGS="-O2 -pipe"
CXXFLAGS="-O2 -pipe"
FEATURES="buildpkg buildpkg-live clean-logs usersandbox qa-unresolved-soname-deps binpkg-multi-instance unmerge-logs unknown-features-warn parallel-fetch distlocks network-sandbox userpriv sfperms assume-digests preserve-libs pid-sandbox binpkg-logs fixlafiles binpkg-docompress parallel-install usersync binpkg-dostrip merge-sync pkgdir-index-trusted multilib-strict userfetch unmerge-orphans ebuild-locks protect-owned ipc-sandbox sandbox strict config-protect-if-modified"


The output of emerge -pqv is:

Code:

[ebuild   R   ] x11-libs/libxcb-1.16.1  USE="xkb -doc (-selinux) -test" ABI_X86="(64) -32 (-x32)"


The guild log is

Code:

 * Package:    x11-libs/libxcb-1.16.1:0/1.12
 * Repository: gentoo
 * Maintainer: x11@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux xkb
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Checking whether python3_12 is suitable ...
 *   dev-lang/python:3.12[xml(+)] ...
 [ ok ]
 *   python_check_deps ...
 *     >=x11-base/xcb-proto-1.16.0[python_targets_python3_12(-)] ...
 [ !! ]
 [ !! ]
 * Checking whether python3_11 is suitable ...
 *   dev-lang/python:3.11[xml(+)] ...
 [ ok ]
 *   python_check_deps ...
 *     >=x11-base/xcb-proto-1.16.0[python_targets_python3_11(-)] ...
 [ ok ]
 [ ok ]
 * Using python3.11 to build (via PYTHON_COMPAT iteration)
>>> Unpacking source...
>>> Unpacking libxcb-1.16.1.tar.xz to /var/tmp/portage/x11-libs/libxcb-1.16.1/work
>>> Source unpacked in /var/tmp/portage/x11-libs/libxcb-1.16.1/work
>>> Preparing source in /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1 ...
 * Running elibtoolize in: libxcb-1.16.1/
 *   Applying ppc64le/2.4.4 patch ...
 * Running elibtoolize in: libxcb-1.16.1/build-aux/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
 *   Applying werror/2.4.7 patch ...
 *   Applying cxx-pthread/2.4.6 patch ...
 *   Applying color-record/2.4.7 patch ...
 *   Applying openmp/2.4.7 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
 * econf: updating libxcb-1.16.1/build-aux/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating libxcb-1.16.1/build-aux/config.sub with /usr/share/gnuconfig/config.sub
/var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/libxcb-1.16.1 --htmldir=/usr/share/doc/libxcb-1.16.1/html --with-sysroot=/ --libdir=/usr/lib64 --disable-dependency-tracking --disable-selective-werror --disable-static --disable-devel-docs --disable-selinux
checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether /usr/bin/python3.11 version is >= 3.0... yes
checking for /usr/bin/python3.11 version... 3.11
checking for /usr/bin/python3.11 platform... linux
checking for GNU default /usr/bin/python3.11 prefix... ${prefix}
checking for GNU default /usr/bin/python3.11 exec_prefix... ${exec_prefix}
checking for /usr/bin/python3.11 script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.11/site-packages
checking for /usr/bin/python3.11 extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.11/site-packages
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for x86_64-pc-linux-gnu-gcc option to enable large file support... none needed
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/libexec/gcc/x86_64-pc-linux-gnu/ld
checking if the linker (/usr/libexec/gcc/x86_64-pc-linux-gnu/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/libexec/gcc/x86_64-pc-linux-gnu/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-file... no
checking for file... file
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... /
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/libexec/gcc/x86_64-pc-linux-gnu/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for x86_64-pc-linux-gnu-gcc options needed to detect all undeclared functions... (cached) none needed
checking whether __clang__ is declared... no
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking if x86_64-pc-linux-gnu-gcc supports -Werror=unknown-warning-option... no
checking if x86_64-pc-linux-gnu-gcc supports -Werror=unused-command-line-argument... no
checking if x86_64-pc-linux-gnu-gcc supports -Wall... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wpointer-arith... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-declarations... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wformat=2... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wstrict-prototypes... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-prototypes... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wnested-externs... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wbad-function-cast... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wold-style-definition... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wdeclaration-after-statement... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wunused... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wuninitialized... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wshadow... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-noreturn... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-format-attribute... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wredundant-decls... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wlogical-op... yes
configure: WARNING: You have chosen not to turn some select compiler warnings into errors.  This should not be necessary.  Please report why you needed to do so in a bug report at https://gitlab.freedesktop.org/xorg/lib/libxcb/-/issues
checking if x86_64-pc-linux-gnu-gcc supports -Wimplicit... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wnonnull... yes
checking if x86_64-pc-linux-gnu-gcc supports -Winit-self... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wmain... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-braces... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wsequence-point... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wreturn-type... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wtrigraphs... yes
checking if x86_64-pc-linux-gnu-gcc supports -Warray-bounds... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wwrite-strings... yes
checking if x86_64-pc-linux-gnu-gcc supports -Waddress... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wint-to-pointer-cast... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wpointer-to-int-cast... yes
checking if x86_64-pc-linux-gnu-gcc supports -pedantic... yes
checking if x86_64-pc-linux-gnu-gcc supports -Werror... yes
checking if x86_64-pc-linux-gnu-gcc supports -Werror=attributes... yes
Package xorg-macros was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-macros.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xorg-macros' not found
checking whether make supports nested variables... (cached) yes
checking whether to build developer documentation... no
checking for doxygen... no
configure: WARNING: doxygen not found - documentation targets will be skipped
configure: WARNING: dot not found - doxygen targets will be skipped
checking for CHECK... no
checking for XCBPROTO... yes
checking for NEEDED... yes
checking for XDMCP... yes
checking for XdmcpWrap in -lXdmcp... yes
checking XCBPROTO_XCBINCLUDEDIR... //usr/share/xcb
checking XCBPROTO_XCBPYTHONDIR... /
checking for library containing getaddrinfo... none required
checking for library containing connect... none required
checking for library containing sendmsg... none required
checking for struct msghdr.msg_control... yes
checking for struct sockaddr_un.sun_len... no
checking for tsol/label.h... no
checking for is_system_labeled... no
checking whether IOV_MAX is declared... yes
checking whether x86_64-pc-linux-gnu-gcc supports symbol visibility... yes
checking for getaddrinfo... yes
checking for poll... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating man/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating xcb.pc
config.status: creating xcb-composite.pc
config.status: creating xcb-damage.pc
config.status: creating xcb-dbe.pc
config.status: creating xcb-dpms.pc
config.status: creating xcb-dri2.pc
config.status: creating xcb-dri3.pc
config.status: creating xcb-ge.pc
config.status: creating xcb-glx.pc
config.status: creating xcb-present.pc
config.status: creating xcb-randr.pc
config.status: creating xcb-record.pc
config.status: creating xcb-render.pc
config.status: creating xcb-res.pc
config.status: creating xcb-screensaver.pc
config.status: creating xcb-shape.pc
config.status: creating xcb-shm.pc
config.status: creating xcb-sync.pc
config.status: creating xcb-xevie.pc
config.status: creating xcb-xf86dri.pc
config.status: creating xcb-xfixes.pc
config.status: creating xcb-xinerama.pc
config.status: creating xcb-xinput.pc
config.status: creating xcb-xkb.pc
config.status: creating xcb-xprint.pc
config.status: creating xcb-xselinux.pc
config.status: creating xcb-xtest.pc
config.status: creating xcb-xv.pc
config.status: creating xcb-xvmc.pc
config.status: creating doc/xcb.doxygen
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands

  Package: libxcb 1.16.1

  Configuration
    XDM support.........: yes
    sendmsg fd passing..: yes
    Build unit tests....: no
      with html results.: no
    XCB buffer size.....: 16384

  X11 extensions
    Composite...........: yes
    Damage..............: yes
    Dbe.................: yes
    Dpms................: yes
    Dri2................: yes
    Dri3................: yes
    GenericEvent........: no
    Glx.................: yes
    Randr...............: yes
    Record..............: yes
    Render..............: yes
    Resource............: yes
    Screensaver.........: yes
    selinux.............: no
    Shape...............: yes
    Shm.................: yes
    Sync................: yes
    Xevie...............: no
    Xfixes..............: yes
    Xfree86-dri.........: yes
    xinerama............: yes
    xinput..............: yes
    xkb.................: yes
    xprint..............: no
    xtest...............: yes
    xv..................: yes
    xvmc................: yes

  Used CFLAGS:
    CPPFLAGS............:
    CFLAGS..............: -march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=30720

  Installation:
    Prefix..............: /usr

>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_compile
make -j15 -l15
Making all in src
make[1]: Entering directory '/var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1-abi_x86_64.amd64/src'
/usr/bin/python3.11 /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py   -c "libxcb 1.16.1" -l "X Version 11" \
   -s "3" -p / \
    \
   //usr/share/xcb/xproto.xml
/usr/bin/python3.11 /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py   -c "libxcb 1.16.1" -l "X Version 11" \
   -s "3" -p / \
    \
   //usr/share/xcb/bigreq.xml
/usr/bin/python3.11 /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py   -c "libxcb 1.16.1" -l "X Version 11" \
   -s "3" -p / \
    \
   //usr/share/xcb/xc_misc.xml
/usr/bin/python3.11 /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py   -c "libxcb 1.16.1" -l "X Version 11" \
   -s "3" -p / \
    \
   //usr/share/xcb/composite.xml
/usr/bin/python3.11 /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py   -c "libxcb 1.16.1" -l "X Version 11" \
   -s "3" -p / \
    \
   //usr/share/xcb/damage.xml
/usr/bin/python3.11 /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py   -c "libxcb 1.16.1" -l "X Version 11" \
   -s "3" -p / \
    \
   //usr/share/xcb/dbe.xml
/usr/bin/python3.11 /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py   -c "libxcb 1.16.1" -l "X Version 11" \
   -s "3" -p / \
    \
   //usr/share/xcb/dpms.xml
/usr/bin/python3.11 /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py   -c "libxcb 1.16.1" -l "X Version 11" \
   -s "3" -p / \
    \
   //usr/share/xcb/dri2.xml
/usr/bin/python3.11 /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py   -c "libxcb 1.16.1" -l "X Version 11" \
   -s "3" -p / \
    \
   //usr/share/xcb/dri3.xml
/usr/bin/python3.11 /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py   -c "libxcb 1.16.1" -l "X Version 11" \
   -s "3" -p / \
    \
   //usr/share/xcb/present.xml
/usr/bin/python3.11 /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py   -c "libxcb 1.16.1" -l "X Version 11" \
   -s "3" -p / \
    \
   //usr/share/xcb/glx.xml
/usr/bin/python3.11 /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py   -c "libxcb 1.16.1" -l "X Version 11" \
   -s "3" -p / \
    \
   //usr/share/xcb/res.xml
/usr/bin/python3.11 /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py   -c "libxcb 1.16.1" -l "X Version 11" \
   -s "3" -p / \
    \
   //usr/share/xcb/render.xml
/usr/bin/python3.11 /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py   -c "libxcb 1.16.1" -l "X Version 11" \
   -s "3" -p / \
    \
   //usr/share/xcb/shape.xml
/usr/bin/python3.11 /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py   -c "libxcb 1.16.1" -l "X Version 11" \
   -s "3" -p / \
    \
   //usr/share/xcb/screensaver.xml
/usr/bin/python3.11 /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py   -c "libxcb 1.16.1" -l "X Version 11" \
   -s "3" -p / \
    \
   //usr/share/xcb/record.xml
/usr/bin/python3.11 /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py   -c "libxcb 1.16.1" -l "X Version 11" \
   -s "3" -p / \
    \
   //usr/share/xcb/randr.xml
/usr/bin/python3.11 /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py   -c "libxcb 1.16.1" -l "X Version 11" \
   -s "3" -p / \
    \
   //usr/share/xcb/sync.xml
/usr/bin/python3.11 /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py   -c "libxcb 1.16.1" -l "X Version 11" \
   -s "3" -p / \
    \
   //usr/share/xcb/xevie.xml
/usr/bin/python3.11 /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py   -c "libxcb 1.16.1" -l "X Version 11" \
   -s "3" -p / \
    \
   //usr/share/xcb/xf86dri.xml
/usr/bin/python3.11 /var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py   -c "libxcb 1.16.1" -l "X Version 11" \
   -s "3" -p / \
    \
   //usr/share/xcb/xfixes.xml
Traceback (most recent call last):
  File "/var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py", line 3395, in <module>
    module.generate()
  File "/usr/lib/python3.11/site-packages/xcbgen/state.py", line 131, in generate
    item.out(name)
  File "/var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py", line 3212, in c_request
    _man_request(self, name, void=not self.reply, aux=False)
  File "/var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py", line 2676, in _man_request
    f.write('%s \\- %s\n' % (func_name, brief))
UnicodeEncodeError: 'latin-1' codec can't encode character '\u201c' in position 68: ordinal not in range(256)
make[1]: *** [Makefile:1425: composite.c] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1-abi_x86_64.amd64/src'
make: *** [Makefile:799: all-recursive] Error 1
 * ERROR: x11-libs/libxcb-1.16.1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=x11-libs/libxcb-1.16.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/libxcb-1.16.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/libxcb-1.16.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libxcb-1.16.1/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1-abi_x86_64.amd64'
 * S: '/var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1'


I saw another bug for libxcb here:

https://forums.gentoo.org/viewtopic-t-1166062-highlight-libxcb.html

But I don't think it's the same one since I'm using German UTF-8 as a locale and because the bug was closed.


Last edited by nameiwillforget on Tue May 07, 2024 6:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1695

PostPosted: Tue May 07, 2024 6:29 pm    Post subject: Re: libxcb build fails Reply with quote

nameiwillforget wrote:
Code:
LANG="en_US"

This should be en_US.utf8 or you get errors like this. This should be changeable via eselect locale. If it is not in eselect, then it must be included in /etc/locale.gen and then running locale-gen
Quote:
But I don't think it's the same one since I'm using German UTF-8 as a locale and because the bug was closed.

Your output does not show a German locale selected. If it that is what you desire, then it is incomplete.
Back to top
View user's profile Send private message
nameiwillforget
n00b
n00b


Joined: 07 May 2024
Posts: 7

PostPosted: Tue May 07, 2024 6:34 pm    Post subject: Reply with quote

Oh, sorry, I made an error during the locale selection.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum