--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: cloog: Fix usage of dh_autoreconf
- From: Fernando Seiti Furusato <ferseiti@br.ibm.com>
- Date: Thu, 08 Oct 2015 14:28:32 -0400
- Message-id: <20151008182832.14928.66621.reportbug@jessie.ltc.br.ibm.com>
Source: cloog
Version: 0.18.2-1+b2
Severity: normal
Tags: patch
Dear Maintainer,
Although package cloog builds with the usage of autotools-dev debhelper
script, autoreconf is the proper way to reconfigure the package so it
builds.
Also, rebootstrap script is beeing affected by it, since the package needs
to be autoreconf'ed.
The patch attached enables usage of dh-autoreconf instead of
dh_autotools-dev. It actually needs the Makefile.am within isl
subdirectory to be there so it runs with no failures.
I have tested this in ppc64el and amd64 machines.
Thanks and regards.
-- System Information:
Debian Release: 8.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: ppc64el (ppc64le)
Kernel: Linux 3.16.0-4-powerpc64le (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru cloog-0.18.3/debian/changelog cloog-0.18.3/debian/changelog
--- cloog-0.18.3/debian/changelog 2015-04-24 09:21:36.000000000 -0400
+++ cloog-0.18.3/debian/changelog 2015-10-08 14:04:50.000000000 -0400
@@ -1,3 +1,13 @@
+cloog (0.18.3-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * debian/rules: changed usage of dh_autotools-dev_* to dh_autoreconf
+ * debian/control: included dh-autoreconf as build-dep and removed
+ autotools-dev, since it is already a dependency for dh-autoreconf.
+ * debian/patch: use_autoreconf.patch includes the file Makefile.am
+
+ -- Fernando Seiti Furusato <ferseiti@br.ibm.com> Thu, 08 Oct 2015 14:01:38 -0400
+
cloog (0.18.3-1) unstable; urgency=medium
* New upstream version.
diff -Nru cloog-0.18.3/debian/control cloog-0.18.3/debian/control
--- cloog-0.18.3/debian/control 2014-12-04 14:15:33.000000000 -0500
+++ cloog-0.18.3/debian/control 2015-10-08 14:04:28.000000000 -0400
@@ -2,7 +2,7 @@
Priority: optional
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Uploaders: Matthias Klose <doko@debian.org>, Michael Tautschnig <mt@debian.org>
-Build-Depends: debhelper (>= 5), autotools-dev,
+Build-Depends: debhelper (>= 5), dh-autoreconf,
libisl-dev (>= 0.14), libgmp-dev,
texinfo, help2man
# Build-Depends-Indep: libpod-latex-perl | perl (<< 5.17.0) # not needed, no docs built
diff -Nru cloog-0.18.3/debian/patches/series cloog-0.18.3/debian/patches/series
--- cloog-0.18.3/debian/patches/series 1969-12-31 19:00:00.000000000 -0500
+++ cloog-0.18.3/debian/patches/series 2015-10-08 13:58:20.000000000 -0400
@@ -0,0 +1 @@
+use_autoreconf.patch
diff -Nru cloog-0.18.3/debian/patches/use_autoreconf.patch cloog-0.18.3/debian/patches/use_autoreconf.patch
--- cloog-0.18.3/debian/patches/use_autoreconf.patch 1969-12-31 19:00:00.000000000 -0500
+++ cloog-0.18.3/debian/patches/use_autoreconf.patch 2015-10-08 14:01:21.000000000 -0400
@@ -0,0 +1,42 @@
+Description: Use autoreconf to build
+ This package failed to run autoreconf because configure.ac includes isl subdir
+ to its configuration even if it is not used.
+ Solution is to include the Makefile.am that would be downloaded if built from
+ scratch. The file is short.
+Author: Fernando Furusato <ferseiti@br.ibm.com>
+
+--- /dev/null
++++ cloog-0.18.3/isl/interface/Makefile.am
+@@ -0,0 +1,32 @@
++AUTOMAKE_OPTIONS = nostdinc
++
++noinst_PROGRAMS = extract_interface
++
++AM_CXXFLAGS = $(CLANG_CXXFLAGS)
++AM_LDFLAGS = $(CLANG_LDFLAGS)
++
++includes = -I$(top_builddir) -I$(top_srcdir) \
++ -I$(top_builddir)/include -I$(top_srcdir)/include
++
++extract_interface_CPPFLAGS = $(includes)
++extract_interface_SOURCES = \
++ python.h \
++ python.cc \
++ extract_interface.h \
++ extract_interface.cc
++extract_interface_LDADD = \
++ -lclangFrontend -lclangSerialization -lclangParse -lclangSema \
++ $(LIB_CLANG_EDIT) \
++ -lclangAnalysis -lclangAST -lclangLex -lclangBasic -lclangDriver \
++ $(CLANG_LIBS) $(CLANG_LDFLAGS)
++
++test: extract_interface
++ ./extract_interface$(EXEEXT) $(includes) $(srcdir)/all.h
++
++isl.py: extract_interface isl.py.top
++ (cat $(srcdir)/isl.py.top; \
++ ./extract_interface$(EXEEXT) $(includes) $(srcdir)/all.h) \
++ > isl.py
++
++dist-hook: isl.py
++ cp isl.py $(distdir)/
diff -Nru cloog-0.18.3/debian/rules cloog-0.18.3/debian/rules
--- cloog-0.18.3/debian/rules 2015-04-24 09:17:10.000000000 -0400
+++ cloog-0.18.3/debian/rules 2015-10-08 13:57:13.000000000 -0400
@@ -19,7 +19,7 @@
configure: configure-stamp
configure-stamp:
dh_testdir
- dh_autotools-dev_updateconfig
+ dh_autoreconf
chmod +x configure
./configure $(CROSS) \
--prefix=/usr \
@@ -49,7 +49,7 @@
rm -f doc/*.info
rm -f cloog-isl-uninstalled.sh *.pc *.pc.in doc/gitversion.texi version.h
rm -f config.log config.status
- dh_autotools-dev_restoreconfig
+ dh_autoreconf_clean
dh_clean
install: build
--- End Message ---
--- Begin Message ---
Source: cloog
Source-Version: 0.18.4-2
We believe that the bug you reported is fixed in the latest version of
cloog, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 801337@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated cloog package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 14 Mar 2018 19:49:18 +0100
Source: cloog
Binary: libcloog-isl-dev libcloog-isl4 cloog-isl
Architecture: source
Version: 0.18.4-2
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description:
cloog-isl - Chunky Loop Generator (runtime library)
libcloog-isl-dev - Chunky Loop Generator (development files)
libcloog-isl4 - Chunky Loop Generator (runtime library)
Closes: 801337
Changes:
cloog (0.18.4-2) unstable; urgency=medium
.
* Build using isl-0.18, cloog is not yet compatible with isl-0.19.
* The library has a LGPL-2.1 copyright, not GPL. LP: #1271160.
* Enable parallel builds.
* Bump debhelper to v9.
* Build using dh-autoreconf. Closes: #801337.
Checksums-Sha1:
af7e08a4b73f600e24e269e84f5f2d1d267139a5 1994 cloog_0.18.4-2.dsc
a1cf52a119cb16b30244c545b9a717b60170b468 9704 cloog_0.18.4-2.debian.tar.xz
daf8164a470a4782a904bb0e3f50e3ed902fd539 5962 cloog_0.18.4-2_source.buildinfo
Checksums-Sha256:
35f2731e237c0c52b2100c600ad385d69e07b921dde8b49fec5b5acfc179fd05 1994 cloog_0.18.4-2.dsc
5dc41998999bc2ff45db81f2cde218c153f85f41ed5e0933df638f3fb0d137f5 9704 cloog_0.18.4-2.debian.tar.xz
ac1c29efdc56195c2bfbaa28c2bd2692f9bfd28a7e50a4f469ac62743826143d 5962 cloog_0.18.4-2_source.buildinfo
Files:
886223f834919e364ba68a6ddeb4aefc 1994 libs optional cloog_0.18.4-2.dsc
4e2d4a7f50f4288d871740809d024ec2 9704 libs optional cloog_0.18.4-2.debian.tar.xz
2b823cc5747760f2c3947795f3e72ec9 5962 libs optional cloog_0.18.4-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAlqpbuMQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9X6jD/9FvRIKKE1dUrVz4XaHuPDVpj/YljjGWRQp
Xcxy188KnvTG9pkYmtYj/ZzY3anfw/nMzIqu0hkg371D+D3ciLc1X/PJVhLkNXo6
KQjSX4qWuVnQ2dJS1CcIvs6nts0GWHpsfnSonPpSQDkAqCIUYJZvdzJWow4cQZmP
UwokTsMmICl1i3C64S1H2tag/bK68o+4R6VCe54uVddfxx6ulevuwtAin7fRIPNl
sc2H2BF3BSwtFGxqvaB1o69sRLu7yBRz3yBzlJBU9BUjxB53t3THxJDw3hSXNere
VIWo+cjN3yQA/lscXAiYoFY7htHxYm6NWn0A4V/IR7q+w2iaZ7FYsUBeijKZCC2n
AIxrgfiWL0trjnGJwq61hgzA0/m9dxio8C5syyjSwLy8VWxpzw9jAqYZqLb3rhPk
BVm4D72enf5uD/7osaCDhwEiJJLUy1Tj5KFBRwp6KHlPbk5Rk1CjuoSAy/8Eip4l
CJsLno6CIBFEJAK2aeSrnYn2sg3acnLf6ttczPUKrmutRhyWxzK8nN56j+hNboI8
5bOpA6z4pa5urqTUo8WXLR1rg+0+vX5sfwdHtihduErvQwPp28Ej37zpvDDpExeT
W2M7Ppc9DX8q2F5aatojSfqXvI3zE2v/c+jJlJVpEmtrjvsUhzO0iM1rz3gr4sn4
q0PyjQE6yg==
=Hsu6
-----END PGP SIGNATURE-----
--- End Message ---