Bug#831949: ewipe: FTBFS with dpkg-buildpackage -A: dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute

2016-08-25 Thread Eriberto Mota
Control: tags 831949 patch
Control: tags 831949 pending

Hi,

I uploaded a NMU to 10-day/delay queue. Feel free to cancel this
upload if needed.

The debian/changelog is:

ewipe (1.2.0-8.2) unstable; urgency=medium

  * Non-maintainer upload.
  * More aggressive NMU to clean all issues in the package.
  * Migrations:
  - debian/copyright to 1.0 format.
  - debian/rules to new (reduced) format. (Closes: #831949)
  - DebSrc to 3.0 format.
  * debian/control:
  - Added ${misc:Depends} variable to Depends field.
  - Bumped Standards-Version to 3.9.8.
  - Changed from tk8.5 to tk in Depends field. (Closes: #835458)
  * debian/dirs: removed. Not needed because debian/install creates all
  directories.
  * debian/install: created to install all files in right places.
  * debian/patches/:
  - 10_avoid-direct-changes.patch: added to avoid direct changes in
upstream source code.
  - fix-FTBFS-ewipe: removed. Using tk as dependency now.
  * debian/watch: bumped to version 4.

I attached a debdiff.

Regards,

Eriberto


ewipe.debdiff
Description: Binary data


Bug#831949: ewipe: FTBFS with dpkg-buildpackage -A: dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute

2016-07-22 Thread Santiago Vila
tags 831949 + patch
thanks

This happens because debian/rules has its binary-arch and binary-indep
targets swapped.

The following trivial (but untested) patch might fix it.

Thanks.--- a/debian/rules
+++ b/debian/rules
@@ -39,12 +39,12 @@ install: build
install -m 644 viewer.tcl `pwd`/debian/ewipe/usr/lib/ewipe
install -m 644 tclIndex `pwd`/debian/ewipe/usr/lib/ewipe
 
-# Build architecture-independent files here.
-binary-indep: build install
+# Build architecture-dependent files here.
+binary-arch:
 # We have nothing to do by default.
 
-# Build architecture-dependent files here.
-binary-arch: build install
+# Build architecture-independent files here.
+binary-indep: build install
 #  dh_testversion
dh_testdir
dh_testroot


Bug#831949: ewipe: FTBFS with dpkg-buildpackage -A: dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute

2016-07-20 Thread Lucas Nussbaum
Source: ewipe
Version: 1.2.0-8.1
Severity: important
Tags: stretch sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20160720 qa-ftbfs qa-indep
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.  This rebuild was done by building only the architecture-independent
packages.  At the same time, a normal build succeeded, which points the
problem specifically to build-indep/binary-indep targets.


The specific error below usually happens 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 file this bug as severity: important, but Santiago Vila, who led this
effort (kudos to him), got approval from the release team to consider those
bugs RC for stretch. The severity will be increased to 'serious' shortly.
See #830997 for details.

Relevant part (hopefully):
>  fakeroot debian/rules binary-indep
> dh_testdir
> dh_testroot
> dh_clean -k
> dh_clean: dh_clean -k is deprecated; use dh_prep instead
> dh_installdirs
> # Add here commands to install the package into debian/ewipe.
> #/usr/bin/make install DESTDIR=`pwd`/debian/ewipe
> install -m 755 ewipe `pwd`/debian/ewipe/usr/bin
> install -m 644 definefont.tcl `pwd`/debian/ewipe/usr/lib/ewipe
> install -m 644 edittable.tcl `pwd`/debian/ewipe/usr/lib/ewipe
> install -m 644 setpointer.tcl `pwd`/debian/ewipe/usr/lib/ewipe
> install -m 644 viewer.tcl `pwd`/debian/ewipe/usr/lib/ewipe
> install -m 644 tclIndex `pwd`/debian/ewipe/usr/lib/ewipe
>  dpkg-genchanges --build=all >../ewipe_1.2.0-8.1_all.changes
> dpkg-genchanges: error: binary build with no binary artifacts found; cannot 
> distribute

The full build log is available from:
   
http://people.debian.org/~lucas/logs/2016/07/20/ewipe_1.2.0-8.1_unstable_archallonly.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.