Created attachment 512060 [details] wxmaxima-17.10.1:20171230-134346.log sci-mathematics/wxmaxima-17.10.1 fails at configure phase on profile with SYMLINK_LIB=no. ebuild should use wxwidgets eclass. $ emerge --info wxmaxima Portage 2.3.13 (python 3.5.4-final-0, default/linux/amd64/17.1/hardened, gcc-6.4.0, glibc-2.25-r9, 4.14.10-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.14.10-gentoo-x86_64-AMD_Opteron_63xx_class_CPU-with-gentoo-2.4.1 KiB Mem: 2043848 total, 1239952 free KiB Swap: 2097148 total, 2079996 free Timestamp of repository gentoo: Sat, 30 Dec 2017 00:45:01 +0000 Head commit of repository puleglot: 8596ebfec29d2c3098259848e26b336e7b1e0cd5 sh dash 0.5.9.1-r3 ld GNU ld (Gentoo 2.29.1 p3) 2.29.1 app-shells/bash: 4.3_p48-r1::gentoo dev-lang/perl: 5.24.3::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.5.4-r1::gentoo dev-util/cmake: 3.9.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/sandbox: 2.10-r4::gentoo sys-devel/autoconf: 2.69::gentoo sys-devel/automake: 1.15.1-r1::gentoo sys-devel/binutils: 2.29.1-r1::gentoo sys-devel/gcc: 6.4.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.25-r9::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: webrsync sync-uri: http://mirror.yandex.ru/gentoo-distfiles/ priority: -1000 local location: /usr/local/portage masters: gentoo priority: 0 puleglot location: /var/db/repos/puleglot sync-type: git sync-uri: git://puleglot.ru/gentoo/puleglot-overlay.git masters: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y --ask-enter-invalid" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs cgroup compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/" LANG="ru_RU.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/var/cache/packages" 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" USE="X acl amd64 bash-completion berkdb bzip2 caps cli cracklib crypt cxx device-mapper gdbm gpm gtk gtk3 hardened iconv ipv6 lz4 lzma multilib ncurses nls nptl openmp pam pcre pie readline seccomp session ssl ssp systemd udev unicode urandom vim-syntax xattr xtpax xz zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US ru ru_RU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= sci-mathematics/wxmaxima-17.10.1::gentoo was built with the following: USE="" ABI_X86="(64)" LINGUAS="ru -ca -cs -da -de -el -es -fi -fr -gl -hu -it -ja -kab -nb -pl -pt_BR -tr -uk -zh_CN -zh_TW"
Looks like old versions already used wxwidgets.eclass. Don't understand why the bump by grozin with cmake conversion would have removed it.
(In reply to Mart Raudsepp from comment #1) Probably because FindwxWidgets.cmake module just works with lib -> lib64 symlink. :)
Another problem is that without wxwidgets eclass ebuild have no control on the slot of wxGTK the package will be linked with.
(In reply to Alexander Tsoy from comment #3) > Another problem is that without wxwidgets eclass ebuild have no control on > the slot of wxGTK the package will be linked with. Yes, that's the main reason it even exists. SYMLINK_LIB stuff is just a small technical thing here, but it must be used for correct intended SLOT usage, not be user determined from eselect
In cmake, wxwidgets configuration is done by the FindwxWidgets.cmake module which is controlled by the cmake-language variable wxWidgets_CONFIG_OPTIONS. I don't see how I can transfer some useful information from setup-wxwidgets to FindwxWidgets.cmake. Well, I, probably, can do some complicated sed on ${WX_CONFIG} to extract the needed information and paste it into wxWidgets_CONFIG_OPTIONS. But the result for wxGTK:3.0 is known in advance: wxWidgets_CONFIG_OPTIONS shouls be "--toolkit=gtk2 --version=3.0". This is exactly what I add in wxmaxima-require-wxGTK-3.0.patch. If the 17.1 profile brteaks FindwxWidgets.cmake (which belongs to dev-util/cmake), it should patch it to make it working again. This is not a problem of sci-mathematics/wxmaxima but of dev-util/cmake on 17.1.
FindwxWidgets.cmake relies on wx-config. In gentoo wx-config is provided by eselect-wxwidgets package and relies on environment variables exported by setup-wxwidgets()
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75c98d03ea71aad91fdc6aa610dfbfcd9c0bb17f commit 75c98d03ea71aad91fdc6aa610dfbfcd9c0bb17f Author: Andrey Grozin <grozin@gentoo.org> AuthorDate: 2017-12-31 13:25:55 +0000 Commit: Andrey Grozin <grozin@gentoo.org> CommitDate: 2017-12-31 13:27:00 +0000 sci-mathematics/wxmaxima: use wxwidgets.eclass Closes: https://bugs.gentoo.org/642734 Package-Manager: Portage-2.3.19, Repoman-2.3.6 .../wxmaxima/files/wxmaxima-require-wxGTK-3.0.patch | 8 -------- sci-mathematics/wxmaxima/wxmaxima-17.10.1.ebuild | 11 ++++------- 2 files changed, 4 insertions(+), 15 deletions(-)