Debian Bug report logs - #831932
icedtea-web: FTBFS with dpkg-buildpackage -A: dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2

version graph

Package: src:icedtea-web; Maintainer for src:icedtea-web is OpenJDK Team <openjdk@lists.launchpad.net>;

Reported by: Lucas Nussbaum <lucas@debian.org>

Date: Wed, 20 Jul 2016 19:37:48 UTC

Severity: serious

Tags: patch, sid, stretch

Found in version icedtea-web/1.6.2-3

Fixed in version icedtea-web/1.6.2-3.1

Done: Adrian Bunk <bunk@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, OpenJDK Team <openjdk@lists.launchpad.net>:
Bug#831932; Package src:icedtea-web. (Wed, 20 Jul 2016 19:37:52 GMT) (full text, mbox, link).


Acknowledgement sent to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to OpenJDK Team <openjdk@lists.launchpad.net>. (Wed, 20 Jul 2016 19:37:52 GMT) (full text, mbox, link).


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

From: Lucas Nussbaum <lucas@debian.org>
To: submit@bugs.debian.org
Subject: icedtea-web: FTBFS with dpkg-buildpackage -A: dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
Date: Wed, 20 Jul 2016 21:21:23 +0200
Source: icedtea-web
Version: 1.6.2-3
Severity: important
Tags: stretch sid
User: debian-qa@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.


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 build-indep and 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):
>  debian/rules build-indep
> make: *** No rule to make target 'build-stamp', needed by 'build-indep'.  Stop.
> dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
> --------------------------------------------------------------------------------
> Build finished at 20160720-1337

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/20/icedtea-web_1.6.2-3_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.



Information forwarded to debian-bugs-dist@lists.debian.org, OpenJDK Team <openjdk@lists.launchpad.net>:
Bug#831932; Package src:icedtea-web. (Sat, 23 Jul 2016 11:18:14 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to OpenJDK Team <openjdk@lists.launchpad.net>. (Sat, 23 Jul 2016 11:18:14 GMT) (full text, mbox, link).


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

From: Santiago Vila <sanvila@unex.es>
To: 831932@bugs.debian.org
Cc: Debian BTS <control@bugs.debian.org>
Subject: Re: icedtea-web: FTBFS with dpkg-buildpackage -A: dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
Date: Sat, 23 Jul 2016 13:15:41 +0200 (CEST)
[Message part 1 (text/plain, inline)]
tags 831932 + patch
thanks

On Wed, 20 Jul 2016, Lucas Nussbaum wrote:

>  debian/rules build-indep
> make: *** No rule to make target 'build-stamp', needed by 'build-indep'.  Stop.
> dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
> --------------------------------------------------------------------------------

There is not, in fact, any rule to make build-stamp, but there are
several other stamp files.

I would just make "build-arch" and "build-indep" to depend on "build",
as in the attached patch.

Thanks.
[icedtea-web.patch.txt (text/plain, ATTACHMENT)]
--- a/debian/rules
+++ b/debian/rules
@@ -297,8 +297,8 @@ configure8-stamp: autoreconf-stamp
 	  && $(buildflags) ../configure $(CONFIGURE_ARGS) --with-jdk-home=/$(jdk_default_home)
 	touch $@
 
-build-arch: build-stamp
-build-indep: build-stamp
+build-arch: build
+build-indep: build
 build: $(if $(filter 6,$(jre_versions)),build6-stamp) \
   $(if $(filter 7,$(jre_versions)),build7-stamp) $(if $(filter 8,$(jre_versions)),build8-stamp)
 build6-stamp: configure6-stamp

Added tag(s) patch. Request was from Santiago Vila <sanvila@unex.es> to control@bugs.debian.org. (Sat, 23 Jul 2016 11:18:27 GMT) (full text, mbox, link).


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


