Discussion:
php5-filter update fails; possible pcre issue
(too old to reply)
David Newman
2010-04-10 14:39:14 UTC
Permalink
8.0-RELEASE, amd64

Running 'portmaster -a' fails to upgrade php5-filter-5.2.12 to
php5-filter-5.3.2. Error output below.

I would be grateful for clues on a fix.

Is this related to the php5-pcre port being moved into core php5?

somehost# cd /usr/ports
somehost# make search name=php5-pcre
Port: devel/php5-pcre
Moved: lang/php5
Date: 2010-04-09
Reason: Bundled in core php

thanks

dn

error output during 'portmaster -a' for php5-filter:

In file included from
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:25:
/usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such
file or directory
In file included from
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:25:
/usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected '=', ',',
';', 'asm' or '__attribute__' before '*' token
/usr/local/include/php/ext/pcre/php_pcre.h:38: error: expected '=', ',',
';', 'asm' or '__attribute__' before '*' token
/usr/local/include/php/ext/pcre/php_pcre.h:44: error: expected
specifier-qualifier-list before 'pcre'
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:
In function 'php_filter_validate_regexp':
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
error: 'pcre' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
error: (Each undeclared identifier is reported only once
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
error: for each function it appears in.)
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
error: 're' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:413:
error: 'pcre_extra' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:
In function 'php_filter_validate_email':
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:500:
error: 'pcre' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:500:
error: 're' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:501:
error: 'pcre_extra' undeclared (first use in this function)
*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/security/php5-filter.

===>>> make failed for security/php5-filter
===>>> Aborting update

===>>> Update for php5-filter-5.2.12 failed
===>>> Aborting update
Kieran Black
2010-04-10 14:59:15 UTC
Permalink
According to /usr/ports/MOVED php5-filter is now also part of core php5

host# grep "php5-filter" /usr/ports/MOVED
security/pecl-filter|security/php5-filter|2008-12-11|Now bundled in php5

Kieran
Post by David Newman
8.0-RELEASE, amd64
Running 'portmaster -a' fails to upgrade php5-filter-5.2.12 to
php5-filter-5.3.2. Error output below.
I would be grateful for clues on a fix.
Is this related to the php5-pcre port being moved into core php5?
somehost# cd /usr/ports
somehost# make search name=php5-pcre
Port: devel/php5-pcre
Moved: lang/php5
Date: 2010-04-09
Reason: Bundled in core php
thanks
dn
In file included from
/usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such
file or directory
In file included from
/usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected '=', ',',
';', 'asm' or '__attribute__' before '*' token
/usr/local/include/php/ext/pcre/php_pcre.h:38: error: expected '=', ',',
';', 'asm' or '__attribute__' before '*' token
/usr/local/include/php/ext/pcre/php_pcre.h:44: error: expected
specifier-qualifier-list before 'pcre'
error: 'pcre' undeclared (first use in this function)
error: (Each undeclared identifier is reported only once
error: for each function it appears in.)
error: 're' undeclared (first use in this function)
error: 'pcre_extra' undeclared (first use in this function)
error: 'pcre' undeclared (first use in this function)
error: 're' undeclared (first use in this function)
error: 'pcre_extra' undeclared (first use in this function)
*** Error code 1
1 error
*** Error code 1
Stop in /usr/ports/security/php5-filter.
===>>> make failed for security/php5-filter
===>>> Aborting update
===>>> Update for php5-filter-5.2.12 failed
===>>> Aborting update
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
David Newman
2010-04-10 15:35:36 UTC
Permalink
Post by Kieran Black
According to /usr/ports/MOVED php5-filter is now also part of core php5
host# grep "php5-filter" /usr/ports/MOVED
security/pecl-filter|security/php5-filter|2008-12-11|Now bundled in php5
Thanks. Obvious question, but just checking: Would uninstalling
php5-filter and php5-pcre (if installed) and then proceeding with
updating all other php5 ports have the same effect as updating these
ports as if they were standalone, as before?

dn
Post by Kieran Black
Kieran
Post by David Newman
8.0-RELEASE, amd64
Running 'portmaster -a' fails to upgrade php5-filter-5.2.12 to
php5-filter-5.3.2. Error output below.
I would be grateful for clues on a fix.
Is this related to the php5-pcre port being moved into core php5?
somehost# cd /usr/ports
somehost# make search name=php5-pcre
Port: devel/php5-pcre
Moved: lang/php5
Date: 2010-04-09
Reason: Bundled in core php
thanks
dn
In file included from
/usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such
file or directory
In file included from
/usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected '=', ',',
';', 'asm' or '__attribute__' before '*' token
/usr/local/include/php/ext/pcre/php_pcre.h:38: error: expected '=', ',',
';', 'asm' or '__attribute__' before '*' token
/usr/local/include/php/ext/pcre/php_pcre.h:44: error: expected
specifier-qualifier-list before 'pcre'
error: 'pcre' undeclared (first use in this function)
error: (Each undeclared identifier is reported only once
error: for each function it appears in.)
error: 're' undeclared (first use in this function)
error: 'pcre_extra' undeclared (first use in this function)
error: 'pcre' undeclared (first use in this function)
error: 're' undeclared (first use in this function)
error: 'pcre_extra' undeclared (first use in this function)
*** Error code 1
1 error
*** Error code 1
Stop in /usr/ports/security/php5-filter.
===>>> make failed for security/php5-filter
===>>> Aborting update
===>>> Update for php5-filter-5.2.12 failed
===>>> Aborting update
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
Loading...