Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895188 - =sci-electronics/kicad-7.0.0: Could NOT find wxWidgets: Found unsuitable version "3.0.5", but required is at least "3.2.2.1"
Summary: =sci-electronics/kicad-7.0.0: Could NOT find wxWidgets: Found unsuitable vers...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zoltan Puskas
URL: https://gitlab.com/kicad/code/kicad/-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-18 07:00 UTC by David Kredba
Modified: 2023-02-21 17:56 UTC (History)
2 users (show)

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


Attachments
CMakeError.log (CMakeError.log,1.82 KB, text/plain)
2023-02-18 07:00 UTC, David Kredba
Details
CMakeOutput.log (CMakeOutput.log,57.46 KB, text/plain)
2023-02-18 07:01 UTC, David Kredba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Kredba 2023-02-18 07:00:08 UTC
-- Found wxPython Phoenix 4.2.0/gtk3 (wxWidgets 3.2.2.1)
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find wxWidgets: Found unsuitable version "3.0.5", but required is
at least "3.2.2.1" (found
-L/usr/lib64;-pthread;;;-lwx_gtk3u_gl-3.0-gtk3;-lwx_gtk3u_aui-3.0-gtk3;-lwx_gtk3u_adv-3.0-gtk3;-lwx_gtk3u_html-3.0-gtk3;-lwx_gtk3u_core-3.0-gtk3;-lwx_baseu_net-3.0-gtk3;-lwx_baseu-3.0-gtk3;-lwx_gtk3u_propgrid-3.0-gtk3;-lwx_baseu_xml-3.0-gtk3;-lwx_gtk3u_stc-3.0-gtk3;-lwx_gtk3u_richtext-3.0-gtk3)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:598 (_FPHSA_FAILURE_MESSAGE)
cmake/FindwxWidgets.cmake:951 (find_package_handle_standard_args)
CMakeLists.txt:935 (find_package)

Reproducible: Always




emerge --info kicad
Portage 3.0.44 (python 3.10.10-final-0, default/linux/amd64/17.1/no-multilib, gcc-12, glibc-2.36-r7, 6.1.12-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.1.12-gentoo-x86_64-AMD_Ryzen_7_3800X_8-Core_Processor-with-glibc2.36
KiB Mem:    65754128 total,   1114672 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 18 Feb 2023 05:30:01 +0000
Head commit of repository gentoo: 1882a663653da85fc261820369a2a9acb3168a39
Timestamp of repository palemoon: Mon, 13 Feb 2023 14:16:59 +0000
Head commit of repository palemoon: 46e97ee6f61dfa3d6338953ca074586805386e0f

Timestamp of repository pf4public: Thu, 16 Feb 2023 18:46:52 +0000
Head commit of repository pf4public: cfea50821bcedf1c0aadd7e050cc79829e153f94

sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p2) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           2.7.18_p16-r1::gentoo, 3.10.10_p1::gentoo
dev-lang/rust-bin:         1.67.1::gentoo
dev-util/cmake:            3.25.2::gentoo
dev-util/meson:            1.0.0::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.40-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230121-r1::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7::gentoo
sys-devel/make:            4.4::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
Repositories:

gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.cz.gentoo.org/gentoo-portage
priority: -1000
volatile: True
sync-rsync-verify-jobs: 1
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 24
sync-rsync-verify-metamanifest: no

palemoon
location: /var/db/repos/palemoon
sync-type: git
sync-uri: https://github.com/gentoo-mirror/palemoon.git
masters: gentoo
volatile: True

pf4public
location: /var/db/repos/pf4public
sync-type: git
sync-uri: https://github.com/gentoo-mirror/pf4public.git
masters: gentoo
volatile: True

x-portage
location: /usr/local/portage
masters: gentoo
priority: 0
volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=znver2"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=znver2"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=znver2"
GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/ ftp://gentoo.mirror.web4u.cz/ https://mirror.leaseweb.com/gentoo/"
LANG="cs_CZ.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="cs en"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl alsa amd64 blas bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cli colord crypt cups dbus declarative djvu dri dts dv dvb dvd dvdr elogind encode exif ffmpeg fftw flac fontconfig fortran gdbm geoip gif gmp gnuplot graphviz gsl gsm hdf5 heif iconv idn ieee1394 imagemagick imlib ipv6 ithreads jbig jpeg jpeg2k kde ladspa lame lapack latex lcms libass libglvnd libsamplerate libtirpc lzma lzo mad matroska mms mng modplug mp3 mp4 mpeg mtp musepack musicbrainz ncurses nls nptl ogg opencl openexr opengl openmp pam pcre pdf plotutils png postscript pulseaudio qt5 quicktime rdp readline seccomp semantic-desktop slang smp sndfile sox speex spell split-usr ssl svg szip taglib test-rust theora threads tiff truetype udev unicode usb v4l vdpau vorbis wavpack wayland webp x264 xattr xcb xft xinerama xml xosd xpm xscreensaver xv xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcomoceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="cs en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="scripting-beanshell scripting-javascript nlpsolver" LLVM_TARGETS="AMDGPU BPF X86" LUA_SINGLE_TARGET="lua5-3" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1 php8-2" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby31" SANE_BACKENDS="lexmark net" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS,NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
Package Settings
=================================================================

