Please help debug building jo

Asked by Hồng Quân

Because Ubuntu repo doesn't contain jo 1.3, I tried to build in on my PPA, but it failed: https://launchpad.net/~ng-hong-quan/+archive/ubuntu/ppa/+build/18669249, even though that it works when I build at local (with debuild command).

Please help.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Colin Watson
Solved:
Last query:
Last reply:
Revision history for this message
Best Colin Watson (cjwatson) said :
#1

./configure: line 4478: syntax error near unexpected token `bashcompdir,'
./configure: line 4478: `PKG_CHECK_VAR(bashcompdir, bash-completion, completionsdir, ,'

You need to add pkg-config to your Build-Depends line in debian/control, otherwise autoreconf doesn't have enough information to generate the configure script correctly.

debuild isn't a sufficient test for this sort of thing, because it doesn't build in a clean environment. Try sbuild instead (https://wiki.ubuntu.com/SimpleSbuild).

Revision history for this message
Hồng Quân (ng-hong-quan) said :
#2

Thank you. I added pkg-config and it is built successfully: https://launchpad.net/~ng-hong-quan/+archive/ubuntu/ppa

Revision history for this message
Hồng Quân (ng-hong-quan) said :
#3

Thanks Colin Watson, that solved my question.