paraview version 3.8.1-2ubuntu3 failed to build on amd64 with GCC-4.6/oneiric

Bug #770870 reported by Matthias Klose
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
paraview (Debian)
Fix Released
Unknown
paraview (Ubuntu)
Fix Released
High
Fabrice Coutadeur
Oneiric
Fix Released
High
Fabrice Coutadeur

Bug Description

paraview version 3.8.1-2ubuntu3 failed to build on amd64 with GCC-4.6/oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2464424

Details about the rebuild:
https://lists.ubuntu.com/archives/ubuntu-devel/2011-April/033042.html

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2464424/+files/buildlog_ubuntu-natty-amd64.paraview_3.8.1-2ubuntu3_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 2274 lines into the build log:

/build/buildd/paraview-3.8.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:848:8: error: 'p' was not declared in this scope
/build/buildd/paraview-3.8.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:854:11: error: 'p' was not declared in this scope
/build/buildd/paraview-3.8.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:858:5: error: 'j' was not declared in this scope
/build/buildd/paraview-3.8.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:859:11: error: 'p' was not declared in this scope
make[3]: *** [VTK/Utilities/vtkmetaio/CMakeFiles/vtkmetaio.dir/metaUtils.cxx.o] Error 1
make[3]: Leaving directory `/build/buildd/paraview-3.8.1/obj-x86_64-linux-gnu'
make[2]: *** [VTK/Utilities/vtkmetaio/CMakeFiles/vtkmetaio.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/build/buildd/paraview-3.8.1/obj-x86_64-linux-gnu'
[ 2%] Built target vtkproj4
make[2]: Leaving directory `/build/buildd/paraview-3.8.1/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/paraview-3.8.1/obj-x86_64-linux-gnu'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110425-1032
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/paraview-3.8.1

Related branches

Matthias Klose (doko)
Changed in paraview (Ubuntu):
importance: Undecided → High
Changed in paraview (Ubuntu):
milestone: none → oneiric-alpha-3
Revision history for this message
Anton Gladky (gladky-anton) wrote :

Mathieu Malaterre created a patch, which should fix the problem.

tags: added: patch
Changed in paraview (Ubuntu Oneiric):
milestone: oneiric-alpha-3 → none
status: New → Confirmed
tags: added: universe
Revision history for this message
Julian Taylor (jtaylor) wrote :

here is also a offsetof problem later in the build not covered by above patch.
The patch in the debian bug solves this.

But there is also another failure probably related to the libav transition:
/tmp/buildd/paraview-3.8.1/VTK/IO/vtkFFMPEGWriter.cxx: In member function 'int vtkFFMPEGWriterInternal::Write(vtkImageData*)':
/tmp/buildd/paraview-3.8.1/VTK/IO/vtkFFMPEGWriter.cxx:332:20: error: 'PKT_FLAG_KEY' was not declared in this scope

Revision history for this message
Anton Gladky (gladky-anton) wrote : Re: [Bug 770870] Re: paraview version 3.8.1-2ubuntu3 failed to build on amd64 with GCC-4.6/oneiric
Download full text (3.3 KiB)

Hi, Julian,

the paraview 3.10 is almost ready for uploading to Debian Unstable. If
you want, you can try to build it for Ubuntu.
But it is _not_ in Debian yet.

http://anonscm.debian.org/gitweb/?p=debian-science/packages/paraview.git

Anton

On Mon, Jul 25, 2011 at 6:08 PM, Julian Taylor
<email address hidden> wrote:
> here is also a offsetof problem later in the build not covered by above patch.
> The patch in the debian bug solves this.
>
> But there is also another failure probably related to the libav transition:
> /tmp/buildd/paraview-3.8.1/VTK/IO/vtkFFMPEGWriter.cxx: In member function 'int vtkFFMPEGWriterInternal::Write(vtkImageData*)':
> /tmp/buildd/paraview-3.8.1/VTK/IO/vtkFFMPEGWriter.cxx:332:20: error: 'PKT_FLAG_KEY' was not declared in this scope
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/770870
>
> Title:
>  paraview version 3.8.1-2ubuntu3 failed to build on amd64 with
>  GCC-4.6/oneiric
>
> Status in “paraview” package in Ubuntu:
>  Confirmed
> Status in “paraview” source package in Oneiric:
>  Confirmed
> Status in “paraview” package in Debian:
>  Unknown
>
> Bug description:
>  paraview version 3.8.1-2ubuntu3 failed to build on amd64 with GCC-4.6/oneiric
>  Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2464424
>
>  Details about the rebuild:
>  https://lists.ubuntu.com/archives/ubuntu-devel/2011-April/033042.html
>
>  Direct link to the build log: https://launchpad.net/ubuntu/+archive
>  /test-rebuild-20110413/+buildjob/2464424/+files/buildlog_ubuntu-natty-
>  amd64.paraview_3.8.1-2ubuntu3_FAILEDTOBUILD.txt.gz
>
>  This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
>  Excerpt 2274 lines into the build log:
>
>  /build/buildd/paraview-3.8.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:848:8: error: 'p' was not declared in this scope
>  /build/buildd/paraview-3.8.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:854:11: error: 'p' was not declared in this scope
>  /build/buildd/paraview-3.8.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:858:5: error: 'j' was not declared in this scope
>  /build/buildd/paraview-3.8.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:859:11: error: 'p' was not declared in this scope
>  make[3]: *** [VTK/Utilities/vtkmetaio/CMakeFiles/vtkmetaio.dir/metaUtils.cxx.o] Error 1
>  make[3]: Leaving directory `/build/buildd/paraview-3.8.1/obj-x86_64-linux-gnu'
>  make[2]: *** [VTK/Utilities/vtkmetaio/CMakeFiles/vtkmetaio.dir/all] Error 2
>  make[2]: *** Waiting for unfinished jobs....
>  make[3]: Leaving directory `/build/buildd/paraview-3.8.1/obj-x86_64-linux-gnu'
>  [  2%] Built target vtkproj4
>  make[2]: Leaving directory `/build/buildd/paraview-3.8.1/obj-x86_64-linux-gnu'
>  make[1]: *** [all] Error 2
>  make[1]: Leaving directory `/build/buildd/paraview-3.8.1/obj-x86_64-linux-gnu'
>  make: *** [debian/stamp-makefile-build] Error 2
>  dpkg-buildpackage: error: debian/rules build gave error exit status 2
>  ******************************************************************************
>  Build finished at 20110425-1032
>  FAILED [dpkg-buildpackage died]
>...

