STABLE-11 make buildworld as non-root
Herbert J. Skuhra
herbert at mailbox.org
Tue May 2 13:07:48 UTC 2017
Jonathan Chen skrev:
>
> Hi,
> I recently updated to STABLE-11/amd64, r317665, and decided to see if
> I could do a buildworld as a normal user (with a public /usr/obj).
> Unfortunately, the "make buildworld" stopped with
>
> ...
> ===> lib/libedit (cleandir)
> rm -f common.h editline.c emacs.h fcns.c fcns.h help.c help.h vi.h
> tokenizern.c historyn.c editline.o tokenizer.o history.o readline.o
> tokenizern.o historyn.o editline.po tokenizer.po history.po
> readline.po tokenizern.po historyn.po editline.pico tokenizer.pico
> history.pico readline.pico tokenizern.pico historyn.pico libedit.so
> libedit.so.7.full libedit.so.7.debug libedit.a libedit_p.a
> libedit.so.7 editline.3.gz editrc.5.gz editline.3.cat.gz
> editrc.5.cat.gz
> rm -f .depend .depend.* GPATH GRTAGS GSYMS GTAGS
> ===> lib/libedit/edit/readline (cleandir)
> rm -f .depend .depend.*
> ===> lib/libelftc (cleandir)
> rm -f elftc_bfdtarget.o elftc_copyfile.o elftc_demangle.o
> elftc_reloc_type_str.o elftc_set_timestamps.o elftc_string_table.o
> elftc_timestamp.o elftc_version.o libelftc_bfdtarget.o
> libelftc_dem_arm.o libelftc_dem_gnu2.o libelftc_dem_gnu3.o
> libelftc_hash.o libelftc_vstr.o libelftc.a elftc.3.gz
> elftc_bfd_find_target.3.gz elftc_copyfile.3.gz elftc_demangle.3.gz
> elftc_reloc_type_str.3.gz elftc_set_timestamps.3.gz
> elftc_timestamp.3.gz elftc_string_table_create.3.gz elftc_version.3.gz
> elftc.3.cat.gz elftc_bfd_find_target.3.cat.gz elftc_copyfile.3.cat.gz
> elftc_demangle.3.cat.gz elftc_reloc_type_str.3.cat.gz
> elftc_set_timestamps.3.cat.gz elftc_timestamp.3.cat.gz
> elftc_string_table_create.3.cat.gz elftc_version.3.cat.gz
> rm -rf sys
> rm -f .depend .depend.* GPATH GRTAGS GSYMS GTAGS
> ===> lib/libevent (cleandir)
> rm -f buffer.o evbuffer.o event.o kqueue.o log.o poll.o select.o
> signal.o buffer.po evbuffer.po event.po kqueue.po log.po poll.po
> select.po signal.po buffer.pico evbuffer.pico event.pico kqueue.pico
> log.pico poll.pico select.pico signal.pico libprivateevent.so
> libprivateevent.so.1.full libprivateevent.so.1.debug libprivateevent.a
> libprivateevent_p.a libprivateevent.so.1
> rm -f .depend .depend.* GPATH GRTAGS GSYMS GTAGS
> ===> lib/libexecinfo (cleandir)
> rm -f backtrace.o symtab.o unwind.o backtrace.po symtab.po unwind.po
> backtrace.pico symtab.pico unwind.pico libexecinfo.so
> libexecinfo.so.1.full libexecinfo.so.1.debug libexecinfo.a
> libexecinfo_p.a libexecinfo.so.1 backtrace.3.gz backtrace.3.cat.gz
> rm -f .depend .depend.* GPATH GRTAGS GSYMS GTAGS
> ===> lib/libexpat (cleandir)
> rm -f bsdxml.h bsdxml_external.h xmlparse.o xmlrole.o xmltok.o
> xmlparse.po xmlrole.po xmltok.po xmlparse.pico xmlrole.pico
> xmltok.pico libbsdxml.so libbsdxml.so.4.full libbsdxml.so.4.debug
> libbsdxml.a libbsdxml_p.a libbsdxml.so.4 libbsdxml.3.gz
> libbsdxml.3.cat.gz
> rm: bsdxml.h: Permission denied
> rm: bsdxml_external.h: Permission denied
> *** Error code 1
>
> Stop.
> make[4]: stopped in /usr/src/lib/libexpat
> *** Error code 1
>
> Stop.
> make[3]: stopped in /usr/src/lib
> *** Error code 1
>
> Stop.
> make[2]: stopped in /usr/src
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/src
> *** Error code 1
>
> Stop.
> make: stopped in /usr/src
>
> The "rm -f bsdxml.h bsdxml_external.h ..." looks dodgy to me. Why have
> these 2 files in the source tree if it's going to be removed early in
> the build?
What's the output of "svnlite st" in /usr/src?
Did you run make in /usr/src/lib/libexpat as root?
Try:
# cd /usr/src/lib/libexpat
# make cleandir
--
Herbert
More information about the freebsd-stable
mailing list