Hi

Sounds to me that you are likely to run into similar problems with many more packages.
I'm building adk on Debian Stretch and that works quite well. Can't you try that, maybe from a live stick if it's just for a test?

Cheers
Oliver

Am Montag, 1. April 2019, 11:27:47 MESZ hat scsijon <scsijon@lamiaworks.com.au> Folgendes geschrieben:



I admit I have no experience with openadk at this point having only
found it a few hours ago, but as it seems to do what I want to do I
wish to work within it's toolchain boundaries if possible. My idea is
hopefully to eventually develop a pcc/musl toolchain of similar nature
to the gcc/musl and llvm/musl that can be used for cross-compiling as
well as just straight building.

I'm building from within Easy Linux and intend to move the build into a
container when I have shown the basics of it works and extend from
there. Easy only has root access at this point for developing so the
setting is needed.

The last few lines before the error below are for information only. It
builds sucessfully from the scripts up to this point of coreutils.

What I would like is some guidance please as to where ?I should
?add/?set the setting>
"set FORCE_UNSAFE_CONFIGURE=1"
shown below, if you could.

----------log---------
checking whether mkdir handles trailing slash... yes
checking whether mkdir handles trailing dot... yes
checking whether mkfifo rejects trailing slashes... yes
checking whether mknod can create fifo without root privileges...
configure: error: in
`/mnt/sda6/openadk/host_build_x86_64-oe-linux/w-coreutils-8.25-1-host/coreutils-8.25':
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
make[5]: *** [/mnt/sda6/openadk/mk/host-bottom.mk:17:
/mnt/sda6/openadk/host_build_x86_64-oe-linux/w-coreutils-8.25-1-host/.host_configure_done]
Error 1
make[4]: *** [Makefile:54: coreutils-host-compile] Error 2
make[3]: *** [mk/build.mk:232: package/hostcompile] Error 2
make[2]: *** [/mnt/sda6/openadk/mk/build.mk:175: world] Error 2
----------/log---------

If you want the full build log  to this point I can attach or link
through pastebin (script attached below if you haven't come across it),
don't forget the empty line at the bottom and set it as 755.

----------
#!/bin/sh
# no command line arguments - assume read from stdin
if [ -z "$1" ] || [ "$1" = - ] ; then
    curl -F 'f:1=<-' ix.io
#file name argument: post to 0x0
elif [ -e "$1" ] ; then
    curl -F"file=@\"$1\"" https://0x0.st
else
cat << EOF
usage: head -n 20 foo.txt | $0
        $0 < foo.txt
text input from stdin will be pasted to http://ix.io

usage: pastebin $filename
posts "filename" to https://0x0.st and gives you a url to pass on,
this can be binary and up to 256MB, but has a short lifespan.
this script is provided courtesy of sabotage linux.
http://ix.io will give you more help if needed.
EOF
fi

----------------
_______________________________________________
dev mailing list
dev@openadk.org
https://mailman.openadk.org/cgi-bin/mailman/listinfo/dev