Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913621 - media-libs/mesa-23.2.0_rc2 librusticl fails to link
Summary: media-libs/mesa-23.2.0_rc2 librusticl fails to link
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo X packagers
Depends on:
Reported: 2023-09-04 13:03 UTC by Honza Macháček
Modified: 2024-02-07 07:43 UTC (History)
6 users (show)

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

link failure build.log (build.log.gz,173.34 KB, application/gzip)
2023-11-05 03:04 UTC, Ben

Note You need to log in before you can comment on or make changes to this bug.
Description Honza Macháček 2023-09-04 13:03:53 UTC
media-libs/mesa-23.2.0_rc2 failed to compile for me, complaining of:
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/gallium/drivers/r600/libr600.a.p/r600_pipe.c.o: in function `r600_create_context':
r600_pipe.c:(.text.r600_create_context+0xbb): undefined reference to `vl_video_buffer_create'

and some more undefined references.

The commit 33673bcc
was the cause. It states “ rusticl: stop linking with libgalliumvl, it's not needed,” but apparently it is, at leas as long as librusticl contains r600 driver, added by the commit 7c78c346

Reverting the commit 33673bcc, that is adding libgalliumvl back to the dependencies of librusticl, made media-libs/mesa-23.2.0_rc2 compile and install for me.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-04 13:21:29 UTC
Could you report this upstream please and link it here? Thanks.

If you could also throw in the full build.log here, that would be appreciated.
Comment 2 Ben 2023-11-05 03:04:37 UTC
Created attachment 874095 [details]
link failure build.log
Comment 3 Ben 2023-11-05 03:13:51 UTC
BTW would like to add, not sure what else is needed to get clinfo to detect my R600 so there might be more issues here - I am still using several r600 gpus.

Also, this is mesa-23.2.1 since mesa-23.2.0_rc2 expired.