[Bug 283112] New Cache files packed into the FreeBSD14.2 release ISO file but not into Beta3 ISO files

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 09 Dec 2024 16:37:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283112

--- Comment #6 from Mark Johnston <markj@FreeBSD.org> ---
We're getting an exception here:

  1152                 try:                                                     
  1153                     new_record.parent.track_child(new_record,            
  1154                                                  
self.logical_block_size)                                                        
  1155                 except pycdlibexception.PyCdlibInvalidInput:             
  1156                     # dir_record.track_child() may throw a
PyCdlibInvalidInput                                                             
  1157                     # if it was given a duplicate child.  However, we
allow                                                                           
  1158                     # duplicate children if and only if this record is a
file                                                                            
  1159                     # and the last file has the same name; this
represents a                                                                    
  1160                     # very large file.                                   
  1161                     if new_record.is_dir() or last_record is None or
last_record.file_identifier() != new_record.file_identifier():                  
  1162                         raise

I reproduced the problem locally and found back-to-back duplicate names
"WIFI_FIRMWARE_RTW88_KMOD_RTW87".  Normally the exception would be ignored, but
new_record.is_dir() is true.  However, none of the files in var/cache/pkg in
the ISO are directories, so I tend to suspect that there's a bug in pycdlib.

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