Arch Linux

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#30456 - [libgbm] missing a dependency on libudev (systemd-tools)

Attached to Project: Arch Linux
Opened by Ran Benita (bluetech) - Wednesday, 27 June 2012, 09:59 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 27 June 2012, 10:49 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: libgbm is missing a dependency on libudev (systemd-tools)

This results in this warning when linking:
/usr/bin/ld: warning: libudev.so.0, needed by /usr/lib/libgbm.so, not found (try using -rpath or -rpath-link)
I suppose because it hasn't been rebuilt against the libudev so bump.

See also e.g.
http://packages.debian.org/sid/libgbm-dev

Additional info:
* package version(s)
extra/libgbm 8.0.3-3

Thanks.
This task depends upon

Closed by  Ionut Biru (wonder)
Wednesday, 27 June 2012, 10:49 GMT
Reason for closing:  Not a bug
Comment by Ionut Biru (wonder) - Wednesday, 27 June 2012, 10:32 GMT
you cannot be more wrong.

libudev.so has now libudev.so.1 which means that whatever package owns /usr/lib/libgbm.so wasn't recompiled against new udev.

paste pacman -Qo /usr/lib/libgbm.so
Comment by Ran Benita (bluetech) - Wednesday, 27 June 2012, 10:41 GMT
I could be wrong, if so, sorry for the noise.

ran@ran:~$ pacman -Qo /usr/lib/libgbm.so
/usr/lib/libgbm.so is owned by libgbm 8.0.3-3

I just see in the PKGBUILD of libgbm that it only lists glibc, so it supposedly had no reason to be rebuilt against new libudev?
Comment by Ionut Biru (wonder) - Wednesday, 27 June 2012, 10:42 GMT
paste

pacman -Qi libgbm

readelf -d /usr/lib/libgbm.so.1.0
Comment by Ran Benita (bluetech) - Wednesday, 27 June 2012, 10:42 GMT
I guess this might also be relevant:

ran@ran:~$ ldd /usr/lib/libgbm.so
linux-vdso.so.1 => (0x00007fff219ff000)
libudev.so.0 => not found
librt.so.1 => /lib/librt.so.1 (0x00007ff026b49000)
libdl.so.2 => /lib/libdl.so.2 (0x00007ff026944000)
libglapi.so.0 => /usr/lib/libglapi.so.0 (0x00007ff02671f000)
libc.so.6 => /lib/libc.so.6 (0x00007ff02637e000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007ff026161000)
/lib/ld-linux-x86-64.so.2 (0x00007ff026f75000)
Comment by Ran Benita (bluetech) - Wednesday, 27 June 2012, 10:47 GMT
Grr, you are absolutely right, I had an old libgbm.1.0.0 but the package had only libgbm.1.0.
Again, I apologize for the noise.
Thank you.
Comment by Ionut Biru (wonder) - Wednesday, 27 June 2012, 10:49 GMT
no problem mate.

Loading...