Package: libevent Version: 2.0.21 Severity: normal Tags: patch User: debian-powe...@lists.debian.org Usertags: ppc64el User: debian-de...@lists.debian.org Usertags: autoreconf
Dear Maintainer, Currently libevent FTBFS when compiled in new architectures that is not supported on the outdated package config files, as shown: http://ftp.unicamp.br/pub/ppc64el/debian/buildd-upstream/build_logs/logs/libevent_2.0.21-stable-1_ppc64el.build I just created this patch that updates the config files duirng the build build, as suggested in: https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build I also copied a fix from Ubuntu in test/Makefile.am to solve a build failure with the autoconf. 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
Index: libevent-2.0.21-stable/debian/control =================================================================== --- libevent-2.0.21-stable.orig/debian/control 2013-05-19 00:08:15.000000000 +0000 +++ libevent-2.0.21-stable/debian/control 2014-06-05 19:06:12.000000000 +0000 @@ -3,7 +3,7 @@ Priority: optional Maintainer: Anibal Monsalve Salazar <ani...@debian.org> Uploaders: Leo Costela <cost...@debian.org> -Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 9), autotools-dev, libssl-dev +Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 9), libssl-dev, dh-autoreconf Standards-Version: 3.9.3 Homepage: http://libevent.org/ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/libevent.git Index: libevent-2.0.21-stable/debian/rules =================================================================== --- libevent-2.0.21-stable.orig/debian/rules 2012-05-20 22:16:16.000000000 +0000 +++ libevent-2.0.21-stable/debian/rules 2014-06-05 19:05:58.000000000 +0000 @@ -5,7 +5,7 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed,--no-undefined,--no-add-needed %: - dh $@ --with autotools-dev + dh $@ --with autoreconf override_dh_auto_configure: dh_auto_configure -- \ Index: libevent-2.0.21-stable/test/Makefile.am =================================================================== --- libevent-2.0.21-stable.orig/test/Makefile.am 2012-05-31 04:08:19.000000000 +0000 +++ libevent-2.0.21-stable/test/Makefile.am 2014-06-05 19:06:00.000000000 +0000 @@ -19,7 +19,11 @@ EXTRA_PROGRAMS = regress noinst_HEADERS = tinytest.h tinytest_macros.h regress.h tinytest_local.h -TESTS = $(top_srcdir)/test/test.sh +TESTS = test-script.sh +test-script.sh: test.sh + cp $< $@ + +DISTCLEANFILES = test-script.sh BUILT_SOURCES = if BUILD_REGRESS