[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dpkg-buildpackage OK, git-buildpackage not OK.



Hi.

I'm still on my OCaml-R packaging, pushing it slowly as my free times allows it.

I've experienced a weird issue after a discussion with Mehdi Dogguy: I've added a debian/clean file to remove two files from the source, which are useless. Using dpkg-buildpackage works fine, and builds my two binary packages. Using git-buildpackage seems to fail because of some esoteric git/dh_clean issue.

Here's the full output. Advice appreciated.

yziquel@seldon:~/sandbox/repo/debian/debian-ocaml/ocaml-r$ make git-buildpackage git clone git://git.debian.org/pkg-ocaml-maint/packages/dh-ocaml.git
Initialized empty Git repository in /home/yziquel/sandbox/repo/debian/debian-ocaml/ocaml-r/dh-ocaml/.git/
remote: Counting objects: 953, done.
remote: Compressing objects: 100% (383/383), done.
remote: Total 953 (delta 593), reused 833 (delta 512)
Receiving objects: 100% (953/953), 168.21 KiB | 218 KiB/s, done.
Resolving deltas: 100% (593/593), done.
dh-ocaml/tools/dom-git-checkout ocaml-r
I: cloning remote repository
Initialized empty Git repository in /home/yziquel/sandbox/repo/debian/debian-ocaml/ocaml-r/ocaml-r/.git/
remote: Counting objects: 134, done.
remote: Compressing objects: 100% (125/125), done.
remote: Total 134 (delta 65), reused 0 (delta 0)
Receiving objects: 100% (134/134), 82.71 KiB, done.
Resolving deltas: 100% (65/65), done.
I: setting up remote tracking
Branch upstream set up to track remote branch upstream from origin.
Branch pristine-tar set up to track remote branch pristine-tar from origin.
I: all done, enjoy.
cd ocaml-r; git-buildpackage
test -x debian/rules
dh_testroot
/usr/bin/make  -C .  -k distclean
make[1]: entrant dans le répertoire « /home/yziquel/sandbox/repo/debian/debian-ocaml/ocaml-r/ocaml-r »
Makefile:26: master.Makefile: Aucun fichier ou dossier de ce type
./config.status --recheck
make[1]: ./config.status : commande introuvable
make[1]: *** [config.status] Erreur 127
make[1]: Échec de refabrication du makefile « master.Makefile ».
rm -f *~ \#*\#
cd src && /usr/bin/make clean
make[2]: entrant dans le répertoire « /home/yziquel/sandbox/repo/debian/debian-ocaml/ocaml-r/ocaml-r/src »
Makefile:26: ../master.Makefile: Aucun fichier ou dossier de ce type
Makefile:142: .depend: Aucun fichier ou dossier de ce type
rm -f .depend
`ls *.ml *.mli | grep -v test_pa | grep -v pa_ocaml` > .depend
/bin/sh: rdevices.ml : commande introuvable
make[2]: *** [.depend] Erreur 127
make[2]: *** Pas de règle pour fabriquer la cible « ../master.Makefile ».
make[2]: Échec de refabrication du makefile « .depend ».
make[2]: Échec de refabrication du makefile « ../master.Makefile ».
make[2]: quittant le répertoire « /home/yziquel/sandbox/repo/debian/debian-ocaml/ocaml-r/ocaml-r/src »
make[2]: entrant dans le répertoire « /home/yziquel/sandbox/repo/debian/debian-ocaml/ocaml-r/ocaml-r/src »
Makefile:26: ../master.Makefile: Aucun fichier ou dossier de ce type
make[2]: *** Pas de règle pour fabriquer la cible « ../master.Makefile ».
make[2]: Échec de refabrication du makefile « ../master.Makefile ».
rm -f *~ \#*\#
rm -f *.a *.so
rm -f *~ \#*\# *.cmo *.cmi *.cmx *.a *.o *.cma *.cmxa *.annot
rm -f test.x
make[2]: quittant le répertoire « /home/yziquel/sandbox/repo/debian/debian-ocaml/ocaml-r/ocaml-r/src »
make[1]: *** [clean] Erreur 2
make[1]: La cible « distclean » n'a pas pu être refabriquée à cause d'erreurs.
make[1]: quittant le répertoire « /home/yziquel/sandbox/repo/debian/debian-ocaml/ocaml-r/ocaml-r »
make: [makefile-clean] Erreur 2 (ignorée)
rm -f debian/stamp-makefile-build
dh_ocamlinit
/usr/bin/make -f debian/rules reverse-config
make[1]: entrant dans le répertoire « /home/yziquel/sandbox/repo/debian/debian-ocaml/ocaml-r/ocaml-r »
make[1]: Rien à faire pour « reverse-config ».
make[1]: quittant le répertoire « /home/yziquel/sandbox/repo/debian/debian-ocaml/ocaml-r/ocaml-r »
if [ -d "." ]; then \
	  cd . && QUILT_PATCHES=/home/yziquel/sandbox/repo/debian/debian-ocaml/ocaml-r/ocaml-r/debian/patches quilt --quiltrc /dev/null pop -a -R || test $? = 2 ; \
	fi
Aucun patch retiré
rm -rf ./.pc
rm -f debian/stamp-patch*
dh_clean rm -f debian/*.doc-base.apiref*
dh_ocamlinit -d
rm -f debian/stamp-autotools-files
rm -f '/home/yziquel/sandbox/repo/debian/debian-ocaml/ocaml-r/ocaml-r/src/.depend'
You have uncommitted changes in your source tree:
# On branch master
# Changed but not updated:
#   (use "git add/rm <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#	deleted:    src/r_devices.c
#	deleted:    src/rdevices.ml
#
no changes added to commit (use "git add" and/or "git commit -a")

Use --git-ignore-new to ignore.
make: *** [git-buildpackage] Erreur 1

All the best,

--
     Guillaume Yziquel
http://yziquel.homelinux.org/


Reply to: