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