Date: Tue, 8 Apr 2014 19:56:25 -0700 From: Jeremy Chadwick <jdc@koitsu.org> To: freebsd-stable@freebsd.org Cc: gjb@freebsd.org Subject: stable/9 r264014 problems Message-ID: <20140409025625.GA1222@icarus.home.lan>
next in thread | raw e-mail | index | archive | help
(Please keep me CC'd as I'm not subscribed to freebsd-stable@) Root cause appears related to r264014: http://svnweb.freebsd.org/base/stable/9/Makefile.inc1?annotate=264014 My src/ correlates with r264285, so it seems this issue has been lingering for a week now. Did anyone truly test this fully before committing? (Yes I read the commit message; consider me doubtful) There is no /usr/obj/usr/src/sys/sys/param.h. Maybe what's wanted is /usr/obj/usr/src/tmp/sys/sys/param.h or /usr/obj/usr/src/include/osreldate.h (both of which exit and define __FreeBSD_version)? There is no /usr/obj/usr/src/release, so I don't know what any of that is about. I can make a PR for this if asked. root@icarus:/usr/src # make delete-old >>> Removing old files (only deletes safe to delete libs) make: chdir /usr/obj/usr/src/release: No such file or directory "/usr/src/Makefile.inc1", line 134: warning: "/usr/obj/usr/src/make.amd64/make -C /usr/obj/usr/src/release -V REVISION" returned non-zero status make: chdir /usr/obj/usr/src/release: No such file or directory "/usr/src/Makefile.inc1", line 135: warning: "/usr/obj/usr/src/make.amd64/make -C /usr/obj/usr/src/release -V BRANCH" returned non-zero status awk: can't open file /usr/obj/usr/src/sys/sys/param.h source line number 1 "/usr/src/Makefile.inc1", line 137: warning: "awk '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }' /usr/obj/usr/src/sys/sys/param.h" returned non-zero status >>> Old files removed >>> Removing old directories make: chdir /usr/obj/usr/src/release: No such file or directory "/usr/src/Makefile.inc1", line 134: warning: "/usr/obj/usr/src/make.amd64/make -C /usr/obj/usr/src/release -V REVISION" returned non-zero status make: chdir /usr/obj/usr/src/release: No such file or directory "/usr/src/Makefile.inc1", line 135: warning: "/usr/obj/usr/src/make.amd64/make -C /usr/obj/usr/src/release -V BRANCH" returned non-zero status awk: can't open file /usr/obj/usr/src/sys/sys/param.h source line number 1 "/usr/src/Makefile.inc1", line 137: warning: "awk '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }' /usr/obj/usr/src/sys/sys/param.h" returned non-zero status /usr/include/netgraph/bluetooth/include /usr/include/netgraph/bluetooth /usr/include/clang/3.4 /usr/include/clang /usr/share/doc/llvm/clang /usr/share/doc/llvm /usr/include/c++/v1/experimental /usr/include/c++/v1/ext /usr/include/c++/v1 >>> Old directories removed To remove old libraries run '/usr/obj/usr/src/make.amd64/make delete-old-libs'. root@icarus:/usr/src # make delete-old-libs >>> Removing old libraries Please be sure no application still uses those libraries, else you can not start such an application. Consult UPDATING for more information regarding how to cope with the removal/revision bump of a specific library. make: chdir /usr/obj/usr/src/release: No such file or directory "/usr/src/Makefile.inc1", line 134: warning: "/usr/obj/usr/src/make.amd64/make -C /usr/obj/usr/src/release -V REVISION" returned non-zero status make: chdir /usr/obj/usr/src/release: No such file or directory "/usr/src/Makefile.inc1", line 135: warning: "/usr/obj/usr/src/make.amd64/make -C /usr/obj/usr/src/release -V BRANCH" returned non-zero status awk: can't open file /usr/obj/usr/src/sys/sys/param.h source line number 1 "/usr/src/Makefile.inc1", line 137: warning: "awk '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }' /usr/obj/usr/src/sys/sys/param.h" returned non-zero status >>> Old libraries removed $ ls -l /usr/obj/usr/src/sys total 32 drwxr-xr-x 3 root wheel 27136 Apr 8 17:26 X7SBA_RELENG_9_amd64/ drwxr-xr-x 7 root wheel 512 Apr 8 17:09 boot/ $ ls -l /usr/obj/usr/src total 72 drwxr-xr-x 39 root wheel 1024 Apr 8 17:09 bin/ drwxr-xr-x 6 root wheel 512 Apr 8 17:09 cddl/ drwxr-xr-x 2 root wheel 512 Apr 8 17:09 etc/ drwxr-xr-x 13 root wheel 512 Apr 8 17:09 games/ drwxr-xr-x 4 root wheel 512 Apr 8 17:09 gnu/ drwxr-xr-x 4 root wheel 512 Apr 8 17:11 include/ drwxr-xr-x 72 root wheel 1536 Apr 8 17:09 lib/ drwxr-xr-x 26 root wheel 512 Apr 8 17:09 libexec/ drwxr-xr-x 3 root wheel 512 Apr 8 17:08 make.amd64/ drwxr-xr-x 4 root wheel 512 Apr 8 17:09 rescue/ drwxr-xr-x 80 root wheel 1536 Apr 8 17:09 sbin/ drwxr-xr-x 6 root wheel 512 Apr 8 17:09 secure/ drwxr-xr-x 15 root wheel 512 Apr 8 17:09 share/ drwxr-xr-x 4 root wheel 512 Apr 8 17:22 sys/ drwxr-xr-x 5 root wheel 512 Apr 8 17:08 tmp/ drwxr-xr-x 3 root wheel 512 Apr 8 17:08 tools/ drwxr-xr-x 237 root wheel 4096 Apr 8 17:09 usr.bin/ drwxr-xr-x 182 root wheel 3584 Apr 8 17:09 usr.sbin/ -- | Jeremy Chadwick jdc@koitsu.org | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Making life hard for others since 1977. PGP 4BD6C0CB |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140409025625.GA1222>