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?
--
-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