[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils)
From: |
Mark Craske |
Subject: |
Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils) |
Date: |
Wed, 15 Jul 2009 17:17:00 +0100 |
Hi Stuart,
address@hidden ltib]$ uname -a
Linux mvdev4.mvista.co.uk 2.6.29.6-desktop-1mnb #1 SMP Sun Jul 5
19:57:54 EDT 2009 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GNU/Linux
address@hidden ltib]$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2009-06-25 11:22 /bin/sh -> bash*
=snip=
Processing platform: Host support packages
============================================
using
/home/mcraske/projects/ltib_attempt/savannah_ltib_latest/ltib/config/platform/host/ltib.preconfig
Processing: fake-provides
===========================
Build path taken because: no prebuilt rpm,
rpmbuild --dbpath ///opt/ltib/var/lib/rpm --target i686 --define
'_unpackaged_files_terminate_build 0' --define '_target_cpu i686'
--define '__strip strip' --define '_topdir /opt/ltib/usr/src/rpm'
--define '_prefix /opt/ltib/usr' --define
'_tmppath /home/mcraske/projects/ltib_attempt/savannah_ltib_latest/ltib/tmp'
--define '_rpmdir /opt/ltib/usr/src/rpm/RPMS' --define '_mandir
/opt/ltib/usr/share/man' --define '_sysconfdir /opt/ltib/etc' --define
'_localstatedir /var' -bb --clean --rmsource
/home/mcraske/projects/ltib_attempt/savannah_ltib_latest/ltib/dist/lfs-5.1/fake-provides/fake-provides.spec
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh
-e
/home/mcraske/projects/ltib_attempt/savannah_ltib_latest/ltib/tmp/rpm-tmp.17675
+ umask 022
+ cd /opt/ltib/usr/src/rpm/BUILD
+ exit 0
Executing(%build): /bin/sh
-e
/home/mcraske/projects/ltib_attempt/savannah_ltib_latest/ltib/tmp/rpm-tmp.17675
+ umask 022
+ cd /opt/ltib/usr/src/rpm/BUILD
+ exit 0
Executing(%install): /bin/sh
-e
/home/mcraske/projects/ltib_attempt/savannah_ltib_latest/ltib/tmp/rpm-tmp.17675
+ umask 022
+ cd /opt/ltib/usr/src/rpm/BUILD
+ rm -rf /tmp/fake-provides-1.0
Processing files: fake-provides-1.0-5
Provides: /bin/sh /bin/bash /bin/csh /bin/tcsh /usr/bin/env /usr/bin/perl
/usr/local/bin/perl libgcc_s.so.1 libgcc_s.so.1(GCC_3.0)
libgcc_s.so.1(GLIBC_2.0) /bin/gawk /usr/bin/nawk /usr/bin/awk /usr/bin/bash
perl 5.8.0 perl(Getopt::Long) perl(Getopt::Std) perl(constant) perl(getopts.pl)
perl(strict) perl(vars) perl(Carp) perl(Cwd) perl(Data::Dumper)
perl(DynaLoader) perl(Exporter) perl(File::Basename) perl(File::Compare)
perl(File::Copy) perl(File::Find) perl(File::Spec) perl(File::stat)
perl(IO::File) perl(POSIX) perl(Text::ParseWords) libstdc++.so.5
libstdc++.so.5(CXXABI_1.2) libstdc++.so.5(GLIBCPP_3.2)
libstdc++.so.5(GLIBCPP_3.2.1) /bin/rm /sbin/ldconfig /sbin/chkconfig
linux-gate.so.1
PreReq: rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
Wrote: /opt/ltib/usr/src/rpm/RPMS/i686/fake-provides-1.0-5.i686.rpm
Executing(%clean): /bin/sh
-e
/home/mcraske/projects/ltib_attempt/savannah_ltib_latest/ltib/tmp/rpm-tmp.17675
+ umask 022
+ cd /opt/ltib/usr/src/rpm/BUILD
+ rm -rf /tmp/fake-provides-1.0
+ exit 0
Executing(--clean): /bin/sh
-e
/home/mcraske/projects/ltib_attempt/savannah_ltib_latest/ltib/tmp/rpm-tmp.17675
+ umask 022
+ cd /opt/ltib/usr/src/rpm/BUILD
+ exit 0
Build time for fake-provides: 1 seconds
Failed building fake-provides, ec=6
Died at ./ltib line 1388.
traceback:
main::build_host_rpms:1388
main::host_checks:1443
main:537
Started: Wed Jul 15 16:58:44 2009
Ended: Wed Jul 15 17:06:20 2009
Elapsed: 456 seconds
These packages failed to build:
fake-provides
Build Failed
=snip=
Regards, Mark
On Wed, 2009-07-15 at 16:35 +0100, Stuart Hughes wrote:
> Hi Mark,
>
> I don't understand what's happening here. If you look at the output
> you'll see:
>
> > Executing(--clean): /bin/sh
> > -e
> /home/mcraske/projects/ltib_attempt/savannah_ltib_latest/ltib/tmp/rpm-tmp.2379
> > + umask 022
> > + cd /opt/ltib/usr/src/rpm/BUILD
> > + exit 0
> > Build time for fake-provides: 0 seconds
> >
> > Failed building fake-provides
>
> Clearly rpm exits with 0, so the calling line which is this:
>
> my $ec = system_nb($cmd);
> print "Build time for $sn: ${\( time() - $stime )} seconds\n\n";
> $rebuilt = 1;
> if($ec) {
> warn("Failed building $sn\n");
>
> should not be detecting an error. Can you tell me which platform you're
> on and what shell it runs (ls -l /bin/sh).
>
> Can you apply this patch (temporarily) and send the output of a re-run
> (just type ./ltib again).
>
> around line 880 in ltib:
>
> $rebuilt = 1;
> if($ec) {
> - warn("Failed building $sn\n");
> + warn("Failed building $sn, ec=$ec\n");
> $cf->{pkg_build_failures} .= "$sn ";
> return;
> }
>
> Regards, Stuart
- [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Mark Craske, 2009/07/15
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Stuart Hughes, 2009/07/15
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Mark Craske, 2009/07/15
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Stuart Hughes, 2009/07/15
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Mark Craske, 2009/07/15
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Stuart Hughes, 2009/07/15
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Mark Craske, 2009/07/15
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Stuart Hughes, 2009/07/15
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils),
Mark Craske <=
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Stuart Hughes, 2009/07/15
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Mark Craske, 2009/07/16
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Stuart Hughes, 2009/07/16
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Stuart Hughes, 2009/07/16
- Message not available
- Message not available
- Re: [Ltib] Installation problems with Mandriva 2009.1, Stuart Hughes, 2009/07/17
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Mark Craske, 2009/07/16
- Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils), Stuart Hughes, 2009/07/16