Sorry to post twice, but I need to correct what I just
wrote, as the problem **HAS** changed following the
kernel upgrade from kernel-smp.i686 2.6.17-1.2157_FC5
to kernel-smp.i686 2.6.17-1.2174_FC5:
--- Al Pacifico <adpacifico(a)yahoo.com> wrote:
Date: Thu, 17 Aug 2006 16:59:09 -0700 (PDT)
<snip>
Dan-
I don't think that is the problem. At present, mock
is
hung (as described above) and 'pstree build' yields:
bash───mock───sh───runuser───bash───runuser───rpmbuild───sh───perl
This didn't make sense, in that if the problem
persisted after the kernel upgrade, the output should
be:
bash───mock───sh───runuser
or, perhaps:
bash───mock───sh───runuser───bash───runuser
since previously the debugging output suggests mock
has hung prior to or while starting rpmbuild.
Repeated, with --debug, it seems to hang at the same
place:
DEBUG: Executing /usr/sbin/mock-helper chroot
/var/lib/mock/fedora-5-i386-core/root /sbin/runuser -
root -c "cd /;/sbin/runuser -c 'rpmbuild --rebuild
--target i386 --nodeps
/builddir/build/SRPMS/perl-DBIx-Migration-0.05-1.fc5.src.rpm'
mockbuild"
...and after seeing that, I prematurely posted that
the problem was uncorrected with a kernel update.
After typing 'u'<ENTER>, I see:
u
Installing
/builddir/build/SRPMS/perl-DBIx-Migration-0.05-1.fc5.src.rpm
Building target platforms: i386
Building for target i386
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.10545
<snip>
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.10545
<snip>
This module requires Module::Build to install itself.
Install Module::Build now from CPAN? [y] *** Cannot
install without Module::Build. Exiting ...
error: Bad exit status from /var/tmp/rpm-tmp.10545
<snip>
Error building package from
perl-DBIx-Migration-0.05-1.fc5.src.rpm, See build log
ending
DEBUG: Executing /usr/sbin/mock-helper umount
/var/lib/mock/fedora-5-i386-core/root/proc
DEBUG: Executing /usr/sbin/mock-helper umount
/var/lib/mock/fedora-5-i386-core/root/dev/pts
done
[build@powell SRPMS]$
I modified the .spec file, adding a BuildRequire line
for the Module::Build module and a couple more, and
now the SRPM rebuilds fine under mock. Thanks to Dan
for sharing his experience and insights!
With 'mock shell', however, the previously-described
behavior persists despite the kernel upgrade.
-al
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com