On Sat, Sep 10, 2016 at 07:01:20PM -0700, Philip Guenther wrote:
> On Sat, 10 Sep 2016, Philip Guenther wrote:
> > Same diff as binutils, with same open question:
> >
> > > Maybe we should add ${INSTALL_STRIP} to the INSTALL_PROGRAM assignment
> > > here?
>
> Here's the combined diff that does that.
>
> (Note to self: if you set DEBUG in /etc/mk.conf, INSTALL_STRIP isn't set)
>
> ok?
Adding ${INSTALL_STRIP} here resulted in 10 times the following warning
during 'make build':
install: strip: No such file or directory
Is there a better option than removing it again?
$ cd /usr/src/gnu/usr.bin/binutils-2.17
$ doas make -f Makefile.bsd-wapper install
[...]
Making install in po
test -z "/usr/bin" || /bin/sh
/usr/src/gnu/usr.bin/binutils-2.17/binutils/../mkinstalldirs "/usr/bin"
/bin/sh ./libtool --mode=install install -c -S -s -o root -g bin -m 555
'objdump' '/usr/bin/objdump'
install -c -S -o root -g bin -m 555 -s objdump /usr/bin/objdump
install: strip: No such file or directory
/bin/sh ./libtool --mode=install install -c -S -s -o root -g bin -m 555 'ar'
'/usr/bin/ar'
install -c -S -o root -g bin -m 555 -s ar /usr/bin/ar
install: strip: No such file or directory
/bin/sh ./libtool --mode=install install -c -S -s -o root -g bin -m 555
'strings' '/usr/bin/strings'
install -c -S -o root -g bin -m 555 -s strings /usr/bin/strings
install: strip: No such file or directory
/bin/sh ./libtool --mode=install install -c -S -s -o root -g bin -m 555
'ranlib' '/usr/bin/ranlib'
install -c -S -o root -g bin -m 555 -s ranlib /usr/bin/ranlib
install: strip: No such file or directory
/bin/sh ./libtool --mode=install install -c -S -s -o root -g bin -m 555
'objcopy' '/usr/bin/objcopy'
install -c -S -o root -g bin -m 555 -s objcopy /usr/bin/objcopy
install: strip: No such file or directory
/bin/sh ./libtool --mode=install install -c -S -s -o root -g bin -m 555
'addr2line' '/usr/bin/addr2line'
install -c -S -o root -g bin -m 555 -s addr2line /usr/bin/addr2line
install: strip: No such file or directory
/bin/sh ./libtool --mode=install install -c -S -s -o root -g bin -m 555
'readelf' '/usr/bin/readelf'
install -c -S -o root -g bin -m 555 -s readelf /usr/bin/readelf
install: strip: No such file or directory
/bin/sh ./libtool --mode=install install -c -S -s -o root -g bin -m 555
strip-new /usr/bin/strip
install -c -S -o root -g bin -m 555 -s strip-new /usr/bin/strip
install: strip: No such file or directory
[...]