AnsweredAssumed Answered

2. ubuntu 9.10, ltib fail for MPC8379E

Question asked by Lee Jinyong on Nov 18, 2009
Latest reply on Nov 24, 2009 by Markus Malmgren

Thank you, Reky!!

 

previously problem was solved. (sudo chmod 777 /opt)

 

but there are some errors in running ltib.

 

1. below error messages are still displayed.

error: cannot open Name index using db3 - No such file or directory (2)
error: cannot open Name index using db3 - No such file or directory (2)

 

there are no directory named 'db3' in "ltib-mpc837xerdb-20081113/dist/lfs-5.1/",

but 'db3x' directory is exist.

 

2. directory is wrong?

sudo: /opt/freescale/ltib/usr/bin/rpm: command not found

 

3. conf?

jylee@jylee-desktop:~/ltib-mpc837xerdb-20081113-small$ ./ltib --preconfig config/platform/mpc837xerdb/defconfig-min-fs-8379e --batch

Installing host support packages.

This only needs to be done once per host, but may take up to
an hour to complete ...

If an error occurs, a log file with the full output may be found in:
/home/jylee/ltib-mpc837xerdb-20081113-small/host_config.log

[sudo] password for jylee:
+ [ -n config/platform/mpc837xerdb/defconfig-min-fs-8379e ]
+ cp config/platform/mpc837xerdb/defconfig-min-fs-8379e config/platform/mpc837xerdb/.config
+ chmod +w config/platform/mpc837xerdb/.config
+ [ ! -f config/platform/mpc837xerdb/.config -a -f config/platform/mpc837xerdb/defconfig ]
+ [ -n  ]
+ cd config/platform/mpc837xerdb
+ yes
+ conf main.lkc .config
sh: conf: not found
Died at ./ltib line 2778.
traceback:
 main::run_plat_config:2778
  main::ltib_config:2753
   main::smileytongue:re_build_checks:1380
    main:545


Started: Thu Dec 17 19:43:25 2009
Ended:   Thu Dec 17 20:30:46 2009
Elapsed: 2841 seconds


Build Failed

Exiting on error or interrupt
jylee@jylee-desktop:~/ltib-mpc837xerdb-20081113-small$

 

that messages show 'conf' is not found.

in 'host_config.log' file,


Processing: lkc
=================
...

+ cd /opt/freescale/ltib/usr/src/rpm/BUILD
+ cd lkc-1.4
+ rm -rf /opt/freescale/ltib/usr/src/rpm/BUILDROOT/lkc-1.4-10.i386
+ mkdir -p /opt/freescale/ltib/usr/src/rpm/BUILDROOT/lkc-1.4-10.i386//opt/freescale/rootfs/i686//opt/freescale/ltib/usr/bin
+ cp -a conf mconf /opt/freescale/ltib/usr/src/rpm/BUILDROOT/lkc-1.4-10.i386//opt/freescale/rootfs/i686//opt/freescale/ltib/usr/bin
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-static-archive
+ /usr/lib/rpm/brp-strip-comment-note
Processing files: lkc-1.4-10.i686
unknown, 0: Warning: using regular magic file `/etc/magic'
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libncurses.so.5
Checking for unpackaged file(s): /usr/lib/rpm/check-files /opt/freescale/ltib/usr/src/rpm/BUILDROOT/lkc-1.4-10.i386
Wrote: /opt/freescale/ltib/usr/src/rpm/RPMS/i686/lkc-1.4-10.i686.rpm
Executing(%clean): /bin/sh -e /home/jylee/ltib-mpc837xerdb-20081113-small/tmp/rpm-tmp.TxQWHK
+ umask 022
+ cd /opt/freescale/ltib/usr/src/rpm/BUILD
+ cd lkc-1.4
+ rm -rf /opt/freescale/ltib/usr/src/rpm/BUILDROOT/lkc-1.4-10.i386
+ exit 0
Executing(--clean): /bin/sh -e /home/jylee/ltib-mpc837xerdb-20081113-small/tmp/rpm-tmp.3LeyJD
+ umask 022
+ cd /opt/freescale/ltib/usr/src/rpm/BUILD
+ rm -rf lkc-1.4
+ exit 0
Build time for lkc: 7 seconds

 

 

in lkc processing, 'conf', 'mconf' are made and copy to

'/opt/freescale/ltib/usr/src/rpm/BUILDROOT/lkc-1.4-10.i386//opt/freescale/rootfs/i686//opt/freescale/ltib/usr/bin'

, not to

'/opt/freescale/ltib/usr/bin'

 

and remove the directory

'rm -rf /opt/freescale/ltib/usr/src/rpm/BUILDROOT/lkc-1.4-10.i386'

 

so there are no 'conf', 'mconf' file exist.

 

I think it was wrong.

 

please, let me how to solve these problems.

 

host_config.log.txt

Message Edited by t.dowe on 2009-11-18 11:03 AM

Outcomes