Postmaster wrote:
On 10/06/2010 20:09, Eric Shubert wrote:
Postmaster wrote:
On 09/06/2010 23:25, Eric Shubert wrote:
Postmaster wrote:
On 09/06/2010 23:11, Eric Shubert wrote:
Postmaster wrote:


On 09/06/2010 22:40, Eric Shubert wrote:
Eric Shubert wrote:
Eric Shubert wrote:
Eric Shubert wrote:
Eric Shubert wrote:
Scott Hughes wrote:
I am attempting to update a new QMT server. When running the newmodel script, I am getting the following:

qtp-build-rpms - rpmbuild failed for clamav-toaster-0.96.1-1.3.36
qtp-build-rpms - here are the last 10 messages from the log:
+ '[' 0 -ne 0 ']'
+ cd clamav-0.96.1
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
error: Bad exit status from /var/tmp/rpm-tmp.10862 (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.10862 (%prep)
<end of log messages>

qtp-build-rpms - see /mnt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log for more details

Build failed, Exiting.

 --- Hit ENTER to return to menu ---


All other packages appeared to build without any problems. This system has had all of it's yum updates and has been rebooted.

Ideas, please?

Scott


You know? Not that I look a bit closer, this error is from a no-brainer sort of command (chown). I wonder if fuse-unionfs isn't having a problem with COS5.5.


Strangeness. When I do the commands manually (in a chroot environment, same as qtp-build-rpms does) I get no error. However, when I run the "/bin/sh -e /var/tmp/rpm-tmp.80211" command, same as rpmbuild does, it ends prematurely in the same spot (chown command) with return code 1.

Very peculiar. I'm going to try with a linked sandbox, which I expect will succeed.


Linked sandbox works. So the problem is with fuse-unionfs and CentOS 5.5. This is a fairly low priority, but I'll continue to test to pinpoint the problem, and persue a fix.


Hey Steve,

I have a COS5.4 QMT with an updated kernel that I got this failure with as well. I did
# yum remove fuse dkms
which removed these packages with their dependencies, then reran qtp-newmodel, which reinstalled them, and it appears that qtp-newmodel has gotten past the problem part.

I'll try this a little later on my test QMT 5.5 that was failing. Thought you might want to give it a try and see what you get.


Well, reinstalling fuse,dkms didn't fix the problem for me on COS 5.5.
I'm pretty confident that's where the problem lies though.
I wonder if rebuilding them on a COS5.5 host will make it work. Doubtful.
Need to ponder this some more...



I have similar issue on my VPS CentOS 5.4 64 bit:

Starting to build the binary rpms ...(pizza anyone?)

If you want to view compile messages, you can open another terminal and:
# tail -f /mnt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log

qtp-build-rpms v0.3.5
qtp-remove-pkgs v0.3.1
Building clamav-toaster-0.96.1-1.3.36 ...
qtp-build-rpms - rpmbuild failed for clamav-toaster-0.96.1-1.3.36
qtp-build-rpms - here are the last 10 messages from the log:
+ '[' 0 -ne 0 ']'
+ cd clamav-0.96.1
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
error: Bad exit status from /var/tmp/rpm-tmp.72759 (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.72759 (%prep)
<end of log messages>

qtp-build-rpms - see /mnt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log for more details

Build failed, Exiting.


---------------------------------------------------------------------------------

That's so similar, it's the same! ;)
I'm guessing that you're using the unionfs for sandbox?
What's your kernel version?

qtp-newmodel v0.3.15 starting Wed Jun  9 22:11:28 BST 2010
qtp-whatami v0.3.6
DISTRO=CentOS
OSVER=5.4
QTARCH=x86_64
QTKERN=2.6.32.12-x86_64-linode12
BUILD_DIST=cnt5064
BUILD_DIR=/usr/src/redhat
This machine's OS is supported and has been tested

---------------------------------------------------------------------------------





That's a pretty new kernel.
How'd you end up with that kernel on a COS 5.4 host?

Yeah, this is a VPS server (Xen virtualisation). I can chose and run pretty much any kernel in a matter of seconds. Have a look at http://www.linode.com/features.cfm - Configuration profile

---------------------------------------------------------------------------------
Postmaster,

Your VPS might come in very handy here. :)

Have you changed the kernel after having run qtp-newmodel with the unionfs sandbox on a previous kernel?

Do you have a way to go back to the kernel that was used when you last ran qtp-newmodel successfully? (if you remember which kernel you were running then?) If so, please do so, then run qtp-newmodel test.

Do you get the failure when you use the most recent COS5.5 stock kernel? (2.6.18-194.3.1.el5)

Will you try:
.) using 2.6.18-194.3.1.el5 kernel
.) yum remove dkms fuse
.) test qtp-newmodel again
?

Hey Alex,

The build was successful by either way.

Which ways? I'm not sure which ones you're referring to.

So I can conclude that it was 5.4 version (one of its libraries) at fault.

Please explain how you come to that conclusion. I've had several 5.4 versions that had no problem ever.

--
-Eric 'shubes'


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
    For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to