Read more...

Revision history for this message
Matthias Klose (doko) wrote :

3.10 currently in NEW

Changed in paraview (Debian):
status: Unknown → Fix Released
Changed in paraview (Ubuntu Oneiric):
assignee: nobody → Fabrice Coutadeur (fabricesp)
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package paraview - 3.10.1-3ubuntu1

---------------
paraview (3.10.1-3ubuntu1) oneiric; urgency=low

  * fix_ftbfs_libav-0.7.patch: fix FTBFS with libav 0.7 because of use of
    deprecated functions and defines like CODEC_TYPE_*. (LP: #770870, #834083)

paraview (3.10.1-3) unstable; urgency=low

  * [e5cb2e3] Put pvpython, vtkWrapPython, vtkWrapPythonInit into
              paraview-python binary. (Closes: #637397)
  * [0dd738f] Remove mpi-default-dev from BD for hurd-i386. Hopefully
              fixes FTBFS on this platform.
  * [2293398] Add gl2ps library and headers to BD. VTK_USE_SYSTEM_GL2PS
              is on (should use system`s gl2ps-library). (Closes: #638797)
  * [8696bbf] Make paraview-python arch-dependend because of binaries.
  * [9e50716] Add ${shlibs:Depends} to depends of paraview-python.

paraview (3.10.1-2) unstable; urgency=low

  * [27f6ded] Split paraview into paraview and paraview-python.
              (Closes: #637397)
  * [ea0f0df] Add paraview-python in "Recommends" section of paraview.
  * [19d9bc5] Fix FTBFS on KFreeBSD, changing -std=c99 parameter on -std=gnu99.
  * [25e3fe9] Fix BD-problem on hurd-i386, deleting libhdf5-mpi-dev from BD.
  * [f9c008d] Make paraview-python and paraview-doc architecture independent.

paraview (3.10.1-1) unstable; urgency=low

  [ Mathieu Malaterre ]
  * [a111d9b] Fix compilation on gcc 4.6. (Closes: #625055)

  [ Anton Gladky ]
  * [e88f820] Imported Upstream version 3.10.1. (Closes: #619270)
  * [4e6920c] Switch to 3.0 (quilt).
  * [f94868b] Update build-depends.
  * [b407944] Switch to Standards-Version: 3.9.2 (no changes).
  * [03177f7] Switch to dh 7.
  * [63c1c38] Change VCS-fields to git.
  * [82dd5e9] Enable Ogg/Theora. (Closes: #616549)
  * [0cc8ce1] Divide binary-library and development files. (Closes: #528615)
  * [42b2c6b] Fix lintian warning in control-file.
  * [6d564e4] Add paraview-doc binary. Rename libparaview-dev to
      paraview-dev. (Closes: #587504)
  * [7516e41] Add .links file to prevent images file being in /usr/lib.
  * [88a5551] Fix warnings in manpages.
  * [729c6cf] Add myself to uploaders.
  * [41db40f] Add lintian-overrides to block unresolvable errors.
  * [a0d65b4] Enable python-support. (Closes: #576837)
  * [5c7c089] Install .desktop and .pixmap files with .install.
      (Closes: #595683)
  * [5c7c089] Switch hardcoded install of python-files to more
      reliable dh_python2. (Closes: #585267)

paraview (3.8.1-3) unstable; urgency=low

  * Fix compilation with FFMPEG (Closes: #614471)
  * Package contains final 3.8.1 source (Closes: #611840)
 -- Fabrice Coutadeur <email address hidden> Mon, 29 Aug 2011 05:55:43 +0200

Changed in paraview (Ubuntu Oneiric):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.