Your message dated Mon, 31 Aug 2009 16:39:43 +0000
with message-id <e1mi9ux-00088d...@ries.debian.org>
and subject line Bug#541891: fixed in vtk 5.2.1-9
has caused the Debian Bug report #541891,
regarding vtk: FTBFS on armel/kfreebsd-amd64/kfreebsd-i386 (when debian arch != 
debian cpu)
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.)


-- 
541891: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541891
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: vtk
Version: 5.2.1-7
Severity: serious
Tags: patch
Justification: no longer builds from source

vtk fails to determine the path of libjawt.so when the debian 
architecture is different from the debian CPU. This is the case for
example on the following architectures:

          arch      |  cpu
    ----------------+-------
    armel           | arm
    kfreebsd-amd64  | amd64
    kfreebsd-i386   | i386

The path to libjawt.so then corresponds to:
    /usr/lib/jvm/default-java/jre/lib/$(CPU)/libjawt.so

The patch below fixes the problem.



diff -u vtk-5.2.1/debian/rules vtk-5.2.1/debian/rules
--- vtk-5.2.1/debian/rules
+++ vtk-5.2.1/debian/rules
@@ -7,7 +7,6 @@
 
 PWD=$(shell pwd)
 DVER=$(shell cat /etc/debian_version)
-DARCH=$(shell dpkg --print-installation-architecture)
 GPPVER=$(shell dpkg --status g++ | grep Version | cut -d ' ' -f 2)
 export GCC=gcc
 export GPP=g++
@@ -15,11 +14,14 @@
 #export CXX=g++-4.3
 export SHELL=/bin/bash
 
