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

Re: svn/git repositories, and clean:: target in cdbs.



Stefano Zacchiroli a écrit :
On Sun, Feb 08, 2009 at 02:32:26PM +0100, Guillaume Yziquel wrote:
Indeed. What I meant was that the policy would need a few clarifications:

-1- Mentioning that the SVN server is not publicly available anymore (password needed) and that people should now use the git section.

No, that's not true, if you encountered a password request than
something else is broken, we did not add any specific password
requirement.

Then something is broken:

yziquel@seldon:~/sandbox$ svn co svn+ssh://svn.debian.org/svn/pkg-ocaml-maint
Password: Password: Password: Permission denied (publickey,keyboard-interactive).
svn: Connexion fermée de façon inattendue
yziquel@seldon:~/sandbox$

Concerning the cdbs includes debian/rules:

describes the basics of how CDBS should be used with ocaml packaging. However, the order of the includes seems wrong to me (at least empirically).

Please refine this. It is true that the ::-rules are affected by the
order, so the includes can switch the following two rm lines:

clean::
  -rm -rf something1
  -rm -rf something2

which can happen to come from different files. But it is similarly
true that switching the order of those two lines doesn't affect the
final outcome.

So, if you have a specific problem caused by our choice of order in
the documentation please let us know, but with a real problem caused
by that. Because from what you wrote I don't see, yet, any problem.

Cheers.

Before going on any further, let me say that this is what I concluded while trying to build a package for PG'OCaml (I now have a built package, which I'll tune before submitting it). So it's not some "proven bug"... and I have too little knowledge of cdbs to claim that the policy is wrong.

Nevertheless, I've had a look a ocaml-csv and ocaml-inotify, and they have it in the order I proposed. And it did not work for me in the order of the policy.

I simply mean that if there is no specific reason to have the policy's include in this order, it might be worth changing it to the way that seems to be used by ocaml packages (at least the ones I've encountered). Perceived common practice, and avoiding coming to grip with cdbs' internals are perhaps the only worthwile reasons behind my suggestion.

Now for the problem I encountered, it follows.

Here's the debian/rules, with includes as stated in the documentation:

#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/class/ocaml.mk
include /usr/share/cdbs/1/rules/dpatch.mk

DESTDIR_DEV=$(CURDIR)/debian/libpgocaml-ocaml-dev

DEB_MAKE_CLEAN_TARGET    := clean
ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
DEB_MAKE_BUILD_TARGET    := all
DEB_MAKE_INSTALL_TARGET  := findlib_install
else
DEB_MAKE_BUILD_TARGET    := all
DEB_MAKE_INSTALL_TARGET  := findlib_install
endif
DEB_MAKE_INSTALL_TARGET  += OCAMLDESTDIR="$(DESTDIR_DEV)/$(OCAML_STDLIB_DIR)"

OCAML_OCAMLDOC_PACKAGES = libpgocaml-ocaml-dev

clean::
        $(RM) '$(CURDIR)/debian/libpgocaml-ocaml-dev.dirs'


And here's the output of a debuild command:

yziquel@seldon:~/src/pgocaml/deb/ocaml-pgocaml-1.1$ debuild -i -us -uc -b
 dpkg-buildpackage -rfakeroot -D -us -uc -i -b
dpkg-buildpackage : définir CFLAGS à la valeur par défaut : -g -O2
dpkg-buildpackage : définir CPPFLAGS à la valeur par défaut : dpkg-buildpackage : définir LDFLAGS à la valeur par défaut : dpkg-buildpackage : définir FFLAGS à la valeur par défaut : -g -O2
dpkg-buildpackage : définir CXXFLAGS à la valeur par défaut : -g -O2
dpkg-buildpackage: paquet source ocaml-pgocaml
dpkg-buildpackage: version source 1.1-1
dpkg-buildpackage: source changé par Guillaume Yziquel <guillaume.yziquel@free.fr>
dpkg-buildpackage: architecture hôte amd64
 fakeroot debian/rules clean
