I tried to upgrade to sci-electronics/kicad-20080320.918 from 20070115 but emerge fails. I have the following wxGTK versions installed: x11-libs/wxGTK-2.6.4.0-r3 x11-libs/wxGTK-2.8.7.1-r1 Reproducible: Always Steps to Reproduce: 1. ACCEPT_KEYWORDS="~x86" emerge kicad Actual Results: * kicad-library-1.0.tbz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * kicad-20080320-r918.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking kicad-20080320-r918.tar.bz2 ;-) ... [ ok ] * checking kicad-library-1.0.tbz2 ;-) ... [ ok ] >>> cfg-update-1.8.2-r1: Creating checksum index... * Checking wxGTK-2.8 for X support ... [ ok ] * Requested wxWidgets: unicode 2.8 * Using wxWidgets: gtk2-unicode-release-2.8 * Checking wxGTK-2.8 for opengl support ... [ ok ] >>> Unpacking source... >>> Unpacking kicad-20080320-r918.tar.bz2 to /var/tmp/portage/sci-electronics/kicad-20080320.918/work >>> Unpacking kicad-library-1.0.tbz2 to /var/tmp/portage/sci-electronics/kicad-20080320.918/work bzip2: /var/tmp/portage/sci-electronics/kicad-20080320.918/distdir/kicad-library-1.0.tbz2: trailing garbage after EOF ignored >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sci-electronics/kicad-20080320.918/work/kicad ... -- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: /usr/bin/i686-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/i686-pc-linux-gnu-g++ -- works -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Check for installed OpenGL -- found -- Check for installed Boost -- found -- Could NOT find wxWidgets -- Check for installed wxWidgets -- not found CMake Error: wxWidgets was not found - it is required to build KiCad -- Configuring done * * ERROR: sci-electronics/kicad-20080320.918 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2848: Called cmake-utils_src_compile * environment, line 682: Called cmake-utils_src_configureout * environment, line 700: Called die * The specific snippet of code: * cmake ${cmakeargs} "${S}" || die "Cmake failed"; * The die message: * Cmake failed * * 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-20080320.918/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-electronics/kicad-20080320.918/temp/environment'. *
Please paste all information from 'emerge --info'. Denis.
Portage 2.1.4.4 (!/usr/local/portage/transmode/profiles/i686, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r3 i686) ================================================================= System uname: 2.6.24-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Timestamp of tree: Tue, 01 Apr 2008 19:00:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r9 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-r1 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 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=i686" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gimp /etc/gnome /etc/gtk /etc/gtk-2.0 /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev /etc/udev/rules.d /etc/xdg /usr/share/X11" CXXFLAGS="-O2 -march=i686" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://devsrv.transmode.se/portage/ http:/devsrv.transmode.se/portage/local/ http://gentoo.osuosl.org/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="en sv" MAKEOPTS="-j2 -s" 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" PORTDIR_OVERLAY="/usr/local/portage/transmode /usr/local/portage/sajinet" SYNC="rsync://devsrv.transmode.se/latest-portage" USE="X alsa apache2 berkdb bitmap-fonts cairo cli cracklib crypt cups dbus dri firefox fortran gdbm glitz gnome gpm gtk hal iconv isdnlog java jpeg kerberos ldap midi motif mudflap ncurses nis nls nptl nptlonly nsplugin opengl openmp pam pcre pdf perl png ppds pppd python readline reflection session spl ssl subversion tcpd truetype truetype-fonts type1-fonts unicode usb 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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en sv" USERLAND="GNU" VIDEO_CARDS="i810 vesa fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Please, issue the command: "eselect wxwidgets list" It will say to you something like that: "Available wxWidgets profiles: [1] gtk2-unicode-release-2.8 *" Then issue: "eselect wxwidgets set gtk2-unicode-release-2.8" I think, you can successfully build KiCad after that.
the eselect module settings shouldn't affect portage builds at all. if it does then something's wrong. everything looks okay in the ebuild and it builds here no matter what profile is selected. can you attach /var/tmp/portage/sci-electronics/kicad-20080320.918/work/kicad_build/CMakeCache.txt it should look something like: //Path to a program. wxWidgets_CONFIG_EXECUTABLE:FILEPATH=/usr/bin/wx-config //Use debug build? wxWidgets_USE_DEBUG:BOOL=ON //Link libraries statically? wxWidgets_USE_STATIC:BOOL=OFF //Use unicode build? wxWidgets_USE_UNICODE:BOOL=ON //Use universal build? wxWidgets_USE_UNIVERSAL:BOOL=OFF
This ebuild was removed as part of massive cleanup. Please try the latest one where this should be fixed. Denis.