Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 901918 Details for
Bug 938935
app-misc/cdargs-1.35-r2 - [gcc-15] cdargs.cc: error: PATH_MAX was not declared in this scope
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-misc:cdargs-1.35-r2:20240902-085900.log
app-misc:cdargs-1.35-r2:20240902-085900.log (text/plain), 14.53 KB, created by
Toralf Förster
on 2024-09-02 17:37:57 UTC
(
hide
)
Description:
app-misc:cdargs-1.35-r2:20240902-085900.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-09-02 17:37:57 UTC
Size:
14.53 KB
patch
obsolete
> * Package: app-misc/cdargs-1.35-r2:0 > * Repository: gentoo > * Maintainer: shell-tools@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking cdargs-1.35.tar.gz to /var/tmp/portage/app-misc/cdargs-1.35-r2/work >>>> Source unpacked in /var/tmp/portage/app-misc/cdargs-1.35-r2/work >>>> Preparing source in /var/tmp/portage/app-misc/cdargs-1.35-r2/work/cdargs-1.35 ... > * Applying cdargs-1.35-format_security.patch ... > [ ok ] > * Applying cdargs-1.35-tinfo.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/app-misc/cdargs-1.35-r2/work/cdargs-1.35' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/app-misc/cdargs-1.35-r2/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'automake --add-missing --copy --force-missing' ... > [ ok ] > * Running elibtoolize in: cdargs-1.35/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-misc/cdargs-1.35-r2/work/cdargs-1.35 ... > * econf: updating cdargs-1.35/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating cdargs-1.35/config.sub with /usr/share/gnuconfig/config.sub >./configure --prefix=/usr --build=x86_64-pc-linux-musl --host=x86_64-pc-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/cdargs-1.35-r2 --htmldir=/usr/share/doc/cdargs-1.35-r2/html --libdir=/usr/lib >configure: loading site script /usr/share/config.site >checking for a BSD-compatible install... /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c >checking whether sleep supports fractional seconds... yes >checking filesystem timestamp resolution... 0.01 >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /usr/bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking xargs -n works... yes >checking for x86_64-pc-linux-musl-g++... x86_64-pc-linux-musl-g++ >checking whether the C++ compiler works... yes >checking for C++ compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C++... yes >checking whether x86_64-pc-linux-musl-g++ accepts -g... yes >checking for x86_64-pc-linux-musl-g++ option to enable C++11 features... none needed >checking whether make supports the include directive... yes (GNU style) >checking dependency style of x86_64-pc-linux-musl-g++... none >checking for x86_64-pc-linux-musl-gcc... x86_64-pc-linux-musl-gcc >checking whether the compiler supports GNU C... yes >checking whether x86_64-pc-linux-musl-gcc accepts -g... yes >checking for x86_64-pc-linux-musl-gcc option to enable C11 features... none needed >checking whether x86_64-pc-linux-musl-gcc understands -c and -o together... yes >checking dependency style of x86_64-pc-linux-musl-gcc... none >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /usr/bin/grep -E >checking for x86_64-pc-linux-musl-pkg-config... /usr/bin/x86_64-pc-linux-musl-pkg-config >checking pkg-config is at least version 0.9.0... yes >checking for ncurses... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating contrib/Makefile >config.status: creating doc/Makefile >config.status: creating src/Makefile >config.status: creating m4/Makefile >config.status: creating cdargs.spec >config.status: executing depfiles commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-misc/cdargs-1.35-r2/work/cdargs-1.35 ... >make -j4 >Making all in contrib >make[1]: Entering directory '/var/tmp/portage/app-misc/cdargs-1.35-r2/work/cdargs-1.35/contrib' >make[1]: Nothing to be done for 'all'. >make[1]: Leaving directory '/var/tmp/portage/app-misc/cdargs-1.35-r2/work/cdargs-1.35/contrib' >Making all in doc >make[1]: Entering directory '/var/tmp/portage/app-misc/cdargs-1.35-r2/work/cdargs-1.35/doc' >make[1]: Nothing to be done for 'all'. >make[1]: Leaving directory '/var/tmp/portage/app-misc/cdargs-1.35-r2/work/cdargs-1.35/doc' >Making all in src >make[1]: Entering directory '/var/tmp/portage/app-misc/cdargs-1.35-r2/work/cdargs-1.35/src' >x86_64-pc-linux-musl-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cdargs\" -DVERSION=\"1.35\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -g -Wall -W -O2 -pipe -march=native -fno-diagnostics-color -c -o cdargs.o cdargs.cc >cdargs.cc: In function 'void list_from_dir(const char*)': >cdargs.cc:637:13: warning: comparison with string literal results in unspecified behavior [-Waddress] > 637 | if(name == "..") { > | ~~~~~^~~~~~~ >cdargs.cc: In function 'void list_to_file()': >cdargs.cc:737:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 737 | fatal_exit("couldn't write listfile"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc: In function 'void edit_list_file()': >cdargs.cc:909:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 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]; > | ^~~~~~~~ >cdargs.cc:931:27: error: 'buf' was not declared in this scope > 931 | char* result = getcwd(buf, sizeof(buf)); > | ^~~ >cdargs.cc: In function 'void helpscreen()': >cdargs.cc:1231:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1231 | pager = "/usr/bin/pager"; > | ^~~~~~~~~~~~~~~~ >cdargs.cc:1234:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1234 | pager = "/usr/bin/less"; > | ^~~~~~~~~~~~~~~ >cdargs.cc:1236:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1236 | pager = "more"; > | ^~~~~~ >cdargs.cc:1251:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1251 | "cdargs (c) 2001-2003 S. Kamphausen <http://www.skamphausen.de>", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1252:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1252 | "<UP>/<DOWN> move selection up/down and scroll", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1253:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1253 | " please see manpage for alternative bindings!", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1254:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1254 | "<ENTER> select current entry", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1255:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1255 | "<TAB> toggle modes: LIST or BROWSE", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1256:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1256 | "<HOME>/<END> goto first/last entry in list if available in terminal", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1257:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1257 | "c add current directory to list", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1258:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1258 | "C same as 'c' but ask for a description", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1259:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1259 | "<PgUP/Dn> scroll the list 10 lines up or down", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1260:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1260 | "e,v edit the list in $EDITOR", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1261:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1261 | "H,? show this help", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1262:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1262 | "~,/ browse home/root directory", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1263:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1263 | "q quit - saving the list", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1264:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1264 | "C-c,C-g,C-[ abort - don't save the list", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1265:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1265 | " ", > | ^~~~~~~~~~~~~~~ >cdargs.cc:1266:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1266 | "Commands in BROWSE-mode:", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1267:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1267 | "<LEFT> descent into current directory", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1268:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1268 | "<RIGHT> up one directory", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1269:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1269 | "[num] make [num] the highlighted entry", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1270:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1270 | "a add current entry to list", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1271:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1271 | "A same as 'a' but ask for a description", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1272:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1272 | ". toggle display of hidden files", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1273:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1273 | " ", > | ^~~~~~~~~~~~~~~ >cdargs.cc:1274:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1274 | "Commands in LIST-mode:", > | ^~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1275:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1275 | "[num] select and resolve entry [num] if displayed", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1276:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1276 | "<LEFT> descent into the current entry", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1277:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1277 | "<RIGHT> up one directory from current dir", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1278:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1278 | "d delete current entry from list", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1279:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1279 | "a add current directory to list", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1280:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1280 | "s,t swap(transpose) two lines in the list", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdargs.cc:1281:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] > 1281 | "M/m move an entry up down in the list" > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >make[1]: *** [Makefile:388: cdargs.o] Error 1 >make[1]: Leaving directory '/var/tmp/portage/app-misc/cdargs-1.35-r2/work/cdargs-1.35/src' >make: *** [Makefile:357: all-recursive] Error 1 > * ERROR: app-misc/cdargs-1.35-r2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-misc/cdargs-1.35-r2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-misc/cdargs-1.35-r2::gentoo'`. > * The complete build log is located at '/var/log/portage/app-misc:cdargs-1.35-r2:20240902-085900.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/cdargs-1.35-r2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-misc/cdargs-1.35-r2/temp/environment'. > * Working directory: '/var/tmp/portage/app-misc/cdargs-1.35-r2/work/cdargs-1.35' > * S: '/var/tmp/portage/app-misc/cdargs-1.35-r2/work/cdargs-1.35' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 938935
:
901917
| 901918 |
901919
|
901920
|
901921
|
901922
|
901923
|
901924
|
901925