View previous topic :: View next topic |
Author |
Message |
FilthyPitDog Apprentice
Joined: 12 Jan 2021 Posts: 186 Location: South Pacific
|
Posted: Tue Nov 08, 2022 6:58 am Post subject: [solved] duckstation-9999 |
|
|
Heyy so maybe someone knows what I need here? I have installed dev-python/PyQt6 & dev-qt/qttranslations with no help... I am stuck. I cant find much about "CMAKE_USE_DIR" except some ebuild threads...
Code: | Building x64 recompiler
-- Building X11 NoGUI Platform.
CMake Error at src/duckstation-qt/CMakeLists.txt:166 (qt6_add_translation):
Unknown CMake command "qt6_add_translation".
-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/games-emulation/duckstation-9999/work/duckstation-9999_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/games-emulation/duckstation-9999/work/duckstation-9999_build/CMakeFiles/CMakeError.log".
* ERROR: games-emulation/duckstation-9999::guru failed (configure phase):
* cmake failed
*
* Call stack:
* ebuild.sh, line 122: Called src_configure
* environment, line 3183: Called cmake_src_configure
* environment, line 1371: 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-emulation/duckstation-9999::guru'`,
* the complete build log and the output of `emerge -pqv '=games-emulation/duckstation-9999::guru'`.
* The complete build log is located at '/var/tmp/portage/games-emulation/duckstation-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/games-emulation/duckstation-9999/temp/environment'.
* Working directory: '/var/tmp/portage/games-emulation/duckstation-9999/work/duckstation-9999_build'
* S: '/var/tmp/portage/games-emulation/duckstation-9999/work/duckstation'
>>> Failed to emerge games-emulation/duckstation-9999, Log file:
>>> '/var/tmp/portage/games-emulation/duckstation-9999/temp/build.log'
root on GentooRig /root took 18s
[ 10:51:46 PM ] ❯ |
Last edited by FilthyPitDog on Tue Nov 08, 2022 9:43 pm; edited 1 time in total |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1549 Location: South America
|
Posted: Tue Nov 08, 2022 9:41 pm Post subject: |
|
|
Since July 22, this package switched to Qt6, which is not present yet neither in Gentoo's oficial repository, nor in GURU's. _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
FilthyPitDog Apprentice
Joined: 12 Jan 2021 Posts: 186 Location: South Pacific
|
Posted: Tue Nov 08, 2022 9:42 pm Post subject: |
|
|
Thank you ✌️✌️ |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1549 Location: South America
|
Posted: Wed Nov 09, 2022 1:54 am Post subject: |
|
|
You can use the ebuild from the GURU repository to fetch an older version of the code, from just before the switch from Qt5 to Qt6 was made:
Code: | EGIT_COMMIT=3fb6186 emerge duckstation |
_________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
FilthyPitDog Apprentice
Joined: 12 Jan 2021 Posts: 186 Location: South Pacific
|
Posted: Tue Nov 29, 2022 1:20 am Post subject: |
|
|
GDH-gentoo wrote: | You can use the ebuild from the GURU repository to fetch an older version of the code, from just before the switch from Qt5 to Qt6 was made:
Code: | EGIT_COMMIT=3fb6186 emerge duckstation |
|
hey i was able to make it to install phase with upstream ">=games-emulation/duckstation-9999::guru **" unmasking dev-qt/qtbase & dev-qt/qttools but getting this error
Code: | >>> Install games-emulation/duckstation-9999 into /var/tmp/portage/games-emulation/duckstation-9999/image
Traceback (most recent call last):
File "/usr/lib/portage/python3.10/doins.py", line 609, in <module>
sys.exit(main(sys.argv[1:]))
File "/usr/lib/portage/python3.10/doins.py", line 598, in main
if _doins(
File "/usr/lib/portage/python3.10/doins.py", line 441, in _doins
return install_runner.install_file(source, os.path.dirname(dest))
File "/usr/lib/portage/python3.10/doins.py", line 375, in install_file
return self._ins_runner.run(source, dest_dir)
File "/usr/lib/portage/python3.10/doins.py", line 183, in run
sstat = os.stat(source)
FileNotFoundError: [Errno 2] No such file or directory: b'/var/tmp/portage/games-emulation/duckstation-9999/work/duckstation-9999_build/bin/database'
* ERROR: games-emulation/duckstation-9999::guru failed (install phase):
* doins failed |
would u think this is this a portage issue? "doins"? _________________ Gentoo is a way of life... |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1549 Location: South America
|
Posted: Tue Nov 29, 2022 2:23 am Post subject: |
|
|
FilthyPitDog wrote: | would u think this is this a portage issue? "doins"? |
It might be a problem with GURU's ebuild. What is the output of ls -F /var/tmp/portage/games-emulation/duckstation-9999/work/duckstation-9999_build/bin? _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
FilthyPitDog Apprentice
Joined: 12 Jan 2021 Posts: 186 Location: South Pacific
|
Posted: Tue Nov 29, 2022 2:26 am Post subject: |
|
|
This is what I got
Code: | ➜ ls -F /var/tmp/portage/games-emulation/duckstation-9999/work/duckstation-9999_build/bin
common-tests*
resources/
duckstation-nogui*
translations/
duckstation-qt* |
_________________ Gentoo is a way of life... |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1549 Location: South America
|
Posted: Tue Nov 29, 2022 8:59 pm Post subject: |
|
|
FilthyPitDog wrote: | This is what I got
Code: | ➜ ls -F /var/tmp/portage/games-emulation/duckstation-9999/work/duckstation-9999_build/bin
common-tests*
resources/
duckstation-nogui*
translations/
duckstation-qt* |
|
games-emulation/duckstation/duckstation-9999.ebuild
Code: | src_install() {
# ...
insinto /opt/${PN}
doins -r "${BUILD_DIR}"/bin/{database,inputprofiles,resources,shaders,translations}
# ...
} |
The ebuild is trying to install the contents of directories that the build system does not produce, or at least not in $BUILD_DIR/bin. The ebuild seems wrong, or it didn't catch up with the code, I don't know... Last change to the ebuild was in October 2021. _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
FilthyPitDog Apprentice
Joined: 12 Jan 2021 Posts: 186 Location: South Pacific
|
Posted: Tue Nov 29, 2022 9:19 pm Post subject: |
|
|
GDH-gentoo wrote: | FilthyPitDog wrote: | This is what I got
Code: | ➜ ls -F /var/tmp/portage/games-emulation/duckstation-9999/work/duckstation-9999_build/bin
common-tests*
resources/
duckstation-nogui*
translations/
duckstation-qt* |
|
games-emulation/duckstation/duckstation-9999.ebuild
Code: | src_install() {
# ...
insinto /opt/${PN}
doins -r "${BUILD_DIR}"/bin/{database,inputprofiles,resources,shaders,translations}
# ...
} |
The ebuild is trying to install the contents of directories that the build system does not produce, or at least not in $BUILD_DIR/bin. The ebuild seems wrong, or it didn't catch up with the code, I don't know... Last change to the ebuild was in October 2021. |
Thank you for all your assistance! I think I will file a bug report for this ebuild _________________ Gentoo is a way of life... |
|
Back to top |
|
|
|