In file included from file_store.cpp:46: file_store.cpp: In member function virtual int FILES_STORE::WriteDetailedStat(const std::map<IP_DIR_PAIR, STAT_NODE>&, time_t, const string&) const: ../../../../../stglibs/common.lib/include/stg/common.h:47:26: error: NAME_MAX was not declared in this scope; did you mean AF_MAX? 47 | #define FN_STR_LEN (NAME_MAX) | ^~~~~~~~ file_store.cpp:1566:9: note: in expansion of macro FN_STR_LEN ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200311-204810 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-9.2.0 * [2] x86_64-gentoo-linux-musl-9.3.0 clang version 10.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-bin-1.41.1 [2] rust-1.41.1 * The following VMs are available for generation-2: repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Mon, 16 Mar 2020 01:39:34 +0000 emerge -qpvO net-misc/stargazer [ebuild N ] net-misc/stargazer-2.408-r1 USE="module_store_files stargazer -debug -module_auth_always_online -module_auth_freeradius -module_auth_internet_access -module_capture_ether -module_capture_ipq -module_capture_netflow -module_config_rpcconfig -module_config_sgconfig -module_other_ping -module_other_remote_script -module_other_smux -module_store_firebird -module_store_mysql -module_store_postgres -radius -rscriptd -sgauth -sgconf -sgconf_xml -sgconv"
Created attachment 620268 [details] emerge-info.txt
Created attachment 620270 [details] emerge-history.txt
Created attachment 620272 [details] environment
Created attachment 620274 [details] etc.portage.tbz2
Created attachment 620276 [details] net-misc:stargazer-2.408-r1:20200316-024354.log
The first attempt to tinderbox a musl image failed at all. I'll mass close therefore all filed bug reports of the last days related to this tinderbox image. Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.
I suspect this is a case of a missing #include <limits.h> which is required explicitly on musl-libc.
alpine: https://git.alpinelinux.org/aports/tree/testing/stargazer/fix-name-max.patch
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27c1add79bac27db9f36d87a8faf0d3023a403e8 commit 27c1add79bac27db9f36d87a8faf0d3023a403e8 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-08-04 21:11:45 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-08-04 21:11:45 +0000 profiles: last-rite net-misc/stargazer Bug: https://bugs.gentoo.org/692806 Bug: https://bugs.gentoo.org/694674 Bug: https://bugs.gentoo.org/712832 Bug: https://bugs.gentoo.org/725166 Bug: https://bugs.gentoo.org/740792 Bug: https://bugs.gentoo.org/788637 Bug: https://bugs.gentoo.org/798042 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 7 +++++++ 1 file changed, 7 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1a5727e16c09889a4d3fe78ad5c8cd8d0c6190f commit c1a5727e16c09889a4d3fe78ad5c8cd8d0c6190f Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2021-09-02 20:30:19 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2021-09-02 20:35:34 +0000 net-misc/stargazer: Remove last-rited package Closes: https://bugs.gentoo.org/712832 Closes: https://bugs.gentoo.org/694674 Closes: https://bugs.gentoo.org/725166 Closes: https://bugs.gentoo.org/788637 Closes: https://bugs.gentoo.org/692806 Closes: https://bugs.gentoo.org/798042 Closes: https://bugs.gentoo.org/740792 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> net-misc/stargazer/Manifest | 1 - net-misc/stargazer/files/logrotate | 9 - net-misc/stargazer/files/mans/rscriptd.8 | 51 -- net-misc/stargazer/files/mans/sgauth.8 | 54 -- net-misc/stargazer/files/mans/sgconf.1 | 160 ------ net-misc/stargazer/files/mans/sgconf_xml.1 | 79 --- net-misc/stargazer/files/mans/sgconv.1 | 42 -- net-misc/stargazer/files/mans/stargazer.8 | 64 --- .../files/patches/stg-2.408-build-upstream.patch | 214 -------- .../stargazer/files/patches/stg-2.408-build.patch | 179 ------- .../files/patches/stg-2.408-correct-paths.patch | 186 ------- .../patches/stg-2.408-fix-crash-on-stop.patch | 190 -------- .../stg-2.408-makefile-build-upstream.patch | 386 --------------- .../stg-2.408-makefile-firebird-upstream.patch | 13 - .../files/patches/stg-2.408-makefile.patch | 203 -------- .../files/patches/stg-2.408-on-upstream.patch | 151 ------ .../files/patches/stg-2.408-radius-upstream.patch | 31 -- .../patches/stg-2.408-rscriptd-upstream.patch | 26 - .../patches/stg-2.408-rscriptd.conf-upstream.patch | 80 --- .../patches/stg-2.408-sgauth.conf-upstream.patch | 112 ----- .../files/patches/stg-2.408-sgconv-upstream.patch | 40 -- .../files/patches/stg-2.408-static-libs.patch | 10 - net-misc/stargazer/files/rscriptd | 23 - net-misc/stargazer/files/sgauth | 27 - net-misc/stargazer/metadata.xml | 50 -- net-misc/stargazer/stargazer-2.408-r2.ebuild | 542 --------------------- profiles/package.mask | 7 - 27 files changed, 2930 deletions(-)