[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#841754: marked as done (sonic FTCBFS: executes host arch javac during build)



Your message dated Sun, 22 Oct 2017 16:06:51 +0000
with message-id <E1e6Im3-0003lJ-6j@fasolo.debian.org>
and subject line Bug#841754: fixed in sonic 0.2.0-5
has caused the Debian Bug report #841754,
regarding sonic FTCBFS: executes host arch javac during build
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
841754: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841754
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: sonic
Version: 0.2.0-4
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

sonic fails to cross build from source, because it executes the host
architecture javac during build. Looking closer, one recognizes that the
java stuff is only needed for an architecture-independent package.
Indeed, removing any java compilation from the binary-arch build makes
the cross build succeed. I also verified that native arch-only,
indep-only and full builds keep working after applying the attached
patch. Please consider using it.

Helmut
diff --minimal -Nru sonic-0.2.0/debian/changelog sonic-0.2.0/debian/changelog
--- sonic-0.2.0/debian/changelog	2016-09-04 18:53:35.000000000 +0200
+++ sonic-0.2.0/debian/changelog	2016-10-23 08:06:50.000000000 +0200
@@ -1,3 +1,10 @@
+sonic (0.2.0-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Do not build java stuff during arch-only build. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 23 Oct 2016 08:06:49 +0200
+
 sonic (0.2.0-4) unstable; urgency=medium
 
   * compat: Bump to 9.
diff --minimal -Nru sonic-0.2.0/debian/control sonic-0.2.0/debian/control
--- sonic-0.2.0/debian/control	2016-05-22 21:05:49.000000000 +0200
+++ sonic-0.2.0/debian/control	2016-10-23 08:08:07.000000000 +0200
@@ -3,7 +3,8 @@
 Priority: extra
 Maintainer: Debian Accessibility Team <debian-accessibility@lists.debian.org>
 Uploaders: Bill Cox <waywardgeek@gmail.com>, Samuel Thibault <sthibault@debian.org>
-Build-Depends: debhelper (>= 9), default-jdk
+Build-Depends: debhelper (>= 9)
+Build-Depends-Indep: default-jdk
 Standards-Version: 3.9.8
 Homepage: https://github.com/waywardgeek/sonic
 Vcs-Browser: http://git.debian.org/?p=pkg-a11y/sonic.git;a=summary
diff --minimal -Nru sonic-0.2.0/debian/rules sonic-0.2.0/debian/rules
--- sonic-0.2.0/debian/rules	2016-09-04 17:19:14.000000000 +0200
+++ sonic-0.2.0/debian/rules	2016-10-23 08:19:28.000000000 +0200
@@ -20,16 +20,17 @@
 sonic.jar: sonic/Sonic.class
 	jar -cf $@ $^
 
-override_dh_auto_build: sonic.jar
-	dh_auto_build
+override_dh_auto_build-indep: sonic.jar
 
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -f Sonic.class
 	rm -f sonic.jar
 
-override_dh_auto_install:
+override_dh_auto_install-arch:
 	mkdir -p $(CURDIR)/debian/tmp
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
+
+override_dh_auto_install-indep:
 	mkdir -p $(CURDIR)/debian/tmp/usr/share/java
 	cp sonic.jar $(CURDIR)/debian/tmp/usr/share/java

--- End Message ---
--- Begin Message ---
Source: sonic
Source-Version: 0.2.0-5

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

Debian distribution maintenance software
pp.
Samuel Thibault <sthibault@debian.org> (supplier of updated sonic 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: Sun, 22 Oct 2017 17:52:54 +0200
Source: sonic
Binary: sonic libsonic0 libsonic-dev libsonic-java
Architecture: source
Version: 0.2.0-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Accessibility Team <pkg-a11y-devel@lists.alioth.debian.org>
Changed-By: Samuel Thibault <sthibault@debian.org>
Description:
 libsonic-dev - Header file for linking to libsonic
 libsonic-java - Simple library to speed up or slow down speech - Java bindings
 libsonic0  - Simple library to speed up or slow down speech
 sonic      - Simple utility to speed up or slow down speech
Closes: 841754
Changes:
 sonic (0.2.0-5) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Do not build java stuff during arch-only build
     (Closes: #841754).
 .
   [ Samuel Thibault ]
   * Use canonical anonscm vcs URL.
   * control: Update maintainer mailing list.
   * control: Migrate priority to optional.
   * control: Bump Standards-Version to 4.1.1.
Checksums-Sha1:
 ddfdb02622ba1ce01a2fcbc2c62686f6e5e04367 2126 sonic_0.2.0-5.dsc
 b4d04cbfe30fd5e8012df549b718a3a316ad4d91 4380 sonic_0.2.0-5.debian.tar.xz
Checksums-Sha256:
 8a1d171967b50494de7273ec6fddd1fa690e9d36184681e5d8361e5f5f810927 2126 sonic_0.2.0-5.dsc
 0ae959f679d8c2c20fa415cf86bcde06063caa834bacc66ce574ddcdf2cbffc8 4380 sonic_0.2.0-5.debian.tar.xz
Files:
 512020f8bf453204bc3a3c647d6c7a2d 2126 sound optional sonic_0.2.0-5.dsc
 454246cc178727b1108f7f2068ecc163 4380 sound optional sonic_0.2.0-5.debian.tar.xz

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

iQIzBAEBCgAdFiEErr90SPq5RTpFUjkOsKUb9YyRecUFAlnsv28ACgkQsKUb9YyR
ecXNYA//dXFqFcsKCbPXU9Hav/lT8VJnDSLKj07mRGtJ83W5WrRwtxLARGZ7TPVf
pvkI7dVCvjG2FvJF4n4wisLftm4JpO9L2dyVp44spM1mNdk1N107CLf9XntVUzcn
270q3i5aFME6pj9Ag9kBSeIHSjuGxjJ2BFFZZJPxtnH1D8E/gBoqADo0Wsd1uu+k
UkhIkpRTtSisJO0DUjbAY0VgMdWaMa0RyiWFaFSFihfEUFxUqpx2QmzClvmJMH7X
bvutYqWcTHkGAB5uzVQ7MJIW6RaVci2oKEEniZaeYNr3vkP+Og07ydjBbTnh/Qef
32m4MPHL19SwIlmJ8rDtvHXMK6408N9Ri3jWMo2xS1aZ5aCAPOECpgmZ/mr9yh8/
UyCQGSZbzLm0Dz6yfgqNo0mbqFU+igCH0ijn3JrlZA/uiUMwU9c2Avse1OssTUpz
p4S0RE+Ze6DrGY8Wn+xOHK9netCxLkVLm/HcwfnR6ZHCVq9ZHnO91AizyHZXFP45
WSI8fDVLu6DqYqTtnVgSxx6yHf2kVS0mGPe+7W5FJBKVNioR4MniJ7V9bY0zMcBC
ye11l+2fjAB7V4Gk8t94/cjoTsVm6DPrjLnzKk319tWumH71jQEtPo7trUJPdgdi
9kSPnIK0GJA/m4UyL55wwaj1shaOhoBsp9Un0WQfhtlKkcTqBPI=
=SWUq
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: