bug#70873: join --return-error-if-any-unmatched-lines

2024-05-11 Thread Pádraig Brady
On 11/05/2024 10:14, Dan Jacobson wrote: join should have an option to return an error value in the shell's $? if any lines are not matched. Currently the man page doesn't even mention a return value. So it is not set in stone yet. Currently one must save -v output in a file then use test -s

bug#70873: join --return-error-if-any-unmatched-lines

2024-05-11 Thread Dan Jacobson
join should have an option to return an error value in the shell's $? if any lines are not matched. Currently the man page doesn't even mention a return value. So it is not set in stone yet. Currently one must save -v output in a file then use test -s do detect if there were any non-matched

bug#70714: realpath no error for unreadable-symlink

2024-05-02 Thread Pádraig Brady
On 02/05/2024 07:16, Nineteendo INC wrote: coreutils version: stable 9.5 (bottled) OS version: macOS 13.6.6 (22G630) `realpath` doesn’t behave correctly for unreadable symlinks: wannes@Stefans-iMac ~ % ln -s . src wannes@Stefans-iMac ~ % grealpath -e src/.. /Users wannes@Stefans-iMac ~ % chmod

bug#70714: realpath no error for unreadable-symlink

2024-05-02 Thread Nineteendo INC
coreutils version: stable 9.5 (bottled) OS version: macOS 13.6.6 (22G630) `realpath` doesn’t behave correctly for unreadable symlinks: wannes@Stefans-iMac ~ % ln -s . src wannes@Stefans-iMac ~ % grealpath -e src/.. /Users wannes@Stefans-iMac ~ % chmod -h 000 src wannes@Stefans-iMac ~ %

bug#68866: man page description of pwd command has error I guess

2024-01-31 Thread Bernhard Voelker
tag 68866 notabug close 68866 stop On 2/1/24 04:09, Seungchul Lee wrote: man page description has following line, "If no option is specified, -P is assumed." But in my machine, its default behavior seems -L without any option for pwd. 'man pwd' and 'env pwd --help' also tells: NOTE: your

bug#68866: man page description of pwd command has error I guess

2024-01-31 Thread Seungchul Lee
Hello, man page description has following line, "If no option is specified, -P is assumed." But in my machine, its default behavior seems -L without any option for pwd. Sincerely yours, Lee.

bug#68064: Date addition error with “day Monthname” versus “Monthname day”

2023-12-27 Thread Pádraig Brady
tag 68064 notabug close 68064 stop On 27/12/2023 17:29, Larry Ploetz wrote: It seems like there might be a problem with date addition when the base date is specified as “day Monthname” instead of “Monthname day”, where the offset is being interpreted as an absolute year value. This may be

bug#68064: Date addition error with “day Monthname” versus “Monthname day”

2023-12-27 Thread Larry Ploetz
It seems like there might be a problem with date addition when the base date is specified as “day Monthname” instead of “Monthname day”, where the offset is being interpreted as an absolute year value. This may be locale-specific. :bin larry$ locale LANG="en_US.UTF-8"

bug#65294: [PATCH] maint: Fix compilation error on GNU/Hurd

2023-08-14 Thread Pádraig Brady
On 14/08/2023 20:02, Bruno Haible wrote: Compiling a current coreutils on Debian GNU/Hurd from 2022, I get this compilation error: CC src/copy.o ../src/copy.c: In function 'set_author': ../src/copy.c:984:15: error: 'MACH_PORT_nullptr' undeclared (first use in this function); did you

bug#65294: [PATCH] maint: Fix compilation error on GNU/Hurd

