vget package failed to built

Asked by Zapotek

This is the build log:
http://launchpadlibrarian.net/17344688/buildlog_ubuntu-hardy-amd64.vget_0.3.5-2_FAILEDTOBUILD.txt.gz

This is my first package and I'm working blind at the moment.

I think the error is:
----------------------------------------
dpkg-buildpackage: host architecture amd64
 /usr/bin/fakeroot debian/rules clean
dh_testdir
make: dh_testdir: Command not found
make: *** [clean] Error 127
dpkg-buildpackage: failure: /usr/bin/fakeroot debian/rules clean gave error exit status 2
----------------------------------------

Can someone give me a hint please?

Regards,
Zapotek.

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
Celso Providelo Edit question
Solved by:
Celso Providelo
Solved:
Last query:
Last reply:
Revision history for this message
Celso Providelo (cprov) said :
#1

Hi, it looks like you are missing 'debhelper' build-dependency, which is not part of ubuntu build-essential. Take a look at https://wiki.ubuntu.com/PackagingGuide/Complete#control for reference.

Revision history for this message
Zapotek (zapotek) said :
#2

Thanks Celso,

I added debhelper and it moved on, but it seems like the system can't find these:
--------------------------
/bin/sh: curl-config: not found
/bin/sh: xml2-config: not found
/bin/sh: xml2-config: not found
/bin/sh: curl-config: not found
--------------------------

From the Makefile:
----------------------------------------------------
 gcc $(CFLAGS) $(LDFLAGS) \
  includes/*.c vget.c \
  `curl-config --cflags` \
  `xml2-config --cflags` \
  -lm \
  -lncurses \
  `xml2-config --libs` \
  `curl-config --libs` \
  -o bin/vget-$(ARCH)
----------------------------------------------------
So the compiler gives me errors caused by missing libraries.

I replaced the '*_config' calls in the Makefile with the actual libraries but the compile still fails as if it can't find them,
even though it recognizes the required libraries as dependencies.

The log is:
http://launchpadlibrarian.net/17353103/buildlog_ubuntu-hardy-amd64.vget_0.3.5-4_FAILEDTOBUILD.txt.gz

Regards,
Zapotek.

Revision history for this message
Best Celso Providelo (cprov) said :
#3

Hi there,

This is clearly a packaging-problem, i.e it's not an issue related with the infrastructure (soyuz), but instead it is related with the package data you are submitting.

I suggest you to try to build you package within a chroot (using pbuilder) and seek for further assistance in #ubuntu-motu.

Revision history for this message
Zapotek (zapotek) said :
#4

Thanks Celso Providelo, that solved my question.