Package: gnet
Version: 2.0.8-2.2
Severity: normal
Tags: patch
User: [email protected]
Usertags: ppc64el
User: [email protected]
Usertags: autoreconf
Dear Maintainer,
Dear Maintainer,
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:
dh_install -plibgnet-dev
cp: cannot stat './debian/tmp/usr/lib/libgnet-2.0.so': No such file or
directory
dh_install: cp -a ./debian/tmp/usr/lib/libgnet-2.0.so
debian/libgnet-dev//usr/lib/ returned exit code 1
make: *** [binary-install/libgnet-dev] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
status 2
The full log could be found at
http://ftp.unicamp.br/pub/ppc64el/debian/buildd-upstream/build_logs/logs/gnet_2.0.8-2.2_ppc64el.build
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
I tested it on ppc64el and it worked.
Thank you,
Breno
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)
Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
With this patch accepted, you can also close #701902.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)
Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: gnet-2.0.8/debian/control
===================================================================
--- gnet-2.0.8.orig/debian/control 2014-07-02 18:49:21.000000000 +0000
+++ gnet-2.0.8/debian/control 2014-07-02 18:50:03.000000000 +0000
@@ -14,7 +14,8 @@
libglib2.0-dev (>= 2.6.0),
gtk-doc-tools (>= 1.2),
check (>= 0.9.4),
- pkg-config
+ pkg-config,
+ dh-autoreconf
Standards-Version: 3.8.4
Package: libgnet-dev
Index: gnet-2.0.8/debian/rules
===================================================================
--- gnet-2.0.8.orig/debian/rules 2014-07-02 18:49:21.000000000 +0000
+++ gnet-2.0.8/debian/rules 2014-07-02 18:49:49.000000000 +0000
@@ -6,6 +6,7 @@
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed