Debian Bug report logs - #805961
toilet: FTBFS when built with dpkg-buildpackage -A (no binary artifacts)

version graph

Package: src:toilet; Maintainer for src:toilet is Sam Hocevar <sho@debian.org>;

Reported by: Santiago Vila <sanvila@debian.org>

Date: Tue, 24 Nov 2015 11:22:29 UTC

Severity: serious

Tags: patch, sid, stretch

Found in version toilet/0.3-1

Fixed in version toilet/0.3-1.1

Done: Jakub Wilk <jwilk@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, sanvila@debian.org, Sam Hocevar <sho@debian.org>:
Bug#805961; Package src:toilet. (Tue, 24 Nov 2015 11:22:33 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@debian.org>:
New Bug report received and forwarded. Copy sent to sanvila@debian.org, Sam Hocevar <sho@debian.org>. (Tue, 24 Nov 2015 11:22:33 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@debian.org>
To: Debian BTS <submit@bugs.debian.org>
Subject: toilet: FTBFS when built with dpkg-buildpackage -A (no binary artifacts)
Date: Tue, 24 Nov 2015 11:18:15 +0000
Package: src:toilet
Version: 0.3-1
User: sanvila@debian.org
Usertags: binary-indep
Severity: important

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:

--------------------------------------------------------------------------------
[...]
 fakeroot debian/rules binary-indep
dh_testdir
/usr/bin/make
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make  all-recursive
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Making all in src
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
gcc -DHAVE_CONFIG_H -I. -I..  -DFONTDIR=\"/usr/share/figlet\"   -g -O2 -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -MT toilet-main.o -MD -MP -MF .deps/toilet-main.Tpo -c -o toilet-main.o `test -f 'main.c' || echo './'`main.c
mv -f .deps/toilet-main.Tpo .deps/toilet-main.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DFONTDIR=\"/usr/share/figlet\"   -g -O2 -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -MT toilet-render.o -MD -MP -MF .deps/toilet-render.Tpo -c -o toilet-render.o `test -f 'render.c' || echo './'`render.c
mv -f .deps/toilet-render.Tpo .deps/toilet-render.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DFONTDIR=\"/usr/share/figlet\"   -g -O2 -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -MT toilet-filter.o -MD -MP -MF .deps/toilet-filter.Tpo -c -o toilet-filter.o `test -f 'filter.c' || echo './'`filter.c
mv -f .deps/toilet-filter.Tpo .deps/toilet-filter.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DFONTDIR=\"/usr/share/figlet\"   -g -O2 -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -MT toilet-export.o -MD -MP -MF .deps/toilet-export.Tpo -c -o toilet-export.o `test -f 'export.c' || echo './'`export.c
mv -f .deps/toilet-export.Tpo .deps/toilet-export.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DFONTDIR=\"/usr/share/figlet\"   -g -O2 -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -MT toilet-term.o -MD -MP -MF .deps/toilet-term.Tpo -c -o toilet-term.o `test -f 'term.c' || echo './'`term.c
mv -f .deps/toilet-term.Tpo .deps/toilet-term.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DFONTDIR=\"/usr/share/figlet\"   -g -O2 -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -MT toilet-figlet.o -MD -MP -MF .deps/toilet-figlet.Tpo -c -o toilet-figlet.o `test -f 'figlet.c' || echo './'`figlet.c
mv -f .deps/toilet-figlet.Tpo .deps/toilet-figlet.Po
gcc  -g -O2 -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare   -o toilet toilet-main.o toilet-render.o toilet-filter.o toilet-export.o toilet-term.o toilet-figlet.o -lcaca 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
Making all in tools
make[3]: Entering directory '/<<PKGBUILDDIR>>/tools'
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -MT caca2tlf-caca2tlf.o -MD -MP -MF .deps/caca2tlf-caca2tlf.Tpo -c -o caca2tlf-caca2tlf.o `test -f 'caca2tlf.c' || echo './'`caca2tlf.c
caca2tlf.c: In function 'main':
caca2tlf.c:44:18: warning: variable 'b' set but not used [-Wunused-but-set-variable]
     unsigned int b, i;
                  ^
mv -f .deps/caca2tlf-caca2tlf.Tpo .deps/caca2tlf-caca2tlf.Po
gcc  -g -O2 -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare   -o caca2tlf caca2tlf-caca2tlf.o -lcaca 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/tools'
Making all in fonts
make[3]: Entering directory '/<<PKGBUILDDIR>>/fonts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/fonts'
Making all in doc
make[3]: Entering directory '/<<PKGBUILDDIR>>/doc'
sed -e "s,[@]datarootdir@,/usr/share,g" ./toilet.1.in > toilet.1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc'
Making all in test
make[3]: Entering directory '/<<PKGBUILDDIR>>/test'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/test'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
touch build-arch-stamp
dh_testdir
dh_testroot
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
dh_installdirs usr/bin usr/share/man/man1 -ptoilet
dh_installdirs usr/share/figlet -ptoilet-fonts
/usr/bin/make install DESTDIR=`pwd`/debian/tmp
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Making install in src
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
test -z "/usr/bin" || /bin/mkdir -p "/<<PKGBUILDDIR>>/debian/tmp/usr/bin"
  /usr/bin/install -c toilet '/<<PKGBUILDDIR>>/debian/tmp/usr/bin'
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
Making install in tools
make[2]: Entering directory '/<<PKGBUILDDIR>>/tools'
make[3]: Entering directory '/<<PKGBUILDDIR>>/tools'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/tools'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/tools'
Making install in fonts
make[2]: Entering directory '/<<PKGBUILDDIR>>/fonts'
make[3]: Entering directory '/<<PKGBUILDDIR>>/fonts'
make[3]: Nothing to be done for 'install-exec-am'.
test -z "/usr/share/figlet" || /bin/mkdir -p "/<<PKGBUILDDIR>>/debian/tmp/usr/share/figlet"
 /usr/bin/install -c -m 644 wideterm.tlf circle.tlf emboss.tlf emboss2.tlf future.tlf ascii9.tlf smascii9.tlf bigascii9.tlf ascii12.tlf smascii12.tlf bigascii12.tlf mono9.tlf smmono9.tlf bigmono9.tlf mono12.tlf smmono12.tlf bigmono12.tlf pagga.tlf letter.tlf smblock.tlf smbraille.tlf '/<<PKGBUILDDIR>>/debian/tmp/usr/share/figlet'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/fonts'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/fonts'
Making install in doc
make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[3]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[3]: Nothing to be done for 'install-exec-am'.
test -z "/usr/share/man/man1" || /bin/mkdir -p "/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1"
 /usr/bin/install -c -m 644 toilet.1 '/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
Making install in test
make[2]: Entering directory '/<<PKGBUILDDIR>>/test'
make[3]: Entering directory '/<<PKGBUILDDIR>>/test'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/test'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/test'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_install --sourcedir=debian/tmp --list-missing
 dpkg-genchanges -A >../toilet_0.3-1_all.changes
dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
dpkg-buildpackage: error: dpkg-genchanges gave error exit status 2
--------------------------------------------------------------------------------

This usually happens because there is a binary-indep target in debian/rules
which is either empty or does not do anything useful.

If all the arch-independent packages are dummy transitional packages released with jessie,
the easy fix is to drop them now. If not, debian/rules should be modified so that the
binary-indep target generates the architecture independent packages (and only those).

After checking that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work
properly, this package will be suitable to be uploaded in source-only form if you wish
(I recommend that you try it).

Thanks.



Information forwarded to debian-bugs-dist@lists.debian.org, Sam Hocevar <sho@debian.org>:
Bug#805961; Package src:toilet. (Wed, 04 May 2016 23:12:03 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Sam Hocevar <sho@debian.org>. (Wed, 04 May 2016 23:12:04 GMT) (full text, mbox, link).


Message #10 received at 805961@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@unex.es>
To: Debian BTS <control@bugs.debian.org>, 805961@bugs.debian.org
Cc: Sam Hocevar <sho@debian.org>
Subject: Re: Bug#805961: toilet: FTBFS when built with dpkg-buildpackage -A (no binary artifacts)
Date: Thu, 5 May 2016 01:09:21 +0200 (CEST)
[Message part 1 (text/plain, inline)]
tags 805961 + patch
thanks

This bug could be fixed by switching to dh, but in the meantime, here
is a trivial patch.

Thanks.
[toilet.patch.txt (text/plain, attachment)]

Added tag(s) patch. Request was from Santiago Vila <sanvila@unex.es> to control@bugs.debian.org. (Wed, 04 May 2016 23:12:06 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Sam Hocevar <sho@debian.org>:
Bug#805961; Package src:toilet. (Wed, 13 Jul 2016 21:12:19 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Sam Hocevar <sho@debian.org>. (Wed, 13 Jul 2016 21:12:19 GMT) (full text, mbox, link).


Message #17 received at 805961@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@unex.es>
To: 805961@bugs.debian.org
Cc: Sam Hocevar <sho@debian.org>
Subject: Re: Bug#805961: toilet: FTBFS when built with dpkg-buildpackage -A (no binary artifacts)
Date: Wed, 13 Jul 2016 23:10:29 +0200 (CEST)
Greetings.

I have the ok from the Release Managers to consider this issue as RC
for stretch. I'm going to wait at least one week before raising
this to "serious".

There is a patch available for this bug. If you need someone to make
an upload, please ask for a sponsor in debian-mentors.

Thanks.



Severity set to 'serious' from 'important' Request was from Santiago Vila <sanvila@debian.org> to control@bugs.debian.org. (Mon, 01 Aug 2016 21:15:13 GMT) (full text, mbox, link).


Added tag(s) stretch and sid. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Tue, 02 Aug 2016 16:24:26 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Sam Hocevar <sho@debian.org>:
Bug#805961; Package src:toilet. (Mon, 22 Aug 2016 19:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to Jakub Wilk <jwilk@debian.org>:
Extra info received and forwarded to list. Copy sent to Sam Hocevar <sho@debian.org>. (Mon, 22 Aug 2016 19:21:04 GMT) (full text, mbox, link).


Message #26 received at 805961@bugs.debian.org (full text, mbox, reply):

From: Jakub Wilk <jwilk@debian.org>
To: 805961@bugs.debian.org
Subject: toilet: diff for NMU version 0.3-1.1
Date: Mon, 22 Aug 2016 21:18:04 +0200
[Message part 1 (text/plain, inline)]
Control: tags 805961 + pending

I've prepared an NMU for toilet (versioned as 0.3-1.1) and uploaded it 
to DELAYED/3. Please feel free to tell me if I should delay it longer.

-- 
Jakub Wilk
[toilet-0.3-1.1-nmu.diff (text/x-diff, attachment)]

Added tag(s) pending. Request was from Jakub Wilk <jwilk@debian.org> to 805961-submit@bugs.debian.org. (Mon, 22 Aug 2016 19:21:05 GMT) (full text, mbox, link).


Reply sent to Jakub Wilk <jwilk@debian.org>:
You have taken responsibility. (Thu, 25 Aug 2016 19:39:14 GMT) (full text, mbox, link).


Notification sent to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer. (Thu, 25 Aug 2016 19:39:14 GMT) (full text, mbox, link).


Message #33 received at 805961-close@bugs.debian.org (full text, mbox, reply):

From: Jakub Wilk <jwilk@debian.org>
To: 805961-close@bugs.debian.org
Subject: Bug#805961: fixed in toilet 0.3-1.1
Date: Thu, 25 Aug 2016 19:35:32 +0000
Source: toilet
Source-Version: 0.3-1.1

We believe that the bug you reported is fixed in the latest version of
toilet, 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 805961@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jakub Wilk <jwilk@debian.org> (supplier of updated toilet 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: Mon, 22 Aug 2016 21:05:36 +0200
Source: toilet
Binary: toilet toilet-fonts
Architecture: source
Version: 0.3-1.1
Distribution: unstable
Urgency: low
Maintainer: Sam Hocevar <sho@debian.org>
Changed-By: Jakub Wilk <jwilk@debian.org>
Description:
 toilet     - display large colourful characters in text mode
 toilet-fonts - collection of TOIlet fonts
Closes: 805961
Changes:
 toilet (0.3-1.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Fix FTBFS when building only architeture-independent packages
     (closes: #805961). Thanks to Santiago Vila for the bug report and the
     patch.
Checksums-Sha1:
 122ddbdf6b40c25102a0e798e2a42672e71d80e5 1860 toilet_0.3-1.1.dsc
 f899fc576b0c8d79c1890d025df03611ee9157f7 2784 toilet_0.3-1.1.debian.tar.xz
Checksums-Sha256:
 e8875e2ab895ae1f11ac12ec81a4aab1ef76bc5a948d4b6fde9ec1045408491e 1860 toilet_0.3-1.1.dsc
 b3b022bc20273d20f2813a094631f64ff89b327f430a90f517c146077569634a 2784 toilet_0.3-1.1.debian.tar.xz
Files:
 519ed07437225182ce518148bfef662f 1860 libs optional toilet_0.3-1.1.dsc
 3a7d45d28de147b6ef354859fcd304a3 2784 libs optional toilet_0.3-1.1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJXu08bAAoJEC1Os6YBVHX1ghgQAIPeZs03imX99WYCCI0WnxB3
ol8WFIu/8WCihJfCMkRRNJyY4/N4VsuAnGgV3Y43trTfK5mPaPPWIYc37uUQFlho
D5sCWZ1wj91awA3EbaQ8bJCVs3JcpO/mLHfYWbiZgwb6BniwjP1FmKRnL3O42Cm0
OFy1OXn5OITZMLpAjrHYDrP0iJUEBi9csKmwQfn/rGIGwHcjrwtezRYr9nZPNBKU
Wd63+F2CPPhjslQgYgi8tPcYluUYqTeUJb/qLuj6BUqvwny5QL+y//bqZeGvdW1/
HVclwq1FNCh/8acm8LsByYc0PYKLgSrHSwOwp7+F7/m7uhRdzeSLW7cbL6LXAcal
cRu4wCa8YCd8ZbupoAIaYJfPKf+DsOxFMHcB0Uavut9YkKNocKBh2UZTdpXmviHh
WFb2nso+riP+05RzqNBrDmvOPf0PVEIwIL85W10/84FX6vOjmO4kzJlkzHLlt7A8
2ky0XUcg1YVFkyMwVWGTYPog/kCFi0ILrHtiwtRIDTOXOMucbj21SZNXpzKgnkv0
FZ2SIqQUOICDwCjHl2HvObFzNcnXz4ejANqdgvN8ujPIGYIRr3mMI7IqSVdSbGsw
328YuBn51WvsvfgNV0QSW0XD5IyT1q216dE2efEFZAbrq2tu8RB7YtSQ9UJ48AVu
uNSok2RS4/yuCT8S2bK6
=RcSv
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 04 Oct 2016 07:31:45 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Oct 23 00:04:56 2017; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.