View previous topic :: View next topic |
Author |
Message |
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3655
|
Posted: Sun Sep 05, 2021 2:55 pm Post subject: Very nice imho games-puzzle/ksokoban fails to build [solved] |
|
|
Just discovered portage has a linux port for an game I played 35 years ago (PC / Atari, can't remember...)
Unfortunately doesn't build with no USE flag activated...
Let's be patient; hopping things will improve.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Last edited by CaptainBlood on Sun Sep 05, 2021 8:41 pm; edited 3 times in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30996 Location: here
|
Posted: Sun Sep 05, 2021 3:21 pm Post subject: |
|
|
Here no problem to compile it with all use flag disabled, what is the error? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21789
|
Posted: Sun Sep 05, 2021 4:16 pm Post subject: Re: games-puzzle/ksokoban fails to build here... |
|
|
CaptainBlood wrote: | Just discovered portage has a linux port for an game I played 35 years ago (PC / Atari, can't remenber...)
Unfortunately doesn't build with no USE flag activated...
Let's be patient; hopping things will improve. | Could you link to the bug report about this? I see only two USE flags for this package, and neither sound like they should be critical to a correct build. Additionally, if a package fails to build with a USE flag combination that is not blocked by your profile, that is a bug. Portage should not let you proceed with known broken configurations. That's why we have so many people show up confused by REQUIRED_USE statements. That's Portage keeping them out of trouble. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3655
|
Posted: Sun Sep 05, 2021 6:00 pm Post subject: |
|
|
Previous package builds fine here.
Code: | [U] games-puzzle/ksokoban
Available versions: (~)0.5.0_pre20210905 **9999*l {debug +handbook}
Installed versions: 0.5.0_pre20190225[1](19:02:04 05/09/2021)(-debug -handbook)
| I notice only use flag belongs to profile.
U already know how such things are defaulted to here.
Thks 4 ur attention, interest & support.
[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu] _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3655
|
Posted: Sun Sep 05, 2021 6:04 pm Post subject: |
|
|
Code: | -- The following REQUIRED packages have not been found:
* KF5 (required version >= 5.46.0) | Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3655
|
Posted: Sun Sep 05, 2021 6:08 pm Post subject: |
|
|
Recently removed version terminal launch echoes: Code: | /usr/bin/ksokoban
QCommandLineParser: already having an option named "h"
QCommandLineParser: already having an option named "help-all"
QCommandLineParser: already having an option named "v" | Thks 4 ur attention, interest & support _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30996 Location: here
|
Posted: Sun Sep 05, 2021 6:09 pm Post subject: |
|
|
You should post full build.log _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3655
|
Posted: Sun Sep 05, 2021 6:32 pm Post subject: |
|
|
fedeliallalinea wrote: | Here no problem to compile it with all use flag disabled, what is the error? | Would you be kind enough to publish yours, please?
Here's: Code: | gunzip -c games-puzzle:ksokoban-0.5.0_pre20210905:20210905-144511.log.gz | ansifilter
* Package: games-puzzle/ksokoban-0.5.0_pre20210905
* Repository: gentoo
* Maintainer: bircoph@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking ksokoban-0.5.0_pre20210905-39b9d1c1.tar.gz to /var/tmp/portage/games-puzzle/ksokoban-0.5.0_pre20210905/work
>>> Source unpacked in /var/tmp/portage/games-puzzle/ksokoban-0.5.0_pre20210905/work
>>> Preparing source in /var/tmp/portage/games-puzzle/ksokoban-0.5.0_pre20210905/work/ksokoban-39b9d1c1702a21a6e0fae82876c29c1f6bb77fae ...
* Source directory (CMAKE_USE_DIR): "/var/tmp/portage/games-puzzle/ksokoban-0.5.0_pre20210905/work/ksokoban-39b9d1c1702a21a6e0fae82876c29c1f6bb77fae"
* Build directory (BUILD_DIR): "/var/tmp/portage/games-puzzle/ksokoban-0.5.0_pre20210905/work/ksokoban-39b9d1c1702a21a6e0fae82876c29c1f6bb77fae_build"
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/games-puzzle/ksokoban-0.5.0_pre20210905/work/ksokoban-39b9d1c1702a21a6e0fae82876c29c1f6bb77fae ...
* Source directory (CMAKE_USE_DIR): "/var/tmp/portage/games-puzzle/ksokoban-0.5.0_pre20210905/work/ksokoban-39b9d1c1702a21a6e0fae82876c29c1f6bb77fae"
* Build directory (BUILD_DIR): "/var/tmp/portage/games-puzzle/ksokoban-0.5.0_pre20210905/work/ksokoban-39b9d1c1702a21a6e0fae82876c29c1f6bb77fae_build"
cmake -C /var/tmp/portage/games-puzzle/ksokoban-0.5.0_pre20210905/work/ksokoban-39b9d1c1702a21a6e0fae82876c29c1f6bb77fae_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_DISABLE_FIND_PACKAGE_KF5DocTools=yes -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DKDE_INSTALL_DOCBUNDLEDIR=/usr/share/help -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/games-puzzle/ksokoban-0.5.0_pre20210905/work/ksokoban-39b9d1c1702a21a6e0fae82876c29c1f6bb77fae_build/gentoo_toolchain.cmake /var/tmp/portage/games-puzzle/ksokoban-0.5.0_pre20210905/work/ksokoban-39b9d1c1702a21a6e0fae82876c29c1f6bb77fae
loading initial cache file /var/tmp/portage/games-puzzle/ksokoban-0.5.0_pre20210905/work/ksokoban-39b9d1c1702a21a6e0fae82876c29c1f6bb77fae_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could not set up the appstream test. appstreamcli is missing.
fatal: not a git repository (or any parent up to mount point /var/tmp)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:112 (message):
Your project should require at least CMake 3.16.0 to use FindKF5.cmake
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check)
CMakeLists.txt:24 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found KF5Config: /usr/lib64/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.82.0")
-- Found KF5CoreAddons: /usr/lib64/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.82.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.21")
-- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.82.0")
-- Found KF5KIO: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.82.0")
-- Found KF5WidgetsAddons: /usr/lib64/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.82.0")
-- Found KF5XmlGui: /usr/lib64/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.82.0")
-- Found KF5: success (found suitable version "5.82.0", minimum required is "5.46.0") found components: Config CoreAddons I18n KIO WidgetsAddons XmlGui
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:112 (message):
Your project should require at least CMake 3.16.0 to use FindKF5.cmake
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check)
CMakeLists.txt:33 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Could NOT find KF5DocTools: found neither KF5DocToolsConfig.cmake nor kf5doctools-config.cmake
-- Could NOT find KF5 (missing: DocTools) (Required is at least version "5.46.0")
-- compile without foreach
-- The following OPTIONAL packages have been found:
* KF5Service (required version >= 5.82.0)
* KF5Completion (required version >= 5.82.0)
* KF5ItemViews (required version >= 5.82.0)
* KF5JobWidgets (required version >= 5.82.0)
* KF5Solid (required version >= 5.82.0)
* KF5WindowSystem (required version >= 5.82.0)
* KF5Auth (required version >= 5.82.0)
* KF5Codecs (required version >= 5.82.0)
* KF5ConfigWidgets (required version >= 5.82.0)
-- The following REQUIRED packages have been found:
* ECM (required version >= 5.46.0)
* Qt5 (required version >= 5.11.0)
* Gettext
* KF5I18n (required version >= 5.46.0)
* Qt5Gui (required version >= 5.15.0)
* KF5KIO (required version >= 5.46.0)
* KF5CoreAddons (required version >= 5.82.0)
* Qt5Core (required version >= 5.15.0)
* Qt5Widgets (required version >= 5.15.0)
* KF5WidgetsAddons (required version >= 5.82.0)
* KF5XmlGui (required version >= 5.46.0)
-- The following REQUIRED packages have not been found:
* KF5 (required version >= 5.46.0)
CMake Error at /usr/share/cmake/Modules/FeatureSummary.cmake:464 (message):
feature_summary() Error: REQUIRED package(s) are missing, aborting CMake
run.
Call Stack (most recent call first):
CMakeLists.txt:43 (feature_summary)
-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/games-puzzle/ksokoban-0.5.0_pre20210905/work/ksokoban-39b9d1c1702a21a6e0fae82876c29c1f6bb77fae_build/CMakeFiles/CMakeOutput.log".
* ERROR: games-puzzle/ksokoban-0.5.0_pre20210905::gentoo failed (configure phase):
* cmake failed
*
* Call stack:
* ebuild.sh, line 127: Called src_configure
* environment, line 2490: Called ecm_src_configure
* environment, line 1497: Called cmake_src_configure
* environment, line 1170: Called die
* The specific snippet of code:
* "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
*
* If you need support, post the output of `emerge --info '=games-puzzle/ksokoban-0.5.0_pre20210905::gentoo'`,
* the complete build log and the output of `emerge -pqv '=games-puzzle/ksokoban-0.5.0_pre20210905::gentoo'`.
* The complete build log is located at '/var/log/portage/games-puzzle:ksokoban-0.5.0_pre20210905:20210905-144511.log.gz'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/games-puzzle/ksokoban-0.5.0_pre20210905/temp/build.log.gz'.
* The ebuild environment file is located at '/var/tmp/portage/games-puzzle/ksokoban-0.5.0_pre20210905/temp/environment'.
* Working directory: '/var/tmp/portage/games-puzzle/ksokoban-0.5.0_pre20210905/work/ksokoban-39b9d1c1702a21a6e0fae82876c29c1f6bb77fae_build'
* S: '/var/tmp/portage/games-puzzle/ksokoban-0.5.0_pre20210905/work/ksokoban-39b9d1c1702a21a6e0fae82876c29c1f6bb77fae' | Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21789
|
Posted: Sun Sep 05, 2021 6:59 pm Post subject: |
|
|
CaptainBlood wrote: | Previous package builds fine here. Code: | [U] games-puzzle/ksokoban
Available versions: (~)0.5.0_pre20210905 **9999*l {debug +handbook}
Installed versions: 0.5.0_pre20190225[1](19:02:04 05/09/2021)(-debug -handbook) |
| That is a 2.5 year jump. CaptainBlood wrote: | I notice only use flag belongs to profile.
U already know how such things are defaulted to here. | I know you insist on using USE=-*, then are surprised when a rarely tested configuration breaks. That is why I asked for a link to a bug report, which would be resolved by either adding a new dependency (likely) or setting a REQUIRED_USE to force you not to USE=-* on this package.
Does setting USE=handbook allow this to build? It looks to me more like a missing dependency than a USE flag problem. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30996 Location: here
|
Posted: Sun Sep 05, 2021 7:13 pm Post subject: |
|
|
Weird this problem should be solved with the bug #755971 _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3655
|
Posted: Sun Sep 05, 2021 7:57 pm Post subject: |
|
|
fedeliallalinea wrote: | Weird this problem should be solved with the bug #755971 | ebuild has been updated: https://gitweb.gentoo.org
Building & working fine.
Playing is as hard as it used to be
I'm not ebuild literate enough to comment about the change per see.
Choice for overwriting instead of revision is gentoo upstream policy related. Not much to say about it.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3655
|
Posted: Sun Sep 05, 2021 8:33 pm Post subject: |
|
|
CaptainBlood wrote: | I'm not ebuild literate enough to comment about the change per see.
| I really feel illiterate there: Code: | parent sys-apps/systemd: set TMPFILES_OPTIONAL to avoid QA warnings (diff) | Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21789
|
Posted: Sun Sep 05, 2021 9:57 pm Post subject: |
|
|
fedeliallalinea wrote: | Weird this problem should be solved with the bug #755971 | It looks this was solved for the then-current snapshot. When a newer snapshot was added, it lost the change in the bug you cite, even though that change apparently is still necessary. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30996 Location: here
|
Posted: Mon Sep 06, 2021 5:01 am Post subject: |
|
|
Hu wrote: | It looks this was solved for the then-current snapshot. When a newer snapshot was added, it lost the change in the bug you cite, even though that change apparently is still necessary. |
You're right sorry, I didn't see that they were two different versions. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21789
|
Posted: Mon Sep 06, 2021 4:21 pm Post subject: |
|
|
Though they are different versions, it is a bit unusual that a fix like this would not be carried forward from one version to the next. Presumably, the maintainer either incorrectly thought it was no longer needed, or copied from a source that lacked the fix. |
|
Back to top |
|
|
|