Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#58009 - [wt] Missing Dependency: libgl

Attached to Project: Community Packages
Opened by lmat (lmat) - Wednesday, 28 March 2018, 22:17 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 31 March 2018, 03:01 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: package wt should require libglvnd. Linking a project that depends on WT without libglvnd fails with

/usr/bin/ld: warning: libGL.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/libwt.so, not found

and many entries like

/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/libwt.so: undefined reference to `glXMakeCurrent'

Additional info:
* package version(s) wt 4.0.2

Steps to reproduce:
Compile project that depends on wt without libglvnd (and /usr/lib/libGL.so) installed.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Saturday, 31 March 2018, 03:01 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Thursday, 29 March 2018, 15:38 GMT
Or rather 'libgl', not specifically libglvnd.

namcap also complains about libmariadbclient as a missing dep/optdep
Comment by lmat (lmat) - Thursday, 29 March 2018, 15:45 GMT
On another machine where things were working, I did pacman -Qo /lib/libGL.so; (I'm not positive if that's the correct command now, but hopefully you understand) and it responded libglvnd. If libgl provides libGL.so, fine with me. Thanks!
Comment by Sven-Hendrik Haase (Svenstaro) - Thursday, 29 March 2018, 16:52 GMT
Please check now.
Comment by lmat (lmat) - Thursday, 29 March 2018, 17:00 GMT
Hm, I did
pacman -Rsu libglvnd wt;
ls /lib/libGL.so*; (find nothing)
pacman -Syu wt;

pacman reports:

Packages (10) cairo-1.15.10+54+g1ed124ace-1 graphicsmagick-1.3.28-1 libdatrie-0.2.10-2 libharu-2.3.0-1 libthai-0.1.27-1 libxft-2.3.2-1 libxrender-0.9.10-1 pango-1.42.0-1 pixman-0.34.0-1 wt-4.0.2-2

After installing that, no /lib/libGL.so*. Am I missing something?
Comment by Doug Newgard (Scimmia) - Thursday, 29 March 2018, 17:01 GMT
You need to update your system first, and make sure your mirror has updated to -3
Comment by Aaron Fischer (aaronmueller) - Thursday, 29 March 2018, 22:41 GMT
I've tested it with a fresh base installation
Looking good on my side

[root@archlinux-base-bd7df1c0badee721 ~]# pacman -Syu wt
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
resolving dependencies...
:: There are 2 providers available for libgl:
:: Repository extra
1) libglvnd 2) nvidia-340xx-utils

Enter a number (default=1): 1
looking for conflicting packages...
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency
warning: dependency cycle detected:
warning: mesa will be installed before its libglvnd dependency

Packages (47) boost-libs-1.66.0-2 cairo-1.15.10+54+g1ed124ace-1 fontconfig-2.13.0+10+g58f5285-1 freetype2-2.9-2
fribidi-1.0.1+8+gdf7252b-1 graphicsmagick-1.3.28-2 graphite-1:1.3.11-1 harfbuzz-1.7.6-2 icu-61.1-1 lcms2-2.9-1
libdatrie-0.2.10-2 libdrm-2.4.91-3 libedit-20170329_3.1-1 libglvnd-1.0.0-1 libharu-2.3.0-1 libice-1.0.9-2
libjpeg-turbo-1.5.3-1 libomxil-bellagio-0.9.3-1 libpciaccess-0.14-1 libpng-1.6.34-2 libsm-1.2.2-2 libthai-0.1.27-1
libtiff-4.0.9-1 libtool-2.4.6+40+g6ca5e224-5 libunwind-1.2.1-1 libx11-1.6.5-1 libxau-1.0.8-3 libxcb-1.13-1
libxdamage-1.1.4-3 libxdmcp-1.1.2-1 libxext-1.3.3-1 libxfixes-5.0.3-2 libxft-2.3.2-1 libxml2-2.9.8-2
libxrender-0.9.10-1 libxshmfence-1.3-1 libxxf86vm-1.1.4-1 llvm-libs-6.0.0-4 lm_sensors-3.4.0-2 lzo-2.10-1
mesa-17.3.7-1 pango-1.42.0-1 pixman-0.34.0-1 wayland-1.14.0-1 xcb-proto-1.13-1 xorgproto-2018.4-1 wt-4.0.2-3

Total Download Size: 58.61 MiB
Total Installed Size: 267.06 MiB
Comment by lmat (lmat) - Friday, 30 March 2018, 01:32 GMT
Yeah, it's good. Thanks!

Loading...