Package: src:fltk1.3
Version: 1.3.3-6
User: sanv...@debian.org
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
   dh_testdir -i
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mv fltk.spec fltk.spec.saved
dh_auto_configure -- CC="cc" CXX="g++" \
            DSOFLAGS="-Wl,-z,relro -Wl,-z,now -Wl,--as-needed" \
    --enable-shared --enable-cairo --enable-cp936 --with-links \
    --libdir=/usr/lib/x86_64-linux-gnu
        ./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 CC=cc CXX=g\+\+ "DSOFLAGS=-Wl,-z,relro -Wl,-z,now 
-Wl,--as-needed" --enable-shared --enable-cairo --enable-cp936 --with-links 
--libdir=/usr/lib/x86_64-linux-gnu
configure: WARNING: unrecognized options: --disable-silent-rules, 
--disable-maintainer-mode, --disable-dependency-tracking

[... snipped ...]

Warning: Tag `XML_DTD' at line 1140 of file `Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration 
file or upgrade it using "doxygen -u"
if test "x/usr/bin/doxygen" = "x" ; then \
  echo "Sorry - doxygen not found. Please install doxygen and run configure."; \
fi
test -d html && cp src/tiny.png html/
rm -rf latex
echo "Generating PDF documentation ..."
Generating PDF documentation ...
/usr/bin/doxygen Doxybook ;\
(cd latex ;\
pdflatex --interaction=nonstopmode 
'\pdfinfo{/CreationDate(D:20160105034842Z)/ModDate(D:20160105034842Z)}\input{refman.tex}'
 ;\
makeindex refman.idx ;\
pdflatex --interaction=nonstopmode 
'\pdfinfo{/CreationDate(D:20160105034842Z)/ModDate(D:20160105034842Z)}\input{refman.tex}'
 ;\
latex_count=5;\
while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log \
        && [ $latex_count -gt 0 ] ;\
    do \
      echo "Rerunning latex ..." ;\
      pdflatex --interaction=nonstopmode 
'\pdfinfo{/CreationDate(D:20160105034842Z)/ModDate(D:20160105034842Z)}\input{refman.tex}'
 ;\
      latex_count=`expr $latex_count - 1` ;\
    done ; \
cd ..) > pdfall.log 2>&1
Warning: Tag `SHOW_DIRECTORIES' at line 462 of file `Doxybook' has become 
obsolete.
         To avoid this warning please remove this line from your configuration 
file or upgrade it using "doxygen -u"
Warning: Tag `HTML_ALIGN_MEMBERS' at line 814 of file `Doxybook' has become 
obsolete.
         To avoid this warning please remove this line from your configuration 
file or upgrade it using "doxygen -u"
Warning: Tag `XML_SCHEMA' at line 1134 of file `Doxybook' has become obsolete.
         To avoid this warning please remove this line from your configuration 
file or upgrade it using "doxygen -u"
Warning: Tag `XML_DTD' at line 1140 of file `Doxybook' has become obsolete.
         To avoid this warning please remove this line from your configuration 
file or upgrade it using "doxygen -u"
cp -f latex/refman.pdf fltk.pdf
make[2]: Leaving directory '/<<PKGBUILDDIR>>/documentation'
cp -f fltk-config.unhardened fltk-config
cp: cannot stat 'fltk-config.unhardened': No such file or directory
debian/rules:59: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:20: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-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