Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242424 - building kicad fails complaning about its need for "x11-libs/wxGTK with opengl support"
Summary: building kicad fails complaning about its need for "x11-libs/wxGTK with openg...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-17 04:05 UTC by Jude D'Cruz
Modified: 2008-10-20 00:08 UTC (History)
0 users

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 Jude D'Cruz 2008-10-17 04:05:49 UTC
G'day!
Tying to build kicad barfs with this error:
emerge sci-electronics/kicad
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) sci-electronics/kicad-20070115 to /
 * kicad-20070115.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                           [ ok ]
 * kicad-2007-01-15.tgz RMD160 SHA1 SHA256 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 ]
 * Checking wxGTK-2.6 for X support ...                                                                                                             [ ok ]
 * Checking wxGTK-2.6 for unicode support ...                                                                                                       [ ok ]

 * Requested wxWidgets:        unicode 2.6
 * Using wxWidgets:            gtk2-unicode-release-2.6

 *
 * ERROR: sci-electronics/kicad-20070115 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called pkg_setup
 *   kicad-20070115.ebuild, line   30:  Called die
 * The specific snippet of code:
 *      built_with_use "=x11-libs/wxGTK-${WX_GTK_VER}*" opengl || die "You need to install wxGTK with opengl support."
 *  The die message:
 *   You need to install wxGTK with opengl support.
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sci-electronics/kicad-20070115/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-electronics/kicad-20070115/temp/die.env'.
 *

----------------------X-------------------------

I built =x11-libs/wxGTK with the opengl USE flag with no avail. Also readup and followed detail on BUG:205301 and 215664. But just can't get this ebuild up and running.

----------------------X------------------------
 # emerge --info
Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: 2.6.25-gentoo-r7 i686 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Timestamp of tree: Thu, 16 Oct 2008 06:16:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -msse3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -msse3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://mirror.internode.on.net/gentoo-portage"
USE="X acl berkdb bzip2 cli cracklib crypt cups dri dvd fortran gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fglrx vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

---------------------------X--------------------------
 # uname -a
Linux pirate 2.6.25-gentoo-r7 #5 SMP Sun Oct 12 00:20:20 EST 2008 i686 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz GenuineIntel GNU/Linux



Cheers!

Jude.
Comment 1 Wormo (RETIRED) gentoo-dev 2008-10-17 21:57:38 UTC
Please show output of following commands:

eselect wxwidgets list

emerge -pv wxGTK
Comment 2 Jude D'Cruz 2008-10-18 08:35:36 UTC
(In reply to comment #1)
> Please show output of following commands:
> 
> eselect wxwidgets list
> 
> emerge -pv wxGTK
> 

~> eselect wxwidgets list
Available wxWidgets profiles:
  [1]   gtk2-ansi-release-2.6
  [2]   gtk2-unicode-release-2.6
  [3]   gtk2-unicode-release-2.8 *
~> emerge -pv wxGTK

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-libs/wxGTK-2.8.7.1-r1  USE="X opengl -debug -doc -gnome -gstreamer -odbc -pch -sdl" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
~>
Comment 3 Mike Auty (RETIRED) gentoo-dev 2008-10-18 09:44:27 UTC
Hiya Jude,

From your report, it appears the ebuild is trying to use wx-widgets 2.6:

 * Requested wxWidgets:        unicode 2.6
 * Using wxWidgets:            gtk2-unicode-release-2.6

As the results of your eselect/emerge show, 2.8 is the latest version and is the one that portage is going to be concentrating on.  That means that whilst wxGTK-2.8 may be built with USE="opengl", wxGTK-2.6 might not be.  Could you please try running the following command (the second quotes are important) and see if that solves the problem?

USE="opengl" emerge -1av "<wxGTK-2.7"

This is basically going to ensure that you're rebuilding wxGTK-2.6 with opengl support (rather than portage assuming you mean the latest and only rebuilding wxGTK-2.8).

I'll mark the bug as TEST-REQUEST, and once you've tried this out, please come back, reopen the bug and let us know what you found.  Thanks...  5:)
Comment 4 Jude D'Cruz 2008-10-20 00:08:26 UTC
Worked like a charm. Cheers guys!