+DEB_HOST_ARCH ?=$(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_ARCH_CPU ?=$(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
+
 # The next line will cause Dart to be used if it is installed...
 DARTP=$(shell if [ -d /usr/share/Dart ]; then echo USE_DART; else echo 
DONT_USE_DART; fi )
 
 # Hack for parisc64 to close bug #133696
-ifeq ($(DARCH),parisc64)
+ifeq ($(DEB_HOST_ARCH),parisc64)
 export CXXFLAGS=-g -ffunction-sections -Wall
 else
 export CXXFLAGS=-g -Wall
@@ -28,15 +30,13 @@
 export TCLLIBPATH=$(CURDIR)/Build/Wrapping/Tcl/
 export CFLAGS=-g -Wall
 
-DEB_BUILD_ARCH ?=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
-
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -O0
        CXXFLAGS += -O0
 else
        #optimisation seems to cause a segfault on 
        #arm old abi so disable it
-       ifeq ($(DEB_BUILD_ARCH),arm)
+       ifeq ($(DEB_HOST_ARCH),arm)
                CFLAGS += -O0
                CXXFLAGS += -O0
        else 
@@ -67,7 +67,7 @@
        mkdir -p Build
        cp debian/CMakeCache.txt.debian Build/CMakeCache.txt
        # echo CMAKE_X_CFLAGS:STRING=-I/usr/X11R6/include >> 
Build/CMakeCache.txt
-       echo BUILDNAME:STRING=Debian-vtk_5.2.1-6_$(DARCH).deb >> 
Build/CMakeCache.txt
+       echo BUILDNAME:STRING=Debian-vtk_5.2.1-6_$(DEB_HOST_ARCH).deb >> 
Build/CMakeCache.txt
        echo VTK_JAVA_JAR:FILEPATH=/usr/share/java/vtk-5.2.1.jar >> 
Build/CMakeCache.txt
        echo VTK_WRAP_HINTS:FILEPATH=$(CURDIR)/Wrapping/hints >> 
Build/CMakeCache.txt
        echo VTK_WRAP_PYTHON_EXE:FILEPATH=$(CURDIR)/Build/bin/vtkWrapPython >> 
Build/CMakeCache.txt
@@ -88,7 +88,7 @@
        echo VTK_INSTALL_LIB_DIR:PATH=/lib/vtk-5.2 >> Build/CMakeCache.txt
        echo VTK_INSTALL_PACKAGE_DIR:PATH=/lib/vtk-5.2 >> Build/CMakeCache.txt
        (if [[ $(DARTP) == "USE_DART" ]]; then echo 
DART_ROOT:PATH=/usr/share/Dart >> Build/CMakeCache.txt; fi)
-       echo 
JAVA_AWT_LIBRARY:FILEPATH=/usr/lib/jvm/default-java/jre/lib/$(DARCH)/libjawt.so 
>> Build/CMakeCache.txt
+       echo 
JAVA_AWT_LIBRARY:FILEPATH=/usr/lib/jvm/default-java/jre/lib/$(DEB_HOST_ARCH_CPU)/libjawt.so
 >> Build/CMakeCache.txt
        echo VTK_PYTHON_SETUP_ARGS:STRING=--install-layout=deb 
--root=$(CURDIR)/debian/tmp/ >> Build/CMakeCache.txt
 
        ( cd Build ; cmake .. )


-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: armel (armv5tejl)

Kernel: Linux 2.6.26-2-versatile
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



--- End Message ---
--- Begin Message ---
Source: vtk
Source-Version: 5.2.1-9

We believe that the bug you reported is fixed in the latest version of
vtk, which is due to be installed in the Debian FTP archive:

libvtk-java_5.2.1-9_i386.deb
  to pool/main/v/vtk/libvtk-java_5.2.1-9_i386.deb
libvtk5-dev_5.2.1-9_i386.deb
  to pool/main/v/vtk/libvtk5-dev_5.2.1-9_i386.deb
libvtk5-qt3-dev_5.2.1-9_i386.deb
  to pool/main/v/vtk/libvtk5-qt3-dev_5.2.1-9_i386.deb
libvtk5-qt4-dev_5.2.1-9_i386.deb
  to pool/main/v/vtk/libvtk5-qt4-dev_5.2.1-9_i386.deb
libvtk5.2-qt3_5.2.1-9_i386.deb
  to pool/main/v/vtk/libvtk5.2-qt3_5.2.1-9_i386.deb
libvtk5.2-qt4_5.2.1-9_i386.deb
  to pool/main/v/vtk/libvtk5.2-qt4_5.2.1-9_i386.deb
libvtk5.2_5.2.1-9_i386.deb
  to pool/main/v/vtk/libvtk5.2_5.2.1-9_i386.deb
python-vtk_5.2.1-9_i386.deb
  to pool/main/v/vtk/python-vtk_5.2.1-9_i386.deb
vtk-doc_5.2.1-9_all.deb
  to pool/main/v/vtk/vtk-doc_5.2.1-9_all.deb
vtk-examples_5.2.1-9_all.deb
  to pool/main/v/vtk/vtk-examples_5.2.1-9_all.deb
vtk-tcl_5.2.1-9_i386.deb
  to pool/main/v/vtk/vtk-tcl_5.2.1-9_i386.deb
vtk_5.2.1-9.diff.gz
  to pool/main/v/vtk/vtk_5.2.1-9.diff.gz
vtk_5.2.1-9.dsc
  to pool/main/v/vtk/vtk_5.2.1-9.dsc



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 541...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dominique Belhachemi <domi...@cs.tu-berlin.de> (supplier of updated vtk 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...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 30 Aug 2009 22:51:02 -0400
Source: vtk
Binary: vtk-doc vtk-examples libvtk5.2 libvtk-java libvtk5-dev libvtk5.2-qt3 
libvtk5-qt3-dev libvtk5.2-qt4 libvtk5-qt4-dev vtk-tcl python-vtk
Architecture: source i386 all
Version: 5.2.1-9
Distribution: unstable
Urgency: low
Maintainer: A. Maitland Bottoms <bott...@debian.org>
Changed-By: Dominique Belhachemi <domi...@cs.tu-berlin.de>
Description: 
 libvtk-java - Visualization Toolkit - A high level 3D visualization library
 libvtk5-dev - VTK header files for building C++ code
 libvtk5-qt3-dev - Visualization Toolkit - A high level 3D visualization library
 libvtk5-qt4-dev - Visualization Toolkit - A high level 3D visualization library
 libvtk5.2  - Visualization Toolkit - A high level 3D visualization library
 libvtk5.2-qt3 - Visualization Toolkit - A high level 3D visualization library
 libvtk5.2-qt4 - Visualization Toolkit - A high level 3D visualization library
 python-vtk - Python bindings for VTK
 vtk-doc    - VTK class reference documentation
 vtk-examples - C++, Tcl and Python example programs/scripts for VTK
 vtk-tcl    - Tcl bindings for VTK
Closes: 540520 541891 543114
Changes: 
 vtk (5.2.1-9) unstable; urgency=low
 .
   [ A. Maitland Bottoms ]
   * compile with support for osmesa
   * Be more flexible about egg-info naming. (Thanks Cyril Brulebois) Closes: 
bug#540520
   * Fix FTBFS on armel/kfreebsd-amd64/kfreebsd-i386 (when debian arch != 
debian cpu).
     Report and patch by Aurélien Jarno.  Closes: bug#541891.
 .
   [ Denis Barbier ]
   * Fix FTBFS with parallel builds.  Closes: bug#543114.
     There seems to be a race when compiling Java bindings with parallel builds,
     modify CMake/vtkWrapJava.cmake to call javac only once for each kit.
Checksums-Sha1: 
 c479530512e3aa1852494aacc5540311d536872a 1804 vtk_5.2.1-9.dsc
 85989b8257b30ac30e0dba798667dfc70dec31fa 29145 vtk_5.2.1-9.diff.gz
 978665e2629ea16772cbacd4b9a6a5fa52ce9d20 11481818 libvtk5.2_5.2.1-9_i386.deb
 9c4d68244f253b25910ac22d45e0517b36728f50 4275566 libvtk-java_5.2.1-9_i386.deb
 034661647445c74e2c530d276be8ea880f23c1d3 2031306 libvtk5-dev_5.2.1-9_i386.deb
 fda6f4168d83e71cb7ad632e0b30dc7bf97d7d08 63170 libvtk5.2-qt3_5.2.1-9_i386.deb
 01c298a11d442b6832edb5da2917264c1947ddf2 15668 libvtk5-qt3-dev_5.2.1-9_i386.deb
 71e6e744b37ffc1e322a844f32bdc881ce94fac5 107422 libvtk5.2-qt4_5.2.1-9_i386.deb
 7245150ded14bce03ccafe3646e4e0c9fce8a766 15658 libvtk5-qt4-dev_5.2.1-9_i386.deb
 e8de5a930c14950888c3f9cc2ebccde56f39efdb 3944334 vtk-tcl_5.2.1-9_i386.deb
 4d28b9a42c3662ce474ab1ebf545c1997a21e908 4026982 python-vtk_5.2.1-9_i386.deb
 cb8a5957ef027e1aac39fb237fee4c16e43ea427 534774194 vtk-doc_5.2.1-9_all.deb
 fcb110c7a7f809fad7ae2f1d52c6c12ca3a6c6df 464992 vtk-examples_5.2.1-9_all.deb
Checksums-Sha256: 
 844367d0861bca985aed22de9343117e29a8e340b81011b08eee89a4474c243a 1804 
vtk_5.2.1-9.dsc
 37326011dc5eb6b57dfd017660abb0d44179bd801ffedfa6f7c4d2563bad27b6 29145 
vtk_5.2.1-9.diff.gz
 de43c3e633490b8a5ffa0a0b3135534f57e8efaeb918bfc8abebe96f29eb8673 11481818 
libvtk5.2_5.2.1-9_i386.deb
 f7f51eb693b29cea7f50e732945d9d9c2ad88e14e7cc1d4f99d0a59373219224 4275566 
libvtk-java_5.2.1-9_i386.deb
 df22ecafcb789fcc47c7fe1c58c3075d96d00a3ff7f7a7352c8191aab606bf5c 2031306 
libvtk5-dev_5.2.1-9_i386.deb
 daf017fbc712e66c46dcd0250b4e709afa500716d5b8e76b5444ccdca8ab3e39 63170 
libvtk5.2-qt3_5.2.1-9_i386.deb
 0ce4025080f17bb6c65b9f8f8c369eaab0c521ac89e28b5783b7af7874b67fb6 15668 
libvtk5-qt3-dev_5.2.1-9_i386.deb
 e57b7076cb0533c1e8a086669576da6137b39d66f3730c52f69086999c061d31 107422 
libvtk5.2-qt4_5.2.1-9_i386.deb
 9524d9bb9d0d879a7b8de16e247e38c69c9d7398de9e3902385913dd3ebf6271 15658 
libvtk5-qt4-dev_5.2.1-9_i386.deb
 e143c7978d0ba33ceae1b8c88b52e3c31435fdb51e237eb20711b852e5bf606f 3944334 
vtk-tcl_5.2.1-9_i386.deb
 8ac53abc6c113d94d1edb5e5707b44c275e9c84fcaa0ad7875319f39ca446711 4026982 
python-vtk_5.2.1-9_i386.deb
 343ef89712017caa9c1fb9460ac1faa57684035a596e841755b9675abf1a624e 534774194 
vtk-doc_5.2.1-9_all.deb
 7bce02d33dae4aa23b6d4fe4ef20c73f9525a973ae1d8ec1fbf163f6f90f71b0 464992 
vtk-examples_5.2.1-9_all.deb
Files: 
 306feb11112125cff75253afd5043903 1804 graphics optional vtk_5.2.1-9.dsc
 941a299cb48c8ab857c35a8301ada890 29145 graphics optional vtk_5.2.1-9.diff.gz
 f5b8e8580f52484e865769e41864658b 11481818 libs optional 
libvtk5.2_5.2.1-9_i386.deb
 eb72dfe86b17313a61551d8c76938092 4275566 interpreters optional 
libvtk-java_5.2.1-9_i386.deb
 6a07e62c2741c8cb9f76f1cbc0ac14c2 2031306 libdevel optional 
libvtk5-dev_5.2.1-9_i386.deb
 f168bc41d545f10a55a142dbe775c366 63170 libs optional 
libvtk5.2-qt3_5.2.1-9_i386.deb
 4915884daeec2a85454c0845369a84a4 15668 libdevel optional 
libvtk5-qt3-dev_5.2.1-9_i386.deb
 338cc47b9a28a1d4e20b2204d10f5ba3 107422 libs optional 
libvtk5.2-qt4_5.2.1-9_i386.deb
 77d85080c06a2859b630f00ab61e103d 15658 libdevel optional 
libvtk5-qt4-dev_5.2.1-9_i386.deb
 2bd3c894ee19d2ab84b1aa837cd948db 3944334 interpreters optional 
vtk-tcl_5.2.1-9_i386.deb
 f2fc4c2776174330a6fcb9bdabaf2f1d 4026982 python optional 
python-vtk_5.2.1-9_i386.deb
 0621d93ad357782b6c640e1f65e4982e 534774194 doc optional vtk-doc_5.2.1-9_all.deb
 e7131f3a30b1de65f26ad4534b7bdfe3 464992 graphics optional 
vtk-examples_5.2.1-9_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqb6D4ACgkQGACh+LNRqQCMQACffawJ+r6q2AXdMaJQn1ZrFOPR
QIcAn3e9QW3qf1Xh2IMkj5NY60TcqYlp
=OsvE
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to