Bug#838196: gnote: FTBFS: note.hpp:127:14: error: cannot convert 'const Glib::RefPtr<gnote::NoteBuffer>' to 'bool' in return
Chris Lamb
lamby at debian.org
Sun Sep 18 10:20:34 UTC 2016
Source: gnote
Version: 3.20.1-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
gnote fails to build from source in unstable/amd64:
[..]
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether ln -s works... yes
checking for itstool... itstool
checking for xmllint... xmllint
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... none
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether g++ supports C++11 features by default... yes
checking for desktop-file-validate... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBGLIBMM... yes
checking for GTK... yes
checking for LIBGTKMM... yes
checking for LIBXML... yes
checking for LIBXSLT... yes
checking for UUID... yes
checking for GTKSPELL... yes
checking for LIBSECRET... yes
checking for Boost headers version >= 1.34.0... yes
checking for Boost's header version... 1_61
checking boost/bind.hpp usability... yes
checking boost/bind.hpp presence... yes
checking for boost/bind.hpp... yes
checking boost/format.hpp usability... yes
checking boost/format.hpp presence... yes
checking for boost/format.hpp... yes
checking for the toolset name used by Boost for g++... configure: WARNING: could not figure out which toolset name to use for g++
checking boost/test/unit_test.hpp usability... yes
checking boost/test/unit_test.hpp presence... yes
checking for boost/test/unit_test.hpp... yes
checking for the Boost unit_test_framework library... yes
checking whether gcc understands -Wall... yes
checking whether gcc understands -Wextra... yes
checking whether gcc understands -Wsign-compare... yes
checking whether gcc understands -Wpointer-arith... yes
checking whether gcc understands -Wchar-subscripts... yes
checking whether gcc understands -Wwrite-strings... yes
checking whether gcc understands -Wunused... yes
checking whether gcc understands -Wpointer-arith... yes
checking whether gcc understands -Wshadow... yes
checking whether gcc understands -fshow-column... yes
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.22.2
checking for XML::Parser... ok
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating data/gnote.desktop.in
config.status: creating data/icons/Makefile
config.status: creating data/appdata/Makefile
config.status: creating src/Makefile
config.status: creating src/addins/Makefile
config.status: creating src/addins/addins.mk
config.status: creating src/addins/backlinks/Makefile
config.status: creating src/addins/backlinks/backlinks.desktop.in
config.status: creating src/addins/bugzilla/Makefile
config.status: creating src/addins/bugzilla/bugzilla.desktop.in
config.status: creating src/addins/exporttogtg/Makefile
config.status: creating src/addins/exporttogtg/exporttogtg.desktop.in
config.status: creating src/addins/exporttohtml/Makefile
config.status: creating src/addins/exporttohtml/exporttohtml.desktop.in
config.status: creating src/addins/filesystemsyncservice/Makefile
config.status: creating src/addins/filesystemsyncservice/filesystemsyncservice.desktop.in
config.status: creating src/addins/fixedwidth/Makefile
config.status: creating src/addins/fixedwidth/fixedwidth.desktop.in
config.status: creating src/addins/inserttimestamp/Makefile
config.status: creating src/addins/inserttimestamp/inserttimestamp.desktop.in
config.status: creating src/addins/notedirectorywatcher/Makefile
config.status: creating src/addins/notedirectorywatcher/notedirectorywatcher.desktop.in
config.status: creating src/addins/noteoftheday/Makefile
config.status: creating src/addins/noteoftheday/noteoftheday.desktop.in
config.status: creating src/addins/printnotes/Makefile
config.status: creating src/addins/printnotes/printnotes.desktop.in
config.status: creating src/addins/readonly/Makefile
config.status: creating src/addins/readonly/readonly.desktop.in
config.status: creating src/addins/replacetitle/Makefile
config.status: creating src/addins/replacetitle/replacetitle.desktop.in
config.status: creating src/addins/specialnotes/Makefile
config.status: creating src/addins/specialnotes/specialnotes.desktop.in
config.status: creating src/addins/statistics/Makefile
config.status: creating src/addins/statistics/statistics.desktop.in
config.status: creating src/addins/stickynoteimport/Makefile
config.status: creating src/addins/stickynoteimport/stickynoteimport.desktop.in
config.status: creating src/addins/tableofcontents/Makefile
config.status: creating src/addins/tableofcontents/tableofcontents.desktop.in
config.status: creating src/addins/todo/Makefile
config.status: creating src/addins/todo/todo.desktop.in
config.status: creating src/addins/tomboyimport/Makefile
config.status: creating src/addins/tomboyimport/tomboyimport.desktop.in
config.status: creating src/addins/underline/Makefile
config.status: creating src/addins/underline/underline.desktop.in
config.status: creating src/addins/webdavsyncservice/Makefile
config.status: creating src/addins/webdavsyncservice/webdavsyncservice.desktop.in
config.status: creating src/dbus/Makefile
config.status: creating po/Makefile.in
config.status: creating po/Makefile
config.status: creating help/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
configure: WARNING: unrecognized options: --disable-scrollkeeper
Options:
Spellchecking support: yes
make[1]: Leaving directory '/home/lamby/temp/cdt.20160918105736.LTCborfksn.db.gnote/gnote-3.20.1'
dh_auto_build
make -j1
make[1]: Entering directory '/home/lamby/temp/cdt.20160918105736.LTCborfksn.db.gnote/gnote-3.20.1'
make all-recursive
make[2]: Entering directory '/home/lamby/temp/cdt.20160918105736.LTCborfksn.db.gnote/gnote-3.20.1'
Making all in data
make[3]: Entering directory '/home/lamby/temp/cdt.20160918105736.LTCborfksn.db.gnote/gnote-3.20.1/data'
Making all in appdata
make[4]: Entering directory '/home/lamby/temp/cdt.20160918105736.LTCborfksn.db.gnote/gnote-3.20.1/data/appdata'
LC_ALL=C /usr/bin/intltool-merge -x -u -c ../../po/.intltool-merge-cache ../../po gnote.appdata.xml.in gnote.appdata.xml
Generating and caching the translation database
Merging translations into gnote.appdata.xml.
CREATED gnote.appdata.xml
make[4]: Leaving directory '/home/lamby/temp/cdt.20160918105736.LTCborfksn.db.gnote/gnote-3.20.1/data/appdata'
Making all in icons
make[4]: Entering directory '/home/lamby/temp/cdt.20160918105736.LTCborfksn.db.gnote/gnote-3.20.1/data/icons'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/lamby/temp/cdt.20160918105736.LTCborfksn.db.gnote/gnote-3.20.1/data/icons'
make[4]: Entering directory '/home/lamby/temp/cdt.20160918105736.LTCborfksn.db.gnote/gnote-3.20.1/data'
sed -e "s|\@bindir\@|/usr/bin|g" \
-e "s|\@wrapper\@|gnote|g" \
< org.gnome.Gnote.service.in > org.gnome.Gnote.service
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po gnote.desktop.in gnote.desktop
Found cached translation database
Merging translations into gnote.desktop.
LC_ALL=C /usr/bin/intltool-merge -x -u --no-translations org.gnome.gnote.gschema.xml.in org.gnome.gnote.gschema.xml
Merging translations into org.gnome.gnote.gschema.xml.
CREATED org.gnome.gnote.gschema.xml
/usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas --strict --dry-run --schema-file=org.gnome.gnote.gschema.xml && mkdir -p . && touch org.gnome.gnote.gschema.valid
make[4]: Leaving directory '/home/lamby/temp/cdt.20160918105736.LTCborfksn.db.gnote/gnote-3.20.1/data'
make[3]: Leaving directory '/home/lamby/temp/cdt.20160918105736.LTCborfksn.db.gnote/gnote-3.20.1/data'
Making all in src
make[3]: Entering directory '/home/lamby/temp/cdt.20160918105736.LTCborfksn.db.gnote/gnote-3.20.1/src'
Making all in addins
make[4]: Entering directory '/home/lamby/temp/cdt.20160918105736.LTCborfksn.db.gnote/gnote-3.20.1/src/addins'
Making all in backlinks
make[5]: Entering directory '/home/lamby/temp/cdt.20160918105736.LTCborfksn.db.gnote/gnote-3.20.1/src/addins/backlinks'
/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I../../../src -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gtkmm-3.0/include -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gdkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/x86_64-linux-gnu/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/libsecret-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wcast-align -Wcast-qual -Wformat-security -Wpointer-arith -Wreturn-type -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160918105736.LTCborfksn.db.gnote/gnote-3.20.1=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wall -Wextra -Wsign-compare -Wpointer-arith -Wchar-subscripts -Wwrite-strings -Wunused -Wpointer-arith -Wshadow -fshow-column -c -o backlinksnoteaddin.lo backlinksnoteaddin.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I../../../src -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gtkmm-3.0/include -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gdkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/x86_64-linux-gnu/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/libsecret-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wcast-align -Wcast-qual -Wformat-security -Wpointer-arith -Wreturn-type -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160918105736.LTCborfksn.db.gnote/gnote-3.20.1=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wall -Wextra -Wsign-compare -Wpointer-arith -Wchar-subscripts -Wwrite-strings -Wunused -Wpointer-arith -Wshadow -fshow-column -c backlinksnoteaddin.cpp -fPIC -DPIC -o .libs/backlinksnoteaddin.o
In file included from ../../../src/noteaddin.hpp:38:0,
from backlinksnoteaddin.hpp:27,
from backlinksnoteaddin.cpp:25:
../../../src/note.hpp: In member function 'bool gnote::Note::has_buffer() const':
../../../src/note.hpp:127:14: error: cannot convert 'const Glib::RefPtr<gnote::NoteBuffer>' to 'bool' in return
return m_buffer;
^~~~~~~~
../../../src/note.hpp: In member function 'bool gnote::Note::is_loaded() const':
../../../src/note.hpp:142:23: error: cannot convert 'const Glib::RefPtr<gnote::NoteBuffer>' to 'bool' in return
return (m_buffer);
^
Makefile:534: recipe for target 'backlinksnoteaddin.lo' failed
make[5]: *** [backlinksnoteaddin.lo] Error 1
make[5]: Leaving directory '/home/lamby/temp/cdt.20160918105736.LTCborfksn.db.gnote/gnote-3.20.1/src/addins/backlinks'
Makefile:452: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/lamby/temp/cdt.20160918105736.LTCborfksn.db.gnote/gnote-3.20.1/src/addins'
Makefile:1391: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/lamby/temp/cdt.20160918105736.LTCborfksn.db.gnote/gnote-3.20.1/src'
Makefile:485: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/lamby/temp/cdt.20160918105736.LTCborfksn.db.gnote/gnote-3.20.1'
Makefile:417: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/lamby/temp/cdt.20160918105736.LTCborfksn.db.gnote/gnote-3.20.1'
dh_auto_build: make -j1 returned exit code 2
debian/rules:6: recipe for target 'build' failed
make: *** [build] Error 2
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnote.3.20.1-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 19423 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160918/15543707/attachment.obj>
More information about the Reproducible-builds
mailing list