Description of problem: Rebuilding of the php package dies, if the file package is too old: --- snipp --- #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.36452 (%build) --- snapp --- It's a strange error and you don't think first, that it is caused by a missing magic.mime. Version-Release number of selected component (if applicable): php-4.3.8-7 How reproducible: Everytime, see below. Steps to Reproduce: 1. Install file < 4.0 2. Try to rebuild php 3. Die with an strange error Actual results: --- snipp --- --- php.spec 2004-08-26 16:49:54.000000000 +0200 +++ php.spec.rsc 2004-08-27 01:06:39.000000000 +0200 @@ -47,11 +47,11 @@ BuildRequires: httpd-devel >= 2.0.46-1, libjpeg-devel, libpng-devel, pam-devel BuildRequires: libstdc++-devel, openssl-devel BuildRequires: zlib-devel, pcre-devel, smtpdaemon -BuildRequires: bzip2, fileutils, file, perl, libtool >= 1.4.3 +BuildRequires: bzip2, fileutils, file >= 4.0, perl, libtool >= 1.4.3 Obsoletes: php-dbg, mod_php, php3, phpfi, stronghold-php, php-openssl # Enforce Apache module ABI compatibility Requires: httpd-mmn = %(cat %{_includedir}/httpd/.mmn || echo missing-httpd-devel) -Requires: php-pear, file +Requires: php-pear, file >= 4.0 %description PHP is an HTML-embedded scripting language. PHP attempts to make it --- snapp --- This diff maybe differs a few lines up or down, because I've got some modifications in my spec file that never will be included to Fedora ;-) Expected results: Requirement to file >= 4.0 - I think, it's enough to commit this fix to the internal build system and do a rebuild together with other fixes and changes, because this is absolutely a minor issue in my eyes.
Created attachment 103146 [details] Log file of failed php rebuild for further details Oh...I forgot to thank you, Marco/katerX, for discovering this issue ;-)
Thanks, your patch will be included in the next build.