Bug#494031: [Pkg-scicomp-devel] Bug#494031: Bug#494031: Bug#494031: paraview_3.2.3-2(sparc/unstable): FTBFS on sparc, bus error

2008-08-26 Thread Ondrej Certik
On Mon, Aug 18, 2008 at 7:55 PM, Ondrej Certik [EMAIL PROTECTED] wrote:
 Hi,

 the problem on sparc is this:

 (sid)[EMAIL PROTECTED]:~/paraview-3.2.2/obj-sparc-linux-gnu/bin$ ./H5detect
 /* Generated automatically by H5detect -- do not edit */
[...]

 Bus error
 (sid)[EMAIL PROTECTED]:~/paraview-3.2.2/obj-sparc-linux-gnu/bin$



 So this should not happen. Now we need to debug this program to figure
 out what went wrong.

Ok, here is how to reproduce it on sparc with upstream hdf5-1.8.1:

$ wget ftp://ftp.hdfgroup.org/HDF5/current/src/hdf5-1.8.1.tar.gz
$ tar xzf hdf5-1.8.1.tar.gz
$ cd hdf5-1.8.1
$ ./configure
$ make
[wait a while, then it compiles H5detect and calls it and it fails]
$ cd src
$ ./H5detect
[...]
Bus error

So the problem is just getting hdf5 run on sparc. Looking at the
Debian package hdf5, it does't have any sparc specific patches.

Looking at the sparc buildlog for the hdf5 package, the H5detect works
just fine in it (search for it):

http://buildd.debian.org/fetch.cgi?pkg=hdf5;ver=1.6.6-4;arch=sparc;stamp=1207153381

So we just need to use this (older) hdf5 in Debian from paraview and
it would solve all problems, because we will leave the portability of
hdf5 to the hdf5 guys. :)

Any volunteers to try to compile paraview with Debian hdf5, instead of
the one in Utilities/hdf5?

That would help a lot, since I am very busy with my thesis now.

Thanks,
Ondrej



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#494031: [Pkg-scicomp-devel] Bug#494031: Bug#494031: Bug#494031: paraview_3.2.3-2(sparc/unstable): FTBFS on sparc, bus error

2008-08-26 Thread Christophe Prud'homme
Ondrej,

thank you for your investigations

I will give it a try this week or next week.

Best regards
C.

On Tue, Aug 26, 2008 at 2:31 PM, Ondrej Certik [EMAIL PROTECTED] wrote:
 On Mon, Aug 18, 2008 at 7:55 PM, Ondrej Certik [EMAIL PROTECTED] wrote:
 Hi,

 the problem on sparc is this:

 (sid)[EMAIL PROTECTED]:~/paraview-3.2.2/obj-sparc-linux-gnu/bin$ ./H5detect
 /* Generated automatically by H5detect -- do not edit */
 [...]

 Bus error
 (sid)[EMAIL PROTECTED]:~/paraview-3.2.2/obj-sparc-linux-gnu/bin$



 So this should not happen. Now we need to debug this program to figure
 out what went wrong.

 Ok, here is how to reproduce it on sparc with upstream hdf5-1.8.1:

 $ wget ftp://ftp.hdfgroup.org/HDF5/current/src/hdf5-1.8.1.tar.gz
 $ tar xzf hdf5-1.8.1.tar.gz
 $ cd hdf5-1.8.1
 $ ./configure
 $ make
 [wait a while, then it compiles H5detect and calls it and it fails]
 $ cd src
 $ ./H5detect
 [...]
 Bus error

 So the problem is just getting hdf5 run on sparc. Looking at the
 Debian package hdf5, it does't have any sparc specific patches.

 Looking at the sparc buildlog for the hdf5 package, the H5detect works
 just fine in it (search for it):

 http://buildd.debian.org/fetch.cgi?pkg=hdf5;ver=1.6.6-4;arch=sparc;stamp=1207153381

 So we just need to use this (older) hdf5 in Debian from paraview and
 it would solve all problems, because we will leave the portability of
 hdf5 to the hdf5 guys. :)

 Any volunteers to try to compile paraview with Debian hdf5, instead of
 the one in Utilities/hdf5?

 That would help a lot, since I am very busy with my thesis now.

 Thanks,
 Ondrej




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#494031: [Pkg-scicomp-devel] Bug#494031: Bug#494031: Bug#494031: paraview_3.2.3-2(sparc/unstable): FTBFS on sparc, bus error