Reply sent to Adrian Bunk <bunk@debian.org>:
You have taken responsibility. (Sat, 14 Jan 2017 17:06:18 GMT) (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer. (Sat, 14 Jan 2017 17:06:18 GMT) (full text, mbox, link).


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

From: Adrian Bunk <bunk@debian.org>
To: 831932-close@bugs.debian.org
Subject: Bug#831932: fixed in icedtea-web 1.6.2-3.1
Date: Sat, 14 Jan 2017 17:04:54 +0000
Source: icedtea-web
Source-Version: 1.6.2-3.1

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

Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated icedtea-web 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: SHA512

Format: 1.8
Date: Sat, 14 Jan 2017 17:46:54 +0200
Source: icedtea-web
Binary: icedtea-netx icedtea-plugin icedtea-netx-common icedtea-8-plugin
Architecture: source
Version: 1.6.2-3.1
Distribution: unstable
Urgency: medium
Maintainer: OpenJDK Team <openjdk@lists.launchpad.net>
Changed-By: Adrian Bunk <bunk@debian.org>
Description:
 icedtea-8-plugin - web browser plugin based on OpenJDK and IcedTea to execute Java a
 icedtea-netx - NetX - implementation of the Java Network Launching Protocol (JNL
 icedtea-netx-common - NetX - implementation of the Java Network Launching Protocol (JNL
 icedtea-plugin - web browser plugin to execute Java applets (dependency package)
Closes: 831932
Changes:
 icedtea-web (1.6.2-3.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Apply fix from Santiago Vila to fix "dpkg-buildpackage -A".
     (Closes: #831932)
Checksums-Sha1:
 f5a727e9fbd7bd75fc6567f308b360e6cee21681 2623 icedtea-web_1.6.2-3.1.dsc
 e796723edc953b3c1c5232531a1062e04a17585c 28724 icedtea-web_1.6.2-3.1.debian.tar.xz
Checksums-Sha256:
 e2c92951348ead1c8bf3eb340542d12a7772167f1cde5a547b67629ba80ab591 2623 icedtea-web_1.6.2-3.1.dsc
 adb9577246b0221887670bd6a5e6a69defaa4fc1456b4d756f96e353843838bd 28724 icedtea-web_1.6.2-3.1.debian.tar.xz
Files:
 2e4e0e2d4a77edcda9a140b2c519a577 2623 java extra icedtea-web_1.6.2-3.1.dsc
 ec28a173e9b62ed393c5d577621f961c 28724 java extra icedtea-web_1.6.2-3.1.debian.tar.xz

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

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAlh6Sj0ACgkQiNJCh6LY
mLF4oQ/+JfC5JrUo90DkmZsiQruc6zKAC91nHBNTkVb3tBYp7vEQOJJjvwfRAc5R
Pz1pjGcuELheYdK7nG2Q750uLbD40dLoSw4JUmBGDSFiZJFk8nvpwxxQ9DoqN6N3
bH0XbikGzvJSmNBaMEcU0O3Wxy16YXvNUTJNA2w333Fsb2Qpid7EHoJ1A8+Qom/5
Gl1jl2SRP+0xLwVIyauxCB+EcZ90fz2SzgfZt/QYp3sfzGT+aZgIN4M8UsVoOcpK
/V9uRTy8XJzMPnXdPQELe+UyXN8u5xj6LEnm1bj+Lr7/WdTktJYXyfqBEPIB4ovj
2/wckJakP2qnpj8yxSQNOGot1BvcpqZKl+AlnBqDAJjwi+0onNz4ib/5yaw/fy6s
puEo21VodRxWaDUuVj9gJJOBIe29aMA5ApsMCGBKFYRyiCq82lYJHpZXJS7qTlbP
JoEDuDNslGQxgrSFqFUS/oeRPzD8j9Rylj1i6wZJz0ImnsT/TmBZjE2rXhWMCAhB
H1uk8/He4LkII2ZYGwjILQBmKURGGjaKN+bmAgIW5758n6QM0if0936BUOW4Lric
QQC/3gQDG1WvUkeFuyGGEyFijsYpNaZJlsl/o3DItyomZ0ZS6hUepTatOapMk9j1
hvi5moc11DVTUqb5MvFEAYcfAdffRNLAsMPi//p+7OUKjJblnhc=
=fULB
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 22 Feb 2017 07:28:34 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:07:11 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.