tags 372574 + patch thanks Hello!
On Sat, 10 Jun 2006 18:03:48 +0200, Luca Bruno wrote: >> >/usr/bin/ld: cannot find -lXmu > > /usr/lib/libXmu.so.6 is provided by libxmu6. > > The FTBFS is due to a missing build-dep. Adding libxmu-dev to > "Build-Depends" should fix this, if there aren't any other errors. > > I can't try it now, so please make first a try in > pbuilder/chroot/whatever by yourself. libxmu-dev is not the only one missing, also libxaw6-dev: ===== Finished compiling gcl_dwtrans.lsp. ("gcl_Xlib" "gcl_Xutil" "gcl_X" "gcl_XAtom" "gcl_defentry-events" "gcl_Xstruct" "gcl_XStruct-l-3" "gcl_general" "gcl_keysymdef" "gcl_X10" "gcl_Xinit" "gcl_dwtrans") >/usr/bin/ld: cannot find -lXaw6 collect2: ld returned 1 exit status sh: ./raw_saved_xgcl: No such file or directory [...] >>make[2]: *** [saved_xgcl] Error 255 make[2]: Leaving directory `/tmp/buildd/gcl-2.6.7/xgcl-2' make[1]: *** [system] Error 2 make[1]: Leaving directory `/tmp/buildd/gcl-2.6.7' make: *** [build-gprof-stamp] Error 2 pbuilder: Failed autobuilding of package ===== However, adding libxmu-dev and libxaw6-dev is still not enough: ===== cp *dvi /tmp/buildd/gcl-2.6.7/debian/gprof/usr/share/info/../doc make[3]: Leaving directory `/tmp/buildd/gcl-2.6.7/info' if test "/usr/share/info/" != "unknown"; then (cd xgcl-2 ; /usr/bin/make install DESTDIR=/tmp/buildd/gcl-2.6.7/debian/gprof) ; fi make[3]: Entering directory `/tmp/buildd/gcl-2.6.7/xgcl-2' latex2html dwdoc.tex make[3]: latex2html: Command not found make[3]: *** [dwdoc/index.html] Error 127 make[3]: Leaving directory `/tmp/buildd/gcl-2.6.7/xgcl-2' make[2]: *** [install1] Error 2 make[2]: Leaving directory `/tmp/buildd/gcl-2.6.7' make[1]: *** [install] Error 2 make[1]: Leaving directory `/tmp/buildd/gcl-2.6.7' make: *** [build-gprof-stamp] Error 2 pbuilder: Failed autobuilding of package ===== Now, the problem is that latex2html is in non-free, so adding a dependency on it renders gcl suitable for contrib. However, the gcl-doc package includes the HTML documentation generated with latex2html as well as the original TeX file and the PDF version (generated from the TeX file through pdflatex/tetex-bin, already in the dependencies). This means that the gcl-doc package is already built with latex2thml :-( This is the reason the patch included adds not only the missing dependencies, but also a new one on dpatch. It thus includes a patch which modifies the xgcl-2/makefile:all target to build only the PDF documentation. The patch has been prepared as an NMU and tested on a just-update sid pbuilder, because I'm passing the T&S step as a new maintainer. The command used is the following: debdiff gcl_2.6.7-15.dsc /var/cache/pbuilder/result/gcl_2.6.7-15.1.dsc BTW, I'm aware that Debian prefers HTML documentation, but I won't move a package to contrib only because the documentation can't be available as HTML, when it can be as PDF. A note can be added to the README.Debian, in order to instruct the user how to generate the HTML documentation form the original TeX file (which is anyway provided). In this case, I'll suggests latex2html. Thx, bye, Gismo / Luca
gcl_2.6.7-15.1_nmu.patch.gz
Description: NMU patch, version 2.6.7-15.1
pgpWfhLQT7ODF.pgp
Description: PGP signature