[Bug 287251] Failed to rebuild autoinstall ISO for freebsd-14.3-RC1-64bit with error: Failed adding duplicate name to parent

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 10 Jun 2025 16:32:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287251

--- Comment #6 from Ed Maste <emaste@freebsd.org> ---
Offending duplicates in FreeBSD-14.3-RELEASE-amd64-dvd1.iso are:

drwxr-xr-x  2 0      0        2048 Jun  6 06:11
usr/local/share/licenses/wifi-firmware-rtw88-kmod-rtw8723d-20241017.1402000_2
-r--r--r--  1 0      0         700 Apr 12 05:23
usr/local/share/licenses/wifi-firmware-rtw88-kmod-rtw8723d-20241017.1402000_2/catalog.mk

With some debug printfs added to _walk_directories in pycdlib/pycdlib.py I see:

new_record.parent.file_ident = b'LICENSES' new_record.file_ident =
b'WIFI_FIRMWARE_RTW88_KMOD_RTW872'
new_record.parent.file_ident = b'LICENSES' new_record.file_ident =
b'WIFI_FIRMWARE_RTW88_KMOD_RTW872'

With FreeBSD-14.3-BETA1-amd64-dvd1.iso I see only one:

new_record.parent.file_ident = b'LICENSES' new_record.file_ident =
b'WIFI_FIRMWARE_RTW88_KMOD_RTW872'

Just looking at `strings --print-file-name *.iso | grep -i
firmware_rtw88_kmod_rtw872` there does appear to be a difference in -RELEASE vs
-BETA1

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