Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3660 - wxGTK/wxGTK-2.3.2-r1.ebuild fails to compile with GCC-3.1
Summary: wxGTK/wxGTK-2.3.2-r1.ebuild fails to compile with GCC-3.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 3638
  Show dependency tree
 
Reported: 2002-06-12 05:44 UTC by Francisco Gimeno
Modified: 2002-10-09 04:05 UTC (History)
2 users (show)

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


Attachments
wxGTK-2.3.2-r2.ebuild (wxGTK-2.3.2-r2.ebuild,2.54 KB, text/plain)
2002-06-12 06:14 UTC, Francisco Gimeno
Details
x11-libs/wxGTK/files/wxGTK-2.3.2.diff.gz (wxGTK-2.3.2.diff.gz,269 bytes, text/plain)
2002-06-12 06:15 UTC, Francisco Gimeno
Details
wxGTK-2.2.9-r1.ebuild (wxGTK-2.2.9-r1.ebuild,2.37 KB, text/plain)
2002-06-14 12:02 UTC, Francisco Gimeno
Details
portage/x11-libs/wxGTK/files/wxGTK-2.2.9.diff.gz (wxGTK-2.2.9.diff.gz,269 bytes, text/plain)
2002-06-14 12:03 UTC, Francisco Gimeno
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Gimeno 2002-06-12 05:44:16 UTC
Hi, I have problems by compiling it with GCC-3.1. 
 
I think it's due to the strict syntax checking of GCC-3.1. I'm testing it now, 
and I hope have a patch in several minutes. 
 
Slt
Comment 1 Francisco Gimeno 2002-06-12 06:12:48 UTC
My ChangeLog entry 
---------- 
*wxGTK-2.3.2-r2 (12 Jun 2002) 
 
  12 Jun 2002; Francisco Gimeno <kikov@fco-gimeno.com> wxGTK-2.3.2-r2.ebuild : 
 
  Apply a little patch to let GCC-3.1 compile this. ( src/gtk/joystick.cpp ). 
--------- 
 
 
Comment 2 Francisco Gimeno 2002-06-12 06:14:10 UTC
Created attachment 1479 [details]
wxGTK-2.3.2-r2.ebuild

NEW: Apply a patch
Comment 3 Francisco Gimeno 2002-06-12 06:15:20 UTC
Created attachment 1480 [details]
x11-libs/wxGTK/files/wxGTK-2.3.2.diff.gz

the patch :]
Comment 4 Francisco Gimeno 2002-06-14 10:43:54 UTC
I have problems with wxGTK-2.2.9.ebuild too... With the same issue as wxGTK.

The joystick problem code.

Fixing... ;)

Slt
Comment 5 Francisco Gimeno 2002-06-14 12:01:18 UTC
Well... I have just tested the wxGTK-2.2.9-r1.
wxGTK-2.2.9-r1 has the same patch than the 2.3.2-r2 version.
---------------
>>> /usr/lib/libwx_gtk-2.2.so.6 -> libwx_gtk-2.2.so.6.2.6
>>> /usr/lib/libwx_gtk-2.2.so -> libwx_gtk-2.2.so.6.2.6
>>> /usr/lib/libwx_gtk_gl-2.2.so.6 -> libwx_gtk_gl-2.2.so.6.2.6
>>> /usr/lib/libwx_gtk_gl-2.2.so -> libwx_gtk_gl-2.2.so.6.2.6

>>> Regenerating /etc/ld.so.cache...
>>> x11-libs/wxGTK-2.2.9-r1 merged.
----------
The lintool
main wxGTK # lintool wxGTK-2.2.9-r1.ebuild
wxGTK-2.2.9-r1.ebuild                                                      : OK

-------------------------------------------------------------------------------
 Summary for all 1 ebuild(s) checked                             # errors/warns
-------------------------------------------------------------------------------
Testing for illegal space characters, weird backslash formatting  : 0 / 0
Testing for malformed headers                                     : 0 / 0
Testing for occurence of deprecated try                           : 0 / 0
Testing for superfluous A=${P}.tar.gz                             : 0 / 0
Testing for empty DEPEND                                          : 0 / 0
Testing for empty HOMEPAGE                                        : 0 / 0
Testing for empty DESCRIPTION                                     : 0 / 0
Testing for presence of env vars                                  : 0 / 0
Testing for sane USE flag usage                                   : 0 / 0

Total number of ebuilds with errors                               : 0 (0%)
Total number of ebuilds with warnings                             : 0 (0%)
---------------------
ChangeLog entry:
*wxGTK-2.2.9-r1 (14 Jun 2002)

  14 Jun 2002; Francisco Gimeno <kikov@fco-gimeno.com> wxGTK-2.2.9-r1.ebuild:

  Apply the same patch to src/gtk/joystick.cpp to get compiled with GCC-3.1
---------------------
left something?
aaaah... the ebuild ! LOL...

Slt, and Happy Gentooing!

Comment 6 Francisco Gimeno 2002-06-14 12:02:37 UTC
Created attachment 1521 [details]
wxGTK-2.2.9-r1.ebuild
Comment 7 Francisco Gimeno 2002-06-14 12:03:25 UTC
Created attachment 1522 [details]
portage/x11-libs/wxGTK/files/wxGTK-2.2.9.diff.gz

It's the same patch than wxGTK-2.3.2.diff.gz.
Comment 8 AlterEgo 2002-07-24 15:21:15 UTC
Please look at http://forums.gentoo.org/viewtopic.php?p=49911#49911 This fix solved the "joystick" problem using wxGTK 2.2.9 ebuild and gcc 3.1 I have not tried 2.3.2. Maybe this is helpful. 
Comment 9 Mauro Sciaccaluga 2002-07-30 10:46:00 UTC
Hi, why didnt you committed these two VITAL files ?

wxGTK-2.2.9-r1.ebuild
wxGTK-2.2.9.diff.gz

?

Please put them into portage tree. thanks :)
Comment 10 Nick Hadaway 2002-08-06 21:08:10 UTC
2.2.9-r1 is currently testing and should be available on rsync servers in a 
couple of hours.
Comment 11 Nick Hadaway 2002-08-13 17:18:52 UTC
both 2.3.2-r2 and 2.2.9-r1 are available in portage.  Thanks for the patches!