[maemo-developers] I can't get the autobuilder to work - Please HELP

From: Niels Breet niels at maemo.org
Date: Tue Feb 17 10:48:14 EET 2009
On Tue, February 17, 2009 09:25, Thomas Schmidt wrote:
> Am Montag, den 16.02.2009, 22:08 -0800 schrieb Bruce Forsberg:
>
>> I an trying to submit my application to extras and am running it
>> through the autobuilder. I get the error:
>>
>> # commands to compile the package.
>> /scratchbox/tools/bin/make
>> make[1]: Entering directory
>> `/home/builder1/maemo-diablo-armel-extras-devel/work/mileage-1.0'
>> gcc -O2 -DMAEMO `pkg-config --cflags gtk+-2.0 hildon-1 hildon-help
>> dbus-1` -ansi -Wall -c car_tab.c Package gtk+-2.0 was not found in the
>> pkg-config search path. Perhaps you should add the directory containing
>> `gtk+-2.0.pc'
>> to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found
[snip]
>>
>>
>> Can someone please tell me what I have done wrong this time? My
>> project is mileage.
>
> The problem is, as Tim already told you, that your package has not
> specified build-dependencies in debian/control at all.
>
> Because your package is using pkg-config, it is really easy to find out
> the missing build-dependencies, pkg-config looks for the package files in
> /usr/lib/pkgconfig/. If your package compiles successfuly in your
> local scratchbox installation, you can determine the missing packages for
> the autobuilder by calling the following commands in scratchbox:
>
> dpkg -S /usr/lib/pkgconfig/gtk+-2.0.pc dpkg -S
> /usr/lib/pkgconfig/hildon-1.pc
> ...
>
>
> The package-names you get from dpkg have to be added to the line
> Build-Depends in debian/control as comma-separated list.
> (Build-Depends: libgtk2.0-dev, libhildon1-dev, ...)S
>

You may verify that your Build-Depends field in debian/control is complete
by running:

dpkg-depcheck -m dpkg-buildpackage -rfakeroot -b

in the source tree. (You'll need to "fakeroot apt-get install devscripts"
for this to work).

>
> Regards,
> Thomas
>
>
> --
> Thomas Schmidt, Debian VDR Team
> http://pkg-vdr-dvb.alioth.debian.org/


--
Niels Breet
maemo.org webmaster



More information about the maemo-developers mailing list