> forwarded 689225 http://code.google.com/p/newsbeuter/issues/detail?id=303
> thanks
> 
> Hi,
> 
> * Julian Taylor <jtaylor.deb...@googlemail.com> [2012-09-30 16:52]:
> > Package: newsbeuter
> > Severity: important
> > 
> > newsbeuter fails to build in unstable. For some reason testing is not
> > affected.
> > 
> > c++ -ggdb -Iinclude -Istfl -Ifilter -I. -Irss -Wall -Wextra
> > -DLOCALEDIR=\"/usr/share/locale\"   -I/usr/include/libxml2
> > -I/usr/include/json   -I/usr/include/ncursesw -I/usr/include/p11-kit-1
> > 
> >  -DHAVE_GCRYPT=1 -o src/ttrss_api.o -c src/ttrss_api.cpp
> > 
> > src/ttrss_api.cpp: In member function 'rsspp::feed
> > newsbeuter::ttrss_api::fetch_feed(const string&)':
> > src/ttrss_api.cpp:223:3: error: 'boolean' was not declared in this scope
> > src/ttrss_api.cpp:223:11: error: expected ';' before 'unread'
> > src/ttrss_api.cpp:238:7: error: 'unread' was not declared in this scope
> > make[1]: *** [src/ttrss_api.o] Error 1
> 
> Thanks for the report. This is due to a change in libjson. I wrote a patch
> and submitted it upstream, new Debian package is on its way...

It seems the fix didn't make it into Wheezy, the same FTBFS occurs in stable.

Can you fix this in a point release? I've verified that the attached patch 
(pulled from 2.5-3) fixes the issue.

Cheers,
Moritz
-- 
Moritz Mühlenhoff
Open Source Software Engineer

Univention GmbH
be open.
Mary-Somerville-Str.1
28359 Bremen
Tel. : +49 421 22232-0 [.....]
Fax : +49 421 22232-99

muehlenh...@univention.de
http://www.univention.de

Geschäftsführer: Peter H. Ganten
HRB 20755 Amtsgericht Bremen
Steuer-Nr.: 71-597-02876 
diff -Nru newsbeuter-2.5/debian/patches/fix_json_boolean_include.patch newsbeuter-2.5/debian/patches/fix_json_boolean_include.patch
--- newsbeuter-2.5/debian/patches/fix_json_boolean_include.patch	1970-01-01 01:00:00.000000000 +0100
+++ newsbeuter-2.5/debian/patches/fix_json_boolean_include.patch	2012-09-30 17:43:27.000000000 +0200
@@ -0,0 +1,29 @@
+Description: propagate boolean json type
+Apparently the libjson project decided to rename their boolean type to
+json_bool...
+Author: Nico Golde <n...@debian.org>
+Bug-Debian: http://bugs.debian.org/689225
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: vendor
+Bug: http://bugs.debian.org/689225
+Bug-Debian: http://bugs.debian.org/689225
+Forwarded: 
+
+Index: newsbeuter-2.5/src/ttrss_api.cpp
+===================================================================
+--- newsbeuter-2.5.orig/src/ttrss_api.cpp	2012-09-30 17:25:23.000000000 +0200
++++ newsbeuter-2.5/src/ttrss_api.cpp	2012-09-30 17:43:24.000000000 +0200
+@@ -220,7 +220,7 @@
+ 		const char * link = json_object_get_string(json_object_object_get(item_obj, "link"));
+ 		const char * content = json_object_get_string(json_object_object_get(item_obj, "content"));
+ 		time_t updated = (time_t)json_object_get_int(json_object_object_get(item_obj, "updated"));
+-		boolean unread = json_object_get_boolean(json_object_object_get(item_obj, "unread"));
++		json_bool unread = json_object_get_boolean(json_object_object_get(item_obj, "unread"));
+ 
+ 		rsspp::item item;
+ 
diff -Nru newsbeuter-2.5/debian/patches/series newsbeuter-2.5/debian/patches/series
--- newsbeuter-2.5/debian/patches/series	2012-05-07 21:31:34.000000000 +0200
+++ newsbeuter-2.5/debian/patches/series	2012-09-30 17:15:59.000000000 +0200
@@ -1 +1,2 @@
 fix_gcc-4.7_ftbfs.patch
+fix_json_boolean_include.patch

Reply via email to