Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Jul 2016 04:47:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 210756] www/php56-opcache: does not install zend_extension correctly
Message-ID:  <bug-210756-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210756

            Bug ID: 210756
           Summary: www/php56-opcache: does not install zend_extension
                    correctly
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale@FreeBSD.org
          Reporter: majo-bugs.freebsd.org@cerny.sk
          Assignee: ale@FreeBSD.org
             Flags: maintainer-feedback?(ale@FreeBSD.org)

The latest change

    Convert USE_PHP*=3Dyes into USES=3Dphp*

brakes installation of opcache extension into extensions.ini. It must be
installed as zend_extension=3D..., but is installed as extension=3D..., whi=
ch
produces the following error when launching php:

    PHP Warning:  PHP Startup: Invalid library (appears to be a Zend Extens=
ion,
try loading using zend_extension=3Dopcache.so from php.ini) in Unknown on l=
ine 0

The problem is that www/php56-opcache/Makefile defines:

    USES=3D       php:zend

but includes lang/php56/Makefile, which redefines USES with:

    USES=3D          tar:bzip2 cpe

Changing USES=3D to USES+=3D in lang/php56/Makefile fixes the problem.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210756-13>