Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 919982

Summary: app-misc/cdargs-2.1 - ../.../cdargs.cpp: error: PATH_MAX was not declared in this scope
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: pascal.jaeger, shell-tools
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=713962
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-misc:cdargs-2.1:20231215-090942.log
emerge-history.txt
environment
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-15 09:28:26 UTC
too long lines were shrinked:

INFO: calculating backend command to run: /usr/bin/ninja -C /var/tmp/portage/app-misc/cdargs-2.1/work/cdargs-2.1-build -j 4 -v
ninja: Entering directory `/var/tmp/portage/app-misc/cdargs-2.1/work/cdargs-2.1-build'
[1/2] x86_64-gentoo-linux-musl-g++ -Icdargs.p -I. -I../cdargs-2.1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -O3 -pipe -march=native -fno-diagnostics-color -D_POSIX_C_SOURCE=199506L -MD -MQ cdargs.p/src_cdargs.cpp.o -MF cdargs.p/src_cdargs.cpp.o.d -o cdargs.p/sr
FAILED: cdargs.p/src_cdargs.cpp.o 
x86_64-gentoo-linux-musl-g++ -Icdargs.p -I. -I../cdargs-2.1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -O3 -pipe -march=native -fno-diagnostics-color -D_POSIX_C_SOURCE=199506L -MD -MQ cdargs.p/src_cdargs.cpp.o -MF cdargs.p/src_cdargs.cpp.o.d -o cdargs.p/src_cdar
../cdargs-2.1/src/cdargs.cpp: In function 'std::string {anonymous}::getCwd()':
../cdargs-2.1/src/cdargs.cpp:80:18: error: 'PATH_MAX' was not declared in this scope
   80 |         char buf[PATH_MAX];
      |                  ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20231214-201013

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-13 *
clang/llvm (if any):
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit e0be41f9ba8c0e73a2a38ef11eb85c572d839100
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 15 08:16:53 2023 +0000

    2023-12-15 08:16:52 UTC

emerge -qpvO app-misc/cdargs
[ebuild  N    ] app-misc/cdargs-2.1  USE="-emacs"
Comment 1 Toralf Förster gentoo-dev 2023-12-15 09:28:27 UTC
Created attachment 879468 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-15 09:28:27 UTC
Created attachment 879469 [details]
app-misc:cdargs-2.1:20231215-090942.log
Comment 3 Toralf Förster gentoo-dev 2023-12-15 09:28:28 UTC
Created attachment 879470 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-15 09:28:30 UTC
Created attachment 879471 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-15 09:28:30 UTC
Created attachment 879472 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-15 09:28:31 UTC
Created attachment 879473 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-15 09:28:33 UTC
Created attachment 879474 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2023-12-15 09:28:34 UTC
Created attachment 879475 [details]
temp.tar.xz