make skeleton

Ronny Nilsson rln-nard at arbetsmyra.dyndns.org
Wed Feb 13 16:14:00 CET 2019


Hi Gilles
I've tried building both in Ubuntu 18.04 and 18.10 now but can't reproduce 
your issue. It seems to work quite OK. You might get some warnings due to a 
newer compiler in Ubuntu 18.xx, but it should work regardless.

Here are all the packages I've installed ontop of Ubuntu default:
g++ bison flex xutils-dev gperf make automake libtool-bin git texinfo 
libncurses5-dev libncursesw5-dev libexpat1-dev socat dc libx11-dev curl gawk 
libcap-dev zlib1g-dev bc

I suggest you try building from scratch again, but this time, disable 
multithreading. It will make it easier to read the logs and reduce the risk 
for race conditions:
	$ make distclean
	$ make CPUS=1 skeleton
/Ronny



------------------------------------------
> Hi Gilles
> Thanks for the trouble report. I will take a look at it.
>
> /Ronny
>
>
> ------------------------------------------
>
> > Making my first steps with nard and trying to build skeleton on Ubuntu.
> >
> > On the help.html page, libz-dev is listed as a requirement on Ubuntu.
> > That module is not in Ubuntu 18.04, but the Debian equivalent zlib1g-dev
> > is. In addition, I note that z-lib is in /apps. So that should not cause
> > any problem.
> >
> > Building skeleton ends with this error:
> >
> > /nard/util/crosstool-ng/crosstool-ng-1.23.0.99.g8f8e131d/scripts/function
> >s: line 279: printf: write error: Resource temporarily unavailable
> > [ERROR] 
> > [ERROR]  >>
> > [ERROR]  >>  Build failed in step 'Installing pass-1 core C gcc compiler'
> > [ERROR]  >>        called in step '(top-level)'
> > [ERROR]  >>
> > [ERROR]  >>  Error happened in: CT_DoLog[scripts/functions at 279]
> >
> >
> > line 279 in functions is:
> >            printf "${CT_LOG_PROGRESS_BAR:+\r}[%-5s]%*s%s%s\n" "${cur_L}"
> > "${indent}" " " "${line}" >&6
> >
> > I ran it a second time with a similar result.
> >
> > ~ Gilles



More information about the Nard mailing list