php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71741 3.0.1 don't build with PHP 5.6
Submitted: 2016-03-08 12:59 UTC Modified: 2016-03-15 04:39 UTC
From: spam2 at rhsoft dot net Assigned: seander (profile)
Status: Closed Package: mailparse (PECL)
PHP Version: 5.6.19 OS: Linux
Private report: No CVE-ID: None
 [2016-03-08 12:59 UTC] spam2 at rhsoft dot net
Description:
------------
it's fine that now PHP7 is supported but is that a valid reason for break builds with PHP 5.6?

In file included from /home/builduser/rpmbuild/BUILD/php-pecl-mailparse-3.0.1/php_mailparse.h:85:0,
                 from /home/builduser/rpmbuild/BUILD/php-pecl-mailparse-3.0.1/mailparse.c:27:
/home/builduser/rpmbuild/BUILD/php-pecl-mailparse-3.0.1/php_mailparse_mime.h:23:43: fatal error: ext/standard/php_smart_string.h: No such file or directory
compilation terminated.
In file included from /home/builduser/rpmbuild/BUILD/php-pecl-mailparse-3.0.1/php_mailparse.h:85:0,
                 from /home/builduser/rpmbuild/BUILD/php-pecl-mailparse-3.0.1/php_mailparse_mime.c:21:
/home/builduser/rpmbuild/BUILD/php-pecl-mailparse-3.0.1/php_mailparse_mime.h:23:43: fatal error: ext/standard/php_smart_string.h: No such file or directory
compilation terminated.
In file included from /home/builduser/rpmbuild/BUILD/php-pecl-mailparse-3.0.1/php_mailparse.h:85:0,
                 from /home/vagrant/src/pecl-mail-mailparse/php_mailparse_rfc822.re:21:
/home/builduser/rpmbuild/BUILD/php-pecl-mailparse-3.0.1/php_mailparse_mime.h:23:43: fatal error: ext/standard/php_smart_string.h: No such file or directory
compilation terminated.
Makefile:187: recipe for target 'mailparse.lo' failed
make: *** [mailparse.lo] Error 1
make: *** Waiting for unfinished jobs....
Makefile:189: recipe for target 'php_mailparse_mime.lo' failed
make: *** [php_mailparse_mime.lo] Error 1
Makefile:191: recipe for target 'php_mailparse_rfc822.lo' failed
make: *** [php_mailparse_rfc822.lo] Error 1
Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.rcLLc5 (%build)


Fehler beim Bauen des RPM:
    Fehler-Status beim Beenden von /var/tmp/rpm-tmp.rcLLc5 (%build)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-03-15 04:39 UTC] seander@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: seander
 [2016-03-15 04:39 UTC] seander@php.net
There was significant API changes for 7.0 and when I ported mailparse I made the decision to make a break and have a 7.0 version.

You can install/build older versions though. Also, no features were added to 3.0 so you aren't missing out on anything.

The best decision is just to upgrade to PHP 7 :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Dec 11 06:01:28 2024 UTC