« Return to Thread: texinfo / makeinfo 4.11 breaks buildroot

Re: texinfo / makeinfo 4.11 breaks buildroot (FC7)

by Terry Kemp-2 :: Rate this Message:

Reply to Author | View in Thread

On Wed, 2007-10-10 at 06:55 -0700, Dave Hylands wrote:
> Hi TDK,
> See: http://docswiki.gumstix.com/Buildroot#Troubleshooting
>
> If you added makeinfo after the configure for binutils was run then it
> won't see the new makeinfo until you do the rm -rf mentioned in the
> above link.
>

Thanks - but I did check this out.
Although I am still waiting for my first Gumstixs to arrive :( I have
been playing with buildroot and OE builds on i686 and x86_64 for a month
or so.

No the problem is that - with at least for now Fedora 7, and eventually
other distros - texinfo was (just now) updated to version 4.11.
binutils v1.7 and 1.8 and gcc etc have 'broken' regexp lines in the
config that don't check versions > x.9 properly.
 
This is not a bug in texinfo, but in binutils et al configure files,
which assumes that texinfo 4.11 is older than texinfo 4.4.

Buildroot will fail on an 'abstract' error 2 when building with make -j3
(or jobs = 3 in menuconfig) because the _actual error_ (binutils build)
is buried 3 pages up by another job that is finishing.

Unless your Linux distro goes straight to texinfo 5.x instead of > 4.10,
assuming you update your system, then this will probably affect everyone
using buildroot - eventually.  

attached is a patch for binutils-2.17.50.0.6 to be placed in...
gumstix-buildroot/toolchain/binutils/2.17.50.0.6
A similar patch would apply to other versions if used.

inlined in case attachment scrubbed...

-------------------------------------------
    diff -up ./configure.fix ./configure
--- ./configure.fix 2007-10-12 10:47:07.000000000 +1300
+++ ./configure 2007-10-12 11:02:12.000000000 +1300
@@ -3680,7 +3680,7 @@ case " $build_configdirs " in
     # For an installed makeinfo, we require it to be from texinfo 4.4
or
     # higher, else we use the "missing" dummy.
     if ${MAKEINFO} --version \
-       | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null
2>&1; then
+       | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.([4-9]|[1-9][0-9])|[5-9])'
>/dev/null 2>&1; then
       :
     else
       MAKEINFO="$MISSING makeinfo"
---------------------------------------------------------
(again watch line wraps in email)


hope this helps someone

Terry


[102-config.patch]

diff -up ./configure.fix ./configure
--- ./configure.fix 2007-10-12 10:47:07.000000000 +1300
+++ ./configure 2007-10-12 11:02:12.000000000 +1300
@@ -3680,7 +3680,7 @@ case " $build_configdirs " in
     # For an installed makeinfo, we require it to be from texinfo 4.4 or
     # higher, else we use the "missing" dummy.
     if ${MAKEINFO} --version \
-       | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
+       | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.([4-9]|[1-9][0-9])|[5-9])' >/dev/null 2>&1; then
       :
     else
       MAKEINFO="$MISSING makeinfo"


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

 « Return to Thread: texinfo / makeinfo 4.11 breaks buildroot