Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Nov 2016 17:47:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 211564] distributeworld (and other distribuction functions) failing for custom DESTDIR
Message-ID:  <bug-211564-8-xhiKm185HH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211564-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211564-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=3D211564

Vin=C3=ADcius Zavam <egypcio@googlemail.com> changed:

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

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

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

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

        ...

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

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

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

        ...

--------------------------------------------------------------
>>> Distributing everything
--------------------------------------------------------------
=3D=3D=3D> lib (distribute)
=3D=3D=3D> lib/csu (distribute)
=3D=3D=3D> 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@mandanudes:/usr/src # svn patch /root/bug211564.r308747.patch=20
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
--------------------------------------------------------------
=3D=3D=3D> lib (distribute)
=3D=3D=3D> lib/csu (distribute)
=3D=3D=3D> lib/csu/amd64 (distribute)
=3D=3D=3D> lib/libcompiler_rt (distribute)
=3D=3D=3D> lib/libc (distribute)

        ...

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

root@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@mandanudes:/usr/src # du -sh /freebsd/12.0-current/r308747
494M    /freebsd/12.0-current/r308747

--=20
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-211564-8-xhiKm185HH>