[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: Stuart Hughes
Subject: Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils)
Date: Thu, 16 Jul 2009 14:20:15 +0100
User-agent: Thunderbird (X11/20080707)

Hi Mark,

I looked again, some more output might help.  Can you run 'strace -f'
instead of 'strace' to capture the output from the sub-processes/threads too, this might show something. Can you send to me off the list, or compress it (there's an 80k limit IIRC).

Regards, Stuart

Stuart Hughes wrote:
Hi Mark,

I've had a quick look but I can't see anything obvious.

Clearly there's a problem with /opt/ltib/usr/bin/rpmbuild, which is built by LTIB during its installation phase. Quite what this is and why it should fail in this subtle way I don't know. My suspicion that it is distribution related, but can't be sure. Unfortunately I don't have a
Mandriva 2009.1 distro/machine so can't investigate.

You could try removing /opt/ltib/usr (rm -rf as root) and running from scratch. Please save the host_config.log as that would have any build errors/warnings from the rpm-fs build. Possibly things may work after this, but it's unlikely. I'm not sure what else to suggest other than using gdb on /opt/ltib/usr/bin/rpmbuild in some way.

ALL: has anyone successfully installed LTIB on Mandriva 2009.1 distro, or can someone who has spare hardware/virtualisation try it?

Regards, Stuart

Mark Craske wrote:
Hi Stuart,

My distro is Mandriva 2009.1

I tried running the suggested command line.
An immediate 'echo $?' on completion showed 134.

I attach the strace output, because I can't figure out
what is causing the abort. The actual abort occurs when
SIGABRT, which was masked, is unmasked.

Regards, Mark

On Wed, 2009-07-15 at 18:31 +0100, Stuart Hughes wrote:
Hi Mark,

Which distro are you running on ?

The error code coming back from the system is 6, this a SIGABRT
The most likely suspect is /opt/ltib/usr/bin/rpmbuild
but it could be the shell or something else.

You could try running at the command line (all one line with no breaks):

$ /opt/ltib/usr/bin/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 /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

and then immediately echo $?, this should be 0. If it's 6, then maybe you can strace it to try to figure out what is causing the abort.

Regards, Stuart

LTIB home page:

Ltib mailing list

reply via email to

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