test -x debian/rules
dh_testroot
dh_clean /usr/bin/make -C . CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS="" -k clean
make[1]: entrant dans le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
< pGOCaml_config.ml.in sed -e "s|@DEFAULT_UNIX_DOMAIN_SOCKET_DIR@|/var/run/postgresql|" > pGOCaml_config.ml
rm -f .depend
ocamldep pGOCaml.mli pGOCaml.ml test_pgocaml_lowlevel.ml > .depend
ocamldep -pp "camlp4o /usr/lib/ocaml/3.10.2/unix.cma /usr/lib/ocaml/3.10.2/str.cma -I +pcre /usr/lib/ocaml/3.10.2/pcre/pcre.cma -I +extlib /usr/lib/ocaml/3.10.2/extlib/extLib.cma -I +csv /usr/lib/ocaml/3.10.2/csv/csv.cma ./pgocaml.cma ./pa_pgsql.cmo" test_pgocaml.ml >> .depend
make[1]: quittant le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
make[1]: entrant dans le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
rm -f *.cmi *.cmo *.cmx *.cma *.cmxa *.o *.a *.so *~ core META \
        test_pgocaml_lowlevel test_pgocaml pgocaml_prof
make[1]: quittant le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
rm -f debian/stamp-makefile-build
rm -f debian/*.doc-base.ocamldoc-apiref
rm -f ocamlinit-stamp debian/libpgocaml-ocaml-dev.dirs
for f in debian/libpgocaml-ocaml-dev.dirs ; do \
                sed \
                        -e 's,@OCamlABI@,3.10.2,g' \
                        -e 's,@OCamlStdlibDir@,/usr/lib/ocaml/3.10.2,g' \
                        -e 's,@OCamlDllDir@,/usr/lib/ocaml/3.10.2/stublibs,g' \
                        $f.in > $f ; \
        done
touch ocamlinit-stamp
/usr/bin/make -f debian/rules reverse-config
make[1]: entrant dans le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
make[1]: Rien à faire pour « reverse-config ».
make[1]: quittant le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
dpatch deapply-all
rm -rf debian/patched
rm -f debian/stamp-patched
rm -f '/home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1/debian/libpgocaml-ocaml-dev.dirs'
 debian/rules build
test -x debian/rules
mkdir -p "."
/usr/bin/make -f debian/rules reverse-config
make[1]: entrant dans le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
make[1]: Rien à faire pour « reverse-config ».
make[1]: quittant le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
dpatch apply-all
/usr/bin/make -f debian/rules update-config
make[1]: entrant dans le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
make[1]: Rien à faire pour « update-config ».
make[1]: quittant le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
touch debian/stamp-patched
/usr/bin/make  -C . CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS=""  all
make[1]: entrant dans le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
ocamlfind ocamlc -g  -package unix,extlib,pcre,calendar,csv -c pGOCaml_config.ml
ocamlfind ocamlc -g  -package unix,extlib,pcre,calendar,csv -c pGOCaml.mli
ocamlfind ocamlc -g  -package unix,extlib,pcre,calendar,csv -c pGOCaml.ml
ocamlfind ocamlc -g -package unix,extlib,pcre,calendar,csv -a -o pgocaml.cma pGOCaml_config.cmo pGOCaml.cmo
ocamlfind ocamlopt   -package unix,extlib,pcre,calendar,csv -c pGOCaml_config.ml
ocamlfind ocamlopt   -package unix,extlib,pcre,calendar,csv -c pGOCaml.ml
ocamlfind ocamlopt  -package unix,extlib,pcre,calendar,csv -a -o pgocaml.cmxa pGOCaml_config.cmx pGOCaml.cmx
ocamlfind ocamlc -g -package unix,extlib,pcre,calendar,csv \
          -pp "camlp4o pa_extend.cmo q_MLast.cmo -loc loc -impl" \
          -I +camlp4 -c -impl pa_pgsql.ml4
ocamlfind ocamlopt   -package unix,extlib,pcre,calendar,csv -c pgocaml_prof.ml
ocamlfind ocamlopt  -package unix,extlib,pcre,calendar,csv -linkpkg \
          -o pgocaml_prof pgocaml_prof.cmx
sed  -e 's/@PACKAGE@/pgocaml/' \
                -e 's/@VERSION@/1.1/' \
                < META.in > META
make[1]: quittant le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
touch debian/stamp-makefile-build
DEB_MAKE_CHECK_TARGET unset, not running checks
debian/libpgocaml-ocaml-dev.doc-base.ocamldoc-apiref
 fakeroot debian/rules binary
test -x debian/rules
dh_testroot
dh_clean -k dh_installdirs -A mkdir -p "."
DEB_MAKE_CHECK_TARGET unset, not running checks
debian/libpgocaml-ocaml-dev.doc-base.ocamldoc-apiref
/usr/bin/make  -C . CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS=""  findlib_install OCAMLDESTDIR="/home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1/debian/libpgocaml-ocaml-dev//usr/lib/ocaml/3.10.2"
make[1]: entrant dans le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
ocamlfind install -destdir /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1/debian/libpgocaml-ocaml-dev//usr/lib/ocaml/3.10.2 pgocaml META pgocaml.a pgocaml.cma pgocaml.cmxa pGOCaml.cm[ix] pa_pgsql.cmo
ocamlfind: Bad configuration: Cannot mkdir /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1/debian/libpgocaml-ocaml-dev//usr/lib/ocaml/3.10.2/pgocaml because a path component does not exist or is not a directory
make[1]: *** [findlib_install] Erreur 2
make[1]: quittant le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
make: *** [common-install-impl] Erreur 2
dpkg-buildpackage: échec: fakeroot debian/rules binary a produit une erreur de sortie de type 2
debuild: fatal error at line 1319:
dpkg-buildpackage -rfakeroot -D -us -uc -i -b failed
yziquel@seldon:~/src/pgocaml/deb/ocaml-pgocaml-1.1$

If you put dpatch.mk in second position, as I've proposed, the output is:

yziquel@seldon:~/src/pgocaml/deb/ocaml-pgocaml-1.1$ debuild -i -us -uc -b
 dpkg-buildpackage -rfakeroot -D -us -uc -i -b
dpkg-buildpackage : définir CFLAGS à la valeur par défaut : -g -O2
dpkg-buildpackage : définir CPPFLAGS à la valeur par défaut : dpkg-buildpackage : définir LDFLAGS à la valeur par défaut : dpkg-buildpackage : définir FFLAGS à la valeur par défaut : -g -O2
dpkg-buildpackage : définir CXXFLAGS à la valeur par défaut : -g -O2
dpkg-buildpackage: paquet source ocaml-pgocaml
dpkg-buildpackage: version source 1.1-1
dpkg-buildpackage: source changé par Guillaume Yziquel <guillaume.yziquel@free.fr>
dpkg-buildpackage: architecture hôte amd64
 fakeroot debian/rules clean
test -x debian/rules
dh_testroot
dh_clean for f in debian/libpgocaml-ocaml-dev.dirs ; do \
                sed \
                        -e 's,@OCamlABI@,3.10.2,g' \
                        -e 's,@OCamlStdlibDir@,/usr/lib/ocaml/3.10.2,g' \
                        -e 's,@OCamlDllDir@,/usr/lib/ocaml/3.10.2/stublibs,g' \
                        $f.in > $f ; \
        done
touch ocamlinit-stamp
/usr/bin/make -f debian/rules reverse-config
make[1]: entrant dans le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
make[1]: Rien à faire pour « reverse-config ».
make[1]: quittant le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
dpatch deapply-all
rm -rf debian/patched
rm -f debian/stamp-patched
/usr/bin/make  -C . CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS=""  -k clean
make[1]: entrant dans le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
< pGOCaml_config.ml.in sed -e "s|@DEFAULT_UNIX_DOMAIN_SOCKET_DIR@|/var/run/postgresql|" > pGOCaml_config.ml
rm -f .depend
ocamldep pGOCaml.mli pGOCaml.ml test_pgocaml_lowlevel.ml > .depend
ocamldep -pp "camlp4o /usr/lib/ocaml/3.10.2/unix.cma /usr/lib/ocaml/3.10.2/str.cma -I +pcre /usr/lib/ocaml/3.10.2/pcre/pcre.cma -I +extlib /usr/lib/ocaml/3.10.2/extlib/extLib.cma -I +csv /usr/lib/ocaml/3.10.2/csv/csv.cma ./pgocaml.cma ./pa_pgsql.cmo" test_pgocaml.ml >> .depend
make[1]: quittant le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
make[1]: entrant dans le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
rm -f *.cmi *.cmo *.cmx *.cma *.cmxa *.o *.a *.so *~ core META \
        test_pgocaml_lowlevel test_pgocaml pgocaml_prof
make[1]: quittant le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
rm -f debian/stamp-makefile-build
rm -f debian/*.doc-base.ocamldoc-apiref
rm -f ocamlinit-stamp debian/libpgocaml-ocaml-dev.dirs
rm -f '/home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1/debian/libpgocaml-ocaml-dev.dirs'
 debian/rules build
test -x debian/rules
mkdir -p "."
for f in debian/libpgocaml-ocaml-dev.dirs ; do \
                sed \
                        -e 's,@OCamlABI@,3.10.2,g' \
                        -e 's,@OCamlStdlibDir@,/usr/lib/ocaml/3.10.2,g' \
                        -e 's,@OCamlDllDir@,/usr/lib/ocaml/3.10.2/stublibs,g' \
                        $f.in > $f ; \
        done
touch ocamlinit-stamp
/usr/bin/make -f debian/rules reverse-config
make[1]: entrant dans le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
make[1]: Rien à faire pour « reverse-config ».
make[1]: quittant le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
dpatch apply-all
/usr/bin/make -f debian/rules update-config
make[1]: entrant dans le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
make[1]: Rien à faire pour « update-config ».
make[1]: quittant le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
touch debian/stamp-patched
/usr/bin/make  -C . CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS=""  all
make[1]: entrant dans le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
ocamlfind ocamlc -g  -package unix,extlib,pcre,calendar,csv -c pGOCaml_config.ml
ocamlfind ocamlc -g  -package unix,extlib,pcre,calendar,csv -c pGOCaml.mli
ocamlfind ocamlc -g  -package unix,extlib,pcre,calendar,csv -c pGOCaml.ml
ocamlfind ocamlc -g -package unix,extlib,pcre,calendar,csv -a -o pgocaml.cma pGOCaml_config.cmo pGOCaml.cmo
ocamlfind ocamlopt   -package unix,extlib,pcre,calendar,csv -c pGOCaml_config.ml
ocamlfind ocamlopt   -package unix,extlib,pcre,calendar,csv -c pGOCaml.ml
ocamlfind ocamlopt  -package unix,extlib,pcre,calendar,csv -a -o pgocaml.cmxa pGOCaml_config.cmx pGOCaml.cmx
ocamlfind ocamlc -g -package unix,extlib,pcre,calendar,csv \
          -pp "camlp4o pa_extend.cmo q_MLast.cmo -loc loc -impl" \
          -I +camlp4 -c -impl pa_pgsql.ml4
ocamlfind ocamlopt   -package unix,extlib,pcre,calendar,csv -c pgocaml_prof.ml
ocamlfind ocamlopt  -package unix,extlib,pcre,calendar,csv -linkpkg \
          -o pgocaml_prof pgocaml_prof.cmx
sed  -e 's/@PACKAGE@/pgocaml/' \
                -e 's/@VERSION@/1.1/' \
                < META.in > META
make[1]: quittant le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
touch debian/stamp-makefile-build
DEB_MAKE_CHECK_TARGET unset, not running checks
debian/libpgocaml-ocaml-dev.doc-base.ocamldoc-apiref
 fakeroot debian/rules binary
test -x debian/rules
dh_testroot
dh_clean -k dh_installdirs -A mkdir -p "."
DEB_MAKE_CHECK_TARGET unset, not running checks
debian/libpgocaml-ocaml-dev.doc-base.ocamldoc-apiref
/usr/bin/make  -C . CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS=""  findlib_install OCAMLDESTDIR="/home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1/debian/libpgocaml-ocaml-dev//usr/lib/ocaml/3.10.2"
make[1]: entrant dans le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
ocamlfind install -destdir /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1/debian/libpgocaml-ocaml-dev//usr/lib/ocaml/3.10.2 pgocaml META pgocaml.a pgocaml.cma pgocaml.cmxa pGOCaml.cm[ix] pa_pgsql.cmo
Installed /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1/debian/libpgocaml-ocaml-dev//usr/lib/ocaml/3.10.2/pgocaml/pa_pgsql.cmo
Installed /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1/debian/libpgocaml-ocaml-dev//usr/lib/ocaml/3.10.2/pgocaml/pGOCaml.cmx
Installed /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1/debian/libpgocaml-ocaml-dev//usr/lib/ocaml/3.10.2/pgocaml/pGOCaml.cmi
Installed /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1/debian/libpgocaml-ocaml-dev//usr/lib/ocaml/3.10.2/pgocaml/pgocaml.cmxa
Installed /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1/debian/libpgocaml-ocaml-dev//usr/lib/ocaml/3.10.2/pgocaml/pgocaml.cma
Installed /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1/debian/libpgocaml-ocaml-dev//usr/lib/ocaml/3.10.2/pgocaml/pgocaml.a
Installed /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1/debian/libpgocaml-ocaml-dev//usr/lib/ocaml/3.10.2/pgocaml/META
make[1]: quittant le répertoire « /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1 »
dh_installdirs -plibpgocaml-ocaml-dev dh_installdocs -plibpgocaml-ocaml-dev dh_installexamples -plibpgocaml-ocaml-dev dh_installman -plibpgocaml-ocaml-dev dh_installinfo -plibpgocaml-ocaml-dev dh_installmenu -plibpgocaml-ocaml-dev dh_installcron -plibpgocaml-ocaml-dev dh_installinit -plibpgocaml-ocaml-dev dh_installdebconf -plibpgocaml-ocaml-dev dh_installemacsen -plibpgocaml-ocaml-dev dh_installcatalogs -plibpgocaml-ocaml-dev dh_installpam -plibpgocaml-ocaml-dev dh_installlogrotate -plibpgocaml-ocaml-dev dh_installlogcheck -plibpgocaml-ocaml-dev dh_installchangelogs -plibpgocaml-ocaml-dev dh_installudev -plibpgocaml-ocaml-dev dh_lintian -plibpgocaml-ocaml-dev dh_install -plibpgocaml-ocaml-dev dh_link -plibpgocaml-ocaml-dev dh_installmime -plibpgocaml-ocaml-dev mkdir -p debian/libpgocaml-ocaml-dev//usr/share/doc/libpgocaml-ocaml-dev/html/api
invoking ocamldoc on debian/libpgocaml-ocaml-dev/usr/lib/ocaml/3.10.2/ ...
dh_strip -plibpgocaml-ocaml-dev dh_compress -plibpgocaml-ocaml-dev dh_fixperms -plibpgocaml-ocaml-dev dh_makeshlibs -plibpgocaml-ocaml-dev dh_installdeb -plibpgocaml-ocaml-dev dh_perl -plibpgocaml-ocaml-dev dh_shlibdeps -plibpgocaml-ocaml-dev dh_gencontrol -plibpgocaml-ocaml-dev -- -VF:OCamlABI="3.10.2" -VF:OCamlNativeArchs="amd64 hurd-i386 i386 kfreebsd-i386 powerpc sparc" dh_md5sums -plibpgocaml-ocaml-dev dh_builddeb -plibpgocaml-ocaml-dev dpkg-deb : construction du paquet « libpgocaml-ocaml-dev » dans « ../libpgocaml-ocaml-dev_1.1-1_amd64.deb ».
 dpkg-genchanges -b >../ocaml-pgocaml_1.1-1_amd64.changes
dpkg-genchanges: envoi d'un binaire - aucune inclusion de code source
dpkg-buildpackage: envoi d'un binaire seulement (aucune inclusion de code source)
Now running lintian...
W: libpgocaml-ocaml-dev: doc-base-unknown-section libpgocaml-ocaml-dev-ocamldoc-api-reference:4 Programming/OCaml
W: libpgocaml-ocaml-dev: copyright-lists-upstream-authors-with-dh_make-boilerplate
W: libpgocaml-ocaml-dev: spelling-error-in-description Ocaml OCaml
W: libpgocaml-ocaml-dev: spelling-error-in-description Ocaml OCaml
W: libpgocaml-ocaml-dev: spelling-error-in-description Ocaml OCaml
W: libpgocaml-ocaml-dev: new-package-should-close-itp-bug
W: libpgocaml-ocaml-dev: wrong-bug-number-in-closes l3:#nnnn
Finished running lintian.
yziquel@seldon:~/src/pgocaml/deb/ocaml-pgocaml-1.1$

So, in the former output (includes according to policy), you do not have the creation of the /home/yziquel/src/pgocaml/deb/ocaml-pgocaml-1.1/debian/libpgocaml-ocaml-dev/usr/lib/ocaml/3.10.2/pgocaml directory, and ocamlfind complains. In the latter output, the directory has been created correctly, and ocamlfind doesn't complain.

Now, I do not know how to trace effectively what debuild is doing. Please do not hesitate to explain that to me, in order to detail these outputs.

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


Reply to: