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

Maxence's build system and bug #545649



Hello.

I stumbled on the same bug that you solved:

http://www.mail-archive.com/debian-ocaml-maint@lists.debian.org/msg22113.html

I do not really understand what is the problem nor how you straightened this one out.

Build OCaml-R with dpkg-buildpackage and pbuilder works fine. Building it with git-buildpackage fails miserably:

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: 895, done.
remote: Compressing objects: 100% (328/328), done.
remote: Total 895 (delta 550), reused 839 (delta 512)
Receiving objects: 100% (895/895), 160.54 KiB | 267 KiB/s, done.
Resolving deltas: 100% (550/550), 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: 57, done.
remote: Compressing objects: 100% (52/52), done.
remote: Total 57 (delta 12), reused 0 (delta 0)
Receiving objects: 100% (57/57), 76.00 KiB, done.
Resolving deltas: 100% (12/12), 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
rm -f debian/*.doc-base.apiref*
dh_ocamlinit -d
dh_clean /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*
rm -f debian/stamp-autotools-files
You have uncommitted changes in your source tree:
# On branch master
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#	src/.depend
nothing added to commit but untracked files present (use "git add" to track)

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


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


Reply to: