Package: src:lablgtk2
Version: 2.18.3+dfsg-1
User: [email protected]
Usertags: binary-indep
Severity: important

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with ocaml
   dh_testdir -i
   dh_ocamlinit -i
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg'
cp  src/.depend debian/src.depend.backup
dh_auto_configure -- --with-gl --with-glade --with-rsvg         \
--with-gnomecanvas --with-gtkspell --with-gnomeui \
--with-gtksourceview2
        ./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=\${prefix}/include --mandir=\${prefix}/share/man 
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu 
--libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode 
--disable-dependency-tracking --with-gl --with-glade --with-rsvg 
--with-gnomecanvas --with-gtkspell --with-gnomeui --with-gtksourceview2
configure: WARNING: unrecognized options: --disable-silent-rules, 
--disable-maintainer-mode, --disable-dependency-tracking

[... snipped ...]

Installed 
/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg/debian/tmp/usr/lib/ocaml/lablgtk2/dlllablgtk2.so
Installed 
/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg/debian/tmp/usr/lib/ocaml/lablgtk2/META
Updated /<<BUILDDIR>>/lablgtk2-2.18.3+dfsg/debian/tmpignore
rm -f lablgtk2
/usr/bin/make lablgtk2 LABLGTKDIR="/usr/lib/ocaml/lablgtk2"
make[4]: Entering directory '/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg/src'
sed -e "s|@INSTALLDIR@|/usr/lib/ocaml/lablgtk2|g" \
    -e "s|@LABLGLDIR@|+lablGL|g" \
    -e "s|@MLLIBS@|lablgl.cma lablgtk.cma lablgtkgl.cma lablglade.cma 
lablgnomecanvas.cma lablgnomeui.cma lablrsvg.cma lablgtkspell.cma 
lablgtksourceview2.cma|g" \
    -e "s|@INITOBJS@|gtkInit.cmo|g" \
    -e "s|@THOBJS@|gtkThread.cmo|g" \
    -e "s|@THINITOBJS@|gtkThInit.cmo|g" \
    -e "s|@USEDLL@|yes|g" \
    -e "s|@THREADS_LIB@|system|g" \
    < lablgtk2.in > lablgtk2
chmod 755 lablgtk2
make[4]: Leaving directory '/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg/src'
cp lablgtk2 "/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg/debian/tmp/usr/bin"
if test -f lablgladecc; then \
  cp lablgladecc 
"/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg/debian/tmp/usr/bin/lablgladecc2"; \
fi
cp gdk_pixbuf_mlsource "/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg/debian/tmp/usr/bin"
ranlib 
"/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg/debian/tmp/usr/lib/ocaml/lablgtk2"/liblablgtk2.a
 
"/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg/debian/tmp/usr/lib/ocaml/lablgtk2"/liblablgtkgl2.a
 
"/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg/debian/tmp/usr/lib/ocaml/lablgtk2"/liblablglade2.a
 
"/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg/debian/tmp/usr/lib/ocaml/lablgtk2"/liblablgnomecanvas.a
 
"/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg/debian/tmp/usr/lib/ocaml/lablgtk2"/liblablgnomeui.a
 
"/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg/debian/tmp/usr/lib/ocaml/lablgtk2"/liblablrsvg.a
 
"/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg/debian/tmp/usr/lib/ocaml/lablgtk2"/liblablgtkspell.a
 
"/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg/debian/tmp/usr/lib/ocaml/lablgtk2"/liblablgtksourceview2.a
Execute ranlib in 
/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg/debian/tmp/usr/lib/ocaml/lablgtk2
make[3]: Leaving directory '/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg/src'
make[2]: Leaving directory '/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg'
rm \
  debian/tmp/usr/lib/ocaml/lablgtk2/gtkSourceView_types.mli \
  debian/tmp/usr/lib/ocaml/lablgtk2/gSourceView.mli
rm debian/tmp/usr/lib/ocaml/lablgtk2/panel.mli
rm debian/tmp/usr/lib/ocaml/lablgtk2/META
make[1]: Leaving directory '/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg'
   debian/rules override_dh_install
make[1]: Entering directory '/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg'
dh_install --fail-missing -Xbuild.ml
make[1]: Leaving directory '/<<BUILDDIR>>/lablgtk2-2.18.3+dfsg'
   dh_ocamldoc -i
E: debian/liblablgtk2-ocaml-dev/usr/lib/ocaml/lablgtk2 doesn't exist, but is 
referenced from debian/liblablgtk2-ocaml-doc.ocamldoc at /usr/bin/dh_ocamldoc 
line 167, <OCAMLDOC> line 4.
debian/rules:13: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit 
status 2
--------------------------------------------------------------------------------

Sorry not to have a fix, as I am reporting many bugs similar to
this one. The common hints are:

* If the only architecture-independent packages are dummy transitional
ones and they were released with jessie, the easy fix is to drop them
now.

* When using "dh", it is allowed to use (independently)
optional targets override_dh_foo-arch and override_dh_foo-indep
(for several values of "foo").


Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work
properly, the package would be suitable to be uploaded in source-only
form if you wish.

Thanks.

Reply via email to