Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 623042 - dev-perl/Wx-0.992.700-r1 : PropertyGrid.c:27130:49: error: call of overloaded ‘wxVariant(wxColour&)’ is ambiguous
Summary: dev-perl/Wx-0.992.700-r1 : PropertyGrid.c:27130:49: error: call of overloaded...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 612446 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-06-29 20:07 UTC by Toralf Förster
Modified: 2018-03-21 00:59 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.89 KB, text/plain)
2017-06-29 20:07 UTC, Toralf Förster
Details
dev-perl:Wx-0.992.700-r1:20170628-211553.log (dev-perl:Wx-0.992.700-r1:20170628-211553.log,232.45 KB, text/plain)
2017-06-29 20:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,347.29 KB, text/plain)
2017-06-29 20:07 UTC, Toralf Förster
Details
environment (environment,123.84 KB, text/plain)
2017-06-29 20:07 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,30.98 KB, application/x-bzip)
2017-06-29 20:07 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,41.34 KB, application/x-bzip)
2017-06-29 20:07 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-06-29 20:07:21 UTC
      ^~~~~
PropertyGrid.c: In function ‘void XS_Wx__ColourProperty_SetPlValue(CV*)’:
PropertyGrid.c:27130:49: error: call of overloaded ‘wxVariant(wxColour&)’ is ambiguous
                 wxVariant value = wxVariant(*col);
                                                 ^
In file included from ../../cpp/helpers.h:19:0,

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome-systemd_abi32+64_20170619-222741

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
  [2]   ruby22 (with Rubygems)
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 7.2.6.10 [icedtea-bin-7]
*)	IcedTea JDK 3.4.0 [icedtea-bin-8]
3)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-7 
  [2]   icedtea-bin-8  system-vm
  [3]   jamvm
Comment 1 Toralf Förster gentoo-dev 2017-06-29 20:07:25 UTC
Created attachment 478358 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-06-29 20:07:28 UTC
Created attachment 478360 [details]
dev-perl:Wx-0.992.700-r1:20170628-211553.log
Comment 3 Toralf Förster gentoo-dev 2017-06-29 20:07:31 UTC
Created attachment 478362 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-06-29 20:07:34 UTC
Created attachment 478364 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-06-29 20:07:37 UTC
Created attachment 478366 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-06-29 20:07:40 UTC
Created attachment 478368 [details]
temp.tbz2
Comment 7 Peter Levine 2017-07-21 04:31:52 UTC
I can't reproduce it but maybe it's related to https://rt.perl.org/Public/Bug/Display.html?id=121930. I'd run `perl-cleaner --all` and see if that fixes it.
Comment 8 Andreas Proteus 2017-07-21 10:49:22 UTC
It builds fine with eselect wxwidgets gtk2-unicode-release-2.8 
or eselect gtk2-unicode-3.0

It fails with gtk3-unicode-3.0-gtk3
Comment 9 Toralf Förster gentoo-dev 2017-07-21 16:21:24 UTC
*** Bug 612446 has been marked as a duplicate of this bug. ***
Comment 10 Larry the Git Cow gentoo-dev 2018-03-21 00:59:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae187f9846017f28fbbd0047db520cad0b4daa8

commit dae187f9846017f28fbbd0047db520cad0b4daa8
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2018-03-21 00:57:47 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2018-03-21 00:58:25 +0000

    dev-perl/Wx: Force newer Alien-wxWidgets to avoid wxgtk build issues
    
    Older EAPI6 versions of Alien-wxWidgets could build against versions
    of wxGTK that eventually lead to dev-perl/Wx failing to compile.
    
    Also avoids using deprecated API of wxwidgets.eclass
    
    Bug: https://bugs.gentoo.org/615246
    Closes: https://bugs.gentoo.org/627180
    Closes: https://bugs.gentoo.org/623042
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-perl/Wx/Wx-0.993.200-r1.ebuild | 46 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed08a23a6851fc365b1a538789258f4649091849

commit ed08a23a6851fc365b1a538789258f4649091849
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2018-03-21 00:44:38 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2018-03-21 00:58:24 +0000

    dev-perl/Alien-wxWidgets: Fix use of wxwidgets eclass
    
    EAPI5 auto-setup the wxwidgets magic, but EAPI6 requires explicit
    invocation to function.
    
    This omission means Alien-wxWidgets would get built with whatever was
    currently selected with "eselect wxwidgets", ultimately resulting in
    compilation failure in dev-perl/Wx when the wx implementation was
    either wxGTK 2.8, or the GTK3 version of wxGTK3
    
    Bug: https://bugs.gentoo.org/623042
    Bug: https://bugs.gentoo.org/627180
    Bug: https://bugs.gentoo.org/615246
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../Alien-wxWidgets-0.690.0-r1.ebuild              | 37 ++++++++++++++++++++++
 1 file changed, 37 insertions(+)}