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

From: Yanhui He <yanhui.he_at_broadcom.com>
Date: Mon, 22 Jun 2026 06:31:12 UTC
Thanks all! Looking forward to the fix!

On Sun, Jun 21, 2026 at 6:12 AM Adrian Chadd <adrian@freebsd.org> wrote:

> 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
>