texinfo / makeinfo 4.11 breaks buildroot

View: New views
9 Messages — Rating Filter:   Alert me  

texinfo / makeinfo 4.11 breaks buildroot

by Terry Kemp-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

buildroot dies with message...

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.

I have makeinfo...
]$ makeinfo --version
makeinfo (GNU texinfo) 4.11

apparently the test sees 4.11 as older than 4.4. see
http://gcc.gnu.org/ml/gcc-patches/2007-09/msg01271.html
for similar issue.

Can someone let me know where to apply this solution in buildroot

Thanks


-------------------------------------------------------------------------
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

Re: texinfo / makeinfo 4.11 breaks buildroot

by Terry Kemp-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2007-10-10 at 21:47 +1300, TDK wrote:

> buildroot dies with message...
>
> 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.
>
> I have makeinfo...
> ]$ makeinfo --version
> makeinfo (GNU texinfo) 4.11
>
> apparently the test sees 4.11 as older than 4.4. see
> http://gcc.gnu.org/ml/gcc-patches/2007-09/msg01271.html
> for similar issue.
>
> Can someone let me know where to apply this solution in buildroot
>

OK.. this (kinda) fixes binutils problem, stick into...
  gumstix-buildroot/toolchain/binutils/2.17.50.0.6/configure.patch

---------------------------------------------------
--- configure~ 2007-10-10 22:14:56.000000000 +1300
+++ configure 2007-10-10 22:14:56.000000000 +1300
@@ -3680,7 +3680,7 @@
     # 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"
------------------------------------------------------------
(watch the line wrapping) and it needs to be fixed so it applies without
manual intervention.


Terry



-------------------------------------------------------------------------
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

Re: texinfo / makeinfo 4.11 breaks buildroot

by Dave Hylands :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi TDK,

On 10/10/07, TDK <klc@...> wrote:

> buildroot dies with message...
>
> 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.
>
> I have makeinfo...
> ]$ makeinfo --version
> makeinfo (GNU texinfo) 4.11
>
> apparently the test sees 4.11 as older than 4.4. see
> http://gcc.gnu.org/ml/gcc-patches/2007-09/msg01271.html
> for similar issue.
>
> Can someone let me know where to apply this solution in buildroot

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.

--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/

-------------------------------------------------------------------------
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

Re: texinfo / makeinfo 4.11 breaks buildroot (FC7)

by Terry Kemp-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: texinfo / makeinfo 4.11 breaks buildroot (FC7)

by Bobby Goodrich :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

bitbake jamvm

by Alex Jeannopoulos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

I have a question, I am trying to bitbake some packages jamvm & classapth,

 

I am getting a compiler not found when trying to bitbake classpath  - both javac and ecj are both in the path.

 

 

bitbake classpath

 

 

NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.

NOTE: Handling BitBake files: \ (4955/4956) [99 %]ERROR: opening /development/gumstix/gumstix-oe/user.collection/packages/*/*.bb: [Errno 2] No such file or directory: '/development/gumstix/gumstix-oe/user.collection/packages/*/*.bb'

 

NOTE: Parsing finished. 4719 cached, 0 parsed, 236 skipped, 0 masked.

NOTE: build 200807151918: started

 

OE Build Configuration:

BB_VERSION     = "1.8.10"

OE_REVISION    = "<unknown>"

TARGET_ARCH    = "arm"

TARGET_OS      = "linux-gnueabi"

MACHINE        = "gumstix-custom-connex"

DISTRO         = "angstrom"

DISTRO_VERSION = "2007.9-test-20080715"

TARGET_FPU     = "soft"

 

NOTE: preferred version 0.96 of classpath not available (for item classpath)

NOTE: Resolving any missing task queue dependencies

NOTE: preferred version 0.95 of classpath-minimal not available (for item classpath-common)

NOTE: preferred version 0.96 of classpath not available (for item classpath-common)

NOTE: preferred version 2.5 of glibc not available (for item virtual/arm-angstrom-linux-gnueabi-libc-for-gcc)

NOTE: Preparing runqueue

NOTE: Executing runqueue

NOTE: Running task 735 of 780 (ID: 7, /development/gumstix/gumstix-oe/com.gumstix.collection/packages/classpath/classpath_0.96.1.bb, do_compile)

NOTE: package classpath-0.96.1: started

NOTE: package classpath-0.96.1-r2: task do_compile: started

ERROR: function do_compile failed

ERROR: log data follows (/development/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/classpath-0.96.1-r2/temp/log.do_compile.2707)

| NOTE: make

| Making all in lib

| make[1]: Entering directory `/development/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/classpath-0.96.1-r2/classpath-0.96.1/lib'

| true

| top_builddir=.. top_srcdir=.. /bin/sh ./gen-classlist.sh standard

| Adding java source files from srcdir '..'.

| Adding java source files from VM directory ../vm/reference

| echo "No compiler found" 1>&2; exit 1

| No compiler found

| make[1]: *** [compile-classes] Error 1

| make[1]: Leaving directory `/development/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/classpath-0.96.1-r2/classpath-0.96.1/lib'

| make: *** [all-recursive] Error 1

| FATAL: oe_runmake failed

NOTE: Task failed: /development/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/classpath-0.96.1-r2/temp/log.do_compile.2707

