Summary: | sci-mathematics/wxmaxima-17.10.1 - configure fails with "Could NOT find wxWidgets" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Tsoy <alexander> |
Component: | Current packages | Assignee: | Gentoo Science Mathematics related packages <sci-mathematics> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | grozin, wxwidgets |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/6689 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 506276 | ||
Attachments: | wxmaxima-17.10.1:20171230-134346.log |
Description
Alexander Tsoy
2017-12-30 14:08:04 UTC
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(-) |