Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829356 - sys-process/atop-2.6.0 - photosyst.c: error: PATH_MAX undeclared (first use in this function)
Summary: sys-process/atop-2.6.0 - photosyst.c: error: PATH_MAX undeclared (first use i...
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:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-16 17:29 UTC by Toralf Förster
Modified: 2021-12-20 04:17 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.74 KB, text/plain)
2021-12-16 17:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,151.95 KB, text/plain)
2021-12-16 17:29 UTC, Toralf Förster
Details
environment (environment,80.08 KB, text/plain)
2021-12-16 17:29 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,35.67 KB, application/x-bzip)
2021-12-16 17:29 UTC, Toralf Förster
Details
sys-process:atop-2.6.0:20211216-161601.log (sys-process:atop-2.6.0:20211216-161601.log,4.83 KB, text/plain)
2021-12-16 17:29 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,19.99 KB, application/x-bzip)
2021-12-16 17:29 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 2021-12-16 17:29:43 UTC
x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -O2 -I. -Wall -Wno-stringop-truncation    -c -o acctproc.o acctproc.c
x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -O2 -I. -Wall -Wno-stringop-truncation    -c -o photoproc.o photoproc.c
x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -O2 -I. -Wall -Wno-stringop-truncation    -c -o photosyst.o photosyst.c
photosyst.c: In function 'lvmmapname':
photosyst.c:1624:38: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'?
 1624 |                 char            path[PATH_MAX];
      |                                      ^~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20211215-000030

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.0 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Rust versions:
  [1]   rust-1.57.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

php cli:

  HEAD of ::gentoo
commit 5fb599534111dbd0fba8da09bbf9222d38762934
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 16 15:36:46 2021 +0000

    2021-12-16 15:36:44 UTC

emerge -qpvO sys-process/atop
[ebuild  N    ] sys-process/atop-2.6.0
Comment 1 Toralf Förster gentoo-dev 2021-12-16 17:29:44 UTC
Created attachment 759353 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-16 17:29:45 UTC
Created attachment 759354 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-16 17:29:47 UTC
Created attachment 759355 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-16 17:29:48 UTC
Created attachment 759356 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-16 17:29:49 UTC
Created attachment 759357 [details]
sys-process:atop-2.6.0:20211216-161601.log
Comment 6 Toralf Förster gentoo-dev 2021-12-16 17:29:50 UTC
Created attachment 759358 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2021-12-20 04:08:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15e061e8643f68741540b6020777898f9df2d7cb

commit 15e061e8643f68741540b6020777898f9df2d7cb
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-20 02:30:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-20 04:08:35 +0000

    sys-process/atop: add 2.7.0
    
    Closes: https://bugs.gentoo.org/612248
    Closes: https://bugs.gentoo.org/736406
    Closes: https://bugs.gentoo.org/777903
    Closes: https://bugs.gentoo.org/829356
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-process/atop/Manifest                          |   2 +
 sys-process/atop/atop-2.7.0.ebuild                 | 111 +++++++++++++++++++++
 .../atop/files/atop-2.7.0-netatop-makefile.patch   |  42 ++++++++
 sys-process/atop/files/atop.service-r1             |  11 ++
 sys-process/atop/files/netatop.rc                  |  17 ++++
 sys-process/atop/metadata.xml                      |  11 +-
 6 files changed, 190 insertions(+), 4 deletions(-)