rutilt_0.12-0ubuntu1 fails to build on Ubuntu's build servers...

Bug #68454 reported by Nick
8
Affects Status Importance Assigned to Milestone
rutilt (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

...this is because they run absurdly old kernels ;)

An example:-
http://librarian.launchpad.net/4923206/buildlog_ubuntu-edgy-i386.rutilt_0.12-0ubuntu1_FAILEDTOBUILD.txt.gz

"
# Add here commands to configure the package.
./configure.sh --prefix=/build/buildd/rutilt-0.12/debian/rutilt/usr --kernel_sources=/usr/src/linux-headers-`uname -r| cut -d- -f1,2`
Prefix set to : /build/buildd/rutilt-0.12/debian/rutilt/usr
Kernel sources path set to : /usr/src/linux-headers-2.6.15.7
Your kernel sources cannot be found.
Kernel headers found...
They does not match your running kernel.
make: *** [configure-stamp] Error 1
******************************************************************************
"

As-is, the package just grabs the latest version of the headers and builds against them. Note that rutilt runs absolutely fine, no matter what it's built against, as long as the wireless extensions are above v17 or so (which they are, of course).

The solution should be to comment out lines 124-127 inclusive in the configure.sh file - this can easily be done with dpatch... they are:
            if [ `grep "#define UTS_RELEASE" /usr/include/linux/version.h | tr -s '\t' ' ' | cut -d' ' -f3 | tr -d '"'` != `uname -r` ]; then
                echo 'They does not match your running kernel.'
                exit 1
            fi

Tags: patch upgrade
Revision history for this message
Nick (lupine) wrote :
Revision history for this message
Barry deFreese (bddebian) wrote :

I am confirming this. However, I cannot get this to build with any 2.6 kernels. I also grabbed 0.13 from upstream and still same problems. Thank you.

Changed in rutilt:
status: Unconfirmed → Confirmed
Emmet Hikory (persia)
Changed in rutilt:
assignee: nobody → persia
importance: Undecided → Low
status: Confirmed → In Progress
Revision history for this message
Emmet Hikory (persia) wrote :

I can replicate previous review, and have now unsubscribed ubuntu-universe-sponsors, as this solution is not ready for upload. From brief investigation, this appears to be addressed in rutilt 0.14. Please consider preparing a candidate revision of the new upstream, uploading to REVU, and attaching either an interdiff or the output of `diff -u rutilt-0.12/debian rutilt-0.14/debian`) to the bug with a comment including the REVU upload URL. If a new revision is prepared, please resubscribe ubuntu-universe-sponsors for upload.

Changed in rutilt:
assignee: persia → nobody
status: In Progress → Confirmed
assignee: nobody → lupine
status: Confirmed → Needs Info
Revision history for this message
Cesare Tirabassi (norsetto) wrote :
Changed in rutilt:
assignee: lupine → nobody
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.