amule FTBFS with gcc 4.5

Bug #685584 reported by shankao on 2010-12-05
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AMule
Fix Released
Unknown
amule (Ubuntu)
Low
Unassigned

Bug Description

Binary package hint: amule

This is the error I get:

g++ -DHAVE_CONFIG_H -I. -I../../../../../src/utils/wxCas/src -I../../../.. -DUSE_WX_EXTENSIONS -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -W -Wall -Wshadow -Wundef -pthread -Wall -g -O2 -c -o wxcasframe.o ../../../../../src/utils/wxCas/src/wxcasframe.cpp
../../../../../src/utils/wxCas/src/wxcasframe.cpp: In member function ‘wxImage* WxCasFrame::GetStatImage() const’:
../../../../../src/utils/wxCas/src/wxcasframe.cpp:292:58: error: cannot call constructor ‘wxFont::wxFont’ directly
../../../../../src/utils/wxCas/src/wxcasframe.cpp:292:58: error: for a function-style cast, remove the redundant ‘::wxFont’
make[6]: *** [wxcasframe.o] Error 1
make[6]: Leaving directory `/home/shankao/dev/amule-2.2.6+debian0/obj-i686-linux-gnu/src/utils/wxCas/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/shankao/dev/amule-2.2.6+debian0/obj-i686-linux-gnu/src/utils/wxCas'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/shankao/dev/amule-2.2.6+debian0/obj-i686-linux-gnu/src/utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/shankao/dev/amule-2.2.6+debian0/obj-i686-linux-gnu/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/shankao/dev/amule-2.2.6+debian0/obj-i686-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/shankao/dev/amule-2.2.6+debian0/obj-i686-linux-gnu'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1335:
dpkg-buildpackage -rfakeroot -D -us -uc failed

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: amule (not installed)
Uname: Linux 2.6.37-7-generic i686
Architecture: i386
Date: Sun Dec 5 18:16:25 2010
ProcEnviron: Error: [Errno 2] No such file or directory: '/proc/13264/environ'
SourcePackage: amule

shankao (shankao) on 2010-12-05
summary: - amule FTBFS on natty
+ amule FTBFS with gcc 4.5
shankao (shankao) on 2010-12-14
Changed in amule (Ubuntu):
assignee: nobody → shankao (shankao)
status: New → In Progress
shankao (shankao) wrote :

Patch for the amule compiler problems with gcc 4.5 (used in natty)

Changed in amule (Ubuntu):
assignee: shankao (shankao) → nobody
status: In Progress → Confirmed
Sebastien Bacher (seb128) wrote :

thank you for your bug report

Changed in amule (Ubuntu):
importance: Undecided → Low
status: Confirmed → In Progress
Sebastien Bacher (seb128) wrote :

the patch has been discussed on IRC, some tweaks are required before upload

Stefano Rivera (stefanor) wrote :

Have the issues Sebastien mentions been dealt with? (I can't see this discussion in any channel I log)

Changed in amule (Ubuntu):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package amule - 2.2.6+debian0-8ubuntu2

---------------
amule (2.2.6+debian0-8ubuntu2) natty; urgency=low

  * debian/patches/fix_ftbfs_on_gcc45.diff:
    - Backport upstream patch to fix the build on gcc-4.5 (lp: #685584)
 -- shankao <email address hidden> Thu, 16 Dec 2010 23:00:54 +0200

Changed in amule (Ubuntu):
status: Fix Committed → Fix Released
shankao (shankao) wrote :

Yes Stefano, the conversation was about adding meta information to the patch and modifying the changelog message a little bit. It was held by private chat between Sebastien and me.
Thanks for the sponsorship and to Sebastien for the help with the patching procedures :)

Changed in amule:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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