Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 735816 - media-libs/libglvnd-1.3.2 - ../libglvnd-v1.3.2/meson.build:98:0: ERROR: Dependency "x11" not found, tried pkgconfig and cmake
Summary: media-libs/libglvnd-1.3.2 - ../libglvnd-v1.3.2/meson.build:98:0: ERROR: Depen...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-03 20:32 UTC by Gavin Pryke
Modified: 2020-08-22 03:33 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 Gavin Pryke 2020-08-03 20:32:30 UTC
This is a relatively fresh amd64 multilib stage3 install. Thought it could be some configuration problem my side but then see there is no virtual/pkgconfig in BDEPEND? Not sure if this is intentional or not, pkgconf is installed but not for 32-bit, I haven't gotten to enable those yet because having some problems on this box plus I notice the sandbox error?

Not sure if this is related to https://bugs.gentoo.org/717352 somehow too.

Posting the error anyway, please advise, thanks.


Reproducible: Didn't try

Steps to Reproduce:
1. install stage3
2. install some software
3. emerge -uDvNa world
Actual Results:  
>>> Failed to emerge media-libs/libglvnd-1.3.2, Log file:
>>>  '/var/tmp/portage/media-libs/libglvnd-1.3.2/temp/build.log'
>>> Jobs: 7 of 17 complete, 1 failed                Load avg: 1.26, 0.73, 0.33
 * Package:    media-libs/libglvnd-1.3.2
 * Repository: gentoo
 * Maintainer: x11@gentoo.org
 * USE:        X abi_x86_32 abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Using python3.7 to build
>>> Unpacking source...
>>> Unpacking libglvnd-1.3.2.tar.bz2 to /var/tmp/portage/media-libs/libglvnd-1.3.2/work
>>> Source unpacked in /var/tmp/portage/media-libs/libglvnd-1.3.2/work
>>> Preparing source in /var/tmp/portage/media-libs/libglvnd-1.3.2/work/libglvnd-v1.3.2 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/libglvnd-1.3.2/work/libglvnd-v1.3.2 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
meson setup --buildtype plain --libdir lib32 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig:/usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/media-libs/libglvnd-1.3.2/temp/meson.i686-pc-linux-gnu.x86.ini -Dx11=enabled -Dglx=enabled /var/tmp/portage/media-libs/libglvnd-1.3.2/work/libglvnd-v1.3.2 /var/tmp/portage/media-libs/libglvnd-1.3.2/work/libglvnd-v1.3.2-abi_x86_32.x86
ERROR: ld.so: object 'libsandbox.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libsandbox.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
The Meson build system
Version: 0.54.2
Source dir: /var/tmp/portage/media-libs/libglvnd-1.3.2/work/libglvnd-v1.3.2
Build dir: /var/tmp/portage/media-libs/libglvnd-1.3.2/work/libglvnd-v1.3.2-abi_x86_32.x86
Build type: native build
Project name: glvnd
Project version: 1.3.2
C compiler for the host machine: x86_64-pc-linux-gnu-gcc -m32 (gcc 9.3.0 "x86_64-pc-linux-gnu-gcc (Gentoo 9.3.0-r1 p3) 9.3.0")
C linker for the host machine: x86_64-pc-linux-gnu-gcc -m32 ld.bfd 2.33.1
Host machine cpu family: x86
Host machine cpu: i686
Program python3 found: YES (/usr/bin/python3.7)
Message: Host CPU family: x86
Message: Host CPU: i686
Library dl found: YES
Library m found: YES
Run-time dependency threads found: YES
Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.6.3)
Found CMake: /usr/bin/cmake (3.16.5)
Run-time dependency x11 found: NO (tried pkgconfig and cmake)

../libglvnd-v1.3.2/meson.build:98:0: ERROR: Dependency "x11" not found, tried pkgconfig and cmake

A full log can be found at /var/tmp/portage/media-libs/libglvnd-1.3.2/work/libglvnd-v1.3.2-abi_x86_32.x86/meson-logs/meson-log.txt
 * ERROR: media-libs/libglvnd-1.3.2::gentoo failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 2819:  Called multilib-minimal_src_configure
 *   environment, line 1719:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 1952:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 1649:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 1647:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  527:  Called multilib-minimal_abi_src_configure
 *   environment, line 1713:  Called multilib_src_configure
 *   environment, line 2178:  Called meson_src_configure
 *   environment, line 1581:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 * 
 * If you need support, post the output of `emerge --info '=media-libs/libglvnd-1.3.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/libglvnd-1.3.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/libglvnd-1.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libglvnd-1.3.2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/libglvnd-1.3.2/work/libglvnd-v1.3.2-abi_x86_32.x86'
 * S: '/var/tmp/portage/media-libs/libglvnd-1.3.2/work/libglvnd-v1.3.2'

 * Messages for package media-libs/libglvnd-1.3.2:

 * ERROR: media-libs/libglvnd-1.3.2::gentoo failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 2819:  Called multilib-minimal_src_configure
 *   environment, line 1719:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 1952:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 1649:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 1647:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  527:  Called multilib-minimal_abi_src_configure
 *   environment, line 1713:  Called multilib_src_configure
 *   environment, line 2178:  Called meson_src_configure
 *   environment, line 1581:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 * 
 * If you need support, post the output of `emerge --info '=media-libs/libglvnd-1.3.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/libglvnd-1.3.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/libglvnd-1.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libglvnd-1.3.2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/libglvnd-1.3.2/work/libglvnd-v1.3.2-abi_x86_32.x86'
 * S: '/var/tmp/portage/media-libs/libglvnd-1.3.2/work/libglvnd-v1.3.2'

 * Regenerating GNU info directory index...
 * Processed 109 info files.


