tag 359903 +patch
thanks

I investigated the issue. The problem is that dh_shlibdeps doesn't pick
up libltdl3 as a necessary dependancy (thus it isn't written in
shlibs:Depends by dh_gencontrol). This is because there's no
build-depends on libltdl3-dev, so there's no shlibs file for it.

Adding the build-depends, as in the attached patch, fixes the problem.

However, what is strange is that graphviz includes its own version of
libltdl in the libltdl/ dir (it isn't mentionned in debian/copyright,
but this is a different issue). This probably requires more
investigation.
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED]             GPG: 1024D/023B3F4F |
diff -u graphviz-2.8/debian/changelog graphviz-2.8/debian/changelog
--- graphviz-2.8/debian/changelog
+++ graphviz-2.8/debian/changelog
@@ -1,3 +1,15 @@
+graphviz (2.8-0.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Added a build-depends on libltdl3-dev. This allows dh_shlibdeps to
+    correctly generate the shlibs:Depends (including libltdl3). However,
+    the fact that graphviz includes its own copy of libltdl really needs
+    more investigation. (Closes: 359903)
+  * Commented out the removal of /usr/lib/libltdl.* and /usr/include/ltdl
+    in debian/rules, since this causes the build to fail.
+
+ -- Lucas Nussbaum <[EMAIL PROTECTED]>  Thu, 30 Mar 2006 14:47:07 +0000
+
 graphviz (2.8-0.2) unstable; urgency=low
 
   * NMU 
diff -u graphviz-2.8/debian/control graphviz-2.8/debian/control
--- graphviz-2.8/debian/control
+++ graphviz-2.8/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Stephen M Moraco <[EMAIL PROTECTED]>
 Standards-Version: 3.6.1
-Build-Depends: tk8.4-dev, tcl8.4-dev, debhelper (>=4.0.0), libfreetype6-dev, 
zlib1g-dev, libjpeg62-dev, libpng12-dev, libxaw7-dev, bison, flex, 
autotools-dev, pdksh, libttf-dev, libexpat1-dev, libfontconfig1-dev
+Build-Depends: tk8.4-dev, tcl8.4-dev, debhelper (>=4.0.0), libfreetype6-dev, 
zlib1g-dev, libjpeg62-dev, libpng12-dev, libxaw7-dev, bison, flex, 
autotools-dev, pdksh, libttf-dev, libexpat1-dev, libfontconfig1-dev, 
libltdl3-dev
 
 Package: graphviz
 Architecture: any
diff -u graphviz-2.8/debian/rules graphviz-2.8/debian/rules
--- graphviz-2.8/debian/rules
+++ graphviz-2.8/debian/rules
@@ -70,8 +70,8 @@
                $(CURDIR)/debian/graphviz/usr/share/graphviz/doc/COPYING
         ## Dirk Eddelbuettel  25 Mar 2006
         ##   remove ltdl files, instead depend in libltdl3-dev
-       rm -v   $(CURDIR)/debian/graphviz/usr/lib/libltdl.* \
-               $(CURDIR)/debian/graphviz/usr/include/ltdl.h
+       #rm -v  $(CURDIR)/debian/graphviz/usr/lib/libltdl.* \
+       #       $(CURDIR)/debian/graphviz/usr/include/ltdl.h
 
         ## Dirk Eddelbuettel  25 Mar 2006
         ##   all this depended on the old layout, the upstream code

Reply via email to