Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 128667

Summary: wxGTK-2.4.2-r4: make continues even after failure
Product: Gentoo Linux Reporter: Martin Mokrejš <mmokrejs>
Component: [OLD] DevelopmentAssignee: Gentoo wxWidgets project <wxwidgets>
Status: RESOLVED DUPLICATE    
Severity: normal CC: rossi.f
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Mokrejš 2006-04-03 10:36:45 UTC
# emerge --oneshot =dev-python/wxpython-2.4.2.4-r3 =kde-base/arts-3.4.3 =media-gfx/frontline-0.5.4 =media-gfx/imagemagick-6.2.6.0 =media-gfx/pstoedit-3.42 =media-libs/flac-1.1.2-r4 =media-libs/plotutils-2.4.1-r3 =media-libs/t1lib-5.0.2 =media-video/transcode-1.0.2-r2 =sci-biology/phylip-3.65-r1 =sci-visualization/gnuplot-4.0-r1

[...]
make[1]: Entering directory `/var/tmp/portage/wxGTK-2.4.2-r4/work/wxGTK-2.4.2/build_unicode/contrib/src/gizmos'
i686-pc-linux-gnu-g++ -c   -I../../../lib/wx/include/gtk2u-2.4 -I../../../../contrib/../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -I../../../../contrib/../contrib/include  -D__WXGTK__ -DGTK_NO_CHECK_CASTS -O2 -MMD -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -fPIC -o multicell.o ../../../../contrib/../contrib/src/gizmos/multicell.cpp
../../../../contrib/../contrib/src/gizmos/multicell.cpp: In function `wxString itoa(int)':
../../../../contrib/../contrib/src/gizmos/multicell.cpp:640: error: conversion from `char*' to `wxString' is ambiguous
../../../../contrib/../include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
../../../../contrib/../include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
../../../../contrib/../contrib/src/gizmos/multicell.cpp: In member function `void wxMultiCellCanvas::CalculateConstraints()':
../../../../contrib/../contrib/src/gizmos/multicell.cpp:663: error: conversion from `const char[1]' to `const wxString' is ambiguous
../../../../contrib/../include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
../../../../contrib/../include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
make[1]: *** [multicell.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/wxGTK-2.4.2-r4/work/wxGTK-2.4.2/build_unicode/contrib/src/gizmos'
make[1]: Entering directory `/var/tmp/portage/wxGTK-2.4.2-r4/work/wxGTK-2.4.2/build_unicode/contrib/src/mmedia'
i686-pc-linux-gnu-g++ -c   -I../../../lib/wx/include/gtk2u-2.4 -I../../../../contrib/../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -I../../../../contrib/../contrib/include  -D__WXGTK__ -DGTK_NO_CHECK_CASTS -O2 -MMD -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -fPIC -o cdbase.o ../../../../contrib/../contrib/src/mmedia/cdbase.cpp
i686-pc-linux-gnu-g++ -c   -I../../../lib/wx/include/gtk2u-2.4 -I../../../../contrib/../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -I../../../../contrib/../contrib/include  -D__WXGTK__ -DGTK_NO_CHECK_CASTS -O2 -MMD -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -fPIC -o cdunix.o ../../../../contrib/../contrib/src/mmedia/cdunix.cpp
../../../../contrib/../contrib/src/mmedia/cdunix.cpp: In constructor `wxCDAudioLinux::wxCDAudioLinux()':
../../../../contrib/../contrib/src/mmedia/cdunix.cpp:58: error: conversion from `const char[11]' to `const wxString' is ambiguous
../../../../contrib/../include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
../../../../contrib/../include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
make[1]: *** [cdunix.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/wxGTK-2.4.2-r4/work/wxGTK-2.4.2/build_unicode/contrib/src/mmedia'

[...]

make[1]: Entering directory `/var/tmp/portage/wxGTK-2.4.2-r4/work/wxGTK-2.4.2/build_unicode/contrib/src/plot'
i686-pc-linux-gnu-g++ -c   -I../../../lib/wx/include/gtk2u-2.4 -I../../../../contrib/../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -I../../../../contrib/../contrib/include  -D__WXGTK__ -DGTK_NO_CHECK_CASTS -O2 -MMD -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -fPIC -o plot.o ../../../../contrib/../contrib/src/plot/plot.cpp
../../../../contrib/../contrib/src/plot/plot.cpp: In constructor `wxPlotArea::wxPlotArea(wxPlotWindow*)':
../../../../contrib/../contrib/src/plot/plot.cpp:208: error: conversion from `const char[9]' to `const wxString' is ambiguous
../../../../contrib/../include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
../../../../contrib/../include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
../../../../contrib/../contrib/src/plot/plot.cpp: In constructor `wxPlotXAxisArea::wxPlotXAxisArea(wxPlotWindow*)':
../../../../contrib/../contrib/src/plot/plot.cpp:466: error: conversion from `const char[14]' to `const wxString' is ambiguous
../../../../contrib/../include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
../../../../contrib/../include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
../../../../contrib/../contrib/src/plot/plot.cpp: In constructor `wxPlotYAxisArea::wxPlotYAxisArea(wxPlotWindow*)':
../../../../contrib/../contrib/src/plot/plot.cpp:593: error: conversion from `const char[14]' to `const wxString' is ambiguous
../../../../contrib/../include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
../../../../contrib/../include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
../../../../contrib/../contrib/src/plot/plot.cpp: In constructor `wxPlotWindow::wxPlotWindow(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, int)':
../../../../contrib/../contrib/src/plot/plot.cpp:717: error: conversion from `const char[11]' to `const wxString' is ambiguous
../../../../contrib/../include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
../../../../contrib/../include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
make[1]: *** [plot.o] Error 1


Portage 2.1_pre7-r4 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-rc5 i686)
=================================================================
System uname: 2.6.16-rc5 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.4-r1, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5
/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11
/xkb /usr/share/config /usr/spool/PBS /var/bind /var/qmail/alias /var/qmail/control /var/spool/PBS"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 FFmpeg X Xaw3d a52 aac aalib acpi alsa amr apache2 apm arts ati avi berkdb bitmap-fonts bonobo caca cdparanoia cd
r cpudetection crypt cscope ctype cups dba dga directfb divx divx5 divx5linux dri dts dv dvb dvd dvdr dvdread eds emacs em
acs-w3 emboss encode esd ethereal evo f77 faad faad2 fam fame fbcon ffmpeg flash foomaticdb fortran fvwm fvwm2 gb gd gdbm 
ggi gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml i8x0 icc iconv ieee1394 ifc imagemagick imlib imlib2 inifile innodb ipv6 is
dnlog ithreads java jpeg lcms leim libcaca libg++ libwww lirc live lzo mad matroska mcal mesa mhash mikmod ming mmx mmx2 m
mxext motif mozilla mp3 mpeg mule musepack mysql ncurses network nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pda p
dflib perl plotutils plugin png ppds pppd pthread pthreads python qt qtx quicktime readline rtc samba scanner scp sdl serv
er session slp spell sse sse2 ssl stroke tcltk tcpd tetex theora thread threads tiff truetype truetype-fonts type1-fonts u
nicode usb v4l v4l2 vorbis win32 win32codecs winvidix wmf x264 xanim xml xml2 xmms xosd xv xvid xvmc zeo zlib elibc_glibc 
kernel_linux userland_GNU video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Fabio Rossi 2006-04-08 12:25:19 UTC
I think this is a duplicate of bug #91896. Try my patches and tell me if you solve the problem
Comment 2 Martin Mokrejš 2006-04-09 05:35:44 UTC
I have tested the two patches and saw:

[...]
configuring in samples
running /bin/sh ../../samples/configure  --with-opengl --with-gtk --disable-debug --libdir=/usr/lib --enable-gtk2 --without-odbc --host=i686-pc-linux-gnu --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --cache-file=.././config.cache --srcdir=../../samples
loading cache .././config.cache
creating ./config.status
creating Makefile
creating artprov/Makefile
creating caret/Makefile
creating calendar/Makefile
creating checklst/Makefile
creating config/Makefile
creating controls/Makefile
creating console/Makefile
creating db/Makefile
creating dialogs/Makefile
creating dialup/Makefile
creating docview/Makefile
creating docvwmdi/Makefile
creating dnd/Makefile
creating dragimag/Makefile
creating drawing/Makefile
creating dynamic/Makefile
creating erase/Makefile
creating event/Makefile
creating exec/Makefile
creating font/Makefile
creating grid/Makefile
creating help/Makefile
creating image/Makefile
creating internat/Makefile
creating ipc/Makefile
creating joytest/Makefile
creating keyboard/Makefile
creating layout/Makefile
creating listctrl/Makefile
creating mdi/Makefile
creating menu/Makefile
creating memcheck/Makefile
creating minifram/Makefile
creating minimal/Makefile
creating mobile/Makefile
creating mobile/wxedit/Makefile
creating mobile/styles/Makefile
creating multimon/Makefile
sed: can't read ../../samples/multimon/Makefile.in: No such file or directory
creating nativdlg/Makefile
sed: can't read ../../samples/nativdlg/Makefile.in: No such file or directory
creating newgrid/Makefile
creating notebook/Makefile
creating oleauto/Makefile
sed: can't read ../../samples/oleauto/Makefile.in: No such file or directory
creating ownerdrw/Makefile
sed: can't read ../../samples/ownerdrw/Makefile.in: No such file or directory
creating png/Makefile
creating printing/Makefile
creating proplist/Makefile
creating propsize/Makefile
creating regtest/Makefile
sed: can't read ../../samples/regtest/Makefile.in: No such file or directory
creating resource/Makefile
creating rotate/Makefile
creating sashtest/Makefile
creating shaped/Makefile
creating scroll/Makefile
creating scrollsub/Makefile
creating sockets/Makefile
creating splitter/Makefile
creating statbar/Makefile
creating taskbar/Makefile
sed: can't read ../../samples/taskbar/Makefile.in: No such file or directory
creating text/Makefile
creating thread/Makefile
creating toolbar/Makefile
creating treectrl/Makefile
creating treelay/Makefile
[...]

i686-pc-linux-gnu-g++ -c   -I../../../lib/wx/include/gtk2-2.4 -I../../../../contrib/../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -I../../../../contrib/../contrib/include  -D__WXGTK__ -DGTK_NO_CHECK_CASTS -O2 -MMD -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -fPIC -o sndesd.o ../../../../contrib/../contrib/src/mmedia/sndesd.cpp
../../../../contrib/../contrib/src/mmedia/sndesd.cpp: In member function `virtual wxSoundStream& wxSoundStreamESD::Read(void*, unsigned int)':
../../../../contrib/../contrib/src/mmedia/sndesd.cpp:109: error: ISO C++ forbids cast to non-reference type used as lvalue
../../../../contrib/../contrib/src/mmedia/sndesd.cpp: In member function `virtual wxSoundStream& wxSoundStreamESD::Write(const void*, unsigned int)':
../../../../contrib/../contrib/src/mmedia/sndesd.cpp:132: error: ISO C++ forbids cast to non-reference type used as lvalue
make[1]: *** [sndesd.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/wxGTK-2.4.2-r5/work/wxGTK-2.4.2/build_gtk2/contrib/src/mmedia'
make[1]: Entering directory `/var/tmp/portage/wxGTK-2.4.2-r5/work/wxGTK-2.4.2/build_gtk2/contrib/src/net'
i686-pc-linux-gnu-g++ -c   -I../../../lib/wx/include/gtk2-2.4 -I../../../../contrib/../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -I../../../../contrib/../contrib/include  -D__WXGTK__ -DGTK_NO_CHECK_CASTS -O2 -MMD -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -fPIC -o email.o ../../../../contrib/../contrib/src/net/email.cpp



So, the compile process still continues although there was an error.
Comment 3 Fabio Rossi 2006-04-10 13:03:06 UTC
The new problems are related to gcc 3.4.x. I have updated the bug #91896 with a new patch to solve the last issues.
Comment 4 Martin Mokrejš 2006-04-11 00:59:52 UTC
Yes, now the 3 patches together fix my problems. Thanks.
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2007-01-14 05:20:14 UTC

*** This bug has been marked as a duplicate of bug 91896 ***