Re: Failed to rebuild autoinstall ISO for freebsd-14.4 and FreeBSD 15.1 with error: Failed adding duplicate name to parent

Adrian Chadd <[email protected]> Sat, 20 Jun 2026 15:12:43 -0700
Newsgroups gmane.os.freebsd.devel.hackers,gmane.os.freebsd.current
Message-ID <CAJ-VmomAKSszWn5Dq8M+HRgXnNAegj913w3YPaRK5D_b=0saRA@mail.gmail.com>
On Sat, 20 Jun 2026 at 09:31, Dag-Erling Smørgrav <[email protected]> wrote:
>
> Adrian Chadd <[email protected]> writes:
> > Yanhui He <[email protected]> writes:
> > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287251: Failed to
> > > rebuild autoinstall ISO for freebsd-14.4 and FreeBSD 15.1 with
> > > error: Failed adding duplicate name to parent
> > I've poked some people directly to try and help figure out what's
> > going on.
>
> What's going on is that in ISO images, long names get split up across
> multiple directory entries, and makefs creates duplicate directory
> entries when two files or directories have names that differ only after
> the first 32 characters.  This started occurring when we started
> including wifi firmware packages on DVD1; some of them (and hence some
> of their directories under /usr/local/share/licenses) have very long
> names that differ only at the end.  It doesn't seem to bother libarchive
> or our own cd9660 implementation, but it bothers pycdlib.  I wasn't able
> to get to the bottom of it (is makefs at fault, or pycdlib?) but I did
> create a pycdlib port to facilitate further investigation.

Thanks, I'll add this to the bug.



-adrian

>
> DES
> --
> Dag-Erling Smørgrav - [email protected]