FTBFS because of a compilation error in line 194 of pfspanoramic.cpp

Bug #429629 reported by Fabrice Coutadeur
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pfstools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: pfstools

Hi,

pfstools FTBFS because of a compilation error in line 194 of pfspanoramic.cpp:
i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I./../pfs -O3 -Wall -MT pfspanoramic.o -MD -MP -MF .deps/pfspanoramic.Tpo -c -o pfspanoramic.o pfspanoramic.cpp
pfspanoramic.cpp: In member function 'Vector3D Vector3D::rotateX(double)':
pfspanoramic.cpp:108: warning: no return statement in function returning non-void
pfspanoramic.cpp: In member function 'Vector3D Vector3D::rotateY(double)':
pfspanoramic.cpp:122: warning: no return statement in function returning non-void
pfspanoramic.cpp: In member function 'Vector3D Vector3D::rotateZ(double)':
pfspanoramic.cpp:136: warning: no return statement in function returning non-void
pfspanoramic.cpp: In static member function 'static Projection* ProjectionFactory::getProjection(const char*)':
pfspanoramic.cpp:198: error: invalid conversion from 'const char*' to 'char*'
pfspanoramic.cpp:198: warning: suggest parentheses around assignment used as truth value
pfspanoramic.cpp: In member function 'virtual Vector3D* MirrorBallProjection::uvToDirection(double, double)':
pfspanoramic.cpp:279: warning: unused variable 't'
pfspanoramic.cpp: In member function 'virtual Vector3D* AngularProjection::uvToDirection(double, double)':
pfspanoramic.cpp:397: warning: unused variable 't'
pfspanoramic.cpp: In function 'void panoramic(int, char**)':
pfspanoramic.cpp:794: warning: unused variable 'dX'
pfspanoramic.cpp:794: warning: unused variable 'dY'
pfspanoramic.cpp:794: warning: unused variable 'dZ'
make[4]: *** [pfspanoramic.o] Error 1
make[4]: Leaving directory `/build/buildd/pfstools-1.8.1/src/filter'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/buildd/pfstools-1.8.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/pfstools-1.8.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/pfstools-1.8.1'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

This can be solved by applying the fix proposed by upstream at http://sourceforge.net/tracker/index.php?func=detail&aid=2848391&group_id=129921&atid=716245

Fabrice

Related branches

Changed in pfstools (Ubuntu):
assignee: nobody → fabrice_sp (fabricesp)
status: New → In Progress
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

As the debian maintainer closed the bug report stating that it's not a bug (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546034), here is the debdiff with the patch to be able to compile pfstools

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :
Changed in pfstools (Ubuntu):
assignee: fabrice_sp (fabricesp) → nobody
status: In Progress → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pfstools - 1.8.1-1ubuntu1

---------------
pfstools (1.8.1-1ubuntu1) karmic; urgency=low

  * debian/patches/gcc-4.4.dpatch: fix line 194 of src/filter/pfspanoramic.cpp
    to avoid a compilation error (LP: #429629)
  * debian/patches/00list: added gcc-4.4.dpatch

 -- Fabrice Coutadeur <email address hidden> Thu, 10 Sep 2009 20:13:03 +0000

Changed in pfstools (Ubuntu):
status: Confirmed → 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.