« Return to Thread: texinfo / makeinfo 4.11 breaks buildroot

Re: texinfo / makeinfo 4.11 breaks buildroot (FC7)

by Bobby Goodrich :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hello, sorry to dredge up this old patch, but it seems to not be working for me.  I copied the attachment and replaced "configure.patch" in gumstix-buildroot/toolchain/binutils/2.17.50.0.6 with it.
I am using revision 1614 on Hardy Heron.
I only get "makeinfo missing" If I try and compile in java support.  I have a successful c++ enabled fileystem, however when I add the options:

- Build/install java compiler and libgcj
- classpath
- jamvm
- zlib headers in target

to the configuration via "make menuconfig" in the gumstix-buildroot directory, i still get the missing makeinfo error:

    for f in fastjar.info fastjar.info-[0-9] fastjar.info-[0-9][0-9] fastjar.i[0-9] fastjar.i[0-9][0-9]; do \
      if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
    done; \
    if /root/new/gumstix-buildroot/toolchain_build_arm_nofpu/gcc-4.1.1/missing makeinfo --split-size=5000000 --split-size=5000000  -I /root/new/gumstix-buildroot/toolchain_build_arm_nofpu/gcc-4.1.1/fastjar/../gcc/doc/include  -I /root/new/gumstix-buildroot/toolchain_build_arm_nofpu/gcc-4.1.1/fastjar \
     -o fastjar.info `test -f 'fastjar.texi' || echo '/root/new/gumstix-buildroot/toolchain_build_arm_nofpu/gcc-4.1.1/fastjar/'`fastjar.texi; \
    then \
      rc=0; \
    else \
      rc=$?; \
      $restore $backupdir/* `echo "./fastjar.info" | sed 's|[^/]*$||'`; \
    fi; \
    rm -rf $backupdir; exit $rc
yes
checking whether fprintf_unlocked is declared... WARNING: `makeinfo' is missing on your system.  You should only need it if
         you modified a `.texi' or `.texinfo' file, or any other file
         indirectly affecting the aspect of the manual.  The spurious
         call might also be the consequence of using a buggy `make' (AIX,
         DU, IRIX).  You might want to install the `Texinfo' package or
         the `GNU make' package.  Grab either from any GNU archive site.
make[4]: *** [fastjar.info] Error 1
make[4]: Leaving directory `/root/new/gumstix-buildroot/toolchain_build_arm_nofpu/gcc-4.1.1-final/fastjar'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/new/gumstix-buildroot/toolchain_build_arm_nofpu/gcc-4.1.1-final/fastjar'
make[2]: *** [all-fastjar] Error 2

I have tried editing configure.in directly (in gumstix-buildroot/toolchain_build_arm_nofpu/binutils-2.17.50.0.6/, but that just leads to problems because it starts messing up other patches somehow.

Does anyone have any ideas or need more info?
Thanks in advance

-Bobby

> From: klc@...
> To: gumstix-users@...
> Date: Fri, 12 Oct 2007 11:47:00 +1300
> Subject: Re: [Gumstix-users] texinfo / makeinfo 4.11 breaks buildroot (FC7)
>
> 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
>


Keep your kids safer online with Windows Live Family Safety. Help protect your kids.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

 « Return to Thread: texinfo / makeinfo 4.11 breaks buildroot