Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919982 - app-misc/cdargs-2.1 - ../.../cdargs.cpp: error: PATH_MAX was not declared in this scope
Summary: app-misc/cdargs-2.1 - ../.../cdargs.cpp: error: PATH_MAX was not declared in ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-15 09:28 UTC by Toralf Förster
Modified: 2024-04-11 00:58 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.85 KB, text/plain)
2023-12-15 09:28 UTC, Toralf Förster
Details
app-misc:cdargs-2.1:20231215-090942.log (app-misc:cdargs-2.1:20231215-090942.log,4.94 KB, text/plain)
2023-12-15 09:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,25.35 KB, text/plain)
2023-12-15 09:28 UTC, Toralf Förster
Details
environment (environment,106.25 KB, text/plain)
2023-12-15 09:28 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,16.75 KB, application/x-xz)
2023-12-15 09:28 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,2.34 KB, application/x-xz)
2023-12-15 09:28 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,52.54 KB, text/plain)
2023-12-15 09:28 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,25.23 KB, application/x-xz)
2023-12-15 09:28 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 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