Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924397 - sys-cluster/galera-26.4.13-r1 fails to build: scons: *** missing SConscript file 'garb/SConscript'
Summary: sys-cluster/galera-26.4.13-r1 fails to build: scons: *** missing SConscript f...
Status: RESOLVED DUPLICATE of bug 922984
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-13 04:17 UTC by Tomáš Mózes
Modified: 2024-03-09 20:58 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2024-02-13 04:17:56 UTC
>>> Emerging (3 of 3) sys-cluster/galera-26.4.13-r1::gentoo
 * galera-26.4.13.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                           [ ok ]
 * Checking whether python3_11 is suitable ...
 *   dev-lang/python:3.11 ...                                                                                                                                                                  [ ok ]
 *   python_check_deps ...
 *     >=dev-build/scons-4.4.0[python_targets_python3_11(-)] ...                                                                                                                               [ ok ]
 * Using python3.11 to build (via PYTHON_COMPAT iteration)
>>> Unpacking source...
>>> Unpacking galera-26.4.13.tar.gz to /var/tmp/portage/sys-cluster/galera-26.4.13-r1/work
>>> Source unpacked in /var/tmp/portage/sys-cluster/galera-26.4.13-r1/work
>>> Preparing source in /var/tmp/portage/sys-cluster/galera-26.4.13-r1/work/galera-4-26.4.13 ...
 * Applying galera-26.4.6-strip-extra-cflags.patch ...                                                                                                                                         [ ok ]
 * Applying galera-26.4.8-respect-toolchain.patch ...                                                                                                                                          [ ok ]
 * Applying galera-26.4.13-asio.patch ...                                                                                                                                                      [ ok ]
 * Applying galera-26.4.13-tests.patch ...                                                                                                                                                     [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-cluster/galera-26.4.13-r1/work/galera-4-26.4.13 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-cluster/galera-26.4.13-r1/work/galera-4-26.4.13 ...
scons -j6 --warn=no-missing-sconscript crc32c_no_hardware=0 tests=0 strict_build_flags=0 system_asio=1
scons: Reading SConscript files ...
Host: linux x86_64 64bit
Signature: version: 4.13, revision: 0f7af311
Using C compiler executable: x86_64-pc-linux-gnu-gcc
C compiler version is: b'x86_64-pc-linux-gnu-gcc (Gentoo 13.2.1_p20240113-r1 p12) 13.2.1 20240113'
Using C++ compiler executable: x86_64-pc-linux-gnu-g++
C++ compiler version is: b'x86_64-pc-linux-gnu-g++ (Gentoo 13.2.1_p20240113-r1 p12) 13.2.1 20240113'
Checking for C library pthread... yes
Checking for C library rt... yes
Checking for C header file sys/epoll.h... yes
Checking for C header file byteswap.h... yes
Checking for C header file endian.h... yes
Checking for C header file execinfo.h... yes
Checking if compiler accepts -std=c++11 ... yes
Checking for C++ header file boost/shared_ptr.hpp... yes
Checking for C++ library boost_program_options... yes
Checking for C++ header file asio.hpp... yes
Checking ASIO version (>= 1.10.8 and < 1.26.0) ... no
Falling back to bundled asio
Checking for C++ header file asio.hpp... yes
Checking for C++ header file asio/ssl.hpp... yes
Checking for C library ssl... yes
Checking for C library crypto... yes
Checking for SSL_CTX_set_ecdh_auto() ... yes
Checking whether to enable -Weffc++ ... yes
Global flags:
CFLAGS: -std=c99 -fno-strict-aliasing -pipe -mtune=native -O2 -pipe
CXXFLAGS: -Wold-style-cast -Weffc++ -std=c++11 -pipe -Wno-long-long -Wno-deprecated -mtune=native -O2 -pipe
CCFLAGS: -isystem /var/tmp/portage/sys-cluster/galera-26.4.13-r1/work/galera-4-26.4.13/asio -DNDEBUG -pthread -fPIC -Wall -Wextra -Wno-unused-parameter
CPPFLAGS: -D_XOPEN_SOURCE=600 -DHAVE_COMMON_H -DGALERA_USE_GU_NETWORK -DHAVE_BYTESWAP_H -DHAVE_ENDIAN_H -DHAVE_EXECINFO_H -DHAVE_STD_ARRAY -DHAVE_BOOST_SHARED_PTR_HPP -DHAVE_STD_UNORDERED_MAP -DBOOS
T_DATE_TIME_POSIX_TIME_STD_CONFIG=1 -DHAVE_ASIO_HPP -DOPENSSL_HAS_SET_ECDH_AUTO -DGALERA_HAVE_SSL=1
Checking for C header file check.h... yes
Checking for C library check... yes
Checking for C library m... yes
Checking for C library subunit... no
Checking for C library rt... yes
Checking for --version-script linker option ... yes
Checking for hardware CRC32C support by compiler... yes
CRC32C config: crc32c_no_hardware='False', crc32c_cppflags='', crc32c_cflags=' -msse4.2'
gcs flags:
CFLAGS: -std=c99 -fno-strict-aliasing -pipe -mtune=native -O2 -pipe
CXXFLAGS: -std=c++11 -pipe -Wno-long-long -Wno-deprecated -mtune=native -O2 -pipe
CCFLAGS: -isystem /var/tmp/portage/sys-cluster/galera-26.4.13-r1/work/galera-4-26.4.13/asio -DNDEBUG -pthread -fPIC -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-variadic-
macros
CPPFLAGS: -D_XOPEN_SOURCE=600 -DHAVE_COMMON_H -DGALERA_USE_GU_NETWORK -DHAVE_BYTESWAP_H -DHAVE_ENDIAN_H -DHAVE_EXECINFO_H -DHAVE_STD_ARRAY -DHAVE_BOOST_SHARED_PTR_HPP -DHAVE_STD_UNORDERED_MAP -DBOOS
T_DATE_TIME_POSIX_TIME_STD_CONFIG=1 -DHAVE_ASIO_HPP -DOPENSSL_HAS_SET_ECDH_AUTO -DGALERA_HAVE_SSL=1 -DGCS_USE_GCOMM -DGALERA_LOG_H_ENABLE_CXX

scons: *** missing SConscript file 'garb/SConscript'
File "/var/tmp/portage/sys-cluster/galera-26.4.13-r1/work/galera-4-26.4.13/SConscript", line 1, in <module>


Maybe related to https://github.com/gentoo/gentoo/commit/c1edbc60c3013dc99e4c934650d9b1288c73d6eb ?
Comment 1 Ferdinand Kuhl 2024-02-13 09:40:24 UTC
This happens only if 'garbd' useflag is not set.

If the flag is not set, the ebuild calls `rm -r garb`, where the file lives, which is missing during src_configure so probably removal of `garb` directory is not longer sufficient, if garbd is not requested.
Comment 2 Tomáš Mózes 2024-03-09 20:58:05 UTC

*** This bug has been marked as a duplicate of bug 922984 ***