earth3d version 1.0.5-1.1ubuntu2 failed to build on amd64 with GCC-4.6/oneiric

Bug #770814 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
earth3d (Ubuntu)
Fix Released
High
Aron Xu
Oneiric
Fix Released
High
Aron Xu

Bug Description

earth3d version 1.0.5-1.1ubuntu2 failed to build on amd64 with GCC-4.6/oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2449059

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/2449059/+files/buildlog_ubuntu-natty-amd64.earth3d_1.0.5-1.1ubuntu2_FAILEDTOBUILD.txt.gz

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

draw/treeDrawSphere.cpp:547:7: warning: unused variable 'color' [-Wunused-variable]
draw/treeDrawSphere.cpp: At global scope:
draw/treeDrawSphere.cpp:545:6: warning: unused parameter 'test' [-Wunused-parameter]
draw/treeDrawSphere.cpp: In member function 'void TreeDrawSphere::checkNode(MapTileTreeNode*, std::vector<MapTileTreeNode*>*, Point3D*, Point3D*, Rect2D, GLfloat*, GLfloat*, int, float, Point3D)':
draw/treeDrawSphere.cpp:855:78: error: taking address of temporary [-fpermissive]
draw/treeDrawSphere.cpp: At global scope:
draw/treeDrawSphere.cpp:1178:6: warning: unused parameter 'projmodelmatrix' [-Wunused-parameter]
draw/treeDrawSphere.cpp:1178:6: warning: unused parameter 'modelviewmatrix' [-Wunused-parameter]
draw/treeDrawSphere.cpp:1178:6: warning: unused parameter 'depth' [-Wunused-parameter]
draw/treeDrawSphere.cpp: In member function 'virtual char* TreeDrawSphere::getType()':
draw/treeDrawSphere.cpp:1235:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
make[1]: *** [.obj/treeDrawSphere.o] Error 1
make[1]: Leaving directory `/build/buildd/earth3d-1.0.5'
make: *** [build-arch-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110422-0904
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/earth3d-1.0.5

Tags: ftbfs oneiric
Matthias Klose (doko)
Changed in earth3d (Ubuntu):
importance: Undecided → High
Changed in earth3d (Ubuntu):
milestone: none → oneiric-alpha-3
Aron Xu (happyaron)
Changed in earth3d (Ubuntu Oneiric):
assignee: nobody → Aron Xu (happyaron)
Revision history for this message
Aron Xu (happyaron) wrote :

This bug has been fixed in Debian version 1.0.5-2, which has incorporated all Ubuntu deltas, so sync that version will close this problem in Ubuntu.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package earth3d - 1.0.5-3

---------------
earth3d (1.0.5-3) unstable; urgency=low

  * Team upload.
  * debian/rules:
    - Ensure quilt patches are correclty applied before build starts.
  * debian/control:
    - Add Vcs-* fields.

earth3d (1.0.5-2) unstable; urgency=low

  * Team upload by Debian GIS Project.
  * Use 3.0 (quilt) format, dh compact 7, covert patches to quilt.
  * debian/copyright:
    - Reference to GPL-2 instead of obsolete GPL.
    - Add valid copyright info.
  * debian/earth3d.desktop:
    - Fix typo (Closes: #550034).
    - Remove Encoding key.
  * debian/earth3d.menu:
    - Move from Apps/Science to Applications/Science/Geoscience.
  * debian/rules:
    - Don't ignore clean errors.
    - Use dh_prep instead of dh_clean -k.
  * debian/control: Add ${misc:Depends}.
  * debian/patches/10_fix_ftbfs.patch:
    - Fix gcc 4.6 FTBFS (LP: #770814), collect old patches.
  * debian/patches/20_png_library.patch:
    - Fix FTBFS with binutils-gold by linking to libpng,
      Thanks Ilya Barygin (Closes: #554314).
  * Acknowledge NMU (Closes: #417173).
 -- Aron Xu <email address hidden> Tue, 28 Jun 2011 09:08:00 +0000

Changed in earth3d (Ubuntu Oneiric):
status: New → 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.