mesa_8.0.4-0ubuntu0.3 fails to build on 12.04.2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mesa (Ubuntu) |
Invalid
|
Undecided
|
Maarten Lankhorst | ||
Precise |
Fix Released
|
Undecided
|
Maarten Lankhorst | ||
xserver-xorg-video-nouveau (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Maarten Lankhorst |
Bug Description
[Impact]
* Building mesa and xserver-
[Test Case]
* Build and run those affected packages, they should build correctly and still link against libdrm_nouveau.so.1
[Regression Potential]
* Theoretically just a rebuild, so when I initially pushed the libdrm update I didn't want to risk pushing the updates to those packages since theoretically they should otherwise be identical. I never broke abi compability, so this would just be a rebuild.
* Build logs should be looked over to ensure that no strange things pop up.
[Other Info]
* libdrm moved to a new abi, but retained the same soname with a small bump. This means that the old mesa and xxv-nouveau packages need to look for libdrm-nouveau1's package config now, which contains the correct information.
* libdrm_nouveau.so.1 -> old abi, link against it with -ldrm_nouveau1, and use libdrm-nouveau1 pkg-config
* libdrm_nouveau.so.2 -> new abi, libdrm-nouveau pkg-config and -ldrm-nouveau should be used.
[Original bug report]
It looks like the libdrm_nouveau library has split into version 1 and version 2, but the mesa package shipped with Ubuntu precise hasn't been updated to build with the updated packages.
apt-get source mesa
pbuilder-dist precise build mesa_8.
This fails with:
mklib: Making Linux shared library: nouveau_
g++ -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Wall -Wmissing-
rict-aliasing -fno-builtin-memcmp -Wall -g -O2 -fPIC -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DTEXTURE_
nouveau_
nouveau_
nouveau_
nouveau_
nouveau_
nouveau_
nouveau_
nouveau_
nouveau_
nouveau_
nouveau_
nouveau_
nouveau_
nouveau_
nouveau_
nouveau_
nouveau_
collect2: ld returned 1 exit status
make[7]: *** [nouveau_
Related branches
tags: | added: precise |
Changed in mesa (Ubuntu): | |
assignee: | nobody → Maarten Lankhorst (mlankhorst) |
description: | updated |
no longer affects: | plymouth (Ubuntu Precise) |
Looks like an ABI break in libdrm-nouveau, which resulted in a SONAME bump from libdrm-nouveau.so.1 to libdrm- nouveau. so.2.