Expected Results:  
Emerge should complete successfully.

 Portage 2.3.103 (python 3.7.8-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-9.3.0, glibc-2.30-r8, 5.4.48-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.48-gentoo-x86_64-x86_64-Intel-R-_Xeon-R-_CPU_X3320_@_2.50GHz-with-gentoo-2.6
KiB Mem:     8084144 total,   3144088 free
KiB Swap:   12388784 total,  12388248 free
Timestamp of repository gentoo: Sat, 01 Aug 2020 00:45:01 +0000
Head commit of repository gentoo: 73c71e438d21f1044e5201e50638fef5801e67f0
sh bash 5.0_p17
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
ccache version 3.7.10 [disabled]
app-shells/bash:          5.0_p17::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r1::gentoo, 3.6.11-r2::gentoo, 3.7.8-r2::gentoo, 3.8.4-r1::gentoo
dev-util/ccache:          3.7.10::gentoo
dev-util/cmake:           3.16.5::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r8::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -frecord-gcc-switches"
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=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -frecord-gcc-switches"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="-j4 --load-average 3.5 --quiet-build=n"
ENV_UNSET="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="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -frecord-gcc-switches"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildsyspkg collision-protect 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 split-elog split-log strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -frecord-gcc-switches"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0"
LINGUAS="en en_GB"
MAKEOPTS="-j4 -l3.8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-T0"
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 ao apache appindicator avahi bash-completion berkdb bluetooth branding bzip2 cairo calenaer caps cdda cddb cdr cli crypt cups curl cxx dbus declarative dri dts dv dvb dvd dvdr elogind emboss encode exif fam ffmpeg fftw flac fontconfig fortran gd gdbm geoip geolocation gif gimp git gmp gphoto2 gpm gps gstreamer gtk iconv icu ieee1394 imagemagick imlib inotify introspection ipv6 jack jpeg jpeg2k kde kerberos kipi kwallet ladspa lash lcms ldap libnotify libsamplerate libtirpc lm-sensors logrotate lzma lzo mad mmap mng modplug mp3 mp4 mpeg mtp multilib musicbrainz mysql ncurses nls nptl ogg openal opengl openmp osc oss pam pango pcre pdf perl phonon plasma png policykit portaudio ppds pulseaudio python qml qt5 quicktime raw rdesktop readline samba sasl scanner sdl seccomp semantic-desktop session slp smp sndfile sox spell split-usr sqlite ssl startup-notification svg taglib tcl tcpd theora threads tidy tiff tk truetype udev udisks unicode upower usb v4l vaapi vala vdpau vim-syntax vnc vorbis wayland widgets wxwidgets x264 xattr xcb xft xml xscreensaver xv xvid xz zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="usb-audio hda-intel" 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 sse3 sse4_1 ssse3" 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="efi-64 pc" INPUT_DEVICES="evdev joystick libinput" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="fbdev nouveau nvidia virgl" 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, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS

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

media-libs/libglvnd-1.3.1::gentoo was built with the following:
USE="X -test" ABI_X86="32 (64) (-x32)"
FEATURES="distlocks pid-sandbox assume-digests ebuild-locks split-log xattr merge-sync multilib-strict sfperms split-elog strict usersync collision-protect binpkg-dostrip sandbox unmerge-orphans config-protect-if-modified qa-unresolved-soname-deps userpriv unmerge-logs unknown-features-warn ipc-sandbox binpkg-docompress network-sandbox binpkg-logs fixlafiles parallel-fetch preserve-libs userfetch news protect-owned usersandbox"

=======

$ eix pkgconf
[I] dev-perl/ExtUtils-PkgConfig
     Available versions:  1.160.0{tbz2}
     Installed versions:  1.160.0{tbz2}(10:33:15 30/07/20)
     Homepage:            https://metacpan.org/release/ExtUtils-PkgConfig
     Description:         Simplistic perl interface to pkg-config

* dev-python/pkgconfig
     Available versions:  1.5.1^t {test PYTHON_TARGETS="pypy3 python3_6 python3_7 python3_8"}
     Homepage:            https://pypi.org/project/pkgconfig/ https://github.com/matze/pkgconfig
     Description:         Interface Python with pkg-config

[I] dev-util/pkgconf
     Available versions:  1.6.3(0/3)^t ~1.7.2(0/3)^t ~1.7.3(0/3)^t **9999(0/3)*l^t {+pkg-config test ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  1.6.3(0/3)^t(01:22:16 05/09/19)(pkg-config -test ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://git.sr.ht/~kaniini/pkgconf
     Description:         pkg-config compatible replacement with no dependencies other than ANSI C89

* dev-util/pkgconfig
     Available versions:  0.28-r2 ~0.28-r3 ~0.29.1 0.29.2 **9999*l {hardened internal-glib ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32" ELIBC="FreeBSD glibc"}
     Homepage:            https://pkgconfig.freedesktop.org/wiki/
     Description:         Package config system that manages compile/link flags

[I] virtual/pkgconfig
     Available versions:  2
     Installed versions:  2(18:38:44 18/06/20)
     Description:         Virtual for the pkg-config implementation
Comment 1 Matt Turner gentoo-dev 2020-08-11 19:31:46 UTC
Does installing pkgconf with ABI_X86="64 32" fix the problem? E.g.,

> ABI_X86="64 32" emerge dev-util/pkgconf -v1a

and then trying to emerge libglvnd again?