Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430474 - net-voip/ekiga-3.2.7 with sys-devel/gcc-4.7 - ../../../../lib/engine/addressbook/source-impl.h:209:3: error: ‘add_object’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissi
Summary: net-voip/ekiga-3.2.7 with sys-devel/gcc-4.7 - ../../../../lib/engine/addressb...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: gcc-4.7
  Show dependency tree
 
Reported: 2012-08-08 17:16 UTC by Jason A. Donenfeld
Modified: 2013-06-23 13:43 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ekiga-3.2.7-r1.ebuild (ekiga-3.2.7-r1.ebuild,4.94 KB, text/plain)
2012-08-08 17:26 UTC, Jason A. Donenfeld
Details
ekiga-3.2.7-gcc-4.7.patch (ekiga-3.2.7-gcc-4.7.patch,2.57 KB, patch)
2012-08-08 17:27 UTC, Jason A. Donenfeld
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason A. Donenfeld archtester Gentoo Infrastructure gentoo-dev Security 2012-08-08 17:16:40 UTC
In file included from ../../../../lib/engine/components/call-history/history-source.h:39:0,
                 from ../../../../lib/engine/components/call-history/history-source.cpp:38:
../../../../lib/engine/addressbook/source-impl.h: In instantiation of ‘void Ekiga::SourceImpl<BookType>::add_book(gmref_ptr<T>) [with BookType = History::Book]’:
../../../../lib/engine/components/call-history/history-source.cpp:44:3:   required from here
../../../../lib/engine/addressbook/source-impl.h:209:3: error: ‘add_object’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../../../../lib/engine/addressbook/source-impl.h:209:3: note: declarations in dependent base ‘Ekiga::RefLister<History::Book>’ are not found by unqualified lookup
../../../../lib/engine/addressbook/source-impl.h:209:3: note: use ‘this->add_object’ instead
make[6]: *** [history-source.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
In file included from ../../../../lib/engine/components/call-history/history-book.h:42:0,
                 from ../../../../lib/engine/components/call-history/history-book.cpp:46:
../../../../lib/engine/addressbook/book-impl.h: In instantiation of ‘void Ekiga::BookImpl<ContactType>::add_contact(gmref_ptr<T>) [with ContactType = History::Contact]’:
../../../../lib/engine/components/call-history/history-book.cpp:107:3:   required from here
../../../../lib/engine/addressbook/book-impl.h:207:3: error: ‘add_object’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../../../../lib/engine/addressbook/book-impl.h:207:3: note: declarations in dependent base ‘Ekiga::RefLister<History::Contact>’ are not found by unqualified lookup
../../../../lib/engine/addressbook/book-impl.h:207:3: note: use ‘this->add_object’ instead


Reproducible: Always
Comment 1 Jason A. Donenfeld archtester Gentoo Infrastructure gentoo-dev Security 2012-08-08 17:26:33 UTC
Created attachment 320732 [details]
ekiga-3.2.7-r1.ebuild
Comment 2 Jason A. Donenfeld archtester Gentoo Infrastructure gentoo-dev Security 2012-08-08 17:27:51 UTC
Created attachment 320734 [details, diff]
ekiga-3.2.7-gcc-4.7.patch

This patch relies on opal and ptlib being patched, as well, to work with gcc 4.7. Those patches are found in bug #420077 and bug #422635 .
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-09 00:01:50 UTC
Comment on attachment 320732 [details]
ekiga-3.2.7-r1.ebuild

--- ekiga-3.2.7.ebuild  2012-06-18 20:34:19.000000000 +0200
+++ -   2012-08-09 02:01:39.977293173 +0200
@@ -110,6 +110,9 @@
 src_prepare() {
        epatch "${FILESDIR}"/${P}-libnotify-0.7.patch
 
+       # this fixes the build for gcc 4.7 (bug #430474)
+       epatch "${FILESDIR}"/${PN}-3.2.7-gcc-4.7.patch
+
        gnome2_src_prepare
 
        # remove call to gconftool-2 --shutdown, upstream bug 555976
Comment 4 Andrew John Hughes 2012-09-24 21:58:51 UTC
Works for me. Please add to the version in tree.
Comment 5 Martin Jansa 2012-10-03 14:41:08 UTC
I can confirm that all 3 patches work, just rebuilt world with gcc-4.7.2.
Comment 6 Peter Asplund 2012-12-14 13:07:23 UTC
Friendly reminder regarding this... Would be great to get gcc 4.7 into the tree!
Comment 7 Ryan Hill (RETIRED) gentoo-dev 2013-03-03 08:29:53 UTC
Your patch is correct, please apply it.  I don't feel like doing the USE flag dance to get ekiga installed.
Comment 8 Peter Asplund 2013-06-17 09:11:09 UTC
*friendly reminder*
Comment 9 Pacho Ramos gentoo-dev 2013-06-23 13:43:40 UTC
(In reply to Peter Asplund from comment #8)
> *friendly reminder*

We have 4.x now in stable