Package: bird
Version: 1.4.4-1
Severity: serious
Tags: patch
Justification: Fails to build from source

Hello,

The bird package currently fails to build from source because during the pdf
generation phase it cannot find /usr/bin/nsgmls. Simply adding the 'sp' package
to the build-depends makes it work again. The attached patch shows this. I'm
happy to upload this as a NMU if it would help you.

make[2]: Entering directory '/home/micah/debian/bird-1.4.4/doc'
/home/micah/debian/bird-1.4.4/tools/progdoc /home/micah/debian/bird-1.4.4
/Doc
/doc/Doc
    prog-intro.sgml
/nest/Doc
    rt-fib.c
    rt-table.c
Warning(551): Function parameter 'before_old' not described in 'rte_announce'
Warning(1446): Function parameter 'tab' not described in 'rt_prune_table'
    rt-attr.c
    proto.sgml
    proto.c
Warning(731): Function parameter 'UNUSED' not described in 
'graceful_restart_done'
    proto-hooks.c
Warning(161): Function parameter 'buflen' not described in 'get_attr'
    iface.c
    neighbor.c
Warning(352): Function parameter 'a' not described in 'neigh_ifa_update'
    cli.c
    locks.c
/conf/Doc
    conf.c
    cf-lex.l
Warning(561): Function parameter 'c' not described in 'cf_lex_init'
/filter/Doc
    filter.c
    tree.c
    trie.c
Warning(84): Function parameter 'lp' not described in 'f_new_trie'
/proto/Doc
/proto/bfd/Doc
    bfd.c
/proto/bgp/Doc
    bgp.c
Warning(729): Function parameter 'UNUSED' not described in 
'bgp_incoming_connection'
    packets.c
    attrs.c
/proto/ospf/Doc
    ospf.c
    topology.c
Warning(1610): Function parameter 'pool' not described in 'ospf_top_new'
    neighbor.c
    iface.c
    packet.c
    lsalib.c
    dbdes.c
    rt.c
/proto/pipe/Doc
    pipe.c
/proto/rip/Doc
    rip.c
    auth.c
/proto/radv/Doc
    radv.c
    packets.c
/proto/static/Doc
    static.c
    ../nest/rt-dev.c
/sysdep/Doc
    sysdep.sgml
/sysdep/unix/Doc
    log.c
Warning(106): Function parameter 'buf' not described in 'log_commit'
    krt.c
/lib/Doc
    ip.c ipv4.c ipv6.c
    lists.c
    checksum.c bitops.c patmatch.c printf.c xmalloc.c
    resource.sgml
    resource.c
    mempool.c
    slab.c
    event.c
    ../sysdep/unix/io.c
Warning(454): Function parameter 'fmt_spec' not described in 
'tm_format_datetime'
./sgml2html prog.sgml
Processing file prog.sgml
sh: 1: /usr/bin/nsgmls: not found
./sgml2latex --output=tex prog.sgml
Processing file prog.sgml
sh: 1: /usr/bin/nsgmls: not found
pdflatex prog.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014/Debian) 
(preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
! I can't find file `prog.tex'.
<*> prog.tex
            
(Press Enter to retry, or Control-D to exit)
Please type another input file name: 

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bird depends on:
ii  adduser       3.113+nmu3
ii  libc6         2.19-7
ii  libreadline6  6.3-8
ii  libtinfo5     5.9+20140712-2

bird recommends no packages.

Versions of packages bird suggests:
ii  bird-doc  1.4.4-1
diff --git a/debian/changelog b/debian/changelog
index f8b69d0..0f662e4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+bird (1.4.4-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add sp package to Build-depends to provide missing /usr/bin/nsgmls
+    fixing FTBFS 
+
+ -- Micah Anderson <mi...@debian.org>  Sat, 16 Aug 2014 15:45:29 -0400
+
 bird (1.4.4-1) unstable; urgency=medium
 
   * New upstream version 1.4.4
diff --git a/debian/control b/debian/control
index 5d10ec6..27c3bd8 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,7 @@ Build-Depends: quilt,
 	       autotools-dev,
 	       xsltproc,
 	       docbook-xsl,
-	       linuxdoc-tools-latex
+	       linuxdoc-tools-latex, sp
 Maintainer: Ondřej Surý <ond...@debian.org>
 Standards-Version: 3.9.5
 Vcs-Browser: http://git.debian.org/?p=users/ondrej/bird.git

Reply via email to