[Bug 211564] distributeworld (and other distribuction functions) failing for custom DESTDIR

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 17 17:47:15 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211564

Vinícius Zavam <egypcio at googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #174857|0                           |1
        is obsolete|                            |

--- Comment #3 from Vinícius Zavam <egypcio at googlemail.com> ---
Created attachment 177121
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=177121&action=edit
Enforce the use of ${DESTDIR} during world distribution; r308747

Patch updated to work on r308747. Obsoletes last one :)

root at mandanudes:/usr/src # make -s buildworld

        ...

--------------------------------------------------------------
>>> World build completed on Thu Nov 17 11:20:57 BRT 2016
--------------------------------------------------------------

root at mandanudes:/usr/src # mkdir -p /freebsd/12.0-current/r308747

root at mandanudes:/usr/src # make -s distributeworld
DESTDIR="/freebsd/12.0-current/r308747"

        ...

--------------------------------------------------------------
>>> Distributing everything
--------------------------------------------------------------
===> lib (distribute)
===> lib/csu (distribute)
===> lib/csu/amd64 (distribute)
install: target directory `/base/usr/lib/' does not exist
usage: install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]
               [-M log] [-D dest] [-h hash] [-T tags]
               [-B suffix] [-l linkflags] [-N dbdir]
               file1 file2
       install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]
               [-M log] [-D dest] [-h hash] [-T tags]
               [-B suffix] [-l linkflags] [-N dbdir]
               file1 ... fileN directory
       install -dU [-vU] [-g group] [-m mode] [-N dbdir] [-o owner]
               [-M log] [-D dest] [-h hash] [-T tags]
               directory ...
*** Error code 64

Stop.
make[7]: stopped in /usr/src/lib/csu/amd64
*** Error code 1

Stop.
make[6]: stopped in /usr/src/lib/csu/amd64
*** Error code 1

Stop.
make[5]: stopped in /usr/src/lib/csu
*** Error code 1

Stop.
make[4]: stopped in /usr/src/lib
*** Error code 1

Stop.
make[3]: stopped in /usr/src
*** 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

root at mandanudes:/usr/src # svn patch /root/bug211564.r308747.patch 
U         Makefile.inc1
U         etc/Makefile
U         share/mk/bsd.subdir.mk

mkdir: /freebsd/12.0-current/r308747//doc: File exists
*** Error code 1 (ignored)
mkdir: /freebsd/12.0-current/r308747//lib32: File exists
*** Error code 1 (ignored)
mkdir: /freebsd/12.0-current/r308747//base: File exists
*** Error code 1 (ignored)
--------------------------------------------------------------
>>> Distributing everything
--------------------------------------------------------------
===> lib (distribute)
===> lib/csu (distribute)
===> lib/csu/amd64 (distribute)
===> lib/libcompiler_rt (distribute)
===> lib/libc (distribute)

        ...

===> libvers (distribute)
===> libkdc (distribute)
===> libwind (distribute)
===> libheimbase (distribute)
===> libheimipcc (distribute)
===> libheimipcs (distribute)
===> libkafs5 (distribute)

root at mandanudes:/usr/src # ls -l /freebsd/12.0-current/r308747
total 10
drwxr-xr-x  17 root  wheel  21 Nov 17 14:36 base
drwxr-xr-x   3 root  wheel   3 Nov 17 14:36 doc
drwxr-xr-x   4 root  wheel   4 Nov 17 14:36 lib32

root at mandanudes:/usr/src # du -sh /freebsd/12.0-current/r308747
494M    /freebsd/12.0-current/r308747

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


More information about the freebsd-bugs mailing list