store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Mon Nov 24, 2014 4:01 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Rebuild PHP 5.3.8 - MD5 sum mismatch
Unread postPosted: Wed Sep 28, 2011 12:50 pm 
Offline
Forum User
Forum User

Joined: Mon Jan 09, 2006 4:02 pm
Posts: 47
I'm trying to do a straight recompile (with no patches or anything else applied) of the 5.3.8 release. I need to do this in order to allow for higher file descriptor limits. So far I have recompiled all srpms necessary according to Parallels here: http://kb.parallels.com/article_41_260_en.html

But once I reach the last step and attempt to recompile and reinstall PHP, I get:

Quote:
error: unpacking of archive failed on file /usr/src/redhat/SOURCES/macros.php;4e834e03: cpio: MD5 sum mismatch

Using:
Code:
rpmbuild --rebuild php-5.3.8-1.art.src.rpm


Is there a simple way to fix this and complete the recompile?

I'm doing this on 32-bit CentOS 5.7 (Final)

Thanks!

Jordan


Top
 Profile  
 
 Post subject: Re: Rebuild PHP 5.3.8 - MD5 sum mismatch
Unread postPosted: Wed Sep 28, 2011 2:57 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7957
Location: earth
you wont be able to --rebuild that, you'll need to install it with --nomd5 and then build it -ba


Top
 Profile  
 
 Post subject: Re: Rebuild PHP 5.3.8 - MD5 sum mismatch
Unread postPosted: Mon Oct 03, 2011 7:29 am 
Offline
Forum User
Forum User

Joined: Mon Jan 09, 2006 4:02 pm
Posts: 47
Thanks Scott. I'll be sure to do it that way if I wind up needing to do this again. Turns out the problem that triggered my need to recompile may not actually be a file descriptor limit issue, so rebuilding PHP may not be necessary after all. The actual problem I'm encountering is the one with the http authenticaton bug in apr.

Just in case this winds up being related to file descriptor limits after all, can you tell me if the systems you're building your binaries on are using system defaults for file descriptors (1024) or an increased amount? I can't recall for sure, but I thought you mentioned you were using 4096 as the file descriptor limit a while back.

I find it a bit ridiculous that an enterprise OS has such low limits to start with. After all, of all operating systems, shouldn't an enterprise OS be configured to handle high resource requirements? Not your fault, for sure, just something that always puzzled me.

Thanks,

Jordan


Top
 Profile  
 
 Post subject: Re: Rebuild PHP 5.3.8 - MD5 sum mismatch
Unread postPosted: Sun Oct 09, 2011 10:08 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7957
Location: earth
Its a memory use & optimization thing. The vast majority of users out there would never run into this, so redhat opt'd for the biggest benefit approach.

The only packages that would really be effected by this are httpd and openssl. httpd is the only thing built here (in the -testing channel). Its using the default of 1024 currently.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group