Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2014 15:09:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 190739] Building libunbound writes to /usr/src
Message-ID:  <bug-190739-8-VIll7nUrFt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-190739-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-190739-8@https.bugs.freebsd.org/bugzilla/>

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

h.skuhra@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |h.skuhra@gmail.com

--- Comment #2 from h.skuhra@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
machine.

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

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.



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