Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712832 - net-misc/stargazer-2.408-r1 : ../.../common.h: error: NAME_MAX was not declared in this scope
Summary: net-misc/stargazer-2.408-r1 : ../.../common.h: error: NAME_MAX was not declar...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard: Missing limits.h?
Keywords: PATCH, PMASKED
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-16 13:22 UTC by Toralf Förster
Modified: 2021-09-02 20:36 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.91 KB, text/plain)
2020-03-16 13:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,163.94 KB, text/plain)
2020-03-16 13:22 UTC, Toralf Förster
Details
environment (environment,119.72 KB, text/plain)
2020-03-16 13:22 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.63 KB, application/x-bzip)
2020-03-16 13:23 UTC, Toralf Förster
Details
net-misc:stargazer-2.408-r1:20200316-024354.log (net-misc:stargazer-2.408-r1:20200316-024354.log,28.45 KB, text/plain)
2020-03-16 13:23 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-16 13:22:49 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2020-03-16 13:22:52 UTC
Created attachment 620268 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-16 13:22:55 UTC
Created attachment 620270 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-16 13:22:58 UTC
Created attachment 620272 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-16 13:23:01 UTC
Created attachment 620274 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-16 13:23:03 UTC
Created attachment 620276 [details]
net-misc:stargazer-2.408-r1:20200316-024354.log
Comment 6 Toralf Förster gentoo-dev 2020-03-16 16:12:28 UTC
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.
Comment 7 Michael 'veremitz' Everitt 2020-04-01 17:41:27 UTC
I suspect this is a case of a missing #include <limits.h> which is required
explicitly on musl-libc.
Comment 9 Larry the Git Cow gentoo-dev 2021-08-04 21:12:09 UTC
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(+)
Comment 10 Larry the Git Cow gentoo-dev 2021-09-02 20:36:57 UTC
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(-)