maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   dpkg-buildpackage cannot find directory debian (https://talk.maemo.org/showthread.php?t=3973)

nite_man 2007-01-11 12:22

dpkg-buildpackage cannot find directory debian
 
Hi,

I try to build some Debian packages for ARMEL from the sources and I get en error that directory debian cannot be found by dpkg-buildpackage. I applied patches and directory debian is inside of libeary directory. Here is an output for http_fetcher- 1.0.1:

[sbox-SDK_ARMEL: ~/work/packages/http_fetcher-1.0.1] > dpkg-buildpackage -rfakeroot
dpkg-buildpackage: source package is libhttpfetcher
dpkg-buildpackage: source version is 1.0.1-3
dpkg-buildpackage: source changed by Philipp Kern < pkern@debian.org>
dpkg-buildpackage: host architecture armel
fakeroot debian/rules clean
dh_testdir
Name "main::DEBIAN_DIR" used only once: possible typo at /usr/bin/dh_testdir line 37.
Use of uninitialized value in concatenation (.) or string at /usr/bin/dh_testdir line 37.
dh_testdir: "/control" not found. Are you sure you are in the correct directory?
make: *** [clean] Error 1

I tried to do export DEBIAN_DIR=debian but without luck.

Any suggestions how to resolve this?

Thanks in advance.

P. S. I setup my development environment using maemo 2.1 installer.

aflegg 2007-01-11 13:22

Re: dpkg-buildpackage cannot find directory debian
 
See my response on maemo-users - it's working for me in a Maemo 2.1 Scratchbox using my Maemo-specific auto-builder, mud:

http://mud-builder.garage.maemo.org/

HTH,

Andrew


All times are GMT. The time now is 05:53.

vBulletin® Version 3.8.8