[Bug 286666] Failed to rebuild autoinstall ISO for freebsd-14.3-BETA1-64bit with error: Unused fields should be 0

[email protected] Fri, 09 May 2025 19:40:33 +0000
Newsgroups gmane.os.freebsd.devel.standards
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286666

Ed Maste <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Not A Bug
                URL|                            |https://github.com/clalance
                   |                            |tte/pycdlib/issues/136
             Status|New                         |Closed

--- Comment #5 from Ed Maste <[email protected]> ---
I have opened a bug report for pycdlib at
https://github.com/clalancette/pycdlib/issues/136

You could apply a change like this to pycdlib to work around the issue:

diff --git a/pycdlib/dr.py b/pycdlib/dr.py
index 1bc4236..42d6d75 100644
--- a/pycdlib/dr.py
+++ b/pycdlib/dr.py
@@ -72,7 +72,7 @@ class XARecord:
         # as I can tell, that padding is the size of the file identifier,
         # but rounded up to the nearest even number.  We check both places for
         # the XA record.
-        for offset in (0, even_size):
+        for offset in [0]:
             parse_str = xastr[offset:]
             if len(parse_str) < struct.calcsize(self.FMT):
                 return False

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