FS#73813 - [apitrace] undefined symbol: __libc_dlsym, version GLIBC_PRIVATE

Attached to Project: Community Packages
Opened by James Hogan (jhogan) - Wednesday, 16 February 2022, 10:25 GMT
Last edited by Toolybird (Toolybird) - Friday, 18 November 2022, 22:23 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Laurent Carlier (lordheavy)
Giancarlo Razzolini (grazzolini)
freswa (frederik)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Description:

Since a recent update of my system, apitrace is broken, e.g.:

$ apitrace trace glxgears
glxgears: symbol lookup error: /usr/bin/../lib/apitrace/wrappers/glxtrace.so: undefined symbol: __libc_dlsym, version GLIBC_PRIVATE

Rebuilding the apitrace package fails too:
[ 74%] Linking CXX shared library egltrace.so
/usr/bin/ld: CMakeFiles/egltrace.dir/dlsym.cpp.o: in function `dlsym':
dlsym.cpp:(.text+0x6e): undefined reference to `__libc_dlopen_mode'
/usr/bin/ld: dlsym.cpp:(.text+0x8a): undefined reference to `__libc_dlsym'
collect2: error: ld returned 1 exit status

Additional info:
* apitrace-10.0-1
* glibc-2.35-2

Steps to reproduce:
* update glibc:
[2022-02-15T16:57:59+0000] [ALPM] upgraded glibc (2.33-5 -> 2.35-2)
* apitrace trace glxgears

Unclear to me atm whether glibc is at fault there or apitrace.
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 18 November 2022, 22:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  apitrace 11.1-1
Comment by James Hogan (jhogan) - Wednesday, 16 February 2022, 10:27 GMT
There's an upstream bug report here with a patch:
https://github.com/apitrace/apitrace/issues/756#issuecomment-910379929
Comment by Eric Engestrom (1ace) - Thursday, 01 September 2022, 09:59 GMT
Updating the package to version 11.0+ (released in april 2022) would also fix this bug :)
Comment by Vicki Pfau (Archaemic) - Friday, 18 November 2022, 10:59 GMT
This package has been completely broken for 9 months, 7 of which there's been a new release with a fix and has been marked out of date that whole time. Is Laurent (the maintainer) just inactive? Or is there something else blocking this? There's been no updates that I can see.
Comment by Laurent Carlier (lordheavy) - Friday, 18 November 2022, 12:11 GMT
Please check apitrace-11.1 in community repo
Comment by Vicki Pfau (Archaemic) - Friday, 18 November 2022, 12:15 GMT
It works now. Thank you for taking care of this.

Loading...