sci-electronics/kicad-6.0.9::gentoo was built with the following:
USE="examples ngspice nls occ openmp pcm -doc" PYTHON_SINGLE_TARGET="python3_10 -python3_9"
Comment 1 David Kredba 2023-02-18 07:00:53 UTC
Created attachment 852360 [details]
CMakeError.log
Comment 2 David Kredba 2023-02-18 07:01:32 UTC
Created attachment 852362 [details]
CMakeOutput.log
Comment 3 David Kredba 2023-02-18 07:16:50 UTC
When the WX_GTK_VER is set to "3.2-gtk3" the error messages changes to:
Found wxPython Phoenix 4.2.0/gtk3 (wxWidgets 3.2.2.1)
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find wxWidgets: Found unsuitable version "3.2.2", but required is
at least "3.2.2.1"

Please note the detected version 3.2.2.1 and then the message Found unsuitable version 3.2.2.
Comment 4 Matthew Smith gentoo-dev 2023-02-18 08:40:22 UTC
I think that the wxwidgets eclass usage needs to change too, as the wxgtk version needs to match the version used by wxpython.
Comment 5 Larry the Git Cow gentoo-dev 2023-02-18 10:46:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2727746cd7823177e43b15f01314e60d68397a6

commit e2727746cd7823177e43b15f01314e60d68397a6
Author:     Matthew Smith <matthew@gentoo.org>
AuthorDate: 2023-02-18 10:41:05 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2023-02-18 10:43:45 +0000

    sci-electronics/kicad: Use wxGTK-3.2
    
    wxGTK is slotted and wxpython is not. The versions must match, so use
    the latest version for now.
    
    Closes: https://bugs.gentoo.org/895188
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 .../files/kicad-7.0.0-wxwidgets-version.patch      | 95 ++++++++++++++++++++++
 .../{kicad-7.0.0.ebuild => kicad-7.0.0-r1.ebuild}  | 10 ++-
 2 files changed, 103 insertions(+), 2 deletions(-)
Comment 6 jospezial 2023-02-18 13:43:46 UTC
(In reply to Larry the Git Cow from comment #5)
> The bug has been closed via the following commit(s):
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=e2727746cd7823177e43b15f01314e60d68397a6
> 
> commit e2727746cd7823177e43b15f01314e60d68397a6
> Author:     Matthew Smith <matthew@gentoo.org>
> AuthorDate: 2023-02-18 10:41:05 +0000
> Commit:     Matthew Smith <matthew@gentoo.org>
> CommitDate: 2023-02-18 10:43:45 +0000
> 
>     sci-electronics/kicad: Use wxGTK-3.2
>     
>     wxGTK is slotted and wxpython is not. The versions must match, so use
>     the latest version for now.
>     
>     Closes: https://bugs.gentoo.org/895188
>     Signed-off-by: Matthew Smith <matthew@gentoo.org>
> 
>  .../files/kicad-7.0.0-wxwidgets-version.patch      | 95
> ++++++++++++++++++++++
>  .../{kicad-7.0.0.ebuild => kicad-7.0.0-r1.ebuild}  | 10 ++-
>  2 files changed, 103 insertions(+), 2 deletions(-)

Please switch the live ebuild also. Fixes are all merged upstream and will be in 7.0.1 release.
Comment 7 Larry the Git Cow gentoo-dev 2023-02-21 17:56:50 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bac7ba9432df36fa0c280c735dcd4587e03ba1c

commit 5bac7ba9432df36fa0c280c735dcd4587e03ba1c
Author:     Matthew Smith <matthew@gentoo.org>
AuthorDate: 2023-02-20 18:34:51 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2023-02-21 17:56:28 +0000

    sci-electronics/kicad: update live ebuild
    
    Bug: https://bugs.gentoo.org/895188
    Acked-by: Zoltan Puskas <zoltan@sinustrom.info>
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 sci-electronics/kicad/kicad-9999.ebuild | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)