Closed KireinaHoro closed 7 years ago
For system information, I'm doing the compile on Arch Linux x86_64 (working out that the sdk requires lib32-{zlib,glibc}
did take some time :/ ). texinfo
is 6.3-1
as is packaged by the system.
Hmm.. This isn't coreutils failing to build, this is the documentation not generating correctly, which is causing make to exit with an error. My Ubuntu build machine has coreutils 5.2 (and OS X is still shipping with coreutils 4.8).
This looks a bit like coreutils bug 11828 and OpenWRT had a similar bug building gcc. Newer texinfo is more strict about syntax / ordering. Their solution was to just disable making the info documentation by passing MAKEINFO=missing to the configure script. I have edited my bootstrap/coreutils/build.sh to append MAKEINFO=missing to the end of the configure line, but it doesn't seem to have any effect here (at least the output is the same either way). May work for you.
If you can make coreutils skip building the info files then I will happily take a PR. Alternately, newer versions of coreutils may have fixed info files so newer texinfo doesn't complain. I don't have an Arch machine around to mess with though.
You do not have to build everything every time. If you just want to build coreutils, you can just
cd bootstrap/coreutils
./build.sh
And it will just build that package. This is documented in the README.md under the 'Tips' header.
I've worked around this, but by an extremely ugly way.
When it's compiling coreutils, Ctrl-Z and then edit coreutils.texi
, replacing all @itemx
with @item
. Of course this can be achieved by making a patch.
I suppose this is one way to do it - I am glad you got it working.
It should be doable to just make a patch for coreutils.texi, or insert a sed step after unpacking to do it automatically. I'll have a look and see. Thanks!
When performing the coreutils bootstrap, the build fails at compiling texinfo:
Also, after a component's failed build, can
build.sh
preserve the work already done (like bootstrapinggcc
) last time? It's annoying to compilegcc
again because ofcoreutils
's failure.