Bug#822502: nemiver: FTBFS: error: cannot convert 'const sigc::slot_base' to 'bool' in return
Control: tags -1 - patch The patch is currently not enough: nmv-dbg-perspective.cc: In member function 'void nemiver::DBGPerspective::switch_to_asm(const nemiver::common::DisassembleInfo&, const std::__cxx11::list&, nemiver::SourceEditor*, bool)': nmv-dbg-perspective.cc:5675:68: error: no match for 'operator==' (operand types are 'Glib::RefPtr' and 'int') if ((asm_buf = a_source_editor->get_assembly_source_buffer ()) == 0) { ~~~^~~~ nmv-dbg-perspective.cc: In member function 'void nemiver::DBGPerspective::switch_to_source_code()': nmv-dbg-perspective.cc:5723:73: error: no match for 'operator==' (operand types are 'Glib::RefPtr' and 'int') if ((source_buf = source_editor->get_non_assembly_source_buffer ()) == 0) { ^~~~ -- WBR, wRAR signature.asc Description: PGP signature
Processed: Re: Bug#822502: nemiver: FTBFS: error: cannot convert 'const sigc::slot_base' to 'bool' in return
Processing control commands: > tags -1 - patch Bug #822502 [nemiver] nemiver: FTBFS: error: cannot convert 'const sigc::slot_base' to 'bool' in return Removed tag(s) patch. -- 822502: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822502 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#822502: nemiver: FTBFS: error: cannot convert 'const sigc::slot_base' to 'bool' in return
Control: tags -1 patch Dear Maintainer, In Ubuntu, the attached patch was applied to achieve the following: * debian/patches/bool-conversion.patch: Grab patch from upstream Git to fix FTBFS due to bool conversion. Thanks for considering the patch. Logan Rosen diff -Nru nemiver-0.9.6/debian/patches/bool-conversion.patch nemiver-0.9.6/debian/patches/bool-conversion.patch --- nemiver-0.9.6/debian/patches/bool-conversion.patch 1969-12-31 19:00:00.0 -0500 +++ nemiver-0.9.6/debian/patches/bool-conversion.patch 2016-07-25 21:29:11.0 -0400 @@ -0,0 +1,26 @@ +From e0e42221ceb77d88be64fac1c09792dc5c9e2f43 Mon Sep 17 00:00:00 2001 +From: Ben Iofel+Date: Thu, 17 Mar 2016 18:28:02 -0400 +Subject: Fix compiliation warnings & errors + +--- + src/dbgengine/nmv-dbg-common.h| 2 +- + src/dbgengine/nmv-i-var-list-walker.h | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/dbgengine/nmv-dbg-common.h b/src/dbgengine/nmv-dbg-common.h +index ad3cc00..0edac7c 100644 +--- a/src/dbgengine/nmv-dbg-common.h b/src/dbgengine/nmv-dbg-common.h +@@ -171,7 +171,7 @@ public: + + bool has_slot () const + { +-return m_slot; ++return static_cast (m_slot); + } + + template +-- +cgit v0.12 + diff -Nru nemiver-0.9.6/debian/patches/series nemiver-0.9.6/debian/patches/series --- nemiver-0.9.6/debian/patches/series 2015-10-03 15:16:43.0 -0400 +++ nemiver-0.9.6/debian/patches/series 2016-07-25 21:29:16.0 -0400 @@ -1,2 +1,3 @@ # List of currently applied Debian patches missing-files.patch +bool-conversion.patch
Bug#822502: nemiver: FTBFS: error: cannot convert 'const sigc::slot_base' to 'bool' in return
Package: nemiver Version: 0.9.6-1 Severity: serious This package fails to build in unstable: > sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux ... > x86_64-linux-gnu-ar: `u' modifier ignored since `D' is the default (see `U') > CXX nmv-gdbmi-parser.lo > In file included from nmv-gdbmi-parser.h:31:0, > from nmv-gdbmi-parser.cc:32: > nmv-dbg-common.h: In member function 'bool nemiver::Command::has_slot() > const': > nmv-dbg-common.h:174:16: error: cannot convert 'const sigc::slot_base' to > 'bool' in return > return m_slot; > ^ > Makefile:972: recipe for target 'nmv-gdbmi-parser.lo' failed > make[4]: *** [nmv-gdbmi-parser.lo] Error 1 -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise