ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Texinfo build / troubles with rpm database?


From: Franz Trierweiler
Subject: Re: [Ltib] Texinfo build / troubles with rpm database?
Date: Wed, 2 Dec 2009 00:27:23 +0100

Hi Stuart,

Here is  more detailed extract of the log file:

Processing: flex
==================

Processing: texinfo
=====================
Build path taken because: directory build, no prebuilt rpm,

Cowardly refusing to clobber existing directory:
 /opt/freescale/ltib/usr/src/rpm/BUILD/texinfo-4.8
Remove this by hand if you really want to rebuild this package from scratch

Died at ./ltib line 1380.
traceback:
 main::build_host_rpms:1380
  main::host_checks:1435
   main:542


Started: Tue Dec  1 23:33:09 2009
Ended:   Tue Dec  1 23:42:09 2009
Elapsed: 540 seconds

These packages failed to build:
texinfo

Build Failed


Since the message said that LTIB refused to "clobber existing directory" then I removed by hand the texinfo directory in /opt/ freescale/ltib/usr/src/rpm/BUILD:

address@hidden:/opt/freescale/ltib/usr/src/rpm/BUILD$ rm -r texinfo-4.8/

I also removed the bz2 link file in the SOURCE directory and the tex bz2 and md5 files as well, in /opt/freescale/pkgs.

Then I simply relaunched ./ltib and waited a few minutes.

Here is now what I get:

....
Build time for rpm-fs: 3 seconds

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)
ERROR: /tmp/rpm-franz/RPMS/i686/rpm-fs-4.0.4-1.i686.rpm
would clobber '/reescale/ltib'
traceback:
 main::check_host_clobber:2671
  main::build_rpm:906
   main::f_scdeploy:1079
    main::build_rpm:844
     main::f_buildrpms:980
      main::check_rpm_setup:2402
       main::host_checks:1423
        main:542


Started: Wed Dec  2 00:10:38 2009
Ended:   Wed Dec  2 00:17:14 2009
Elapsed: 396 seconds


Build Failed

I am really surprised of reading "/reescale" instead of "/freescale" and do not understand why LTID is dealing with rpm-fs-4.0.4-1.i686.rpm !

Well, I am now thinking of throwing away my Ubuntu 09.10 virtual machine in order to install a 09.04 back on my Mac since the LTIB environment provided by PDK 1.6 works fine on my PC laptop.

I just hope all these feedback will help you improve LTIB so that it can work on the newest Ubuntu release.

Thanks again for you help.
Franz



Le 1 déc. 2009 à 18:32, Stuart Hughes a écrit :

Hi Franz,

There are 2 separate issues here. The one with complaints about the rpmdb can safely be ignored wrt the rpm-fs package. This occurs on Ubuntu 9.10 as the rpm it comes with has no database at all initialised and you get these 2 messages during the host clobber checks, however the checks are still working correctly (and not an issue for rpm-fs in any case). If you're bothered by this message you could do rpm --initdb as Giorgio suggests, but this is not necessary.

So far as texinfo goes, that's a separate problem. You'd need to show more of the error messages. I suspect this is a problem with the particular (Freescale) BSP you're installing as I tried today using Savannah CVS and the install works just fine (after I fixed the --force-debian flag issue with Ubuntu 9.10).

Regards, Stuart


Franz TRIERWEILER wrote:
Hello,
I know that troubles about building texinfo have already been discussed a while ago (someone named Nirmala got a similar issue) but I would like to submit a strange behaviour I noticed this morning on an Ubuntu 9.10 host distro on which I am trying to install a fresh LTIB provided by Freescale (PDK 1.6). This LTIB works fine on an Ubuntu 09.04 but that's still hard to get something run on a 09.10. When trying to build texinfo, LTIB fails. There seems to be a big mess in the rpm local database.
Here is a tailed extract of the host_config.log file:
address@hidden:/opt/freescale/ltib/usr/src/rpm/BUILD$ tail / home/franz/ltib/host_config.log
Executing(--clean): /bin/sh -e /home/franz/ltib/tmp/rpm-tmp.nAtpSP
+ umask 022
+ cd /tmp/rpm-franz/BUILD
+ rm -rf rpm-4.0.4
+ exit 0
Build time for rpm-fs: 537 seconds
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) sudo rpm --root / --dbpath /tmp/rpm-franz/rpmdb -e --allmatches -- nodeps --define '_tmppath /home/franz/ltib/tmp' rpm-fs 2>/dev/null
After trying a new ./ltib build here I get this:
address@hidden:/opt/freescale/ltib/usr/src/rpm/BUILD$ tail / home/franz/ltib/host_config.log
Started: Tue Dec  1 07:21:55 2009
Ended:   Tue Dec  1 07:31:23 2009
Elapsed: 568 seconds
These packages failed to build:
texinfo
Build Failed
Before starting to read tons of documents about rpm database management and how to fix the database, I would like to know if someone already faced the same issue.
Franz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]