Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2017 18:54:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 217148] devel/pecl-APCu does not build on 10.3 but on 11
Message-ID:  <bug-217148-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 217148
           Summary: devel/pecl-APCu does not build on 10.3 but on 11
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: idefix@fechner.net
                CC: johnpupu@gmail.com
                CC: johnpupu@gmail.com
             Flags: maintainer-feedback?(johnpupu@gmail.com)

I have two poudriere repositories for FreeBSD 10.3 and 11.
I switched now to php7.1 and APCu builds fine for FreeBSD 11 but fails for =
10.3
with error message:
/usr/local/include -fno-strict-aliasing -c
/wrkdirs/usr/ports/devel/pecl-APCu/work/apcu-5.1.8/apc_cache.c  -fPIC -DPIC=
 -o
.libs/apc_cache.o
/wrkdirs/usr/ports/devel/pecl-APCu/work/apcu-5.1.8/apc_cache.c:1851:36: err=
or:
use of undeclared identifier '_tsrm_ls_cache'
                        if(last->mtime =3D=3D key->mtime &&
FROM_DIFFERENT_THREAD(last)) {
                                                        ^
/wrkdirs/usr/ports/devel/pecl-APCu/work/apcu-5.1.8/apc_cache.c:1833:50: not=
e:
expanded from macro 'FROM_DIFFERENT_THREAD'
#       define FROM_DIFFERENT_THREAD(k) ((key->owner =3D TSRMLS_CACHE) !=3D
(k)->owner)=20
                                                       ^
/usr/local/include/php/Zend/../TSRM/TSRM.h:180:22: note: expanded from macro
'TSRMLS_CACHE'
#define TSRMLS_CACHE _tsrm_ls_cache
                     ^
/wrkdirs/usr/ports/devel/pecl-APCu/work/apcu-5.1.8/apc_cache.c:1863:19: err=
or:
use of undeclared identifier '_tsrm_ls_cache'
                                last->owner =3D TSRMLS_CACHE;=20=20=20=20=20
                                              ^
/usr/local/include/php/Zend/../TSRM/TSRM.h:180:22: note: expanded from macro
'TSRMLS_CACHE'
#define TSRMLS_CACHE _tsrm_ls_cache
                     ^
2 errors generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/devel/pecl-APCu/work/apcu-5.1.8
*** Error code 1

The full build log can be found here:
https://pkg.fechner.net/data/103amd64-default/2017-02-16_19h43m40s/logs/err=
ors/pecl-APCu-5.1.8.log

Successful link for the FreeBSD 11 build is here:
https://pkg.fechner.net/data/110amd64-default/2017-02-15_21h50m48s/logs/pec=
l-APCu-5.1.8.log

--=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-217148-13>