Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 760516 - symbol lookup error: /usr/lib64/libGL.so.1: undefined symbol: g_PrlGBMApi
Summary: symbol lookup error: /usr/lib64/libGL.so.1: undefined symbol: g_PrlGBMApi
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 760513 760519 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-12-17 18:49 UTC by Leonid Kopylov
Modified: 2020-12-17 19:15 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,485.66 KB, text/plain)
2020-12-17 18:49 UTC, Leonid Kopylov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2020-12-17 18:49:15 UTC
# emerge -pqv '=dev-util/cmake-3.19.2::gentoo'
[ebuild     U ] dev-util/cmake-3.19.2 [3.19.1-r1] USE="doc emacs ncurses -qt5 -test"

# emerge --info '=dev-util/cmake-3.19.2::gentoo'
Portage 3.0.12 (python 3.8.7-candidate-1, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-10.2.0, glibc-2.32-r5, 5.9.14-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.9.14-gentoo-x86_64-Intel-R-_Core-TM-_i7-8700B_CPU_@_3.20GHz-with-glibc2.2.5
KiB Mem:     8123752 total,   2828500 free
KiB Swap:    8388604 total,   8188412 free
Timestamp of repository gentoo: Thu, 17 Dec 2020 17:00:01 +0000
Head commit of repository gentoo: 3cfee91ed2c9919833cec4489003005e9e4390cf
sh bash 5.1
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
ccache version 4.1 [disabled]
app-shells/bash:          5.1::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          3.8.7_rc1::gentoo, 3.9.1::gentoo, 3.10.0_alpha3::gentoo
dev-util/ccache:          4.1::gentoo
dev-util/cmake:           3.19.1-r1::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            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.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r5::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-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

edgets
    location: /var/lib/layman/edgets
    sync-type: laymansync
    sync-uri: https://github.com/BlueManCZ/edgets.git
    masters: gentoo
    priority: 50

guru
    location: /var/lib/layman/guru
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/repo/proj/guru.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA google-chrome"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/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="-march=native -O2 -pipe -fomit-frame-pointer"
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="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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 accessibility acl acpi addc ads alsa amd64 archive audit base berkdb bluetooth branding btrfs bzip2 cairo cdda cdr cgroup-hybrid chromium cli colord crypt cryptsetup cscope cups curl dbus device-mapper doc dot drafts dri dts dvd dvdr dynamic-loading eds emacs emboss encode evo examples exif experimental firebird flac fontconfig fortran games gconf gd gdbm geoip geolocation gif git gnome gnome-keyring gnome-online-accounts go googledrive gpg gpm gssapi gstreamer gtk gtk-doc gui highlight html http http2 iconv icu idn imagemagick introspection ipv6 iscsi jadetex java jpeg json kdesu kerberos kernel-hooks lcms ldap libglvnd libkms libnotify libsecret libtirpc logrotate mad math mbox mdadm mdnsresponder-compat minizip mng mongo mongodb mount mount-locking mp3 mp4 mpeg mpx multilib mysql mysqli nautilus ncurses networkmanager nls nptl nscd offensive ogg opengl openmp openntpd pam pango pass pcre pcre32 pdf pdfimport pdo perl png policykit postgres postproc ppds printsupport pulseaudio python qml qrcode qt5 readline samba sasl screencast sdl seccomp slp smi sound spell split-usr sqlite sshdump ssl startup-notification svg symlink sync-plugin-portage sysprof systemd tcl tcpd terminal tfshark threads tiff tk tools tracker truetype udev udisks unicode upower usb vim vim-pager vim-syntax vorbis wayland widgets winbind wininst wxwidgets x264 xa xattr xcb xetex xinerama xkb xml xv xvid yaml zeroconf zlib zstd" 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 avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 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" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell wiki-publisher scripting-javascript" 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_8" PYTHON_TARGETS="python2_7 python3_8" RUBY_TARGETS="ruby25 ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="vmware vesa" 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, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Leonid Kopylov 2020-12-17 18:49:39 UTC
Created attachment 678619 [details]
build.log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-17 18:52:38 UTC
*** Bug 760519 has been marked as a duplicate of this bug. ***
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-17 18:53:22 UTC
Both bug reports contain a line like:
>/usr/bin/emacs: symbol lookup error: /usr/lib64/libGL.so.1: undefined symbol: g_PrlGBMApi

Please rebuild the provider of /usr/lib64/libGL.so.1 (mesa?).
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-17 18:54:01 UTC
*** Bug 760513 has been marked as a duplicate of this bug. ***
Comment 5 Leonid Kopylov 2020-12-17 19:05:52 UTC
(In reply to Sam James from comment #3)
> Both bug reports contain a line like:
> >/usr/bin/emacs: symbol lookup error: /usr/lib64/libGL.so.1: undefined symbol: g_PrlGBMApi
> 
> Please rebuild the provider of /usr/lib64/libGL.so.1 (mesa?).

nope, rebuilding mesa didn't helped
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-17 19:08:11 UTC
(In reply to Leonid Kopylov from comment #5)
> (In reply to Sam James from comment #3)
> > Both bug reports contain a line like:
> > >/usr/bin/emacs: symbol lookup error: /usr/lib64/libGL.so.1: undefined symbol: g_PrlGBMApi
> > 
> > Please rebuild the provider of /usr/lib64/libGL.so.1 (mesa?).
> 
> nope, rebuilding mesa didn't helped

media-libs/libglvnd?
Comment 7 Leonid Kopylov 2020-12-17 19:12:52 UTC
(In reply to Sam James from comment #6)
> (In reply to Leonid Kopylov from comment #5)
> > (In reply to Sam James from comment #3)
> > > Both bug reports contain a line like:
> > > >/usr/bin/emacs: symbol lookup error: /usr/lib64/libGL.so.1: undefined symbol: g_PrlGBMApi
> > > 
> > > Please rebuild the provider of /usr/lib64/libGL.so.1 (mesa?).
> > 
> > nope, rebuilding mesa didn't helped
> 
> media-libs/libglvnd?

yes, just found "/usr/lib64/libGL.so.1" belongs to "media-libs/libglvnd" package, rebuilt this, and now cmake and kuroo emerged successfully.

# emerge cmake -pvq
[ebuild   R   ] dev-util/cmake-3.19.2  USE="doc emacs ncurses -qt5 -test"

# emerge kuroo -pvq
[ebuild   R   ] app-portage/kuroo-1.0.0  USE="-debug"
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-17 19:15:27 UTC
Great.