View Single Post
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#35
If anyone knows how to fix me getting this error when trying to run dpkg-buildpackage -rfakeroot -sa -S on iw, I might be able to get an iw version that doesn't conflict with aircrack-ng pushed into devel within a short time after said fix:
Code:
dpkg-buildpackage: source package is iw
dpkg-buildpackage: source version is 0.9.19-1maemo4
dpkg-buildpackage: source changed by Alexander Kozhevnikov <mentalisttraceur@gmail.com>
dpkg-buildpackage: source version without epoch 0.9.19-1maemo4
 fakeroot debian/rules clean
dh clean
Undefined subroutine &main::inhibit_log called at /usr/bin/dh line 224.
make: *** [clean] Error 9
Scratchbox (as installed by the provided auto-installer of the Maemo 5 sdk for Debian), came with debhelper version 5.something. iw as packaged wanted version 7.something, and was giving another error at first. So I upgraded debhelper, getting rid of that error, but now I have the above error, and am stumped on how to proceed.

I can change debian/compat to 5 and debian/rules to a rules file essentially copy-pasted from aircrack-ng, but modified slightly (can you tell how much of a packaging newb I am yet); and then dpkg-buildpackage works fine - BUT I do not wish to try to upload that to the repository because if it builds right but breaks something, I'd end up breaking everyone's iw installs, and unable to fix it - as I can't make a source package with dpkg-buildpackage using the original rules file. And while I would test it by packaging a .deb on my end without all the uploading, I'm having completely unrelated issues with figuring out how to make a .deb file in scratchbox, both for iw and aircrack-ng.
 

The Following 2 Users Say Thank You to Mentalist Traceur For This Useful Post: