Source: tcpcrypt
Version: 0.2+git20140723-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: ppc64el
User: [email protected]
Usertags: autoreconf

Dear Daniel,

Currently this package FTBFS when compiled in new architectures (as ppc64el)
that is not supported on the outdated package autotools files, mainly because
it fails to understand that the new architectures has support for shared
libraries, as shown below: 

The full log could be found at the package log on our buildd entries at:
http://ftp.unicamp.br/pub/ppc64el/debian/buildd-upstream/build_logs/Build-Attempted.html


        make[1]: Leaving directory `/«BUILDDIR»/tcpcrypt-0.2+git20140723'
           dh_install
        dh_install: libtcpcrypt0 missing files (usr/lib/*/libtcpcrypt.so.0*), 
aborting
        make: *** [binary] Error 255
        dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit 
status 2

I created this patch that call autoreconf to updates the autotool files during
the build, as suggest by the following wiki:

https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build

You can find more information about autoreconf in the following link:
https://wiki.debian.org/Autoreconf

I tested this patch and it worked fine.

Thank you,
Breno
Index: tcpcrypt-0.2+git20140723/debian/control
===================================================================
--- tcpcrypt-0.2+git20140723.orig/debian/control
+++ tcpcrypt-0.2+git20140723/debian/control
@@ -7,6 +7,7 @@ Build-Depends:
  libnfnetlink-dev,
  libnetfilter-queue-dev,
  debhelper (>=9),
+ dh-autoreconf
 Standards-Version: 3.9.5
 Section: net
 Homepage: http://tcpcrypt.org/
Index: tcpcrypt-0.2+git20140723/debian/rules
===================================================================
--- tcpcrypt-0.2+git20140723.orig/debian/rules
+++ tcpcrypt-0.2+git20140723/debian/rules
@@ -1,4 +1,4 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@
+	dh $@ --with autoreconf

Reply via email to