2008-08-26 Thread Ondrej Certik
 Ok, here is how to reproduce it on sparc with upstream hdf5-1.8.1:

 $ wget ftp://ftp.hdfgroup.org/HDF5/current/src/hdf5-1.8.1.tar.gz
 $ tar xzf hdf5-1.8.1.tar.gz
 $ cd hdf5-1.8.1
 $ ./configure
 $ make
 [wait a while, then it compiles H5detect and calls it and it fails]
 $ cd src
 $ ./H5detect
 [...]
 Bus error

 So the problem is just getting hdf5 run on sparc. Looking at the
 Debian package hdf5, it does't have any sparc specific patches.

I just confirmed, that taking the source package of hdf5 in Debian and doing:

$ ./configure
$ make
$ cd src
$ ./H5detect

will not break, it works nicely. So we just need to take those sources
and be done with it.

Any volunteers?

Ondrej



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#494031: [Pkg-scicomp-devel] Bug#494031: Bug#494031: paraview_3.2.3-2(sparc/unstable): FTBFS on sparc, bus error

2008-08-18 Thread Ondrej Certik
Hi,

the problem on sparc is this:

(sid)[EMAIL PROTECTED]:~/paraview-3.2.2/obj-sparc-linux-gnu/bin$ ./H5detect
/* Generated automatically by H5detect -- do not edit */



/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Copyright by the Board of Trustees of the University of Illinois. *
 * All rights reserved.  *
 *   *
 * This file is part of HDF5.  The full HDF5 copyright notice, including *
 * terms governing use, modification, and redistribution, is contained in*
 * the files COPYING and Copyright.html.  COPYING can be found at the root   *
 * of the source code distribution tree; Copyright.html can be found at the  *
 * root level of an installed copy of the electronic HDF5 document set and   *
 * is linked from the top-level documents page.  It can also be found at *
 * http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html.  If you do not have *
 * access to either file, you may request a copy from [EMAIL PROTECTED] *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *
 * Created: Aug 18, 2008
 *  Ondrej Certik [EMAIL PROTECTED]
 *
 * Purpose: This machine-generated source code contains
 *  information about the various integer and
 *  floating point numeric formats found on this
 *  architecture.  The parameters below should be
 *  checked carefully and errors reported to the
 *  HDF5 maintainer.
 *  
 *  Each of the numeric formats listed below are
 *  printed from most significant bit to least
 *  significant bit even though the actual bytes
 *  might be stored in a different order in
 *  memory.   The integers above each binary byte
 *  indicate the relative order of the bytes in
 *  memory; little-endian machines have
 *  decreasing numbers while big-endian machines
 *  have increasing numbers.
 *  
 *  The fields of the numbers are printed as
 *  letters with `S' for the mantissa sign bit,
 *  `M' for the mantissa magnitude, and `E' for
 *  the exponent.  The exponent has an associated
 *  bias which can be subtracted to find the
 *  true exponent.  The radix point is assumed
 *  to be before the first `M' bit.   Any bit
 *  of a floating-point value not falling into one
 *  of these categories is printed as a question
 *  mark.  Bits of integer types are printed as
 *  `I' for 2's complement and `U' for magnitude.
 *  
 *  If the most significant bit of the normalized
 *  mantissa (always a `1' except for `0.0') is
 *  not stored then an `implicit=yes' appears
 *  under the field description.  In thie case,
 *  the radix point is still assumed to be
 *  before the first `M' but after the implicit
 *  bit.
 *
 * Modifications:
 *
 *  DO NOT MAKE MODIFICATIONS TO THIS FILE!
 *  It was generated by code in `H5detect.c'.
 *
 *-
 */

Bus error
(sid)[EMAIL PROTECTED]:~/paraview-3.2.2/obj-sparc-linux-gnu/bin$



So this should not happen. Now we need to debug this program to figure
out what went wrong.

Ondrej



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#494031: [Pkg-scicomp-devel] Bug#494031: Bug#494031: paraview_3.2.3-2(sparc/unstable): FTBFS on sparc, bus error

2008-08-07 Thread Christophe Prud'homme
after looking at the build logs, other architectures fail at the same command
H5Detect must be doing something nasty

On Wed, Aug 6, 2008 at 11:05 PM, Ondrej Certik [EMAIL PROTECTED] wrote:
 Hi Martin,

 usualy that is the sign that you used some non-clean code here. bus
 error on sparc is a nice error finder in your code. Best you ask for
 the build-depends to be installed on sperger.debian.org, or if you are
 not a debian developer (so you do not have access to sperger.d.o) ask
 send you gpg key to [EMAIL PROTECTED] or [EMAIL PROTECTED] and ask for an
 account on titan.ayous.org.

 I just sent an email to Marc. Thanks a lot.

 We actually wanted to ask the release team to include this revision in
 Lenny since we fixed a help system with it, but since it FTBFS, well.
 :)

 Anyway, you should put some stuff at:

 http://ftbfs.de/

 It's a cool domain.

 Ondrej



 ___
 Pkg-scicomp-devel mailing list
 [EMAIL PROTECTED]
 http://lists.alioth.debian.org/mailman/listinfo/pkg-scicomp-devel




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#494031: paraview_3.2.3-2(sparc/unstable): FTBFS on sparc, bus error

2008-08-06 Thread Martin Zobel-Helas
Package: paraview
Version: 3.2.3-2
Severity: serious

There was an error while trying to autobuild your package:

 Automatic build of paraview_3.2.3-2 on spontini by sbuild/sparc 99.99
 Build started at 20080806-0244

[...]

 ** Using build dependencies supplied by package:
 Build-Depends: cdbs (= 0.4.51), debhelper (= 5), autotools-dev, quilt (= 
 0.46-4), cmake (= 2.4.8), libqt4-dev (= 4.3.3-2), libopenmpi-dev, ffmpeg, 
 libavformat-dev, libavutil-dev, libavcodec-dev, python-dev, chrpath, 
 libglu1-mesa-dev, libxt-dev, libxext-dev, doxygen, graphviz, gnuplot

[...]

 [ 23%] Building C object Utilities/hdf5/CMakeFiles/H5detect.dir/H5detect.o
 Linking C executable ../../bin/H5detect
 make[3]: Leaving directory `/build/buildd/paraview-3.2.3/obj-sparc-linux-gnu'
 [ 23%] Built target H5detect
 make[3]: Entering directory `/build/buildd/paraview-3.2.3/obj-sparc-linux-gnu'
 [ 23%] Generating H5Tinit.c
 /bin/sh: line 1: 14931 Bus error   ../../bin/H5detect  
 /build/buildd/paraview-3.2.3/obj-sparc-linux-gnu/Utilities/hdf5/H5Tinit.c
 make[3]: *** [Utilities/hdf5/H5Tinit.c] Error 138
 make[3]: Leaving directory `/build/buildd/paraview-3.2.3/obj-sparc-linux-gnu'
 make[2]: *** [Utilities/hdf5/CMakeFiles/vtkhdf5.dir/all] Error 2
 make[2]: Leaving directory `/build/buildd/paraview-3.2.3/obj-sparc-linux-gnu'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory `/build/buildd/paraview-3.2.3/obj-sparc-linux-gnu'
 make: *** [debian/stamp-makefile-build] Error 2
 dpkg-buildpackage: failure: debian/rules build gave error exit status 2

