tags 831971 patch
thanks
On Wed, 20 Jul 2016, Lucas Nussbaum wrote:
> Source: fortunes-es
> Version: 1.32
> Severity: important
> Tags: stretch sid
> User: [email protected]
> Usertags: qa-ftbfs-20160720 qa-ftbfs qa-indep
> Justification: FTBFS on amd64
Hello Javier and Lucas.
> > dpkg-genchanges --build=all >../fortunes-es_1.32_all.changes
> > dpkg-genchanges: error: binary build with no binary artifacts found; cannot
> > distribute
This happens because debian/rules has its binary-indep and binary-arch
targets swapped: binary-indep does nothing (hence the error) and
binary-arch does what binary-indep should do.
The fix is trivial. See attach.
While we are at it: Javier: The Maintainer field in debian/control has
been converted from latin1 to utf8 *twice*. Try this and you will see
what I mean:
echo "Javier Fernández-Sanguino Peña" | recode latin1..
If you could also fix this, it would be great.
Thanks.
--- a/debian/rules
+++ b/debian/rules
@@ -34,13 +34,13 @@ install: build
$(MAKE) install-utf8 prefix=`pwd`/debian/tmp
-# Build architecture-independent files here.
-binary-indep: build install
+# Build architecture-dependent files here.
+binary-arch:
# We have nothing to do by default.
EXCLUDE_INCLUDE=-pfortunes-es -Nfortunes-es-off
-# Build architecture-dependent files here.
-binary-arch: build install
+# Build architecture-independent files here.
+binary-indep: build install
# dh_testversion
dh_testdir
dh_testroot