I had to change the owner for /usr/obj from root:wsrc to root:wheel,
then I could build.

Is this the correct way?

Am 06.10.16 um 17:58 schrieb Heiko:
> Hello community,
> 
> I get this error:
> 
> preparing in /usr/src/include/../gnu/lib/libstdc++-v3
> sed -e "s/\\(define __GLIBCXX__\\)/\1 20070719/"  -e 's/\(define
> _GLIBCXX_HAVE_ATTRIBUTE_VISIBILITY\)/\1 1/'  -e 's/\(define
> _GLIBCXX_NAMESPACE_ASSOCIATION_VERSION\)/\1 0/'  <
> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/c++config
>> c++config.h &&  sed -e 's/HAVE_/_GLIBCXX_HAVE_/g'  -e
> 's/PACKAGE/_GLIBCXX_PACKAGE/g'  -e 's/VERSION/_GLIBCXX_VERSION/g'  -e
> 's/WORDS_/_GLIBCXX_WORDS_/g'  < /usr/src/gnu/lib/libstdc++-v3/config.h
>>> c++config.h &&  echo "#endif // _CXXCONFIG_" >> c++config.h
> /bin/sh: cannot create c++config.h: Permission denied
> *** Error 1 in gnu/lib/libstdc++-v3 (Makefile:591 'c++config.h')
> *** Error 1 in include (Makefile:68 'prereq')
> *** Error 1 in /usr/src (Makefile:82 'build')
> 
> I tried as root and with doas.
> 
> This is my way to build:
> 
> #!/bin/sh
> rm -rf /usr/obj/*
> cd /usr/src
> make obj
> cd /usr/src/etc && env DESTDIR=/ make distrib-dirs
> cd /usr/src
> make build
> 
> (on current amd64)
> 
> Does somebody know to fix this?
> 
> Thank you in advance
> Heiko
> 

-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to