A full build log can be found at:
http://buildd.debian.org/build.php?arch=sparcpkg=paraviewver=3.2.3-2




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#494031: [Pkg-scicomp-devel] Bug#494031: paraview_3.2.3-2(sparc/unstable): FTBFS on sparc, bus error

2008-08-06 Thread Ondrej Certik
On Wed, Aug 6, 2008 at 9:51 PM, Martin Zobel-Helas [EMAIL PROTECTED] wrote:
 Package: paraview
 Version: 3.2.3-2
 Severity: serious

 There was an error while trying to autobuild your package:

 Automatic build of paraview_3.2.3-2 on spontini by sbuild/sparc 99.99
 Build started at 20080806-0244

 [...]

 ** Using build dependencies supplied by package:
 Build-Depends: cdbs (= 0.4.51), debhelper (= 5), autotools-dev, quilt (= 
 0.46-4), cmake (= 2.4.8), libqt4-dev (= 4.3.3-2), libopenmpi-dev, ffmpeg, 
 libavformat-dev, libavutil-dev, libavcodec-dev, python-dev, chrpath, 
 libglu1-mesa-dev, libxt-dev, libxext-dev, doxygen, graphviz, gnuplot

 [...]

 [ 23%] Building C object Utilities/hdf5/CMakeFiles/H5detect.dir/H5detect.o
 Linking C executable ../../bin/H5detect
 make[3]: Leaving directory `/build/buildd/paraview-3.2.3/obj-sparc-linux-gnu'
 [ 23%] Built target H5detect
 make[3]: Entering directory 
 `/build/buildd/paraview-3.2.3/obj-sparc-linux-gnu'
 [ 23%] Generating H5Tinit.c
 /bin/sh: line 1: 14931 Bus error   ../../bin/H5detect  
 /build/buildd/paraview-3.2.3/obj-sparc-linux-gnu/Utilities/hdf5/H5Tinit.c

