Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169728 - sci-electronics/kicad broken wxwidgets handling
Summary: sci-electronics/kicad broken wxwidgets handling
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: The Soldering-Iron Brotherhood
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-07 10:59 UTC by Tiger
Modified: 2007-03-07 12:43 UTC (History)
2 users (show)

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


Attachments
Compilation error with wxGTK-2.4.2-r4 (emerge.kicad.no_wxGTK-2.4.log,2.69 KB, text/plain)
2007-03-07 11:00 UTC, Tiger
Details
Compilation error with wxGTK-2.4.2-r4 (emerge.kicad.log,30.67 KB, text/plain)
2007-03-07 11:01 UTC, Tiger
Details
kicad-20070115.ebuild.diff (kicad-20070115.ebuild.diff,1.42 KB, patch)
2007-03-07 11:23 UTC, Jakub Moc (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tiger 2007-03-07 10:59:09 UTC
First time I emerge kicad, I had this error :

Calculating dependencies  ..... ..... ..... done!

>>> Emerging (1 of 1) sci-electronics/kicad-20070115 to /
 * kicad-20070115.tar.bz2 MD5 ;-) ...     [ ok ]
 * kicad-20070115.tar.bz2 RMD160 ;-) ...  [ ok ]
 * kicad-20070115.tar.bz2 SHA1 ;-) ...    [ ok ]
 * kicad-20070115.tar.bz2 SHA256 ;-) ...  [ ok ]
 * kicad-20070115.tar.bz2 size ;-) ...    [ ok ]
 * kicad-2007-01-15.tgz MD5 ;-) ...       [ ok ]
 * kicad-2007-01-15.tgz RMD160 ;-) ...    [ ok ]
 * kicad-2007-01-15.tgz SHA1 ;-) ...      [ ok ]
 * kicad-2007-01-15.tgz SHA256 ;-) ...    [ ok ]
 * kicad-2007-01-15.tgz size ;-) ...      [ ok ]
 * checking ebuild checksums ;-) ...      [ ok ]
 * checking auxfile checksums ;-) ...     [ ok ]
 * checking miscfile checksums ;-) ...    [ ok ]
 * checking kicad-20070115.tar.bz2 ;-) ...[ ok ]
 * checking kicad-2007-01-15.tgz ;-) ...  [ ok ]
!!! set-wxconfig: Error:  Can't find normal or debug version:
!!! set-wxconfig:         /usr/bin/wxgtk2u-2.4-config not found
!!! set-wxconfig:         /usr/bin/wxgtk2ud-2.4-config not found
!!! You need to emerge wxGTK with unicode in your USE

In ebuild there is : DEPEND=">=x11-libs/wxGTK-2.6

After emerge wxGTK-2.4.2-r4, compilation failed again.

Reproducible: Always

Steps to Reproduce:
Comment 1 Tiger 2007-03-07 11:00:13 UTC
Created attachment 112380 [details]
Compilation error with wxGTK-2.4.2-r4
Comment 2 Tiger 2007-03-07 11:01:06 UTC
Created attachment 112382 [details]
Compilation error with wxGTK-2.4.2-r4
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-07 11:06:07 UTC
<snip>
WX_GTK_VER=$(`ls /usr/bin/wx-config* | sort | tail -n 1` --release)
</snip>

Eh??? Plus you already depend on wxGTK-2.6*. Let me quote the eclass: 

<snip>
If you want to use wxGTK-2.6* export WX_GTK_VER in your ebuild:
</snip>
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-03-07 11:23:15 UTC
Created attachment 112388 [details, diff]
kicad-20070115.ebuild.diff

Try this patch, please...
Comment 5 Tiger 2007-03-07 11:29:57 UTC
I'm sorry for this bug report, I had wxGTK-2.8.0 installed on my system.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-03-07 11:32:16 UTC
(In reply to comment #5)
> I'm sorry for this bug report, I had wxGTK-2.8.0 installed on my system.

The ebuild is broken regardless, see the patch (yeah the dependency needs to be fixed as well, it should force 2.6* and nothing else).


Comment 7 Denis Dupeyron (RETIRED) gentoo-dev 2007-03-07 12:43:37 UTC
(In reply to comment #5)
> I'm sorry for this bug report, I had wxGTK-2.8.0 installed on my system.

Do not feel sorry for reporting a bug. It could have been a real issue. It's our job to sort it out.

The way the Kicad ebuild is written makes that it should work with wxGTK-2.8.0 when the latter reaches Portage. The reason it failed is because you either installed wxGTK-2.8.0 manually, or you used a faulty ebuild.

Denis.