Re: Problem in building c2hs package
Em Qua, 2005-07-06 às 20:54 -0300, Marco Tulio Gontijo e Silva escreveu:
> 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:
>
> marcot@tonhao:~/debian$ rm *
> marcot@tonhao:~/debian$ cp ../c2hs-0.13.6.tar.gz ./
> marcot@tonhao:~/debian$ ls
> c2hs-0.13.6.tar.gz
> marcot@tonhao:~/debian$ tar xzf c2hs-0.13.6.tar.gz
> marcot@tonhao:~/debian$ cd c2hs-0.13.6/
> marcot@tonhao:~/debian/c2hs-0.13.6$ dh_make -e marcot@minaslivre.org
> -f ../c2hs-0.13.6.tar.gz
>
> Type of package: single binary, multiple binary, library, or kernel
> module?
> [s/m/l/k] m
>
> Maintainer name : unknown
> Email-Address : marcot@minaslivre.org
> Date : Wed, 6 Jul 2005 23:48:20 +0000
> Package Name : c2hs
> Version : 0.13.6
> License : blank
> Type of Package : Multi-Binary
> Hit <enter> to confirm:
> Done. Please edit the files in the debian/ subdirectory now. c2hs
> uses a configure script, so you probably don't have to edit the
> Makefiles.
> marcot@tonhao:~/debian/c2hs-0.13.6$ cd debian/
> marcot@tonhao:~/debian/c2hs-0.13.6/debian$ rm *
> marcot@tonhao:~/debian/c2hs-0.13.6/debian$
> cp /home/marcot/lixeira/c2hs-0.13.6/debian/* ./
> marcot@tonhao:~/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
> marcot@tonhao:~/debian/c2hs-0.13.6/debian$ cd ..
> marcot@tonhao:~/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
> <marcot@minaslivre.org>
> 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)
> 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
> marcot@tonhao:~/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
>
> marcot@tonhao:~/debian/c2hs-0.13.6$
Just some more information. When I decompress the
c2hs_0.13.6.orig.tar.gz it works.
--
Abraços,
marcot
mailto:marcot@minaslivre.org
jabber:marcott@jabber.org
UIN:50599075
MSN:marcot@ufmg.br
Tel:33346720
Cel:91844179
R. Paula Cândido 257/201
Gutierrez 30430-260
Belo Horizonte-MG
Brazil
"Trabalhe menos e mais devagar."
Reply to: