NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/59610: obsolete file check during release build blows up on case-insensitive host file systems



On 25-08-27 15:50, thorpej%me.com@localhost wrote:
  | >Number:         59610
  | >Category:       toolchain
  | >Synopsis:       obsolete file check during release build blows up on case-insensitive host file systems
  | >Confidential:   no
  | >Severity:       serious
  | >Priority:       medium
  | >Responsible:    toolchain-manager
  | >State:          open
  | >Class:          sw-bug
  | >Submitter-Id:   net
  | >Arrival-Date:   Wed Aug 27 15:50:00 +0000 2025
  | >Originator:     Jason Thorpe
  | >Release:        NetBSD 11.99.1
  | >Organization:
  | CISCy Business
  | >Environment:
  | Building NetBSD 11.99.1 as of "Wed Aug 27 08:42:01 PDT 2025" on macOS 15.4.1 host.
  | >Description:
  | At some point, some DES man pages were renamed, and the change varies only by case.  On a fresh "release" build from a host with a case-insensitive/case-preserving file system (e.g. macOS APFS), this causes the obsolete file check to remove the freshly-installed-with-new-name man pages, but subsequently blow up in the "checkflist" stage.
  | 
  |    === Removing obsolete files ===
  | Source directory: /Users/thorpej/NetBSD/current/src
  | Target directory: /opt/nbsd/current/destdir/virt68k/
  | obsolete fix:
  | 	Removed obsolete file /opt/nbsd/current/destdir/virt68k//usr/share/man/man3/DES_random_key.3
  | 	Removed obsolete file /opt/nbsd/current/destdir/virt68k//usr/share/man/html3/DES_random_key.html
  | postinstall fixes passed: obsolete
  | postinstall fixes failed:
  |    ===============================
  | .
  | .
  | .
  |    ===============================
  | checkflist ===> distrib/sets
  |     execute  checkflist
  | 
  | ======  2 missing files in DESTDIR  ========
  | Files in flist but missing from DESTDIR.
  | File wasn't installed ?
  | ------------------------------------------
  | ./usr/share/man/html3/des_random_key.html
  | ./usr/share/man/man3/des_random_key.3
  | ========  end of 2 missing files  ==========
  | 
  | >How-To-Repeat:
  | Attempt to build a release (virt68k, in this case) on a macOS host.
  | >Fix:
  | The obsolete check probably should be smarter about deleting items.  A basic lookup of the file is insufficient -- the directory entry for the file should probably be examined and a case-sensitive verification of the file name performed.
  | 


This is a subset of the issue I reported in toolchain/57463.

I've not thought of a good workaround for "DESTDIR on a case insenstive"
filesystem yet :|


Home | Main Index | Thread Index | Old Index