View previous topic :: View next topic |
Author |
Message |
rsnfunky Tux's lil' helper
Joined: 30 Dec 2007 Posts: 86
|
Posted: Tue Jan 07, 2025 3:03 pm Post subject: sci-astronomy/celestia: ninja fails |
|
|
[Administrator note: this post, and only this post, was originally attached to the topic app-crypt/gpgme fails, but appears to be unrelated, so I split it. -Hu]
Thank fedeliallalinea.
Facing issue with ninja. I have a 8core 8700G processor with 64GB ram. Have tried various makropts but it keeps failing.
Code: | [6/179] /usr/bin/x86_64-pc-linux-gnu-g++ -DCONFIG_DATA_DIR=\"/usr/share/celestia\" -DEIGEN_NO_DEBUG -DENABLE_NLS -DFMT_SHARED -DGIT_COMMIT=\"unknown\" -DHIP_DATA_DIR=\"/usr/share/celestia\" -DLOCALEDIR=\"/usr/share/locale\" -DNO_DEBUG -DPACKAGE=\"celestia\" -DSPLASH_DIR=\"/usr/share/celestia/splash\" -DVERSION=\"1.7.0\" -D_USE_MATH_DEFINES -I/var/tmp/portage/sci-astronomy/celestia-1.7.0_pre20221215-r1/work/Celestia-9b00246b17a60f0a6dce724be8f7a3bda04809c3/src/celengine -I/var/tmp/portage/sci-astronomy/celestia-1.7.0_pre20221215-r1/work/Celestia-9b00246b17a60f0a6dce724be8f7a3bda04809c3/src -I/var/tmp/portage/sci-astronomy/celestia-1.7.0_pre20221215-r1/work/Celestia-9b00246b17a60f0a6dce724be8f7a3bda04809c3 -isystem /usr/include/eigen3 -isystem /usr/include/freetype2 -march=znver4 -O2 -pipe -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -std=gnu++17 -fPIC -fno-exceptions -MD -MT src/celengine/CMakeFiles/celengine.dir/astro.cpp.o -MF src/celengine/CMakeFiles/celengine.dir/astro.cpp.o.d -o src/celengine/CMakeFiles/celengine.dir/astro.cpp.o -c /var/tmp/portage/sci-astronomy/celestia-1.7.0_pre20221215-r1/work/Celestia-9b00246b17a60f0a6dce724be8f7a3bda04809c3/src/celengine/astro.cpp
ninja: build stopped: subcommand failed.
* ERROR: sci-astronomy/celestia-1.7.0_pre20221215-r1::gentoo failed (compile phase):
* ninja -v -j5 -l5 failed
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 2929: Called cmake_src_compile
* environment, line 1177: Called cmake_build
* environment, line 1144: Called eninja
* environment, line 1647: Called die
* The specific snippet of code:
* "$@" || die -n "${*} failed"
*
* If you need support, post the output of `emerge --info '=sci-astronomy/celestia-1.7.0_pre20221215-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sci-astronomy/celestia-1.7.0_pre20221215-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sci-astronomy/celestia-1.7.0_pre20221215-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sci-astronomy/celestia-1.7.0_pre20221215-r1/temp/environment'.
* Working directory: '/var/tmp/portage/sci-astronomy/celestia-1.7.0_pre20221215-r1/work/Celestia-9b00246b17a60f0a6dce724be8f7a3bda04809c3'
* S: '/var/tmp/portage/sci-astronomy/celestia-1.7.0_pre20221215-r1/work/Celestia-9b00246b17a60f0a6dce724be8f7a3bda04809c3'
|
|
|
Back to top |
|
|
tckosvic Apprentice
Joined: 18 Apr 2023 Posts: 153
|
Posted: Tue Jan 07, 2025 3:17 pm Post subject: |
|
|
I also cannot get celestia compiled with same error messages. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22949
|
Posted: Tue Jan 07, 2025 3:28 pm Post subject: |
|
|
Neither of you has posted any actual error messages, only the report that an error occurred, so there is nothing we can do for you. If you need help, please follow the instructions that Portage printed, which rsnfunky quoted. |
|
Back to top |
|
|
rsnfunky Tux's lil' helper
Joined: 30 Dec 2007 Posts: 86
|
Posted: Tue Jan 07, 2025 5:48 pm Post subject: |
|
|
Code: | [2/179] /usr/bin/x86_64-pc-linux-gnu-g++ -DCONFIG_DATA_DIR=\"/usr/share/celestia\" -DEIGEN_NO_DEBUG -DENABLE_NLS -DFMT_SHARED -DGIT_COMMIT=\"unknown\" -DHIP_DATA_DIR=\"/usr/share/celestia\" -DLOCALEDIR=\"/usr/share/locale\" -DNO_DEBUG -DPACKAGE=\"celestia\" -DSPLASH_DIR=\"/usr/share/celestia/splash\" -DVERSION=\"1.7.0\" -D_USE_MATH_DEFINES -I/var/tmp/portage/sci-astronomy/celestia-1.7.0_pre20221215-r1/work/Celestia-9b00246b17a60f0a6dce724be8f7a3bda04809c3/src/cel3ds -I/var/tmp/portage/sci-astronomy/celestia-1.7.0_pre20221215-r1/work/Celestia-9b00246b17a60f0a6dce724be8f7a3bda04809c3/src -I/var/tmp/portage/sci-astronomy/celestia-1.7.0_pre20221215-r1/work/Celestia-9b00246b17a60f0a6dce724be8f7a3bda04809c3 -isystem /usr/include/eigen3 -isystem /usr/include/freetype2 -march=znver4 -O2 -pipe -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -std=gnu++17 -fPIC -fno-exceptions -MD -MT src/cel3ds/CMakeFiles/cel3ds.dir/3dsread.cpp.o -MF src/cel3ds/CMakeFiles/cel3ds.dir/3dsread.cpp.o.d -o src/cel3ds/CMakeFiles/cel3ds.dir/3dsread.cpp.o -c /var/tmp/portage/sci-astronomy/celestia-1.7.0_pre20221215-r1/work/Celestia-9b00246b17a60f0a6dce724be8f7a3bda04809c3/src/cel3ds/3dsread.cpp
FAILED: src/cel3ds/CMakeFiles/cel3ds.dir/3dsread.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -DCONFIG_DATA_DIR=\"/usr/share/celestia\" -DEIGEN_NO_DEBUG -DENABLE_NLS -DFMT_SHARED -DGIT_COMMIT=\"unknown\" -DHIP_DATA_DIR=\"/usr/share/celestia\" -DLOCALEDIR=\"/usr/share/locale\" -DNO_DEBUG -DPACKAGE=\"celestia\" -DSPLASH_DIR=\"/usr/share/celestia/splash\" -DVERSION=\"1.7.0\" -D_USE_MATH_DEFINES -I/var/tmp/portage/sci-astronomy/celestia-1.7.0_pre20221215-r1/work/Celestia-9b00246b17a60f0a6dce724be8f7a3bda04809c3/src/cel3ds -I/var/tmp/portage/sci-astronomy/celestia-1.7.0_pre20221215-r1/work/Celestia-9b00246b17a60f0a6dce724be8f7a3bda04809c3/src -I/var/tmp/portage/sci-astronomy/celestia-1.7.0_pre20221215-r1/work/Celestia-9b00246b17a60f0a6dce724be8f7a3bda04809c3 -isystem /usr/include/eigen3 -isystem /usr/include/freetype2 -march=znver4 -O2 -pipe -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -std=gnu++17 -fPIC -fno-exceptions -MD -MT src/cel3ds/CMakeFiles/cel3ds.dir/3dsread.cpp.o -MF src/cel3ds/CMakeFiles/cel3ds.dir/3dsread.cpp.o.d -o src/cel3ds/CMakeFiles/cel3ds.dir/3dsread.cpp.o -c /var/tmp/portage/sci-astronomy/celestia-1.7.0_pre20221215-r1/work/Celestia-9b00246b17a60f0a6dce724be8f7a3bda04809c3/src/cel3ds/3dsread.cpp
In file included from /usr/include/fmt/format.h:41,
|
Code: | /var/tmp/portage/sci-astronomy/celestia-1.7.0_pre20221215-r1/work/Celestia-9b00246b17a60f0a6dce724be8f7a3bda04809c3/src/cel3ds/3dsread.cpp:817:27: required from here
817 | GetLogger()->error("Read3DSFile: Error opening {}\n", filename);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/fmt/base.h:1402:29: error: passing ‘const fmt::v11::formatter<std::filesystem::__cxx11::path>’ as ‘this’ argument discards qualifiers [-fpermissive]
1402 | ctx.advance_to(cf.format(*static_cast<qualified_type*>(arg), ctx));
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/tmp/portage/sci-astronomy/celestia-1.7.0_pre20221215-r1/work/Celestia-9b00246b17a60f0a6dce724be8f7a3bda04809c3/src/cel3ds/3dsread.cpp:24:
/var/tmp/portage/sci-astronomy/celestia-1.7.0_pre20221215-r1/work/Celestia-9b00246b17a60f0a6dce724be8f7a3bda04809c3/src/celutil/logger.h:25:10: note: in call to ‘auto fmt::v11::formatter<std::filesystem::__cxx11::path>::format(const std::filesystem::__cxx11::path&, FormatContext&) [with FormatContext = fmt::v11::context]’
25 | auto format(const fs::path &path, FormatContext &ctx)
| ^~~~~~
ninja: build stopped: subcommand failed.
* ERROR: sci-astronomy/celestia-1.7.0_pre20221215-r1::gentoo failed (compile phase):
* ninja -v -j1 -l1 failed
*
|
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31399 Location: here
|
Posted: Tue Jan 07, 2025 6:00 pm Post subject: |
|
|
Probabli celestia 1.7.0 is not compatible with libfmt-11, try this upstream patch. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
rsnfunky Tux's lil' helper
Joined: 30 Dec 2007 Posts: 86
|
Posted: Wed Jan 08, 2025 6:43 am Post subject: |
|
|
Noted. How does one patch it using this patch and emerge command? |
|
Back to top |
|
|
bstaletic Guru
Joined: 05 Apr 2014 Posts: 449
|
Posted: Wed Jan 08, 2025 6:58 am Post subject: |
|
|
man 5 portage: | /etc/portage/patches/
In this directory patches to the package source tree can be created. For each package, patches are taken from these subdirectories in the following order:
1. /etc/portage/patches/${CATEGORY}/${P}-${PR}[:${SLOT}]
2. /etc/portage/patches/${CATEGORY}/${P}[:${SLOT}]
3. /etc/portage/patches/${CATEGORY}/${PN}[:${SLOT}]
Patches from more-specific directories overrides patches from less-specific, i.e. if patches with the same name coexist in different directories matches same package, only
patch from directory matches the first matching pattern will be applied. Patches for each package are applied in the POSIX lexicographic order. Patch file name must end in
".patch" or, for EAPI >= 6, in ".diff".
If package ebuild uses EAPI <= 5, it must explicitly invoke epatch_user or inherit epatch.eclass(5) and rely on default src_prepare for apply patches. Otherwise, patches are
silently ignored. If package ebuild uses EAPI >= 6, applying user patches is mandatory. |
|
|
Back to top |
|
|
|