NOTE: package classpath-0.96.1-r2: task do_compile: failed

ERROR: TaskFailed event exception, aborting

NOTE: package classpath-0.96.1: failed

ERROR: Build of /development/gumstix/gumstix-oe/com.gumstix.collection/packages/classpath/classpath_0.96.1.bb do_compile failed

ERROR: Task 7 (/development/gumstix/gumstix-oe/com.gumstix.collection/packages/classpath/classpath_0.96.1.bb, do_compile) failed

NOTE: Tasks Summary: Attempted 734 tasks of which 734 didn't need to be rerun and 1 failed.

ERROR: '/development/gumstix/gumstix-oe/com.gumstix.collection/packages/classpath/classpath_0.96.1.bb' failed


-------------------------------------------------------------------------
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

Re: bitbake jamvm

by panadero :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alex Jeannopoulos, could you fix your problem? I have the same problem and I cant fix it

I dont understand what  "No compiler found" means

Someone can help us, please?

Thanks

Alex Jeannopoulos wrote:
I have a question, I am trying to bitbake some packages jamvm & classapth,

| true

| top_builddir=.. top_srcdir=.. /bin/sh ./gen-classlist.sh standard

| Adding java source files from srcdir '..'.

| Adding java source files from VM directory ../vm/reference

| echo "No compiler found" 1>&2; exit 1

| No compiler found

| make[1]: *** [compile-classes] Error 1

| make[1]: Leaving directory
`/development/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/cla
sspath-0.96.1-r2/classpath-0.96.1/lib'

| make: *** [all-recursive] Error 1

| FATAL: oe_runmake failed

NOTE: Task failed:
/development/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/clas
spath-0.96.1-r2/temp/log.do_compile.2707

Re: bitbake jamvm

by panadero :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've done the next thing:

bitbake -c rebuild classpath

(you need java SDK installed) but now I get the problem:

| NOTE: make
| Making all in lib
| make[1]: Entering directory `/home/my_name/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/classpath-0.96.1-r2/classpath-0.96.1/lib'
| true
| top_builddir=.. top_srcdir=.. /bin/sh ./gen-classlist.sh standard
| Adding java source files from srcdir '..'.
| Adding java source files from VM directory ../vm/reference
| /usr/bin/javac -1.5 -warn:-deprecation,serial,typeHiding,unchecked,unused,varargsCast -proceedOnError -bootclasspath '' -classpath ../vm/reference:..:../external/w3c_dom:../external/sax:../external/relaxngDatatype:../external/jsr166:.:: -d . @classes
| javac: invalid flag: -1.5
| Usage: javac <options> <source files>
| use -help for a list of possible options
| make[1]: *** [compile-classes] Error 2
| make[1]: Leaving directory `/home/my_name/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/classpath-0.96.1-r2/classpath-0.96.1/lib'
| make: *** [all-recursive] Error 1
| FATAL: oe_runmake failed

I can notice that when it compiles (javac) -version -warn options are added  /usr/bin/javac -1.5 -warn:- and its wrong!!!  | javac: invalid flag: -1.5  but how can I remove it? I've been looking in gen-classlist.sh but I can not see anything

Please help!!

panadero wrote:
Alex Jeannopoulos, could you fix your problem? I have the same problem and I cant fix it

I dont understand what  "No compiler found" means

Someone can help us, please?

Thanks

Re: bitbake jamvm

by /<evin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Panadero,

Dont know if your still having probs with this but...

Ive gotten past the '1.5' problem following this info: http://code.google.com/p/netbeams/wiki/GumstixOESystem

It has to do with using suns javac when script wants ecj.

Kevin


I've done the next thing:

bitbake -c rebuild classpath

(you need java SDK installed) but now I get the problem:

| NOTE: make
| Making all in lib
| make[1]: Entering directory `/home/my_name/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/classpath-0.96.1-r2/classpath-0.96.1/lib'
| true
| top_builddir=.. top_srcdir=.. /bin/sh ./gen-classlist.sh standard
| Adding java source files from srcdir '..'.
| Adding java source files from VM directory ../vm/reference
| /usr/bin/javac -1.5 -warn:-deprecation,serial,typeHiding,unchecked,unused,varargsCast -proceedOnError -bootclasspath '' -classpath ../vm/reference:..:../external/w3c_dom:../external/sax:../external/relaxngDatatype:../external/jsr166:.:: -d . @classes
| javac: invalid flag: -1.5
| Usage: javac <options> <source files>
| use -help for a list of possible options
| make[1]: *** [compile-classes] Error 2
| make[1]: Leaving directory `/home/my_name/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/classpath-0.96.1-r2/classpath-0.96.1/lib'
| make: *** [all-recursive] Error 1
| FATAL: oe_runmake failed

I can notice that when it compiles (javac) -version -warn options are added  /usr/bin/javac -1.5 -warn:- and its wrong!!!  | javac: invalid flag: -1.5  but how can I remove it? I've been looking in gen-classlist.sh but I can not see anything

Please help!!

panadero wrote:
Alex Jeannopoulos, could you fix your problem? I have the same problem and I cant fix it

I dont understand what  "No compiler found" means

Someone can help us, please?

Thanks