[Bug 190739] Building libunbound writes to /usr/src

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 17 15:09:40 UTC 2014


h.skuhra at gmail.com changed:

           What    |Removed                     |Added
                 CC|                            |h.skuhra at gmail.com

--- Comment #2 from h.skuhra at gmail.com ---
I have a similar issue on stable/10 (r267569) trying to build r268791, but only
on one machine.

Permissions of /usr/src on both machines are:

drwxr-xr-x  24 root  wheel   32 Jul 16 16:21 src

And /usr/src is not mounted read-only.

Also the permissions of configparser.c and util directory is the same:

% find . -name "configparser.c" -ls
7999087      164 -rw-r--r--    1 root                             wheel        
                      83337 Jul  2 10:48 ./contrib/unbound/util/configparser.c

drwxr-xr-x   4 root  wheel    1024 Jul  2 10:48 util

I am asked to override the file during buildworld:

override rw-r--r-- root/wheel for
/usr/src/lib/libunbound/../../contrib/unbound/util/configparser.c? (y/n [n])

On the working machine:

- I don't find the yacc command in the build.log
- configparser.c is unchanged and also not writeable for the user

I haven't yet figured out why it tries to update configparser.c only on this

Is the command executed from contrib/unboud/freebsd-configure.sh? Can it be

Index: contrib/unbound/freebsd-configure.sh
--- contrib/unbound/freebsd-configure.sh        (revision 268797)
+++ contrib/unbound/freebsd-configure.sh        (working copy)
@@ -41,4 +41,3 @@
 /usr/bin/flex -L -t util/configlexer.lex
 } >util/configlexer.c

-/usr/bin/yacc -d -o util/configparser.c util/configparser.y

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

More information about the freebsd-bugs mailing list