On Wed, Jul 06, 2005 at 08:54:10PM -0300, Marco Tulio Gontijo e Silva wrote: > Hello, > > I'm trying to build c2hs package, and I have made the debian/* files for > it, but when I try to build I get the following problem:
> [EMAIL PROTECTED]:~/debian/c2hs-0.13.6/debian$ ls > c2hs-config.install c2hs-doc.docs c2hs.install compat copyright > libghc6-c2hs-dev.install watch > c2hs-doc.doc-base c2hs-doc.install changelog control docs > rules > [EMAIL PROTECTED]:~/debian/c2hs-0.13.6/debian$ cd .. > [EMAIL PROTECTED]:~/debian/c2hs-0.13.6$ dpkg-buildpackage -rfakeroot > dpkg-buildpackage: source package is c2hs > dpkg-buildpackage: source version is 0.13.6-1 > dpkg-buildpackage: source changed by Marco Tulio Gontijo e Silva > <[EMAIL PROTECTED]> > dpkg-buildpackage: host architecture i386 > fakeroot debian/rules clean > dh_testdir > dh_testroot > rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP# > # Add here commands to clean up after the build process. > /usr/bin/make distclean > make[1]: Entering directory `/home/marcot/debian/c2hs-0.13.6' > mk/common.mk:71: mk/config.mk: No such file or directory > mk/common.mk:218: warning: overriding commands for target `gendepend' > mk/common.mk:210: warning: ignoring old commands for target `gendepend' > make[1]: *** No rule to make target `mk/config.mk'. Stop. > make[1]: Leaving directory `/home/marcot/debian/c2hs-0.13.6' > make: [clean] Error 2 (ignored) You should probably investigate this, but it doesn't appear to be the source of the current problem. Maybe "make clean" works, and is sufficient? > cp -f /usr/share/misc/config.sub config.sub > cp -f /usr/share/misc/config.guess config.guess > dh_clean > dpkg-source -b c2hs-0.13.6 > dpkg-source: building c2hs using existing c2hs_0.13.6.orig.tar.gz > dpkg-source: failure: tar -xkf - gave error exit status 2 > [EMAIL PROTECTED]:~/debian/c2hs-0.13.6$ tar: > c2hs-0.13.6/c2hs/mk/c2hs.pck.mk: Cannot open: File exists > tar: c2hs-0.13.6/c2hs/mk/config.mk.in: Cannot open: File exists > tar: Error exit delayed from previous errors > > [EMAIL PROTECTED]:~/debian/c2hs-0.13.6$ > > What does this error mean? Can someone help me? Is there something in the parent directory that is confusing tar? Maybe you aborted a previous run, and the extraction of the .tar into a temp directory didn't get removed? Usually it is there such as to make the .diff.gz. Justin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]