Hm -- Martin, any ideas what's wrong here? Is this a hardware problem?
How can I get some access to some sparc machine to reproduce it and
see what can be done with this?

Ondrej



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#494031: [Pkg-scicomp-devel] Bug#494031: paraview_3.2.3-2(sparc/unstable): FTBFS on sparc, bus error

2008-08-06 Thread Martin Zobel-Helas
Hi, 

On Wed Aug 06, 2008 at 22:33:54 +0200, Ondrej Certik wrote:
 On Wed, Aug 6, 2008 at 9:51 PM, Martin Zobel-Helas [EMAIL PROTECTED] wrote:
  Package: paraview
  Version: 3.2.3-2
  Severity: serious
 
  There was an error while trying to autobuild your package:
 
  Automatic build of paraview_3.2.3-2 on spontini by sbuild/sparc 99.99
  Build started at 20080806-0244
 
  [...]
 
  ** Using build dependencies supplied by package:
  Build-Depends: cdbs (= 0.4.51), debhelper (= 5), autotools-dev, quilt 
  (= 0.46-4), cmake (= 2.4.8), libqt4-dev (= 4.3.3-2), libopenmpi-dev, 
  ffmpeg, libavformat-dev, libavutil-dev, libavcodec-dev, python-dev, 
  chrpath, libglu1-mesa-dev, libxt-dev, libxext-dev, doxygen, graphviz, 
  gnuplot
 
  [...]
 
  [ 23%] Building C object Utilities/hdf5/CMakeFiles/H5detect.dir/H5detect.o
  Linking C executable ../../bin/H5detect
  make[3]: Leaving directory 
  `/build/buildd/paraview-3.2.3/obj-sparc-linux-gnu'
  [ 23%] Built target H5detect
  make[3]: Entering directory 
  `/build/buildd/paraview-3.2.3/obj-sparc-linux-gnu'
  [ 23%] Generating H5Tinit.c
  /bin/sh: line 1: 14931 Bus error   ../../bin/H5detect  
  /build/buildd/paraview-3.2.3/obj-sparc-linux-gnu/Utilities/hdf5/H5Tinit.c
 
 Hm -- Martin, any ideas what's wrong here? Is this a hardware problem?
 How can I get some access to some sparc machine to reproduce it and
 see what can be done with this?

usualy that is the sign that you used some non-clean code here. bus
error on sparc is a nice error finder in your code. Best you ask for
the build-depends to be installed on sperger.debian.org, or if you are
not a debian developer (so you do not have access to sperger.d.o) ask
send you gpg key to [EMAIL PROTECTED] or [EMAIL PROTECTED] and ask for an
account on titan.ayous.org.

Greetings.
Martin

-- 
 Martin Zobel-Helas [EMAIL PROTECTED]  |  Debian Release Team Member
 Debian  GNU/Linux Developer   |   Debian Listmaster
 Public key http://zobel.ftbfs.de/5d64f870.asc   -   KeyID: 5D64 F870
 GPG Fingerprint:  5DB3 1301 375A A50F 07E7  302F 493E FB8E 5D64 F870




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#494031: [Pkg-scicomp-devel] Bug#494031: paraview_3.2.3-2(sparc/unstable): FTBFS on sparc, bus error

2008-08-06 Thread Ondrej Certik
Hi Martin,

 usualy that is the sign that you used some non-clean code here. bus
 error on sparc is a nice error finder in your code. Best you ask for
 the build-depends to be installed on sperger.debian.org, or if you are
 not a debian developer (so you do not have access to sperger.d.o) ask
 send you gpg key to [EMAIL PROTECTED] or [EMAIL PROTECTED] and ask for an
 account on titan.ayous.org.

I just sent an email to Marc. Thanks a lot.

We actually wanted to ask the release team to include this revision in
Lenny since we fixed a help system with it, but since it FTBFS, well.
:)

Anyway, you should put some stuff at:

http://ftbfs.de/

It's a cool domain.

Ondrej



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]