Your message dated Sun, 27 Jan 2019 19:51:14 +0000
with message-id <e1gnqsy-000con...@fasolo.debian.org>
and subject line Bug#752938: fixed in swig 3.0.12-2
has caused the Debian Bug report #752938,
regarding swig2.0: drop the unused default-jdk build dependency
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 ow...@bugs.debian.org
immediately.)


-- 
752938: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752938
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: swig2.0
Version: 2.0.12-1
Severity: wishlist
Tags: patch

Hi,

First of all, thanks for taking care of SWIG in Debian!

I came across it as part of my work on this year's "Bootstrappable
Debian" Google Summer of Code project.  The goal of the project is to
figure out ways to modify packages, possibly using the new build
profiles mechanism, in order to resolve circular build dependencies as
described on the http://bootstrap.debian.net/amd64/ pages.  SWIG came up
because it's present in the "Feedback Arc Set" listed there, and because
the version-specific pages linked to from
http://bootstrap.debian.net/source/swig2.0.html suggested that it might
be advisable to remove the build dependency on default-jdk, since that
would solve several dependency loops in one fell swoop.

To my great surprise, when I tried building the swig2.0 packages with
B-D: default-jdk removed and "with_java" set to something else in the
rules file, it turned out that SWIG builds just fine, and that there are
absolutely no differences, none at all, in the generated binary
packages.  As it happens, the SWIG configure script checks for Java, but
then nothing ever uses the values, nothing builds anything Java-related,
nothing even writes the values to installed files.

So what do you think about the attached trivial patch that, perhaps
temporarily, drops the Java build dependency and disables the Java
checks during the build?  Of course, if in the future SWIG decides to
actually use Java, we may have to revisit this - but for the present it
would help bootstrapping Debian on new architectures by easily removing
a build dependency loop without any adverse effects at all.

Thanks again for your work on SWIG and Debian in general!

G'luck,
Peter

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
Peter Pentchev  r...@ringlet.net r...@freebsd.org p.penc...@storpool.com
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13
From 94ccf803abb3a299d1ca3181b388e65bd2b12f37 Mon Sep 17 00:00:00 2001
From: Peter Pentchev <r...@ringlet.net>
Date: Sat, 28 Jun 2014 01:55:34 +0300
Subject: [PATCH] Remove the unused default-jdk build dependency.

The SWIG build does not ever use the Java compiler that the configure
script checks for.  The checks are there, the various Makefile.in files
set the variables to the values obtained by the configure script, but
nothing ever uses them.

This fixes a circular build dependency as noted in the version-specific
pages linked to from http://bootstrap.debian.net/source/swig2.0.html
---
 debian/control | 1 -
 debian/rules   | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 2e97484..3a96284 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,6 @@ Build-Depends: dpkg-dev (>= 1.16.1~),
                bison,
                debhelper (>= 7.0),
                dh-autoreconf,
-               default-jdk [!hppa !mips !mipsel !alpha !arm !hurd-i386],
                guile-2.0-dev,
                libchicken-dev [!m68k !mips !mipsel],
                libperl-dev,
diff --git a/debian/rules b/debian/rules
index 02f0d21..5f53c97 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,7 +29,7 @@ CONFIGURE_ARGS := \
 
 DEB_TARGET_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
-with_java := yes
+with_java := not used during the build at all
 no_java_archs := hppa hurd-i386 mips mipsel netbsd-i386
 ifneq ($(DEB_TARGET_ARCH),i386)
   ifeq ($(DEB_TARGET_ARCH), $(findstring $(DEB_TARGET_ARCH),$(no_java_archs)))
-- 
2.0.0

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: swig
Source-Version: 3.0.12-2

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

