Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938935 - app-misc/cdargs-1.35-r2 - [gcc-15] cdargs.cc: error: PATH_MAX was not declared in this scope
Summary: app-misc/cdargs-1.35-r2 - [gcc-15] cdargs.cc: error: PATH_MAX was not declare...
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: 2024-09-02 17:37 UTC by Toralf Förster
Modified: 2024-09-02 17:38 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.78 KB, text/plain)
2024-09-02 17:37 UTC, Toralf Förster
Details
app-misc:cdargs-1.35-r2:20240902-085900.log (app-misc:cdargs-1.35-r2:20240902-085900.log,14.53 KB, text/plain)
2024-09-02 17:37 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,97.01 KB, application/x-xz)
2024-09-02 17:37 UTC, Toralf Förster
Details
environment (environment,89.84 KB, text/plain)
2024-09-02 17:38 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1020 bytes, application/x-xz)
2024-09-02 17:38 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,44.72 KB, application/x-xz)
2024-09-02 17:38 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,4.98 KB, application/x-xz)
2024-09-02 17:38 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,96.22 KB, application/x-xz)
2024-09-02 17:38 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,22.87 KB, application/x-xz)
2024-09-02 17:38 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 2024-09-02 17:37:56 UTC
  909 |             editor = "/usr/bin/editor";
      |                      ^~~~~~~~~~~~~~~~~
cdargs.cc:911:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  911 |             editor = "vi";
      |                      ^~~~
cdargs.cc: In function 'char* get_cwd_as_charp()':
cdargs.cc:930:14: error: 'PATH_MAX' was not declared in this scope
  930 |     char buf[PATH_MAX];
      |              ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl-20240824-035506

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-musl-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.80.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.23.0 linux/amd64

  HEAD of ::gentoo
commit 1b205ccb6e8943e6416e90d9e1a3e213bfc03593
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Sep 2 08:36:20 2024 +0000

    2024-09-02 08:36:19 UTC

emerge -qpvO =app-misc/cdargs-1.35-r2
[ebuild  N    ] app-misc/cdargs-1.35-r2  USE="-emacs"
Comment 1 Toralf Förster gentoo-dev 2024-09-02 17:37:56 UTC
Created attachment 901917 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-02 17:37:57 UTC
Created attachment 901918 [details]
app-misc:cdargs-1.35-r2:20240902-085900.log
Comment 3 Toralf Förster gentoo-dev 2024-09-02 17:37:59 UTC
Created attachment 901919 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-09-02 17:38:00 UTC
Created attachment 901920 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-09-02 17:38:00 UTC
Created attachment 901921 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-02 17:38:01 UTC
Created attachment 901922 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-09-02 17:38:02 UTC
Created attachment 901923 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-09-02 17:38:03 UTC
Created attachment 901924 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-09-02 17:38:04 UTC
Created attachment 901925 [details]
temp.tar.xz