Package: treil
Version: 1.8-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu trusty ubuntu-patch
Dear Maintainer,
For the ppc64el architecture in Ubuntu, since this package uses libtool, a full
autoreconf is necessary instead of just config.{sub,guess} updates with
autotools-dev. This is because we need new libtool macros for ppc64el.
In Ubuntu, the attached patch was applied to achieve the following:
* Use dh-autoreconf instead of autotools-dev to fix FTBFS on ppc64el.
Thanks for considering the patch.
Logan Rosen
-- System Information:
Debian Release: jessie/sid
APT prefers trusty-updates
APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500,
'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13.0-5-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru treil-1.8/debian/control treil-1.8/debian/control
--- treil-1.8/debian/control 2013-07-10 02:49:02.000000000 -0400
+++ treil-1.8/debian/control 2014-01-27 17:34:56.000000000 -0500
@@ -2,7 +2,7 @@
Section: utils
Priority: extra
Maintainer: NIIBE Yutaka <[email protected]>
-Build-Depends: debhelper (>= 9), ruby, ruby1.9.1, ruby-dev, ruby-cairo, autotools-dev
+Build-Depends: debhelper (>= 9), ruby, ruby1.9.1, ruby-dev, ruby-cairo, dh-autoreconf
Standards-Version: 3.9.4
Homepage: http://www.unixuser.org/~ueno/software/treil/index.html
diff -Nru treil-1.8/debian/rules treil-1.8/debian/rules
--- treil-1.8/debian/rules 2013-07-10 02:52:57.000000000 -0400
+++ treil-1.8/debian/rules 2014-01-25 22:35:29.000000000 -0500
@@ -9,14 +9,8 @@
RUBYARCHDIR = $(shell ruby1.9.1 -rrbconfig -e 'puts RbConfig::CONFIG["archdir"]')
%:
- dh $@
-
-override_dh_auto_clean:
- dh_auto_clean
- rm -f config.sub config.guess
+ dh $@ --with autoreconf
override_dh_auto_configure:
- ln -sf /usr/share/misc/config.sub .
- ln -sf /usr/share/misc/config.guess .
dh_auto_configure -- --with-ruby=$(RUBY) \
--with-rubylibdir=$(RUBYLIBDIR) --with-rubyarchdir=$(RUBYARCHDIR)