Your message dated Sat, 25 Apr 2020 14:18:51 +0000
with message-id <e1jsldr-0001jy...@fasolo.debian.org>
and subject line Bug#947986: fixed in vtk7 7.1.1+dfsg2-3
has caused the Debian Bug report #947986,
regarding vtk7: Doesn't build on ports without java
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.)


-- 
947986: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947986
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: vtk7
Version: 7.1.1+dfsg2-1
Severity: important
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hurd

Hello,

vtk7 currently doesn't build on ports without java support. The attached
patch fix that: it disables the default-jdk and libvtk7-java build-deps
on non-java ports, they enable the libvtk7-jni/java packages only on java
ports, pass -DVTK_WRAP_JAVA=ON to configure only on java ports, and install
java bits only on java ports.

Samuel

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 
'proposed-updates'), (500, 'oldstable-proposed-updates-debug'), (500, 
'oldstable-proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), 
(500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 
'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- 
Samuel
Now, it we had this sort of thing:
  yield -a     for yield to all traffic
  yield -t     for yield to trucks
  yield -f     for yield to people walking (yield foot)
  yield -d t*  for yield on days starting with t
...you'd have a lot of dead people at intersections, and traffic jams you
wouldn't believe...
(Discussion in comp.os.linux.misc on the intuitiveness of commands.)
--- debian/control.original     2020-01-02 12:46:30.000000000 +0000
+++ debian/control      2020-01-02 12:47:41.000000000 +0000
@@ -7,7 +7,7 @@
 Build-Depends: chrpath,
                cmake (>= 3.2.0),
                debhelper (>= 9),
-               default-jdk,
+               default-jdk [!hppa !hurd-any !kfreebsd-any],
                default-libmysqlclient-dev,
                dh-python,
                libftgl-dev,
@@ -110,7 +110,7 @@
          libtheora-dev,
          libtiff-dev,
          libvtk7.1p (= ${binary:Version}),
-         libvtk7-java (= ${binary:Version}),
+         libvtk7-java (= ${binary:Version}) [!hppa !hurd-any !kfreebsd-any],
          libx11-dev,
          libxft-dev,
          libxml2-dev,
@@ -187,7 +187,7 @@
  that use VTK. Qt files
 
 Package: libvtk7-jni
-Architecture: any
+Architecture: amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x alpha 
ia64 m68k powerpc ppc64 riscv64 sh4 sparc64 x32
 Section: java
 Depends: ${java:Depends},
          ${misc:Depends},
@@ -202,7 +202,7 @@
  This package provides the VTK Java language support.
 
 Package: libvtk7-java
-Architecture: any
+Architecture: amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x alpha 
ia64 m68k powerpc ppc64 riscv64 sh4 sparc64 x32
 Section: java
 Depends: libvtk7-jni (= ${binary:Version}),
          ${java:Depends},
--- debian/rules.original       2020-01-02 12:47:46.000000000 +0000
+++ debian/rules        2020-01-02 12:50:59.000000000 +0000
@@ -14,21 +14,25 @@
   export DEB_CXXFLAGS_MAINT_APPEND=-ffloat-store
 endif 
 
-ifeq ($(DEB_BUILD_ARCH),$(filter $(DEB_BUILD_ARCH),hppa hurd-i386))
-        JAVA_VERSION=1.5
+extra_flags=
+
+nojava_archs=hppa hurd-i386 kfreebsd-i386 kfreebsd-amd64
+ifeq ($(DEB_BUILD_ARCH),$(filter $(DEB_BUILD_ARCH), $(nojava_archs)))
+        JAVA_VERSION=
 else
         JAVA_VERSION=1.8
+        extra_flags += -DVTK_WRAP_JAVA=ON
 endif
 
 noqt_archs="" 
 ifeq ($(DEB_BUILD_ARCH),$(filter $(DEB_BUILD_ARCH), $(noqt_archs)))
-        extra_flags=-DVTK_Group_Qt=OFF \
-                    -DMODULE_vtkParseOGLExt=ON  \
-                    -DModule_vtkWrappingTools=ON \
-                    -DModule_vtkRenderingSceneGraph=ON \
-                    -DModule_vtkIOExportOpenGL2=ON \
-                    -DModule_vtkPython=ON \
-                    -DVTK_BUILD_ALL_MODULES=OFF
+        extra_flags += -DVTK_Group_Qt=OFF \
+                       -DMODULE_vtkParseOGLExt=ON  \
+                       -DModule_vtkWrappingTools=ON \
+                       -DModule_vtkRenderingSceneGraph=ON \
+                       -DModule_vtkIOExportOpenGL2=ON \
+                       -DModule_vtkPython=ON \
+                       -DVTK_BUILD_ALL_MODULES=OFF
 else
         extra_flags += -DVTK_QT_VERSION=5 \
                        -DVTK_Group_Qt=ON \
@@ -53,7 +57,6 @@
         -DVTK_JAVA_SOURCE_VERSION=$(JAVA_VERSION) \
         -DVTK_JAVA_TARGET_VERSION=$(JAVA_VERSION) \
        -DVTK_USE_TK=ON \
-       -DVTK_WRAP_JAVA=ON \
        -DVTK_WRAP_PYTHON=ON \
         -DVTK_PYTHON_VERSION:STRING=3 \
        -DVTK_WRAP_TCL=ON \
@@ -121,11 +124,13 @@
 override_dh_auto_install:
        pwd
        dh_auto_install -X.pyc -X.pyo
+ifneq ($(JAVA_VERSION),)
        # Modify vtkWrapJava.cmake to properly upload JavaDependencies.cmake.in 
from $VTK_DIR
        perl -pi -e 
"s|{dir}/JavaDependencies.cmake.in\"|{VTK_DIR}/JavaDependencies.cmake.in\"|" 
debian/tmp/usr/lib/cmake/vtk-7.1/vtkWrapJava.cmake
        # Correct headers for paraview
        perl -pi.bak -e "s|cxx|include|g" ThirdParty/netcdf/vtk_netcdfcpp.h
        mv $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/vtk.jar 
$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/vtk7.jar
+endif
        mv $(CURDIR)/debian/build/bin/vtkpython 
$(CURDIR)/debian/build/bin/vtk7python
        sed -i -e "s/FATAL_ERROR/STATUS/g" 
$(CURDIR)/debian/tmp/usr/lib/cmake/vtk-7.1/VTKTargets.cmake
        chrpath -d $(CURDIR)/debian/build/bin/vtk7python

--- End Message ---
--- Begin Message ---
Source: vtk7
Source-Version: 7.1.1+dfsg2-3
Done: Gert Wollny <g...@debian.org>

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

Debian distribution maintenance software
pp.
Gert Wollny <g...@debian.org> (supplier of updated vtk7 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: SHA256

Format: 1.8
Date: Sat, 25 Apr 2020 15:53:00 +0200
Source: vtk7
Architecture: source
Version: 7.1.1+dfsg2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Gert Wollny <g...@debian.org>
Closes: 947986 950539
Changes:
 vtk7 (7.1.1+dfsg2-3) unstable; urgency=medium
 .
   * d/control,rules: Support build without java, Closes: #947986
   * d/p/113 fix comparison with literal, Closes:#950539
   * d/p/114: Fix compilation with newer mysql
Checksums-Sha1:
 78e108049954726b62cf751909355f12d16887f5 3911 vtk7_7.1.1+dfsg2-3.dsc
 38ef5b2ae3344725fc4144cfae1083467fff7792 27568 vtk7_7.1.1+dfsg2-3.debian.tar.xz
 6ec9594a9b88491e34f9b36881caa994129119f5 32713 
vtk7_7.1.1+dfsg2-3_source.buildinfo
Checksums-Sha256:
 22a3b55928ed9c125ccfdb0f6d090bc153f4d4e68e7c0cd89dde767fb05203e4 3911 
vtk7_7.1.1+dfsg2-3.dsc
 9c7759d456ffb5e307c5ed42b9fdd0b2bfe0900e1b733bd27e86dba78e0c83d1 27568 
vtk7_7.1.1+dfsg2-3.debian.tar.xz
 bdc2a35d38116cbc6edc230da97c9186c7f255ca5aa94c429ce47f68bbdf5294 32713 
vtk7_7.1.1+dfsg2-3_source.buildinfo
Files:
 90e4046683a018b7fdd96845655526cc 3911 graphics optional vtk7_7.1.1+dfsg2-3.dsc
 c7b5277b44406ef544d41b13b2248eee 27568 graphics optional 
vtk7_7.1.1+dfsg2-3.debian.tar.xz
 5823a2a388b12a7a3792081e74451dbb 32713 graphics optional 
vtk7_7.1.1+dfsg2-3_source.buildinfo

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

iQIzBAEBCAAdFiEELtRZww6NuKjZPKd6l/LU/KCfME4FAl6kQfoACgkQl/LU/KCf
ME4L9w//fCr3RhepAxwzJuCGiny5Yy/SxNMiGN1gmGgj96ip8ygR58YUxzaltY1L
TOxFWvo9kw+6Qp4iK+ONJa7qZdiHaF4PflZsmV+u72VZHNrVTX5jurAUa2IgWT1v
rXcEZRmlVnkEd6QbsNxvqOSNR7K36Gpf/hx5g2g5V6J3z1fcKSU20DWZF+tjFfbf
T7VU5Vo3bRt4YB7QeCbFD/YoDA3OmPlwRpcBekkYmej2Iie+nmuwiOiIIobwXAlT
QMJhjIbgKwZCpkS7CbMOGrYturIDBUx4R6sbqz9UANZC37dwVLVopxgoOm7EHMU3
37Fvrf0hUrGcuralg4r4yXrwVh3C8xFX/+KwQoOFqyUFgZ7yi8RUv/fVpAeXsWdh
skA4Jh1S8JEF//hMra71AUGhAkuq/0hKWL1dmGc+LpIuJk5i/Vsi0Am+utMT0saE
kg4xad6iSWXxbWeBfKygEw7gjKJMrY5WAcRV0mahSJETKx8BKZk5RzSZWa/QZuvF
5an/otMfYo+rAe5Pneaq0NxPQ/GRdztVhmlkOHu52AXHueE/ecPVrGfJwjdbmQUx
caEc5PSQcYjvvRf6vO2xxyu/AUC/8YJB1vLXI1p5Gq8/oFOOqrqskv18fN4xhz4v
FJT0oGZqQIfxeu21HzodI919EodROOo8JA5x5yCN8UlqHcgnfe4=
=/14l
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to