sysprof-module doesn't build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysprof (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Intrepid |
Won't Fix
|
High
|
Unassigned |
Bug Description
Binary package hint: sysprof
Update according to SRU guidelines:
This bug prevents compilation of the sysprofs kernel module and renders sysprof unusable.
Upstream has addressed the problem and released e new version 1.0.11. I have created a debdiff from current 1.0.10-1 to the new package version 1.0.11-1.
affected packages:
sysprof 1.0.10-1 -> sysprof 1.0.11-1
sysprof-
TEST CASE:
sudo apt-get install sysprof
sudo m-a a-i -t sysprof
-> error: ‘proc_root’ undeclared
See below for full build output
Regression potential seems low, see my older comment here
https:/
Most of the additional changes are version increments and build system corrections.
Original bug report follows:
Log of mosule-assistant a-i sysprof-module:
dh_testdir
dh_testroot
dh_clean
/usr/bin/make -C /usr/src/
make[1]: entrant dans le répertoire « /usr/src/
rm -f sysprof-module.ko
rm -f sysprof-module.o
rm -f sysprof-
rm -f sysprof-
make[1]: quittant le répertoire « /usr/src/
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: entrant dans le répertoire « /usr/src/
dh_testdir
dh_testroot
dh_clean
/usr/bin/make -C /usr/src/
/bin/sh: 2.6.27-3-generic: not found
make[2]: entrant dans le répertoire « /usr/src/
rm -f sysprof-module.ko
rm -f sysprof-module.o
rm -f sysprof-
rm -f sysprof-
make[2]: quittant le répertoire « /usr/src/
for templ in ; do \
cp $templ `echo $templ | sed -e 's/_KVERS_
done
for templ in `ls debian/
test -e ${templ%
sed -e 's/##KVERS#
done
dh_testdir
dh_testroot
dh_clean -k
# Build the module
/usr/bin/make -C /usr/src/
/bin/sh: 2.6.27-3-generic: not found
make[2]: entrant dans le répertoire « /usr/src/
/usr/bin/make -C /usr/src/linux SUBDIRS=
make[3]: entrant dans le répertoire « /usr/src/
CC [M] /usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
make[4]: *** [/usr/src/
make[3]: *** [_module_
make[3]: quittant le répertoire « /usr/src/
make[2]: *** [sysprof-module.o] Erreur 2
make[2]: quittant le répertoire « /usr/src/
make[1]: *** [binary-modules] Erreur 2
make[1]: quittant le répertoire « /usr/src/
make: *** [kdist_build] Erreur 2
Changed in sysprof: | |
status: | New → Confirmed |
Changed in sysprof: | |
importance: | Undecided → High |
status: | Confirmed → Triaged |
description: | updated |
tags: | added: patch |
There is still the same error in Intrepid Beta and since the upstream author hasn't released an update yet I've tried to get to the root of the problem and created a patch.
The patch simply replaces the deprecated symbol proc_root with NULL which here also means root of proc. I've used dpatch which is the projects patch system, so it should be ready to be dropped right in (I hope).
Module-assistent finally builds the module and sysprof works too, but I've tested it on x86 only.