Hi Adam, I've prepared an NMU for this bug based on Joey's patch, which will be uploaded shortly. The full diff is attached.
Thanks, -- Steve Langasek postmodern programmer
diff -u docbook-4.3/debian/changelog docbook-4.3/debian/changelog
--- docbook-4.3/debian/changelog
+++ docbook-4.3/debian/changelog
@@ -1,3 +1,13 @@
+docbook (4.3-1.1) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * High-urgency upload for sarge-targetted RC bugfix.
+ * Drop use of symlinks for finding dangling links, as we can do the
+ same using a find command; thanks to Joey Hess for the patch.
+ Closes: #301786.
+
+ -- Steve Langasek <[EMAIL PROTECTED]> Wed, 6 Apr 2005 11:24:24 -0700
+
docbook (4.3-1) unstable; urgency=low
* new upstream version; closes: #243666
diff -u docbook-4.3/debian/control docbook-4.3/debian/control
--- docbook-4.3/debian/control
+++ docbook-4.3/debian/control
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Adam Di Carlo <[EMAIL PROTECTED]>
Standards-Version: 3.5.8
-Build-Depends-Indep: debhelper (>= 4.1.31), symlinks
+Build-Depends-Indep: debhelper (>= 4.1.31)
Package: docbook
Architecture: all
diff -u docbook-4.3/debian/rules docbook-4.3/debian/rules
--- docbook-4.3/debian/rules
+++ docbook-4.3/debian/rules
@@ -52,8 +52,7 @@
find docbk* -name '*.txt' | xargs dh_installdocs
# check for bad links
- DANGLING=`symlinks -r $(PREFIX) | grep dangling | wc -l` ;\
- if [ $${DANGLING} -ne 0 ]; then exit 1; fi
+ find $(PREFIX) -type l -follow >/dev/null # exits 1 on broken links
dh_compress -i
signature.asc
Description: Digital signature

