Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] duckstation-9999
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
FilthyPitDog
Apprentice
Apprentice


Joined: 12 Jan 2021
Posts: 186
Location: South Pacific

PostPosted: Tue Nov 08, 2022 6:58 am    Post subject: [solved] duckstation-9999 Reply with quote

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
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1549
Location: South America

PostPosted: Tue Nov 08, 2022 9:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
FilthyPitDog
Apprentice
Apprentice


Joined: 12 Jan 2021
Posts: 186
Location: South Pacific

PostPosted: Tue Nov 08, 2022 9:42 pm    Post subject: Reply with quote

GDH-gentoo wrote:
Since July 22, this package switched to Qt6, which is not present yet neither in Gentoo's oficial repository, nor in GURU's.


Thank you ✌️✌️
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1549
Location: South America

PostPosted: Wed Nov 09, 2022 1:54 am    Post subject: Reply with quote

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
View user's profile Send private message
FilthyPitDog
Apprentice
Apprentice


Joined: 12 Jan 2021
Posts: 186
Location: South Pacific

PostPosted: Tue Nov 29, 2022 1:20 am    Post subject: Reply with quote

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
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1549
Location: South America

PostPosted: Tue Nov 29, 2022 2:23 am    Post subject: Reply with quote

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
View user's profile Send private message
FilthyPitDog
Apprentice
Apprentice


Joined: 12 Jan 2021
Posts: 186
Location: South Pacific

PostPosted: Tue Nov 29, 2022 2:26 am    Post subject: Reply with quote

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
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1549
Location: South America

PostPosted: Tue Nov 29, 2022 8:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
FilthyPitDog
Apprentice
Apprentice


Joined: 12 Jan 2021
Posts: 186
Location: South Pacific

PostPosted: Tue Nov 29, 2022 9:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum