Launchpad Error when dealing with $(CURDIR) in debian/rules

Asked by Pascal Mons

I was trying to build the birdfont package for the latest version posted today 2.14.4 in my Photo Video Applications PPA:

https://launchpad.net/~anton+/+archive/ubuntu/photo-video-apps

However it looks like Launchpad generated an error on all platforms and architectures:

debian/rules build-arch
dh build-arch --with autotools-dev
   dh_testdir -a
   dh_autotools-dev_updateconfig -a
   debian/rules override_dh_auto_configure
make[1]: Entering directory `/«PKGBUILDDIR»'
/«PKGBUILDDIR»/configure
make[1]: /«PKGBUILDDIR»/configure: Command not found
make[1]: *** [override_dh_auto_configure] Error 127
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

The offending lines in debian/rules are:

override_dh_auto_configure:
 $(CURDIR)/configure

My conclusion is that $(CURDIR) is no more expended as . ?
Why is that ?

On my system Trusty 14.04 the build is flawless ...

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
William Grant
Solved:
Last query:
Last reply:
Revision history for this message
Pascal Mons (anton+) said :
#1
Revision history for this message
Best William Grant (wgrant) said :
#2

You can reproduce this problem locally in sbuild or pbuilder.

From a quick look I suspect the problem is that the package's configure script has an interpreter of /usr/bin/python3, but you don't Build-Depend on a Python 3 interpreter.

Revision history for this message
Pascal Mons (anton+) said :
#3

OK. I think you are right. My debian folder working on the previous version posted was base on Python 2.
And it looks like they moved to Python3 ...

Then within Build-Depend I have to move

python-doit => python3-doit
python-pkg-resources => python3-pkg-resources

Thanks.

Revision history for this message
Pascal Mons (anton+) said :
#4

Thanks William Grant, that solved my question.