I have problems installing the BSP for P2020RDB on Ubuntu 9.10. It stops at building the host tool "texinfo". Anyone seen this before? See log below:
make[2]: Entering directory `/opt/freescale/ltib/usr/src/rpm/BUILD/texinfo-4.8/tools'
make[2]: *** No rule to make target `all'. Stop.
make[2]: Leaving directory `/opt/freescale/ltib/usr/src/rpm/BUILD/texinfo-4.8/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/freescale/ltib/usr/src/rpm/BUILD/texinfo-4.8'
make: *** [all] Error 2
error: Bad exit status from /home/flir/ltib-p2020rdb-20090709/tmp/rpm-tmp.OTUncj (%build)
RPM build errors:
Bad exit status from /home/flir/ltib-p2020rdb-20090709/tmp/rpm-tmp.OTUncj (%build)
Build time for texinfo: 41 seconds
Failed building texinfo
Died at ./ltib line 1386.
traceback:
main::build_host_rpms:1386
main::host_checks:1441
main:548
Started: Thu Nov 19 13:33:55 2009
Ended: Thu Nov 19 13:57:29 2009
Elapsed: 1414 seconds
These packages failed to build:
texinfo
Build Failed
Cheers,
Jonas
Solved! Go to Solution.
Ok, great thanks for your reply I'll try this.
I also contacted Freescale support and the answer that I got from them was that Ubuntu 9.10 is not yet supported and that I should try 8.04 LTS instead. Like that should have anything do with it I thought, but actually it fixed the issue.
Since I'm running Ubuntu in Virtual Box it wasn't a big issue for me to make a new image with an earlier Ubuntu.
Not working means ?
is the same error comming again?
The steps followed is
change VERSION to 4.9 in dist/lfs-5.1/texinfo/texinfo.spec
ensure the file /opt/freescale/pkgs/texinfo-4.9.tar.bz2 is present
it will work
arun
I am running ubuntu 10.04 and was able to get it to install
using texinfo 4.9 hack as well as the rpm patch on line 929 of ./ltib
Hi KeelerDude,
I'm using Ubuntu10.04 I have patched my ltib spec file, but I'm getting these errors related to texinfo. What do you mean by texinfo 4.9 hack?
Quick reply please!
make[4]: Entering directory `/opt/freescale/ltib/usr/src/rpm/BUILD/texinfo-4.8/tools/info'if ccache /usr/bin/gcc -B/usr/bin/ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -DINFODIR=\"/usr/local/info\" -DINFODIR2=\"/usr/local/share/info\" -I. -I/opt/freescale/ltib/usr/src/rpm/BUILD/texinfo-4.8/info -I.. -I. -I/opt/freescale/ltib/usr/src/rpm/BUILD/texinfo-4.8/lib -I../intl -I.. -I/opt/freescale/ltib/usr/src/rpm/BUILD/texinfo-4.8/info -g -O2 -MT makedoc.o -MD -MP -MF ".deps/makedoc.Tpo" -c -o makedoc.o /opt/freescale/ltib/usr/src/rpm/BUILD/texinfo-4.8/info/makedoc.c; \ then mv -f ".deps/makedoc.Tpo" ".deps/makedoc.Po"; else rm -f ".deps/makedoc.Tpo"; exit 1; ficcache /usr/bin/gcc -B/usr/bin/ -g -O2 -o makedoc makedoc.o ../lib/libtxi.a -lncurses makedoc.o: file not recognized: File format not recognizedcollect2: ld returned 1 exit status
make[4]: *** [makedoc] Error 1
make[4]: Leaving directory `/opt/freescale/ltib/usr/src/rpm/BUILD/texinfo-4.8/tools/info'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/freescale/ltib/usr/src/rpm/BUILD/texinfo-4.8/tools'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/freescale/ltib/usr/src/rpm/BUILD/texinfo-4.8/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/freescale/ltib/usr/src/rpm/BUILD/texinfo-4.8
'make: *** [all] Error 2
error: Bad exit status from /home/ubuntu/LTIB_reinstall/ltib/tmp/rpm-tmp.299 (%build)
RPM build errors: Bad exit status from /home/ubuntu/LTIB_reinstall/ltib/tmp/rpm-tmp.299 (%build)Build time for texinfo: 35 seconds
Failed building texinfoDied at ./ltib line 1384.traceback:
main::build_host_rpms:1384
main::host_checks:1439
main:542
Started: Mon Jul 26 17:55:20 2010
Ended: Mon Jul 26 17:55:56 2010
Elapsed: 36 seconds
These packages failed to build:texinfo
Build Failed
Hai
The main issue I think is the non availability of tools name ccache etc .
I also installed recently on 10.04 and i installed tools like ccache etc and it worked
Please check out
arun
The ccache installation solved my problem ( Lucid Lynx )
Here's what I did :
delete the following files/folders
/opt/freescale/ltib/usr/src/rpm/build/texinfo-4.8
/opt/freescale/ltib/usr/src/rpm/SOURCES/texinfo-4.8.tar.bz2,
/opt/freescale/pkgs/texinfo-4.8.tar.bz2,
/opt/freescale/pkgs/texinfo-4.8.tar.bz2.md5,
Download texinfo-4.9.tar.bz2 (http://www.linuxfromscratch.org/lfs/view/6.3/chapter03/packages.html), save it to "/opt/freescale/pkgs/".
Copy the md5 checksum for that package to a file, save it to "/opt/freescale/pkgs/" with the name "texinfo-4.9.tar.bz2.md5".
Change the texinfo version to 4.9 in "/<ltibinstalldir>/ltib/dist/lfs-5.1/texinfo/texinfo.spec"
Install "ccache" if already not installed. ( sudo aptitude install ccache )
Retry "./ltib -c"
Thanks a lot Arun, probably saved me a lot of time.
I am intrigued although, the make was failing to build all-recursice target. And I could not find any rules for that target in the Makefile.
I mean that I obtained the same error (cannot find 'all' target in directory 'tools').
I 've downloaded textinfo-4.9.tar.bz and modified .spec for texinfo, but not seemed to work.
Finally, I've compiled ltib on another machine with Ubuntu 9.04, and it worked.
I suppose the problem is related to Autoconf versions.
I still can't compile ltib under Ubuntu 9.10 but Freescale just released a new Beta BSP including ltib for the P2020RDB and I will have a go with that one.
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=P2020&fpsp=1&tab=Design_Tools_Tab
I also got the same error, I just downloaded the texinfo-4.9.tar.bz2 and changed the version in texinfo.spec and it works fine
arun
I have the same problem.
I tried to switch to texinfo-4.9, but it's not working for me.
Have you also tried going back to an earlier version of Ubuntu?
cheers,
Jonas
Ok, great thanks for your reply I'll try this.
I also contacted Freescale support and the answer that I got from them was that Ubuntu 9.10 is not yet supported and that I should try 8.04 LTS instead. Like that should have anything do with it I thought, but actually it fixed the issue.
Since I'm running Ubuntu in Virtual Box it wasn't a big issue for me to make a new image with an earlier Ubuntu.