View previous topic :: View next topic |
Author |
Message |
LiamOS n00b
Joined: 06 Jun 2012 Posts: 64 Location: Ireland
|
Posted: Tue Mar 26, 2024 12:03 pm Post subject: CMake errors when configuring various packages |
|
|
Hi all,
I have a monstrosity install inside a singularity container that is having trouble with building cmake packages since the 23.0 update.
The errors all have the same form, i.e.
Code: | root ~ # emerge -v1 libzip
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 2.82 s (backtrack: 0/20).
[ebuild R ] dev-libs/libzip-1.9.2:0/5::gentoo USE="bzip2 lzma ssl zstd* -gnutls -mbedtls -static-libs -test -tools" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-libs/libzip-1.9.2::gentoo
* libzip-1.9.2.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking libzip-1.9.2.tar.xz to /var/tmp/portage/dev-libs/libzip-1.9.2/work
>>> Source unpacked in /var/tmp/portage/dev-libs/libzip-1.9.2/work
>>> Preparing source in /var/tmp/portage/dev-libs/libzip-1.9.2/work/libzip-1.9.2 ...
* Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-libs/libzip-1.9.2/work/libzip-1.9.2"
* Build directory (BUILD_DIR): "/var/tmp/portage/dev-libs/libzip-1.9.2/work/libzip-1.9.2_build"
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/libzip-1.9.2/work/libzip-1.9.2 ...
* shared: running myconfigure
* Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-libs/libzip-1.9.2/work/libzip-1.9.2"
* Build directory (BUILD_DIR): "/var/tmp/portage/dev-libs/libzip-1.9.2/work/libzip-1.9.2_build-shared"
cmake -C /var/tmp/portage/dev-libs/libzip-1.9.2/work/libzip-1.9.2_build-shared/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_EXAMPLES=OFF -DENABLE_COMMONCRYPTO=OFF -DENABLE_BZIP2=yes -DENABLE_LZMA=yes -DENABLE_ZSTD=yes -DBUILD_DOC=ON -DBUILD_REGRESS=no -DBUILD_TOOLS=no -DENABLE_GNUTLS=OFF -DENABLE_MBEDTLS=OFF -DENABLE_OPENSSL=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-libs/libzip-1.9.2/work/libzip-1.9.2_build-shared/gentoo_toolchain.cmake /var/tmp/portage/dev-libs/libzip-1.9.2/work/libzip-1.9.2
loading initial cache file /var/tmp/portage/dev-libs/libzip-1.9.2/work/libzip-1.9.2_build-shared/gentoo_common_config.cmake
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
cmake: ./src/unix/process.c:427: uv_spawn: Assertion `!(options->flags & ~(UV_PROCESS_DETACHED | UV_PROCESS_SETGID | UV_PROCESS_SETUID | UV_PROCESS_WINDOWS_HIDE | UV_PROCESS_WINDOWS_HIDE_CONSOLE | UV_PROCESS_WINDOWS_HIDE_GUI | UV_PROCESS_WINDOWS_VERBATIM_ARGUMENTS))' failed.
/var/tmp/portage/dev-libs/libzip-1.9.2/temp/environment: line 887: 74 Aborted "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}"
* ERROR: dev-libs/libzip-1.9.2::gentoo failed (configure phase):
* cmake failed
*
* Call stack:
* ebuild.sh, line 136: Called src_configure
* environment, line 2230: Called multibuild_foreach_variant 'myconfigure'
* environment, line 1859: Called _multibuild_run 'myconfigure'
* environment, line 1857: Called myconfigure
* environment, line 2228: Called cmake_src_configure
* environment, line 1041: 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 '=dev-libs/libzip-1.9.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/libzip-1.9.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/libzip-1.9.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/libzip-1.9.2/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/libzip-1.9.2/work/libzip-1.9.2_build-shared'
* S: '/var/tmp/portage/dev-libs/libzip-1.9.2/work/libzip-1.9.2'
|
emerge --info: https://bpa.st/F4YQ
Interestingly, I removed cmake and then re-emerged it, and the bootstrap went completely fine.
Any help would be appreciated, as I'm lost with this error.
Edit: Downgrading cmake to 3.28.4 from 3.29 allows me to build. _________________ CFLAGS=" -O999999" |
|
Back to top |
|
|
turtles Veteran
Joined: 31 Dec 2004 Posts: 1658
|
Posted: Fri Mar 29, 2024 6:26 pm Post subject: |
|
|
thats a bug in libuv try updating it first.
Code: | emerge -1ua dev-libs/libuv |
_________________ Donate to Gentoo |
|
Back to top |
|
|
LiamOS n00b
Joined: 06 Jun 2012 Posts: 64 Location: Ireland
|
Posted: Sat Mar 30, 2024 3:18 pm Post subject: |
|
|
Thanks for the idea, I'm already on the most recent version though. _________________ CFLAGS=" -O999999" |
|
Back to top |
|
|
|
|
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
|
|