Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

[solved] duckstation-9999

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
FilthyPitDog
Apprentice
Apprentice
User avatar
Posts: 207
Joined: Tue Jan 12, 2021 8:47 am
Location: South Pacific
Contact:
Contact FilthyPitDog
Website

[solved] duckstation-9999

  • Quote

Post by FilthyPitDog » Tue Nov 08, 2022 6:58 am

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: Select all

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.
Top
GDH-gentoo
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Jul 20, 2019 7:02 pm
Location: South America

  • Quote

Post by GDH-gentoo » Tue Nov 08, 2022 9:41 pm

Since July 22, this package switched to Qt6, which is not present yet neither in Gentoo's oficial repository, nor in GURU's.
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Top
FilthyPitDog
Apprentice
Apprentice
User avatar
Posts: 207
Joined: Tue Jan 12, 2021 8:47 am
Location: South Pacific
Contact:
Contact FilthyPitDog
Website

  • Quote

Post by FilthyPitDog » Tue Nov 08, 2022 9:42 pm

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 ✌️✌️
Top
GDH-gentoo
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Jul 20, 2019 7:02 pm
Location: South America

  • Quote

Post by GDH-gentoo » Wed Nov 09, 2022 1:54 am

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: Select all

EGIT_COMMIT=3fb6186 emerge duckstation
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Top
FilthyPitDog
Apprentice
Apprentice
User avatar
Posts: 207
Joined: Tue Jan 12, 2021 8:47 am
Location: South Pacific
Contact:
Contact FilthyPitDog
Website

  • Quote

Post by FilthyPitDog » Tue Nov 29, 2022 1:20 am

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: Select all

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: Select all

>>> 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...
Top
GDH-gentoo
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Jul 20, 2019 7:02 pm
Location: South America

  • Quote

Post by GDH-gentoo » Tue Nov 29, 2022 2:23 am

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?
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Top
FilthyPitDog
Apprentice
Apprentice
User avatar
Posts: 207
Joined: Tue Jan 12, 2021 8:47 am
Location: South Pacific
Contact:
Contact FilthyPitDog
Website

  • Quote

Post by FilthyPitDog » Tue Nov 29, 2022 2:26 am

This is what I got

Code: Select all

➜ 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...
Top
GDH-gentoo
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Jul 20, 2019 7:02 pm
Location: South America

  • Quote

Post by GDH-gentoo » Tue Nov 29, 2022 8:59 pm

FilthyPitDog wrote:This is what I got

Code: Select all

➜ 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: Select all

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.
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Top
FilthyPitDog
Apprentice
Apprentice
User avatar
Posts: 207
Joined: Tue Jan 12, 2021 8:47 am
Location: South Pacific
Contact:
Contact FilthyPitDog
Website

  • Quote

Post by FilthyPitDog » Tue Nov 29, 2022 9:19 pm

GDH-gentoo wrote:
FilthyPitDog wrote:This is what I got

Code: Select all

➜ 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: Select all

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...
Top
Post Reply

9 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic