Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5680 - wxpython-2.3.2.1-r1 fails
Summary: wxpython-2.3.2.1-r1 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-28 12:44 UTC by Jacob Perkins
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Perkins 2002-07-28 12:44:20 UTC
contrib/gizmos/contrib/src/gizmos/ledctrl.cpp: In member function `void
wxLEDNumberCtrl::OnPaint(wxPaintEvent&)':
contrib/gizmos/contrib/src/gizmos/ledctrl.cpp:194: choosing `char
wxString::operator[](int) const' over `char& wxString::operator[](unsigned int)'
contrib/gizmos/contrib/src/gizmos/ledctrl.cpp:194:   because worst conversion
for the former is better than worst conversion for the latter
contrib/gizmos/contrib/src/gizmos/ledctrl.cpp: In member function `void
wxLEDNumberCtrl::RecalcInternals(const wxSize&)':
contrib/gizmos/contrib/src/gizmos/ledctrl.cpp:321: warning: assignment to `int'
from `double'
contrib/gizmos/contrib/src/gizmos/ledctrl.cpp:321: warning: argument to `int'
from `double'
contrib/gizmos/contrib/src/gizmos/ledctrl.cpp:326: warning: assignment to `int'
from `double'
contrib/gizmos/contrib/src/gizmos/ledctrl.cpp:326: warning: argument to `int'
from `double'
error: command 'gcc' failed with exit status 1


have opengl in USE, using gcc3.1 with -march=pentium3 -O3 -pipe -mmmx -msse
-mfpmath=sse -fomit-frame-pointer .
Comment 1 Nick Hadaway 2002-08-22 14:12:01 UTC
I am currently working on the wxPython build.  I will be disabling the GIZMOS 
extension on the ebuild until a fix can be made.  I will post on this bug 
report when I have an updated ebuild.
Comment 2 Nick Hadaway 2002-08-22 14:42:08 UTC
wxPython-2.3.2.1-r1 has been updated and it should now compile without error.
GLCANVAS and GIZMOS extensions are now forced to not install as they are 
failing compiles currently.

The new ebuild should be available on rsync servers within 24 hours.
Please report back on this bug report if compilation was successful.

When either or both of the extensions are fixed, wxPython will move to -r2 as 
additional support is added into the ebuild.
Comment 3 Jacob Perkins 2002-08-23 00:59:26 UTC
boa-constructor emerges fine, but fails to run without the gizmos package.
Comment 4 Rigo 2002-08-23 09:40:08 UTC
Hmmm, I get a different error (3.2, ix86):



gcc -DNDEBUG -march=i686 -O3 -pipe -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H
-DWXP_USE_THREAD=1 -Isrc -I/usr/include/python2.2 -c src/gtk/image.cpp -o
build/temp.linux-i686-2.2/src/gtk/image.o -I/usr/lib/wx/include/gtk-2.3
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_REENTRANT -fno-rtti -fno-exceptions
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -march=i686 -O3 -pipe
src/gtk/image.cpp: In function `void* 
   SwigwxTIFFHandlerTowxImageHandler(void*)':
src/gtk/image.cpp:896: `wxTIFFHandler' undeclared (first use this function)
src/gtk/image.cpp:896: (Each undeclared identifier is reported only once for 
   each function it appears in.)
src/gtk/image.cpp:896: `src' undeclared (first use this function)
src/gtk/image.cpp:898: parse error before `)' token
src/gtk/image.cpp: In function `void* SwigwxTIFFHandlerTowxObject(void*)':
src/gtk/image.cpp:906: parse error before `)' token
src/gtk/image.cpp: In function `PyObject* _wrap_new_wxTIFFHandler(PyObject*, 
   PyObject*, PyObject*)':
src/gtk/image.cpp:914: `_result' undeclared (first use this function)
src/gtk/image.cpp:923: parse error before `)' token
src/gtk/image.cpp:923: parse error before `(' token
error: command 'gcc' failed with exit status 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 27, Exitcode 1
!!! (no error message)

!!! emerge aborting on 
/usr/portage/dev-python/wxPython/wxPython-2.3.2.1-r1.ebuild .
Comment 5 Nick Hadaway 2002-08-23 10:54:51 UTC
Please add tiff to your use variables.  Re-emerge wxGTK and then emerge wxPython.
Comment 6 Rigo 2002-08-23 11:34:18 UTC
Worked for me :-D, thanx !
Comment 7 Nick Hadaway 2002-08-25 11:50:30 UTC
Closing bug report due to success report.  It appears that it will not compile 
withouy tiff support.  The ebuild has been updated to force tiff support.