Bug 146449

Summary: Rebuilding of php rpm dies
Product: [Fedora] Fedora Reporter: mlbossi <mlbossi>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-28 13:17:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
/usr/src/redhat/BUILD/php-4.3.10/build-cgi/config.log none

Description mlbossi 2005-01-28 12:05:25 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Description of problem:
Rebuilding of the php package dies (with the default php.spec):

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define COOKIE_IO_FUNCTIONS_T cookie_io_functions_t
#define COOKIE_SEEKER_USES_OFF64_T 1
#define DEFAULT_SHORT_OPEN_TAG "1"

... (skip) ...

#define PHP_WRITE_STDOUT 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 4
#define STDC_HEADERS 1
#define WITH_BCMATH 1
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 1
+ make
make: *** No targets specified and no makefile found.  Stop.
error: Bad exit status from /var/tmp/rpm-tmp.88292 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.88292 (%build)



Version-Release number of selected component (if applicable):
php-4.3.10-3.2

How reproducible:
Always

Steps to Reproduce:
1. Install php srpm with dependecies resolved
2. Run: rpmbuild -bb /usr/src/redhat/SPEC/php.spec
3. Die with an strange error
  

Additional info:

This bug is similar to "Bug 131054 � Rebuilding of php dies if file package is too old" but the linux box is up2date

Comment 1 Joe Orton 2005-01-28 13:06:59 UTC
Please attach the config.log file left after the failed build, in
/path/to/BUILD/php-4.3.10/build-cgi/.

Comment 2 mlbossi 2005-01-28 13:13:42 UTC
Created attachment 110351 [details]
/usr/src/redhat/BUILD/php-4.3.10/build-cgi/config.log

As required...
Thank you

Comment 3 Joe Orton 2005-01-28 13:17:53 UTC
You need to install libidn-devel.

*** This bug has been marked as a duplicate of 138441 ***

Comment 4 mlbossi 2005-01-28 14:53:41 UTC
Ok, now is working!
Thanks a lot!