Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nwg-bar::guru missing some opengl stuff [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 4001
Location: Rasi, Finland

PostPosted: Thu Mar 27, 2025 1:49 pm    Post subject: nwg-bar::guru missing some opengl stuff [SOLVED] Reply with quote

I'm trying to compile nwg-bar. Looks like some opengl library/component is missing, but I cannot decipher the build.log output.
It's a go package with quite many dependencies.
The crucial part is:
Code:
Package gl was not found in the pkg-config search path.
Perhaps you should add the directory containing `gl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gl', required by 'epoxy', not found


Here's the rest... and
emerge --info nwg-bar:
Portage 3.0.67 (python 3.12.9-final-0, default/linux/arm64/23.0/llvm, gcc-14, glibc-2.40-r8, 6.12.12-p1-asahi-dist aarch64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.12.12-p1-asahi-dist-aarch64-with-glibc2.40
KiB Mem:     7692096 total,   3710304 free
KiB Swap:   16777200 total,  15437568 free
Timestamp of repository guru: Mon, 24 Mar 2025 10:05:15 +0000
Head commit of repository guru: f6c723bc8c4887177cf82e651eea01434316eddb

Timestamp of repository gentoo: Mon, 24 Mar 2025 19:45:00 +0000
Head commit of repository gentoo: 583ffe1c0a4c2a8d3a1a0c43bd51844876815927
Timestamp of repository asahi: Fri, 21 Mar 2025 10:33:16 +0000
Head commit of repository asahi: e615e4a2073cf2896e518320139b7604f1d81646

Head commit of repository zucca: 02bbdd780c4d4ee5b01d9b6362dc02c654ef3b2c

sh bash 5.2_p37
ld GNU ld (Gentoo 2.44 p1) 2.44.0
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.17-r1::gentoo
dev-build/cmake:           3.31.5::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.7.0::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.12.9::gentoo, 3.13.2::gentoo
dev-lang/rust:             1.84.1-r1::gentoo
llvm-core/clang:           18.1.8-r6::gentoo, 19.1.7::gentoo
llvm-core/lld:             19.1.7::gentoo
llvm-core/llvm:            18.1.8-r6::gentoo, 19.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.56::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.43-r2::gentoo, 2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20250301::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.12::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r8::gentoo
Repositories:

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    priority: -2000
    volatile: False

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-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 3

asahi
    location: /var/db/repos/asahi
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/asahi.git
    masters: gentoo
    priority: 500
    volatile: False

zucca
    location: /var/db/repos/zucca
    sync-type: git
    sync-uri: https://codeberg.org/Zucca/gentoo-overlay.git
    masters: gentoo
    priority: 1000
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/arm64/binpackages/23.0/arm64_llvm

Installed sets: @asahi_boot
ACCEPT_KEYWORDS="arm64"
ACCEPT_LICENSE="@FREE"
ADDR2LINE="llvm-addr2line"
AR="llvm-ar"
AS="clang -c"
CBUILD="aarch64-unknown-linux-gnu"
CC="clang"
CFLAGS="-march=armv8.6-a -mcpu=apple-m2 -O2"
CHOST="aarch64-unknown-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/revdep-rebuild /etc/sandbox.d"
CPP="clang-cpp"
CXX="clang++"
CXXFLAGS="-march=armv8.6-a -mcpu=apple-m2 -O2"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-keep-masks --nospinner --jobs=10 --load-average=6.50 --keep-going y --deep 10 --with-bdeps y"
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=armv8.6-a -mcpu=apple-m2 -O2"
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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=armv8.6-a -mcpu=apple-m2 -O2"
GENTOO_MIRRORS="ftp://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://mirror.netcologne.de/gentoo/"
LANG="C.UTF8"
LD="ld.lld"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j8 -l8.20 --jobs=8 --load-average=8.20"
NM="llvm-nm"
OBJCOPY="llvm-objcopy"
OBJDUMP="llvm-objdump"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="gzip"
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"
RANLIB="llvm-ranlib"
READELF="llvm-readelf"
SHELL="/bin/bash"
STRINGS="llvm-strings"
STRIP="llvm-strip"
USE="Xwayland aarch64 acl aif aiff amrenc arm64 asahi av1 avif bindist bluetooth bluez bluray bzip bzip2 caca cdio chafa clang codec2 crypt dbus dhri dracut ffmpeg fuse gdbm gif gme gmp greetd grub gzip h.264 h.265 h264 h265 heic heif hwaccel iconv initramfs ipv6 jbig jdvu jpeg jpeg2000 jpeg2k jpegxl lame libass libcaca libdrm libplacebo libsoxr libtirpc libv4l llvm llvm-libunwind lvm lvm2 lz4 lzip lzo man matroska minizip mkv mod modplug mp2 mp3 mp4 mpeg mpeg2 mpeg4 ncurses nftables nls ogg opencl openexr opengl openmp openrc openrc-init opus pam pcre pdf pipewire pipewire-alsa png postscript qemu readline rust-src rustfmt seatd seccomp sixel ssl svg syslog system-act system-av1 system-boost system-bootstrap system-clipboard system-config-printer system-controller system-crontab system-ffmpeg system-fileio system-filepath system-harfbuzz system-heimdal system-icu system-info system-ipxe system-jpeg system-leveldb system-libcxx system-libevent system-librnp system-libsecp256k1 system-libvpx system-libyaml system-llvm system-lua system-lz4 system-mathjax system-mimalloc system-mitkrb5 system-mongodb system-monitor system-monitoring-center system-mspack system-png system-protoc system-qemu system-quazip system-rules system-seabios system-service system-sqlite system-ssl system-statistics system-webp system-wide system-zlib system-zstd test-rust twolame unicode v4l vaapi vorbis vp8 vp9 vpx vulkan wayland webm webp wireplumber x11-backend x264 x265 xattr zig zig-lang ziglang zip zlib zstd" ADA_TARGET="gcc_14" 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_ARM="edsp vfp vfpv3 vfpv4 vfp-d32 aes sha1 sha2 crc32 asimddp i8mm v8" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="ARM" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" QEMU_SOFTMMU_TARGETS="x86_64 aarch64 i386 riscv32 riscv64 mips mipsel mips64 mips64el m68k" QEMU_USER_TARGETS="x86_64 i386 riscv64 aarch64" RUBY_TARGETS="ruby32" SANE_BACKENDS="pixma" VIDEO_CARDS="asahi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ARFLAGS, ASFLAGS, CCLD, CONFIG_SHELL, CPPFLAGS, CTARGET, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RUSTFLAGS, SIZE, YACC, YFLAGS


Any tips? Thanks.
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!


Last edited by Zucca on Thu Mar 27, 2025 4:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1584
Location: Richmond Hill, Canada

PostPosted: Thu Mar 27, 2025 1:58 pm    Post subject: Reply with quote

according to pfl, gl.pc came from media-libs/libglvnd
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 4001
Location: Rasi, Finland

PostPosted: Thu Mar 27, 2025 2:25 pm    Post subject: Reply with quote

Thanks.
I have it installed.
Digging a bit further:
Code:
M2-Air ~ # qlist libglvnd | grep '\.pc$'
/usr/lib64/pkgconfig/egl.pc
/usr/lib64/pkgconfig/glesv1_cm.pc
/usr/lib64/pkgconfig/glesv2.pc
/usr/lib64/pkgconfig/libglvnd.pc
/usr/lib64/pkgconfig/opengl.pc
... I don't have that file, but it is found from my amd64 laptop.
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 2080

PostPosted: Thu Mar 27, 2025 2:37 pm    Post subject: Reply with quote

Zucca wrote:
Thanks.
I have it installed.
Digging a bit further:
Code:
M2-Air ~ # qlist libglvnd | grep '\.pc$'
/usr/lib64/pkgconfig/egl.pc
/usr/lib64/pkgconfig/glesv1_cm.pc
/usr/lib64/pkgconfig/glesv2.pc
/usr/lib64/pkgconfig/libglvnd.pc
/usr/lib64/pkgconfig/opengl.pc
... I don't have that file, but it is found from my amd64 laptop.

This needs media-libs/libglvnd[X] (that is the X USE be enabled) to get gl.pc to be created and installed.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 4001
Location: Rasi, Finland

PostPosted: Thu Mar 27, 2025 4:26 pm    Post subject: Reply with quote

Thanks.
That opened a rabbit hole, which went a little deeper:
    x11-libs/gtk+
    media-libs/libepoxy
    x11-libs/cairo
Also needed USE="X"

Then I finally got nwg-bar emerged.

[SOLVED]
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23280

PostPosted: Thu Mar 27, 2025 4:43 pm    Post subject: Reply with quote

When you have time, please report it to the guru maintainer, so that the ebuild for nwg-bar can be amended to tell Portage to require this flag.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 4001
Location: Rasi, Finland

PostPosted: Thu Mar 27, 2025 5:19 pm    Post subject: Reply with quote

Done. ;)
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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