Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Dec 2024 03:19:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 283275] release targets (e.g. disc1) fail to run again after error
Message-ID:  <bug-283275-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283275

            Bug ID: 283275
           Summary: release targets (e.g. disc1) fail to run again after
                    error
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: emaste@freebsd.org

I tried building disc1, which failed as it wasn't being run as root:

(cd release && make disc1)
...
=3D=3D=3D> lib/csu/amd64 (install)
installing DIRS FILESDIR
install -N /home/emaste/src/freebsd-git/main/etc  -d -m 0755 -o root  -g wh=
eel=20
/usr/obj/home/emaste/src/freebsd-git/main/amd64.amd64/release/disc1/usr/lib
install: chown 0:0
/usr/obj/home/emaste/src/freebsd-git/main/amd64.amd64/release/disc1/usr/lib:
Operation not permitted
install -N /home/emaste/src/freebsd-git/main/etc -C  -o root  -g wheel -m 4=
44=20
Scrt1.o
/usr/obj/home/emaste/src/freebsd-git/main/amd64.amd64/release/disc1/usr/lib=
/Scrt1.o
install:
/usr/obj/home/emaste/src/freebsd-git/main/amd64.amd64/release/disc1/usr/lib=
/Scrt1.o:
chown/chgrp: Operation not permitted
*** Error code 71

But it creates a ${.TARGET} directory in the objdir, so it doesn't try again
(with the missing -DNO_ROOT):

(cd release && make -DNO_ROOT disc1)
`disc1' is up to date.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283275-227>