[Bug 262466] pkgbase: Fail to chflags /lib/libcrypt.so.5:Operation not permitted

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 10 Mar 2022 12:56:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262466

            Bug ID: 262466
           Summary: pkgbase: Fail to chflags /lib/libcrypt.so.5:Operation
                    not permitted
           Product: Base System
           Version: 12.3-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: rosenke@dssgmbh.de

12.3 Stable SVN Revision 371380
when installing FreeBSD-libcrypt-12.3:

The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        FreeBSD-libcrypt: 12.3.s20220216134954 [j12p64-pkgbase]

Number of packages to be installed: 1

Proceed with this action? [y/N]: y
[dssweb02j1.incore] [1/1] Installing FreeBSD-libcrypt-12.3.s20220216134954...
[dssweb02j1.incore] [1/1] Extracting FreeBSD-libcrypt-12.3.s20220216134954:
100%
pkg: Fail to chflags /lib/libcrypt.so.5:Operation not permitted

=== root@dssweb02j1 (pts/0) ~ 15(3) -> ls -lo /lib/libcrypt*
-r--r--r--  1 root  wheel  uarch   52880 16 Feb. 13:50 /lib/libcrypt.so.5
-r--r--r--  1 root  wheel  uarch   52880 16 Feb. 13:50
/lib/libcrypt.so.5.pkgsave
-r--r--r--  1 root  wheel  uarch 3082392 16 Feb. 13:49 /lib/libcrypto.so.111



same revision without pkgbase, build from source:
=== rosenke@nbsdrosen (pts/18) ~ 3 -> ls -lo /lib/libcrypt*
-r--r--r--  1 root  wheel  schg   56040 17 Jan. 19:30 /lib/libcrypt.so.5
-r--r--r--  1 root  wheel  -    3306776 17 Jan. 19:30 /lib/libcrypto.so.111

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