On Thu, May 17 2018, Nan Xiao <[email protected]> wrote: > Hi ports@, > > Greeting from me! > > I use -current ports tree, and try to build sysutils/coreutils, and > get following errors: > > ...... > checking whether mknod can create fifo without root privileges... > configure: error: in `/usr/ports/pobj/coreutils-8.29/coreutils-8.29': > configure: error: you should not run configure as root (set > FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check) > See `config.log' for more details > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2688 > 'do-configure': @for d in > /usr/ports/pobj/coreutils-8.29/coreutils-8.29; do...) > ...... > > I try use "export FORCE_UNSAFE_CONFIGURE=1 && make install", but still > not take effect. > > Besides change the owner to non-root,
Why not use this solution? Building ports as root is not recommended. espie's work on PORTS_PRIVSEP makes it super easy and clean to use dedicated system accounts for this. > is there any method to bypass > this issue? See CONFIGURE_ENV... > Thanks very much in advance! > > > Best Regards > Nan Xiao > -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
signature.asc
Description: PGP signature
