[Bug 280228] tar(1) prints errors without specifying what paths are: : Pathname too long: Pathname too long: Pathname too long: Pathname too long: Pathname too long: Pathname too long

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 11 Jul 2024 17:57:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280228

            Bug ID: 280228
           Summary: tar(1) prints errors without specifying what paths
                    are: : Pathname too long: Pathname too long: Pathname
                    too long: Pathname too long: Pathname too long:
                    Pathname too long
           Product: Base System
           Version: 14.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

I run this command:
> cat all-files.txt |
> tar czf x.tgz --format=ustar --gid 0 --uid 0 --options gzip:!timestamp --no-recursion -T -

It prints this line w/out the EOL character in the end:
> Pathname too long: Pathname too long: Pathname too long: Pathname too long:

Probably 4 paths caused a problem, but there are no details in the message. The
error messages are malformed.

-- 
You are receiving this mail because:
You are the assignee for the bug.