Bug#887757: heaptrack FTBFS with glibc 2.26

2018-01-23 Thread Juhani Numminen
Control: forwarded -1 https://bugs.kde.org/show_bug.cgi?id=383889
Control: tags -1 fixed-upstream patch

On Fri, 19 Jan 2018 19:13:47 +0200 Adrian Bunk  wrote:
> Source: heaptrack
> ...
> /build/1st/heaptrack-1.0.1~20170503.git4da8c45/tests/manual/test.cpp: In 
> function 'int main()':
> /build/1st/heaptrack-1.0.1~20170503.git4da8c45/tests/manual/test.cpp:85:5: 
> error: 'cfree' was not declared in this scope

I think this is handled by upstream already.

https://phabricator.kde.org/D7621
https://github.com/KDE/heaptrack/commit/f0a682550118b

Regards,
Juhani

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers


Bug#887760: graywolf FTBFS with glibc 2.26

2018-01-23 Thread Juhani Numminen
Control: forwarded -1 https://github.com/rubund/graywolf/issues/16
Control: tags -1 patch fixed-upstream

On Fri, 19 Jan 2018 20:01:37 +0200 Adrian Bunk  wrote:
> Source: graywolf
>...
> /build/1st/graywolf-0.1.4+20170307gite1bf319/src/Ylib/okmalloc.c:904:5: 
> warning: implicit declaration of function 'cfree'; did you mean 'free'? 
> [-Wimplicit-function-declaration]
>...
> /build/1st/graywolf-0.1.4+20170307gite1bf319/obj-x86_64-linux-gnu/src/Ylib/libycadgraywolf.so:
>  undefined reference to `cfree'

Apparently fixed upstream: https://github.com/rubund/graywolf/commit/23c6f4adb

Regards,
Juhani

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers


Bug#853436: gtkmathview: ftbfs with GCC-7

2017-12-19 Thread Juhani Numminen
Control: tags -1 + patch

On Tue, 31 Jan 2017 09:31:56 + Matthias Klose  wrote:> The 
full build log can be found at:
> http://people.debian.org/~doko/logs/gcc7-20170126/gtkmathview_0.8.0-14_unstable_gcc7.log
>...

I got a different error:

gtkmathview_common.cc: In function 'gint 
gtk_math_view_button_release_event(GtkWidget*, GdkEventButton*)':
gtkmathview_common.cc:912:50: error: call of overloaded 'abs(guint32)' is 
ambiguous
abs(math_view->button_press_time - event->time) <= CLICK_TIME_RANGE)
...
/usr/include/stdlib.h:751:12: note: candidate: int abs(int)
 extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
...

FreeBSD have a patch for that:
https://svnweb.freebsd.org/ports/head/x11-toolkits/gtkmathview/files/patch-src_widget_gtkmathview__common.cc?view=markup

For a version that quilt understands, plus DEP3 information, see the attachment.
I tested it using cowbuilder.


Juhani
Description: Fix "call of overloaded 'abs(guint32)' is ambiguous"
Author: Dmitry Marakasov 
Origin: https://svnweb.freebsd.org/ports/head/x11-toolkits/gtkmathview/files/patch-src_widget_gtkmathview__common.cc?view=markup
Bug-Debian: https://bugs.debian.org/853436
Last-Update: 2017-12-19

--- a/src/widget/gtkmathview_common.cc
+++ b/src/widget/gtkmathview_common.cc
@@ -909,7 +909,7 @@
 	  math_view->select_state == SELECT_STATE_NO &&
 	  fabs(math_view->button_press_x - event->x) <= CLICK_SPACE_RANGE &&
 	  fabs(math_view->button_press_y - event->y) <= CLICK_SPACE_RANGE &&
-	  abs(math_view->button_press_time - event->time) <= CLICK_TIME_RANGE)
+	  abs((long)math_view->button_press_time - (long)event->time) <= CLICK_TIME_RANGE)
 	{
 	  // the mouse should have not moved more than one pixel in each direction
 	  // and the time elapsed from the press event should be no more than 250ms
@@ -969,7 +969,7 @@
   (math_view->select_state == SELECT_STATE_YES ||
fabs(math_view->button_press_x - x) > CLICK_SPACE_RANGE ||
fabs(math_view->button_press_y - y) > CLICK_SPACE_RANGE ||
-   abs(math_view->button_press_time - event->time) > CLICK_TIME_RANGE))
+   abs((long)math_view->button_press_time - (long)event->time) > CLICK_TIME_RANGE))
 {
   if (math_view->select_state == SELECT_STATE_NO)
 	{
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Bug#878496: python-escript FTBFS on 32bit with gcc 7

2017-12-08 Thread Juhani Numminen
Control: tags -1 pending

On Sat, 14 Oct 2017 04:42:54 +0300 Adrian Bunk  wrote:
> Source: python-escript
> Version: 5.0-4
> Severity: serious
> 
> https://buildd.debian.org/status/package.php?p=python-escript&suite=sid
> 
> ...
> escriptcore/src/DataFactory.cpp: In function 'escript::Data 
> escript::VectorFromObj(boost::python::api::object, const 
> escript::FunctionSpace&, bool)':
> escriptcore/src/DataFactory.cpp:49:41: error: '*((void*)& +12)' 
> may be used uninitialized in this function [-Werror=maybe-uninitialized]
>  double v = bp::extract(o);
>  ^
> escriptcore/src/DataFactory.cpp: In function 'escript::Data 
> escript::TensorFromObj(boost::python::api::object, const 
> escript::FunctionSpace&, bool)':
> escriptcore/src/DataFactory.cpp:75:41: error: '*((void*)& +12)' 
> may be used uninitialized in this function [-Werror=maybe-uninitialized]
>  double v = bp::extract(o);
>  ^
> escriptcore/src/DataFactory.cpp: In function 'escript::Data 
> escript::Tensor3FromObj(boost::python::api::object, const 
> escript::FunctionSpace&, bool)':
> escriptcore/src/DataFactory.cpp:99:41: error: '*((void*)& +12)' 
> may be used uninitialized in this function [-Werror=maybe-uninitialized]
>  double v = bp::extract(o);
>  ^
> escriptcore/src/DataFactory.cpp: In function 'escript::Data 
> escript::Tensor4FromObj(boost::python::api::object, const 
> escript::FunctionSpace&, bool)':
> escriptcore/src/DataFactory.cpp:123:41: error: '*((void*)& +12)' 
> may be used uninitialized in this function [-Werror=maybe-uninitialized]
>  double v = bp::extract(o);
>  ^

I'm adding the "pending" tag since there seems to be a fix committed 
already, at
https://anonscm.debian.org/git/debian-science/packages/python-escript.git

Joel, if I am not mistaken and your commit fixes the build failure, please
remember to close this bug (#878496) through debian/changelog.


Regards,
Juhani Numminen

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers