View Single Post
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#2
I was trying to use it to build newer debhelper, having set in debian/rules:

Code:
PATH:=/opt/perl/bin:/usr/bin:$(PATH)
export PATH
PERL5LIB:=/opt/perl/lib/5.16.1/:$(PERL5LIB)
SBOX_REDIRECT_IGNORE:=$(shell echo /usr/bin/{python,perl,dh_*} | sed "s/ /:/g")
export SBOX_REDIRECT_IGNORE
export DEB_BUILD_OPTIONS:=nocheck
(copied some of the options from the debhelper7 package)

But dpkg-buildpackage fails on:

Code:
dpkg-buildpackage: source package is debhelper8
dpkg-buildpackage: source version is 8.0.0+maemo0
dpkg-buildpackage: source changed by Marcin Mielniczuk <marmistrz@linux.pl>
dpkg-buildpackage: host architecture armel
dpkg-buildpackage: source version without epoch 8.0.0+maemo0
: Using Scratchbox tools to satisfy builddeps
 fakeroot debian/rules clean
./run dh clean
Undefined subroutine &Getopt::Long::GetOptionsFromArray called at /home/marcin/dh/debhelper/Debian/Debhelper/Dh_Getopt.pm line 156.
make: *** [clean] Error 255
How to fix it?

EDIT: I'm using this source: http://maemo.gitorious.org/maemo-pkg/debhelper
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here

Last edited by marmistrz; 2012-12-15 at 17:14.
 

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