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

From: Adrian Chadd <adrian_at_freebsd.org>
Date: Sat, 20 Jun 2026 22:12:43 UTC
On Sat, 20 Jun 2026 at 09:31, Dag-Erling Smørgrav <des@freebsd.org> wrote:
>
> Adrian Chadd <adrian@freebsd.org> writes:
> > Yanhui He <yanhui.he@broadcom.com> 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 - des@FreeBSD.org