Debian distribution maintenance software
pp.
Torsten Landschoff <tors...@debian.org> (supplier of updated swig 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 27 Jan 2019 19:57:54 +0100
Source: swig
Binary: swig swig-doc swig-examples swig3.0 swig3.0-dbgsym swig3.0-doc 
swig3.0-examples
Architecture: source all amd64
Version: 3.0.12-2
Distribution: unstable
Urgency: low
Maintainer: Torsten Landschoff <tors...@debian.org>
Changed-By: Torsten Landschoff <tors...@debian.org>
Description:
 swig       - Generate scripting interfaces to C/C++ code
 swig-doc   - HTML documentation for SWIG
 swig-examples - Examples for applications of SWIG
 swig3.0    - Generate scripting interfaces to C/C++ code
 swig3.0-doc - HTML documentation for SWIG
 swig3.0-examples - Examples for applications of SWIG
Closes: 752938
Changes:
 swig (3.0.12-2) unstable; urgency=low
 .
   * tracker.d.o: Update Vcs-* control fields to point to the new repository on
     salsa.d.o.
   * Remove build dependencies that are only required for testing
     the build (closes: #752938).
Checksums-Sha1:
 506ae15db8379154c1fcd29daab2c09b451446e7 2187 swig_3.0.12-2.dsc
 e3d5f13cfc63248d1ae3ad69474e53d73ec375f4 26456 swig_3.0.12-2.debian.tar.xz
 edbbc8a415e9de9930154a307e3cdd793c81037e 307252 swig-doc_3.0.12-2_all.deb
 8c7915d9f661a02b715367dbe7b70a408777d5bd 307272 swig-examples_3.0.12-2_all.deb
 2c5f138d1a3ca8ef8877f2bcf7bec32bce487310 2082420 
swig3.0-dbgsym_3.0.12-2_amd64.deb
 a5707d673499670a9049d7bdb1d378d39ec301e0 4330840 swig3.0-doc_3.0.12-2_all.deb
 3d210cc9c2ea0c9ae3f2dcee0a8543619f0b85a6 1183608 
swig3.0-examples_3.0.12-2_all.deb
 a7a46a79ae1602e79d5459600276eb91ab6ebbe6 1396840 swig3.0_3.0.12-2_amd64.deb
 4b534c3d663c4fae687f4610f7034f52c03523f8 9078 swig_3.0.12-2_amd64.buildinfo
 8aea683f64895ff4c1ce916788c9b67ecd4acb0e 309756 swig_3.0.12-2_amd64.deb
Checksums-Sha256:
 35fcfb05d7cb3c8ad5a7b734cefb153d46e08c7d013bee48dce708670382a5cd 2187 
swig_3.0.12-2.dsc
 aa8f6cd24279599da8894151d44082302a8aa463d485aca754609fb52d95d3c7 26456 
swig_3.0.12-2.debian.tar.xz
 75959cb137e239a6c745364724e148f784c9938af03674176dacbc4fbe6db302 307252 
swig-doc_3.0.12-2_all.deb
 65bd1d6032fc6584e668916aba087ae4a3f8601e09bc3cb7c6017ebeddca04ee 307272 
swig-examples_3.0.12-2_all.deb
 4cf131b7e8b1f5011e9c0d574a22c8162a743c940727efd10518e3983411d719 2082420 
swig3.0-dbgsym_3.0.12-2_amd64.deb
 8df9bbaf358f37a3d8b487edf47dd39258b2f7227be09608b596eb95ffd4629a 4330840 
swig3.0-doc_3.0.12-2_all.deb
 480f539ca92f583ac34741de150cc442c6410ee8b7486f83463d76b69f9d25d8 1183608 
swig3.0-examples_3.0.12-2_all.deb
 4f94295bb260c8c8a550d94c15171c6d0700d27abec7ed7afa9a0117fb261fc1 1396840 
swig3.0_3.0.12-2_amd64.deb
 b70f308aa8db80e88008fd4cd4c54ff6cbbf1a5ac6d44df60e897097334873ce 9078 
swig_3.0.12-2_amd64.buildinfo
 52a4ec4579236fc241fe8a8ac9c64da0e799ae881da7469a73c9f9310eaaa0e0 309756 
swig_3.0.12-2_amd64.deb
Files:
 2aa63dd8f2ecfc9fd285c9103a8820e5 2187 interpreters optional swig_3.0.12-2.dsc
 9bb69bf3e5e0c2615708c15d5d94edf2 26456 interpreters optional 
swig_3.0.12-2.debian.tar.xz
 64fd7ce0b482811bcecc21d5345a40d1 307252 doc optional swig-doc_3.0.12-2_all.deb
 6b96eb0acf27b4f86a9bf13c369b8f59 307272 interpreters optional 
swig-examples_3.0.12-2_all.deb
 fcc50cbad9be53b8df709d0b3f42948e 2082420 debug optional 
swig3.0-dbgsym_3.0.12-2_amd64.deb
 cbe2b6672603d3c2c03c6ddbb32e50bb 4330840 doc optional 
swig3.0-doc_3.0.12-2_all.deb
 7f6e57cf74f62d20cbe7f15e44575ef4 1183608 interpreters optional 
swig3.0-examples_3.0.12-2_all.deb
 f2d259436f18706bbde72c32bedd5311 1396840 interpreters optional 
swig3.0_3.0.12-2_amd64.deb
 7fa1682b11a7c5f12b4fa5dd56686e1c 9078 interpreters optional 
swig_3.0.12-2_amd64.buildinfo
 4f6d271299f8d6886f230e4179c262e5 309756 interpreters optional 
swig_3.0.12-2_amd64.deb

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

iQJHBAEBCgAxFiEEe9EGRjlLC8TE41VWHl+Vp4Y7fHcFAlxOB2ITHHRvcnN0ZW5A
ZGViaWFuLm9yZwAKCRAeX5Wnhjt8d1VhD/92wZjDuPsZuPub3Pa2HwwGUA87cTVR
o61FKNZ9h9FWY2JTxO18Jy3kknfUrnqhOw8XSNvtPZr1fLrQTGZl+0VZL313VFCN
ZEIz2bK5u2+HEq/OMYW7tn15kN6ikoKfzVK+q173LhaLj9pRIA1qRQUjk5BcVnnh
sR1u3Yqa2m8RPTIYPziUWKsRu0P29TEKxvS+RHAn1MJO8IdT+NdE2xrPqxMMOI8R
C7uIeZCtdmXUEELdyOfDfjcrzuq4awDMzW/bJj7wSuv606EtuyqSYrlZ8BDFR4Ky
je0a62e/7US6OG2Ulg66gpNduQhzPMixhkGAFsKoL8qvD9eywlMkoAEHLMRUSM3P
FrBBn0/DkyUsOOmYkjuD0O01TDj7UW0DCB70Wn9L7ckFsQq1RNBS7m/8oNi+e75j
fFCpjUV+krvx/LJH8Qk2uQjPjGERLJu5+9orhII+sqv1xavaWHsrWGS7+5nDBiml
h2Eck+mEmaaiU4PO0v2k37+/kTd5baZDQESkr7iI6CtuwpBquYoD8Sgl8oTlDKgD
LMNNx3cXIV+BrzNoP252GiSQUzfK4zeDRn9MJP1XNol2EEjbEO4GGBvepWUQx0fr
LdoeOJ8CQspEsiWwIpjehO78Md7srfV8lkTzklQIqccSNWP2yp0NUO92oDipqJG+
Tgt313rxAMu6oQ==
=5NCg
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to