Re: Question about debian sources and dh_testdir
> No actually it is not. The correct way is to use dpkg-source. The
> command is 'dpkg-source -x <package>.dsc'. This will recreate the
> maintainers build environ completely.
That's what the documentation says. But have you tried it? I did
not succed unpacking a souce this way:
pfrauenf:/tmp>ls -lF grep*
[.] 3380 Jul 9 13:20 grep_2.1-8.diff.gz
[.] 563 Jul 9 13:20 grep_2.1-8.dsc
[.] 252872 Jul 9 13:20 grep_2.1.orig.tar.gz
pfrauenf:/tmp>dpkg-source -x grep_2.1-8.dsc
no utmp entry available, using value of LOGNAME ("pfrauenf") at
/usr/lib/dpkg/controllib.pl line 16.
dpkg-source: extracting grep in grep-2.1
patch: **** can't find .dpkg-orig
dpkg-source: failure: patch gave error exit status 1
If someone could tell me what I'm doing wrong, I would be
greatfull! Btw, I have
ii dpkg 22.214.171.124 Package maintenance system
ii dpkg-dev 126.96.36.199 Package building tools for
ii dpkg-ftp 1.4.8 Ftp method for dselect.
ii dpkg-perl 0.1-2 Perl interface modules for
ii devscripts 1.5 Scripts to make the life
ii debmake 3.5.11 Debianizing Tool and automated
ii debianutils 1.6 Miscellaneous utilities
I used the same methode to get the debianized source tree as the
[.]/grep-2.1>zcat ../grep_2.1-8.diff.gz | patch -p1
and this worked to compile a nice grep for me. For this I used
[.]/grep-2.1/debian>chmod u+x rules
[.]/grep-2.1>dpkg-buildpackage -us -us -b -B
as root and installed the resulting package. But if I try to
compile qt-1.33 with the same methode dpkg-buildpackage fails
with the message
make: dh_testdir: Command not found
I really searched for this 'dh_testdir' on debian.org and also
asked Archie but did not find it. Could someone please reveal to
me in which package I can find it?
Thx in advance.
Unsubscribe? mail -s unsubscribe email@example.com < /dev/null