After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 710949 - FTBFS on Debian ia64, powerpc, s390x, sparc
FTBFS on Debian ia64, powerpc, s390x, sparc
Status: RESOLVED FIXED
Product: gnote
Classification: Applications
Component: build
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: gnote-maint
gnote-maint
Depends on:
Blocks:
 
 
Reported: 2013-10-27 00:57 UTC by Vincent Cheng
Modified: 2013-10-27 12:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix build without C++11 (1.30 KB, patch)
2013-10-27 12:41 UTC, Aurimas Černius
none Details | Review

Description Vincent Cheng 2013-10-27 00:57:25 UTC
Gnote 3.10.x fails to build on several archs supported in Debian (ia64, powerpc, s390, sparc), but builds fine on common archs like i386 and amd64. Tail of build log for all those build failures is the same:

notewindow.cpp: In member function 'void gnote::NoteWindow::enabled(bool)':
notewindow.cpp:626:5: error: invalid initialization of reference of type 'Glib::RefPtr<Gtk::Action>&' from expression of type 'const Glib::RefPtr<Gtk::Action>'

You can find the full build logs at: https://buildd.debian.org/status/package.php?p=gnote

ia64: https://buildd.debian.org/status/fetch.php?pkg=gnote&arch=ia64&ver=3.10.0-1&stamp=1382547717
powerpc: https://buildd.debian.org/status/fetch.php?pkg=gnote&arch=powerpc&ver=3.10.0-1&stamp=1382521225
s390: https://buildd.debian.org/status/fetch.php?pkg=gnote&arch=s390x&ver=3.10.0-1&stamp=1382564019
sparc: https://buildd.debian.org/status/fetch.php?pkg=gnote&arch=sparc&ver=3.10.0-1&stamp=1382542461

I'm not sure if this is a bug in gnote, or some other component like glib. Also, FWIW, gnote 3.8.x built fine on all archs supported in Debian (including the currently troublesome ones).
Comment 1 Aurimas Černius 2013-10-27 12:41:26 UTC
Created attachment 258216 [details] [review]
Fix build without C++11
Comment 2 Aurimas Černius 2013-10-27 12:42:58 UTC
Without C++11 support I get the same and one more compiler error. This patch should fix it. Will be backported to 3.10 too.
Thanks for bug report.