/var/tmp/portage/x11-libs/wxGTK-2.8.12.1-r2/work/wxPython-src-2.8.12.1/src/common/dbtable.cpp: In member function 'void wxDbTable::SetCursor(void**)': /var/tmp/portage/x11-libs/wxGTK-2.8.12.1-r2/work/wxPython-src-2.8.12.1/src/common/dbtable.cpp:2457:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if (hstmtActivate == wxDB_DEFAULT_CURSOR) ^~~~~~~~~~~~~~~~~~~ gcc-config -l [1] x86_64-pc-linux-gnu-7.2.0 * Reproducible: Always
Created attachment 512650 [details] emerge --info
Created attachment 512652 [details] /var/tmp/portage/x11-libs/wxGTK-2.8.12.1-r2/temp/build.log
I think I may have the same problem. I'm attaching my log file
Created attachment 513136 [details] Build Log
The workaround I am using is to add "-fpermissive" to the C(XX)FLAGS by creating the following two files. /etc/portage/package.env/fpermissive =x11-libs/wxGTK-2.8.12.1-r2 fpermissive /etc/portage/env/fpermissive CFLAGS="$CFLAGS -fpermissive" CXXFLAGS="$CXXFLAGS -fpermissive"
I wasn't planning on fixing 2.8 for gcc7 stuff, as the effort is better spent on removing 2.8 from tree. Why do you need this old version still? Codeblocks?
It's gnuradio that's pulling in this dependency: x11-libs/wxGTK-2.8.12.1-r2 pulled in by: dev-python/wxpython-2.8.12.1-r2 requires >=x11-libs/wxGTK-2.8.12.1:2.8[opengl,tiff,X] dev-python/wxpython-2.8.12.1-r2 pulled in by: net-wireless/gnuradio-9999 requires dev-python/wxpython:2.8[python_targets_python2_7(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),python_single_target_python2_7(+)]
I need 2.8 for amule-2.3.2. See this related bug: https://bugs.gentoo.org/597194
wxGTK:2.8 is p.masked for removal (bug 661284), thus this bug is now obsolete as far as I can see. amule got a maintainer and should hopefully have wxGTK:3.0 fixed by now. gnuradio should work fine with 3.0 now too.