2023-08-14 Thread Bruno Haible
Compiling a current coreutils on Debian GNU/Hurd from 2022, I get this compilation error: CC src/copy.o ../src/copy.c: In function 'set_author': ../src/copy.c:984:15: error: 'MACH_PORT_nullptr' undeclared (first use in this function); did you mean 'MACH_PORT_NULL'? 984 | if (file

bug#64654: input error handling

2023-07-15 Thread Pádraig Brady
Just creating a bug to track the recent fixes to read error handling in various coreutils. I.e.: https://github.com/coreutils/coreutils/commit/9d333aca4 cksum https://github.com/coreutils/coreutils/commit/0e62ba282 tsort https://github.com/coreutils/coreutils/commit/5595673d5 numfmt https

bug#62497: maybe date -f should generate an error

2023-03-28 Thread Pádraig Brady
. cheers, Pádraig From a9bd274616a8d2e99736b498e657cda4e6954f3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= Date: Tue, 28 Mar 2023 14:24:29 +0100 Subject: [PATCH] dircolors: diagnose read errors * NEWS: Mention the fix. * src/dircolors.c: Fail upon read error from getline

bug#62497: maybe date -f should generate an error

2023-03-28 Thread Pádraig Brady
On 28/03/2023 09:54, Paul Eggert wrote: Thanks for reporting that. I installed the attached to fix it. Looks good thanks. Also worth the attached test and NEWS, which I've pushed. cheers, PádraigFrom a4525de1ef593cb3873eb88caa7279eb32669bda Mon Sep 17 00:00:00 2001 From:

bug#62497: maybe date -f should generate an error

2023-03-28 Thread Paul Eggert
= getline (, , in_stream); if (line_length < 0) { - /* FIXME: detect/handle error here. */ + if (ferror (in_stream)) +die (EXIT_FAILURE, errno, _("%s: read error"), + quotef (input_filename)); break; } -- 2.37.2

bug#62497: maybe date -f should generate an error

2023-03-28 Thread Sylvestre Ledru
Hello The usual case is: $ echo "2023-03-27 08:30:00" > dates.txt $ echo "2023-04-01 12:00:00" >> dates.txt $ /usr/bin/date -f dates.txt Mon Mar 27 08:30:00 CEST 2023 Sat Apr 1 12:00:00 CEST 2023 If done on a non existing file, we get: $ date -f non-existing /usr/bin/date: non-existing: No

bug#61706: info page of cp contains error

2023-02-22 Thread Pádraig Brady
On 22/02/2023 13:28, Martin Castillo wrote: Hi, the info page of cp says Plain ‘--reflink’ is equivalent to ‘--reflink=when’. but probably means Plain ‘--reflink’ is equivalent to ‘--reflink=always’. Martin Castillo Already fixed in

bug#61706: info page of cp contains error

2023-02-22 Thread Martin Castillo
Hi, the info page of cp says Plain ‘--reflink’ is equivalent to ‘--reflink=when’. but probably means Plain ‘--reflink’ is equivalent to ‘--reflink=always’. Martin Castillo

bug#61467: Don't assume short/long options for error messages

2023-02-12 Thread Dan Jacobson
$ sort --human-numeric-sort -nr sort: options '-hn' are incompatible Say instead: sort: options --human-numeric-sort (-h), and --numeric-sort (-n), are incompatible. Else some projects might be delayed by days, as some people need to email other people to ask... "Can't blame me. That's not

bug#60030: Small error in date command

2022-12-13 Thread Pádraig Brady
tag 60030 notabug close 60030 stop On 13/12/2022 02:50, Malin Freeborn wrote: Hi bug-team, There's a small error in the date man page. If you search for `%F` you'll notice the date is summarized as so: %F full date; like %+4Y-%m-%d The example shows the `%` sign before

bug#60030: Small error in date command

2022-12-13 Thread Malin Freeborn
Hi bug-team, There's a small error in the date man page. If you search for `%F` you'll notice the date is summarized as so: %F full date; like %+4Y-%m-%d The example shows the `%` sign before the `+`. Best, - Malin

bug#59901: Valgrind Memory Error

2022-12-10 Thread Pádraig Brady
tag 59901 notabug close 59901 stop On 08/12/2022 03:44, Ridwan Shariffdeen wrote: Hi, Running valgrind on src/split with the following command reports a memory error. I have attached the valgrind output (i.e. Use of uninitialised value) I couldn't repro this here, and `src/split` above

bug#58599: `date -d $(date)` error for non en_* locale

2022-10-17 Thread Paul Eggert
On 10/17/22 07:44, Ruslan Kovtun wrote: According to "do one thing and do it well" and to the fact of '-d/--date' option existence, `date` should be able to parse its default output in any locale. Patches would be welcome. Good luck getting it to work, though. Many date formats are ambiguous,

bug#58599: `date -d $(date)` error for non en_* locale

2022-10-17 Thread Ruslan Kovtun
$ date -d "$( date )" date: invalid date ‘Пн 17 окт 2022 17:34:00 EEST’ $ date -d "Mon 17 oct 2022 17:34:00 EEST" Пн 17 окт 2022 17:34:00 EEST According to "do one thing and do it well" and to the fact of '-d/--date' option existence, `date` should be able to parse its default output in any

bug#58050: [INSTALLED] rm: fix diagnostics on I/O error

2022-09-25 Thread Paul Eggert
On 9/25/22 07:25, Pádraig Brady wrote: How about the attached to add a NEWS entry, and add DS_EMPTY, DS_NONEMPTY enums to make the code easier to read? Sure, that looks good; thanks. Oh, I forgot that via code inspection I found a theoretical portability bug in fts while I was looking into

bug#58050: [INSTALLED] rm: fix diagnostics on I/O error

2022-09-25 Thread Pádraig Brady
On 25/09/2022 00:37, Paul Eggert wrote: I ran into this problem when attempting to recursively remove a directory in a filesystem on flaky hardware. Although the underlying readdir syscall failed with errno == EIO, rm issued no diagnostic about the I/O error. This looks good. How about

bug#58050: [INSTALLED] rm: fix diagnostics on I/O error

2022-09-24 Thread Paul Eggert
I ran into this problem when attempting to recursively remove a directory in a filesystem on flaky hardware. Although the underlying readdir syscall failed with errno == EIO, rm issued no diagnostic about the I/O error. Without this patch I see this behavior: $ rm -fr baddir rm: cannot

bug#57631: Coreutils 9.1 build error with glibc 2.23

2022-09-07 Thread Satadru Pramanik
Thanks! That solved the issue! On Tue, Sep 6, 2022 at 3:18 PM Paul Eggert wrote: > Thanks for the bug report. Please try this Gnulib patch, which should > appear in the next Coreutils release: > > > https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=84863a1c4dc8cca8fb0f6f670f67779cdd2d543b

bug#57631: Coreutils 9.1 build error with glibc 2.23

2022-09-06 Thread Paul Eggert via GNU coreutils Bug Reports
Thanks for the bug report. Please try this Gnulib patch, which should appear in the next Coreutils release: https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=84863a1c4dc8cca8fb0f6f670f67779cdd2d543b

bug#57631: Coreutils 9.1 build error with glibc 2.23

2022-09-06 Thread Satadru Pramanik
this with the same arguments on x86_64 and armv7l with glibc 2.27. Configure line is: ./configure --prefix=/usr/local --libdir=/usr/local/lib --mandir=/usr/local/share/man --build=i686-cros-linux-gnu --host=i686-cros-linux-gnu --target=i686-cros-linux-gnu --program-prefix='' --program-suffix=''" The

bug#55910: cp error

2022-06-11 Thread Paul Eggert
_now = false; if (x->interactive != I_ALWAYS_NO - && ! same_file_ok (src_name, _sb, dst_dirfd, dst_relname, + && ! same_file_ok (src_name, _sb, dst_dirfd, drelname, _sb, x, _now)) { err

bug#55910: cp error

2022-06-11 Thread pk
and return ENOENT. Instead, the exact same steps work on arch linux 2022.03, which has coreutils 9.0-2. Note that -x should prevent trying to copy /mnt under itself; on 2022.03, there is a proper error message for cp -a / /mnt without -x.

bug#48085: date -d greater than 23 years ago gives error invalid date

2022-02-19 Thread Paul Eggert
On 4/28/21 16:23, Mark Krenz wrote: So I'm not sure if this is a problem with coreutils or a change in the zoneinfo database. Any ideas? This appears to be a problem in the GNU C library, when its mktime deciphers the relatively unusual time zone history of Indiana. I installed the attached

bug#53674: Docker error code: 0x794c7630

2022-02-01 Thread Bernhard Voelker
tag 53674 notabug close 53674 stop On 2/1/22 03:38, Alexandre Louisdhon wrote: > Error- tail: unrecognized file system type 0x794c7630 for > ‘/var/log/syslog’. Thanks for the report. That docker image seems to use a quite old coreutils version: overlayfs - commonly used with Docker cont

bug#53674: Docker error code: 0x794c7630

2022-01-31 Thread Alexandre Louisdhon
Error- tail: unrecognized file system type 0x794c7630 for ‘/var/log/syslog’. What happened: First, I git clone a bit bucket repository that contained PHP. Second, I used git checkout to switch to an existing branch. Third, I used docker-compose up in my bash terminal. Finally, I received

bug#53262: chmod 9.0 failing, where 8.29 succeeds - but no error message

2022-01-15 Thread Pádraig Brady
On 15/01/2022 01:09, Paul Eggert wrote: Thanks for reporting that. This is a duplicate of bug#50784[1], which was fixed[2] in September. Perhaps we should generate a new Coreutils soon, since this bug has been reported three times now. [1]: https://bugs.gnu.org/50784 [2]:

bug#53262: chmod 9.0 failing, where 8.29 succeeds - but no error message

2022-01-14 Thread Paul Eggert
Thanks for reporting that. This is a duplicate of bug#50784[1], which was fixed[2] in September. Perhaps we should generate a new Coreutils soon, since this bug has been reported three times now. [1]: https://bugs.gnu.org/50784 [2]:

bug#53262: chmod 9.0 failing, where 8.29 succeeds - but no error message

2022-01-14 Thread Jost, Martin (Nokia - DE/Ulm)
Hello, we found a case, where chmod from coreutils 9.0 fails (exit value 1), while the one from 8.29 succeeds. (exit value 0) Unfortunately, no (error) message is given, just the exit value is 0 and 1 respectively. Here is the example: == 8.29: fine >chmod --version chmod (

bug#52873: expr unexpected syntax error

2021-12-29 Thread Martin Rixham
ok I appreciate the explanation. On Wed, 29 Dec 2021 at 20:58, Paul Eggert wrote: > On 12/29/21 12:01, Martin Rixham wrote: > > What nonsense. I want to parse source code. ')' is not an uncommon line > of > > source code. It should work. > > Unfortunately, you're asking for what is in general

bug#52873: expr unexpected syntax error

2021-12-29 Thread Martin Rixham
What nonsense. I want to parse source code. ')' is not an uncommon line of source code. It should work. On Wed, 29 Dec 2021 at 19:52, Paul Eggert wrote: > On 12/29/21 08:31, Davide Brini wrote: > > I think you need to use '+' before the offending token > > Yes. That's a GNU extension. If you

bug#52873: expr unexpected syntax error

2021-12-29 Thread Paul Eggert
On 12/29/21 12:01, Martin Rixham wrote: What nonsense. I want to parse source code. ')' is not an uncommon line of source code. It should work. Unfortunately, you're asking for what is in general impossible. If the left argument of ':' could be any string, then the grammar for 'expr' would

bug#52873: expr unexpected syntax error

2021-12-29 Thread Paul Eggert
On 12/29/21 08:31, Davide Brini wrote: I think you need to use '+' before the offending token Yes. That's a GNU extension. If you want to be portable to any POSIX implementation, you can use this instead: expr "X(" : '.*' - 1 A similar example is given in the POSIX spec for 'expr':

bug#52873: expr unexpected syntax error

2021-12-29 Thread Davide Brini
On Wed, 29 Dec 2021 12:42:24 +, Martin Rixham wrote: > I'm getting an error from the following: > > [martin@fedora ~]$ expr ')' : '.*' > expr: syntax error: unexpected ')' > > There also seems to be a similar problem with: > > expr '(' : '.*' I think yo

bug#52873: expr unexpected syntax error

2021-12-29 Thread Martin Rixham
I'm getting an error from the following: [martin@fedora ~]$ expr ')' : '.*' expr: syntax error: unexpected ')' There also seems to be a similar problem with: expr '(' : '.*' Here's the version: [martin@fedora ~]$ expr --version expr (GNU coreutils) 8.32 Copyright (C

bug#52122: mv: deletes src file on error

2021-11-26 Thread Frank Busse
On Fri, 26 Nov 2021 18:54:54 +0100 Bernhard Voelker wrote: > On 11/26/21 13:23, Frank Busse wrote: > > I tried it several times with checking the timestamps/md5sums of the > > files but after remounting the stick it doesn't happen anymore?! I > > guess it was a hiccup somewhere else in the

bug#52122: mv: deletes src file on error

2021-11-26 Thread Paul Eggert
On 11/26/21 04:23, Frank Busse wrote: I guess it was a hiccup somewhere else in the system, sorry. Thanks for following up; closing the bug report.

bug#52122: mv: deletes src file on error

2021-11-26 Thread Bernhard Voelker
On 11/26/21 13:23, Frank Busse wrote: > I tried it several times with checking the timestamps/md5sums of the > files but after remounting the stick it doesn't happen anymore?! I > guess it was a hiccup somewhere else in the system, sorry. Perhaps the USB stick was removed from the system before

bug#52122: mv: deletes src file on error

2021-11-26 Thread Frank Busse
On Fri, 26 Nov 2021 12:05:21 + Chris Elvidge wrote: > Is your USB stick (V)FAT(32) (or similar) formatted? It's FAT32. > > The error is fine but mv deletes /src/foo and keeps mnt/dst/foo, > > meaning that the data of the new file is lost. Is this the intended > >

bug#52122: mv: deletes src file on error

2021-11-26 Thread Chris Elvidge
On 26/11/2021 11:07 am, Frank Busse wrote: Hi, Given two files: an old version of "foo" on a mounted USB stick: /mnt/dst/foo and a new version of "foo" in /src/foo on the system's hard drive. When I do: sudo mv /src/foo /mnt/dst/foo I get the following error: mv

bug#52122: mv: deletes src file on error

2021-11-26 Thread Frank Busse
Hi, Given two files: an old version of "foo" on a mounted USB stick: /mnt/dst/foo and a new version of "foo" in /src/foo on the system's hard drive. When I do: sudo mv /src/foo /mnt/dst/foo I get the following error: mv: failed to preserve ownership for '/mnt

bug#50085: fatal error: parse-datetime.tab.h: No such file or directory

2021-08-18 Thread softwarebugreports via GNU coreutils Bug Reports
Thanks for your patience and clarification. I was able to get it working properly with the latest master: RUN git clone --branch master --single-branch https://git.savannah.gnu.org/git/coreutils.git \ && cd coreutils \ && export FORCE_UNSAFE_CONFIGURE=1 \ && ./bootstrap \ &&

bug#50085: fatal error: parse-datetime.tab.h: No such file or directory

2021-08-18 Thread Paul Eggert
On 8/17/21 4:48 PM, softwarebugreports via GNU coreutils Bug Reports wrote: Thank you for the help! I tried using 8002ca7b56acb46b42eeac4a343e112a8ee283cf and the latest commits from master You can't combine the latest Coreutils master commit with old Gnulib commits like

bug#50085: fatal error: parse-datetime.tab.h: No such file or directory

2021-08-17 Thread softwarebugreports via GNU coreutils Bug Reports
177.2 gnulib/gnulib-tool: *** Stop. #10 177.2 ./bootstrap: gnulib-tool failed #10 ERROR: executor failed running [/bin/sh -c git clone --branch v8.32 --single-branch https://git.savannah.gnu.org/git/coreutils.git && cd coreutils && git clone https://git.savannah.gnu.or

bug#50085: fatal error: parse-datetime.tab.h: No such file or directory

2021-08-17 Thread Pádraig Brady
On 17/08/2021 16:16, Pádraig Brady wrote: On 17/08/2021 02:32, softwarebugreports via GNU coreutils Bug Reports wrote: I receive the following error when using make with coreutils in a alpine based docker container: #10 304.5 parse-datetime.tab.c:658:10: fatal error: parse-datetime.tab.h

bug#50085: fatal error: parse-datetime.tab.h: No such file or directory

2021-08-17 Thread Pádraig Brady
On 17/08/2021 02:32, softwarebugreports via GNU coreutils Bug Reports wrote: I receive the following error when using make with coreutils in a alpine based docker container: #10 304.0 CC lib/mkdir-p.o #10 304.1 CC lib/modechange.o #10 304.1 CC lib/mpsort.o #10 304.2 CC lib/nproc.o #10 304.2

bug#50085: fatal error: parse-datetime.tab.h: No such file or directory

2021-08-16 Thread softwarebugreports via GNU coreutils Bug Reports
I receive the following error when using make with coreutils in a alpine based docker container: > #10 304.0 CC lib/mkdir-p.o > #10 304.1 CC lib/modechange.o > #10 304.1 CC lib/mpsort.o > #10 304.2 CC lib/nproc.o > #10 304.2 CC lib/nstrftime.o > #10 304.3 CC lib/openat-die.o

bug#50070: chmod reads uninitialized variables when fts_info is an error and -v is set, leading to random error messages

2021-08-15 Thread Paul Eggert
ed = false; + struct change_status ch; + ch.status = CH_NO_STAT; switch (ent->fts_info) { @@ -217,27 +231,23 @@ process_file (FTS *fts, FTSENT *ent) if (! force_silent) error (0, ent->fts_errno, _("cannot access %s"), quoteaf (file_full_

bug#50070: chmod reads uninitialized variables when fts_info is an error and -v is set, leading to random error messages

2021-08-15 Thread Michael Debertol
Hi, I noticed that when running chmod with -v on a dangling symlink the error message is somewhat random: > ln -s file-that-does-not-exist lnk > chmod -w lnk -v > chmod: cannot operate on dangling symlink 'lnk' > failed to change mode of 'lnk' from (-) to 777

bug#48106: bug: touch utility does not handle file create error properly

2021-05-01 Thread Paul Eggert
least two cases: - the file does not exist, but the parent directory is unwritable @@ -193,9 +197,9 @@ touch (char const *file) } else { - if (no_create && errno == ENOENT) + if (no_create && utime_errno == ENOENT)

bug#48106: bug: touch utility does not handle file create error properly

2021-04-29 Thread Roland
hello, touch utility telling weird error on file creation on a immutable/ro dir. apparently, it does not catch/report the first error (EPERM) but only the second one (ENOENT), when trying to set the time on the non-existing file. regards roland kletzing sysadmin root@s900:/tmp# mkdir /tmp

bug#48085: date -d greater than 23 years ago gives error invalid date

2021-04-28 Thread Mark Krenz
Well it seems that this might actually be related to timezone database files. My timezone is America/Indianapolis but I noticed when I set the timezone to America/New_York or UTC that this problem doesn't happen $ TZ=America/Indianapolis date -d "now - 9001 days" date: invalid date ‘now -

bug#48085: date -d greater than 23 years ago gives error invalid date

2021-04-28 Thread Mark Krenz
Further investigating this problem it appears that at least today it doesn't like going back past September 26th, 1997. But only when the time delta is specified in years months or days. You can go back further if it's specified in total amounts of hours minutes or seconds. $ date -d "now -

bug#48085: date -d greater than 23 years ago gives error invalid date

2021-04-28 Thread Mark Krenz
I ran the following expecting it to provide me with the date 35 years ago date -d "now - 35 years" Instead I received the error: date: invalid date ‘now - 35 years’ Testing it further I found that the break point is at 24 years: $ date --version date (GNU coreutils) 8.32 Co

bug#44959: date error message should say -I

2020-12-01 Thread Bernhard Voelker
Hi Padraig, On 11/30/20 10:31 PM, Pádraig Brady wrote: > For my reference, if we were to give explicit diagnosis of the leading '='. > we would need to update xstrtol_fatal, XARGMATCH, operand2sig, set_fields, ... I'd also rather keep it like it is, but if we change something: we could advance

bug#44959: date error message should say -I

2020-11-30 Thread Pádraig Brady
On 30/11/2020 17:22, Pádraig Brady wrote: On 30/11/2020 15:21, 積丹尼 Dan Jacobson wrote: Well OK, but when and when not to use the "=" is not revealed by the otherwise detailed error messages. So unless the user checks the manual, they will never "get it". If we were to r

bug#44959: date error message should say -I

2020-11-30 Thread Pádraig Brady
On 30/11/2020 15:21, 積丹尼 Dan Jacobson wrote: Well OK, but when and when not to use the "=" is not revealed by the otherwise detailed error messages. So unless the user checks the manual, they will never "get it". If we were to recognize "-I seconds", it should ju

bug#44959: date error message should say -I

2020-11-30 Thread 積丹尼 Dan Jacobson
Well OK, but when and when not to use the "=" is not revealed by the otherwise detailed error messages. So unless the user checks the manual, they will never "get it".

bug#44959: date error message should say -I

2020-11-30 Thread Chris Elvidge
-8601' Valid arguments are: - 'hours' - 'minutes' - 'date' - 'seconds' - 'ns' Try 'date --help' for more information. Hey, that is a valid argument for --iso-8601. (But not for -I, so say that instead.) ... date (GNU coreutils) 8.32 From the above error message

bug#44959: date error message should say -I

2020-11-30 Thread Bernhard Voelker
'hours' - 'minutes' - 'date' - 'seconds' - 'ns' Try 'date --help' for more information. > Hey, that is a valid argument for --iso-8601. (But not for -I, so say > that instead.) ... > date (GNU coreutils) 8.32 >From the above error message and from the --help output, one c

bug#44959: date error message should say -I

2020-11-30 Thread 積丹尼 Dan Jacobson
$ date -I=seconds date: invalid argument ‘=seconds’ for ‘--iso-8601’ Hey, that is a valid argument for --iso-8601. (But not for -I, so say that instead.) Here is a real invalid argument: $ date --iso-8601=secondsz date: invalid argument ‘secondsz’ for ‘--iso-8601’ date (GNU coreutils) 8.32

bug#44865: date recalculation error

2020-11-25 Thread Rainer M. Canavan
Ruder Laplace wrote: > Greetings, > > I think I catched a bug related to the day-light saving gap: > *uname -a ; date ; date -d "2020/06/01 10:00:00 +1 hours"* > Linux 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 > GNU/Linux > mié nov 25 10:30:29 CET 2020 > lun jun 1

bug#44865: date recalculation error

2020-11-25 Thread Ruder Laplace
Greetings, I think I catched a bug related to the day-light saving gap: *uname -a ; date ; date -d "2020/06/01 10:00:00 +1 hours"* Linux 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux mié nov 25 10:30:29 CET 2020 lun jun 1 *12*:00:00 CEST 2020 As far as I think it

bug#44763: Error when 'make'ing latest version of coreutils

2020-11-21 Thread Paul Eggert
Thanks for reporting your recipe for working around all these problems. I've installed patches for the problems into coreutils and gnulib and am closing the bug report. On 11/21/20 3:45 PM, Chris Elvidge wrote: git commit -m 'build: update gnulib submodule to latest' gnulib 2>&1 | tee -a

bug#44763: Error when 'make'ing latest version of coreutils

2020-11-21 Thread Paul Eggert
On 11/21/20 6:37 AM, Chris Elvidge wrote: parse-datetime.y: In function 'parse_datetime2': parse-datetime.y:2301:27: error: format '%lld' expects argument of type 'long long int', but argument 2 has type 'time_t {aka long int}' [-Werror=format=] That's due to a typo that I recently introduced

bug#44763: Error when 'make'ing latest version of coreutils

2020-11-21 Thread Paul Eggert
On 11/21/20 5:17 AM, Pádraig Brady wrote: The info in https://bugs.gnu.org/44739 must be incorrect, and we've two counter checks to it now. Yes, that sounds right. Closing that bug report.

bug#44763: Error when 'make'ing latest version of coreutils

2020-11-21 Thread Chris Elvidge
ul] On 11/21/20 8:54 PM, Chris Elvidge wrote: CC test-nl_langinfo-mt.o test-nl_langinfo-mt.c: In function 'threadN_func': test-nl_langinfo-mt.c:185:1: error: no return statement in function returning non-void [-Werror=return-type] } ^ cc1: all warnings being treated as errors Makefile:6586

bug#44763: Error when 'make'ing latest version of coreutils

2020-11-21 Thread Bernhard Voelker
[adding Paul] On 11/21/20 8:54 PM, Chris Elvidge wrote: >CC test-nl_langinfo-mt.o > test-nl_langinfo-mt.c: In function 'threadN_func': > test-nl_langinfo-mt.c:185:1: error: no return statement in function > returning non-void [-Werror=return-type] > } > ^ > cc

bug#44763: Error when 'make'ing latest version of coreutils

2020-11-21 Thread Chris Elvidge
OK All. Thanks for all the help. Whether the bison (3.0.2 -> 3.7) upgrade was needed seems to be a moot point. Berny's mod to the bootstrap process (adding a step just before configure 'git clean -xdfq && ./bootstrap') got over the first error. Akim's mod to lib/parse-datetime.y (b

bug#44763: Error when 'make'ing latest version of coreutils

2020-11-21 Thread Akim Demaille
n 'parse_datetime2': > parse-datetime.y:2301:27: error: format '%lld' expects argument of type 'long > long int', but argument 2 has type 'time_t {aka long int}' [-Werror=format=] > parse-datetime.y:2301:25: note: in expansion of macro '_' This is the only error I spotted, and t

bug#44763: Error when 'make'ing latest version of coreutils

2020-11-21 Thread Chris Elvidge
it -m 'build: update gnulib submodule to latest' gnulib git clean -xdfq && ./bootstrap | tee -a out_bootstrap.2 ./configure TIME_T_32_BIT_OK=yes | tee -a out_configure.1 I've got the output of the second bootstrap run (git clean deleted the first one, I think) and the configure run. How

bug#44763: Error when 'make'ing latest version of coreutils

2020-11-21 Thread Akim Demaille
Hi all, > Le 20 nov. 2020 à 16:48, Pádraig Brady a écrit : > > See also https://bugs.gnu.org/44739 There, I just read this: >> I found that I needed to upgrade to Bison v3.7.4 to avoid a build error >> in stdlib.h where @GNULIB_POSIX_MEMALIGN@ has not been converted by

bug#44763: Error when 'make'ing latest version of coreutils

2020-11-21 Thread Chris Elvidge
Still no luck. Same error in parse-datetime.y Cheers On 21/11/2020 01:17 pm, Bernhard Voelker wrote: On 11/20/20 5:38 PM, Chris Elvidge wrote: Reran the whole thing from git clone etc. ( git clone git://git.sv.gnu.org/coreutils cd coreutils ./bootstrap git submodule foreach git pull origin

bug#44763: Error when 'make'ing latest version of coreutils

2020-11-21 Thread Chris Elvidge
Well, that got me a bit further. Thanks. Now the error from 'make' is: CC lib/parse-datetime.o In file included from lib/gettext.h:26:0, from parse-datetime.y:71: parse-datetime.y: In function 'parse_datetime2': parse-datetime.y:2301:27: error: format '%lld' expects

bug#44763: Error when 'make'ing latest version of coreutils

2020-11-21 Thread Bernhard Voelker
On 11/20/20 5:38 PM, Chris Elvidge wrote: > Reran the whole thing from git clone etc. > ( > git clone git://git.sv.gnu.org/coreutils > cd coreutils > ./bootstrap > git submodule foreach git pull origin master > git config --global user.email "celvidge...@gmail.com" > git config --global user.name

bug#44763: Error when 'make'ing latest version of coreutils

2020-11-21 Thread Pádraig Brady
/lib/parse-datetime.y:555.9-16: syntax error, unexpected identifier, expecting string It chokes on `%define api.pure`. According to NEWS, this syntax was introduced in 2.4 (2008-11-02). I have tried to install 2.7 on my system, but I can't (because of portability issues of vasnprintf that were

bug#44763: Error when 'make'ing latest version of coreutils

2020-11-20 Thread Akim Demaille
e-datetime.y:555.9-16: syntax error, unexpected identifier, expecting string It chokes on `%define api.pure`. According to NEWS, this syntax was introduced in 2.4 (2008-11-02). I have tried to install 2.7 on my system, but I can't (because of portability issues of vasnprintf that were not covered b

bug#44763: Error when 'make'ing latest version of coreutils

2020-11-20 Thread Akim Demaille
Hi Pádraig, > Le 20 nov. 2020 à 15:47, Pádraig Brady a écrit : > > On 20/11/2020 14:19, Chris Elvidge wrote: >> I keep getting >> ./lib/stdlib.h:695:5: error: token "@" is not valid in preprocessor >> expressions >> #if @GNULIB_ALIGNED_ALLOC@ >&g

bug#44763: Error when 'make'ing latest version of coreutils

2020-11-20 Thread Pádraig Brady
On 20/11/2020 15:42, Chris Elvidge wrote: Updated to bison 3.7; installed in /usr/local/bin Unfortunately, still the same error Logged off/on, disabled /usr/bin/bison and yacc, rebooted. No go. Thanks. Did you rerun bootstrap? What version was /usr/bin/bison ? See also https://bugs.gnu.org

bug#44763: Error when 'make'ing latest version of coreutils

2020-11-20 Thread Chris Elvidge
Updated to bison 3.7; installed in /usr/local/bin Unfortunately, still the same error Logged off/on, disabled /usr/bin/bison and yacc, rebooted. No go. Thanks. On 20/11/2020 02:47 pm, Pádraig Brady wrote: On 20/11/2020 14:19, Chris Elvidge wrote: I keep getting ./lib/stdlib.h:695:5: error

bug#44763: Error when 'make'ing latest version of coreutils

2020-11-20 Thread Pádraig Brady
On 20/11/2020 14:19, Chris Elvidge wrote: I keep getting ./lib/stdlib.h:695:5: error: token "@" is not valid in preprocessor expressions #if @GNULIB_ALIGNED_ALLOC@ ^ ./lib/stdlib.h:1059:5: error: token "@" is not valid in preprocessor expressions #if @G

bug#44763: Error when 'make'ing latest version of coreutils

2020-11-20 Thread Chris Elvidge
I keep getting ./lib/stdlib.h:695:5: error: token "@" is not valid in preprocessor expressions #if @GNULIB_ALIGNED_ALLOC@ ^ ./lib/stdlib.h:1059:5: error: token "@" is not valid in preprocessor expressions #if @GNULIB_POSIX_MEMALIGN@ ^ when running make i

bug#44695: error - GraphClust2 docker

2020-11-16 Thread Paul Eggert
On 11/16/20 10:58 AM, Christina Palka via GNU coreutils Bug Reports wrote: I got the following error when attempting to install GraphClust2 using Docker on Mac. tail: unrecognized file system type 0x794c7630 for ‘/home/galaxy/logs/uwsgi.log’. please report this to bug-coreut...@gnu.or Thanks

bug#39236: [musl] coreutils cp mishandles error return from lchmod

2020-02-12 Thread Florian Weimer
* Rich Felker: > Note that in any case, musl's lchmod/fchmodat is not affected since it > always refuses to change symlink modes; I did this because I was > worried that chmod on the magic symlink in /proc might pass through > not just to the symlink it refers to, but to the symlink target if one

bug#39236: [musl] coreutils cp mishandles error return from lchmod

2020-02-12 Thread Rich Felker
On Wed, Feb 12, 2020 at 08:05:55AM -0500, Rich Felker wrote: > On Wed, Feb 12, 2020 at 12:50:19PM +0100, Florian Weimer wrote: > > * Paul Eggert: > > > > > On 1/22/20 2:05 PM, Rich Felker wrote: > > >> I think we're approaching a consensus that glibc should fix this too, > > >> so then it would

bug#39236: [musl] coreutils cp mishandles error return from lchmod

2020-02-12 Thread Rich Felker
On Wed, Feb 12, 2020 at 12:50:19PM +0100, Florian Weimer wrote: > * Paul Eggert: > > > On 1/22/20 2:05 PM, Rich Felker wrote: > >> I think we're approaching a consensus that glibc should fix this too, > >> so then it would just be gnulib matching the fix. > > > > I installed the attached patch to

bug#39236: [musl] coreutils cp mishandles error return from lchmod

2020-02-12 Thread Florian Weimer
* Paul Eggert: > On 1/22/20 2:05 PM, Rich Felker wrote: >> I think we're approaching a consensus that glibc should fix this too, >> so then it would just be gnulib matching the fix. > > I installed the attached patch to Gnulib in preparation for the upcoming > glibc fix. The patch causes

bug#39236: [musl] coreutils cp mishandles error return from lchmod

2020-02-07 Thread Paul Eggert
On 1/22/20 2:05 PM, Rich Felker wrote: I think we're approaching a consensus that glibc should fix this too, so then it would just be gnulib matching the fix. I installed the attached patch to Gnulib in preparation for the upcoming glibc fix. The patch causes fchmodat with AT_SYMLINK_NOFOLLOW

bug#39236: [musl] coreutils cp mishandles error return from lchmod

2020-01-22 Thread Rich Felker
On Wed, Jan 22, 2020 at 01:55:57PM -0800, Paul Eggert wrote: > On 1/22/20 7:08 AM, Florian Weimer wrote: > >I think you misread what I wrote: lchmod*always* returns ENOSYS. Even > >if the file is not a symbolic link. Likewise, fchmodat with > >AT_SYMLINK_NOFOLLOW *always* returns ENOTSUP. > >

bug#39236: [musl] coreutils cp mishandles error return from lchmod

2020-01-22 Thread Paul Eggert
On 1/22/20 7:08 AM, Florian Weimer wrote: I think you misread what I wrote: lchmod*always* returns ENOSYS. Even if the file is not a symbolic link. Likewise, fchmodat with AT_SYMLINK_NOFOLLOW *always* returns ENOTSUP. That's too bad, because coreutils (and many other applications, I

bug#39236: [musl] coreutils cp mishandles error return from lchmod

2020-01-22 Thread Florian Weimer
* Rich Felker: > On Wed, Jan 22, 2020 at 09:48:14PM +0100, Florian Weimer wrote: >> * Rich Felker: >> >> >> Hmm. The way I read the musl code, the O_PATH descriptor already >> >> exists. At this point, you can just chmod the O_PATH descriptor, and >> >> have the kernel report EOPNOTSUPP if the

bug#39236: [musl] coreutils cp mishandles error return from lchmod

2020-01-22 Thread Florian Weimer
* Rich Felker: >> Hmm. The way I read the musl code, the O_PATH descriptor already >> exists. At this point, you can just chmod the O_PATH descriptor, and >> have the kernel report EOPNOTSUPP if the file system does not support >> that. > > Oh, you mean the second one after it's already open?

  1   2   3   4   5   6   7   8   9   10   >