Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2026 18:31:32 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        Yanhui He <yanhui.he@broadcom.com>,  Colin Percival <cperciva@freebsd.org>,  michaelo@freebsd.org, freebsd-current@freebsd.org,  freebsd-hackers@freebsd.org,  Yuhua Zou <yuhua.zou@broadcom.com>,  "Qi (Keira) Zhang" <qi-keira.zhang@broadcom.com>,  Diane Wang <diane.wang@broadcom.com>, Linhua Li <linhua.li@broadcom.com>
Subject:   Re: Failed to rebuild autoinstall ISO for freebsd-14.4 and FreeBSD 15.1 with error: Failed adding duplicate name to parent
Message-ID:  <86mrwptbq3.fsf@ltc.des.dev>
In-Reply-To: <CAJ-VmokxgGL2Wos66hXqCKqOzfQf%2B%2BNph9D9rggBzZeASfkQ7A@mail.gmail.com> (Adrian Chadd's message of "Sat, 20 Jun 2026 09:04:53 -0700")
References:  <CANLA5CuCXkAeFt=M9sOiOSJsF0ix_0fmWDgPdH-SqjQGywSHdg@mail.gmail.com> <CANLA5CuL3Pi7OQC9_WSzMsxGhbJhdw8ZwX5RrkuNBJ6kVsUp9A@mail.gmail.com> <CANLA5Cv3HGVuvhEtWcfDhWR-v-EP66tTD51oMG4mLeUDcd8-uA@mail.gmail.com> <CAJ-VmokxgGL2Wos66hXqCKqOzfQf%2B%2BNph9D9rggBzZeASfkQ7A@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

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.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86mrwptbq3.fsf>