Nobuhiro Iwamatsu a écrit :
Package: pgocaml
Version: 1.3-1
Severity: serious
Tags: patch
Justification: FTBFS
Hi,
Hello.
Current pgocaml can not build.
Because pass of ocaml.mk is wrong.
I'm rather surprised at this.
debian/rules:23: /usr/share/cdbs/1/class/ocaml.mk: No such file or directory
make: *** No rule to make target `/usr/share/cdbs/1/class/ocaml.mk'. Stop.
On my system, the class/ocaml.mk is a symbolic link to
../rules/ocaml.mk, which you seem to have on your system.
More specifically, doing an apt-file search yields:
yziq...@seldon:~$ apt-file search ocaml.mk
dh-ocaml: /usr/share/cdbs/1/class/ocaml.mk
dh-ocaml: /usr/share/cdbs/1/rules/ocaml.mk
freebsd-buildutils: /usr/share/Mk/bsd.ocaml.mk
ocaml-nox: /usr/share/cdbs/1/class/ocaml.mk
So my guess is that you do not have dh-ocaml installed when you run
dpkg-buildpackage. Now, the question is: should you?
The control file of the pgocaml package says:
Source: pgocaml
Section: ocaml
Priority: optional
Maintainer: "Debian OCaml Maintainers" <debian-ocaml-ma...@lists.debian.org>
Uploaders: Guillaume Yziquel <guillaume.yziq...@citycable.ch>
DM-Upload-Allowed: yes
Build-Depends: cdbs (>= 0.4.52),
debhelper (>= 7),
dpatch,
dh-ocaml,
So I guess that you should have dh-ocaml present when trying to build
the source package pgocaml. I'd recommend using pbuilder to build the
package if you want to be sure to pull the build-depends dependencies.
(OK, it is hugely slow, but safe...)
I made a patch to revise to be able to build.
Would you apply it?
Personnally, I do not mind applying the patch since it just shortcuts
the symbolic link. The only objection I have is that it would be in
contradiction with the OCaml packaging policy:
http://pkg-ocaml-maint.alioth.debian.org/ocaml_packaging_policy.html/a507.html
I'm tempted to close this bug, but as I'm quite new to packaging, I'll
wait for comments of senior members of the OCaml maintainers team before
taking a decision.
Best regards,
Nobuhiro
All the best,
--
Guillaume Yziquel
http://yziquel.homelinux.org/
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org