Bug#785485: gtkmathview: FTBFS: error: template with C linkage
Daniel Schepler
dschepler at gmail.com
Sat May 16 21:45:08 UTC 2015
Source: gtkmathview
Version: 0.8.0-10+nmu2
Severity: serious
>From my pbuilder build log (on amd64):
...
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../auto -I../../auto -I../../src/common -I../../src/common/mathvariants -I../../src/frontend/common -I../../src/frontend/custom_reader -I../../src/frontend/libxml2_reader -I../../src/frontend/libxml2 -I../../src/frontend/gmetadom -I../../src/engine/common -I../../src/engine/mathml -I../../src/engine/boxml -I../../src/backend/common -I../../src/backend/gtk -I../../src/view -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gmetadom/gdome_cpp_smart -I/usr/include/libgdome -I/usr/include/libxml2 -DGMV_Widget_DLL -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wall -c -o libgtkmathview_libxml2_reader_la-gtkmathview_libxml2_reader.lo `test -f 'gtkmathview_libxml2_reader.cc' || echo './'`gtkmathview_libxml2_reader.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../auto -I../../auto -I../../src/common -I../../src/common/mathvariants -I../../src/frontend/common -I../../src/frontend/custom_reader -I../../src/frontend/libxml2_reader -I../../src/frontend/libxml2 -I../../src/frontend/gmetadom -I../../src/engine/common -I../../src/engine/mathml -I../../src/engine/boxml -I../../src/backend/common -I../../src/backend/gtk -I../../src/view -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gmetadom/gdome_cpp_smart -I/usr/include/libgdome -I/usr/include/libxml2 -DGMV_Widget_DLL -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wall -c gtkmathview_libxml2_reader.cc -fPIC -DPIC -o .libs/libgtkmathview_libxml2_reader_la-gtkmathview_libxml2_reader.o
In file included from /usr/include/c++/4.9/ext/hash_map:60:0,
from ../../src/common/HashMap.hh:24,
from ../../src/common/Configuration.hh:30,
from ../../src/view/Init.hh:24,
from gtkmathview_common.cc:55,
from gtkmathview_libxml2_reader.cc:20:
/usr/include/c++/4.9/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
#warning \
^
In file included from /usr/include/c++/4.9/bits/stringfwd.h:40:0,
from /usr/include/c++/4.9/string:39,
from /usr/include/x86_64-linux-gnu/unicode/std_string.h:30,
from /usr/include/x86_64-linux-gnu/unicode/unistr.h:31,
from /usr/include/x86_64-linux-gnu/unicode/strenum.h:14,
from /usr/include/x86_64-linux-gnu/unicode/uenum.h:24,
from /usr/include/x86_64-linux-gnu/unicode/ucnv.h:51,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1306,
from /usr/include/libxml2/libxml/xmlreader.h:14,
from gtkmathview_common.h:53,
from gtkmathview_libxml2_reader.h:24,
from gtkmathview_libxml2_reader.cc:19:
/usr/include/c++/4.9/bits/memoryfwd.h:63:3: error: template with C linkage
template<typename>
^
/usr/include/c++/4.9/bits/memoryfwd.h:66:3: error: template specialization with C linkage
template<>
^
/usr/include/c++/4.9/bits/memoryfwd.h:70:3: error: template with C linkage
template<typename, typename>
^
...
Makefile:643: recipe for target 'libgtkmathview_libxml2_reader_la-gtkmathview_libxml2_reader.lo' failed
make[4]: *** [libgtkmathview_libxml2_reader_la-gtkmathview_libxml2_reader.lo] Error 1
make[4]: Leaving directory '/tmp/buildd/gtkmathview-0.8.0/src/widget'
Makefile:548: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/tmp/buildd/gtkmathview-0.8.0/src'
Makefile:547: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/tmp/buildd/gtkmathview-0.8.0'
Makefile:431: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/tmp/buildd/gtkmathview-0.8.0'
/usr/share/cdbs/1/class/makefile.mk:47: recipe for target 'debian/stamp-makefile-build' failed
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
--
Daniel Schepler
More information about the debian-science-maintainers
mailing list