[Bug 254139] devel/php74-sysvsem does'nt compile on PPC64
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Mar 8 18:17:42 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254139
Bug ID: 254139
Summary: devel/php74-sysvsem does'nt compile on PPC64
Product: Ports & Packages
Version: Latest
Hardware: powerpc
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: tz at freebsd.org
Reporter: luciano at vespaperitivo.it
CC: powerpc at FreeBSD.org
Flags: maintainer-feedback?(tz at freebsd.org)
Assignee: tz at freebsd.org
CC: powerpc at FreeBSD.org
It doesn't compile. I'm getting:
gcc10 -I. -I/usr/ports/devel/php74-sysvsem/work/php-7.4.16/ext/sysvsem
-DPHP_ATOM_INC
-I/usr/ports/devel/php74-sysvsem/work/php-7.4.16/ext/sysvsem/include
-I/usr/ports/devel/php74-sysvsem/work/php-7.4.16/ext/sysvsem/main
-I/usr/ports/devel/php74-sysvsem/work/php-7.4.16/ext/sysvsem
-I/usr/local/include/php -I/usr/local/include/php/main
-I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
-I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
-DHAVE_CONFIG_H -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10
-fno-strict-aliasing -O0 -c
/usr/ports/devel/php74-sysvsem/work/php-7.4.16/ext/sysvsem/sysvsem.c -fPIC
-DPIC -o .libs/sysvsem.o
In file included from /usr/local/include/php/ext/php_config.h:2,
from /usr/local/include/php/main/../main/php_config.h:2381,
from /usr/local/include/php/Zend/zend_config.h:1,
from /usr/local/include/php/Zend/zend_portability.h:43,
from /usr/local/include/php/Zend/zend_types.h:25,
from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:33,
from
/usr/ports/devel/php74-sysvsem/work/php-7.4.16/ext/sysvsem/sysvsem.c:32:
/usr/local/include/php/ext/sysvsem/config.h:5: warning: "HAVE_SEMUN" redefined
5 | #define HAVE_SEMUN 1
|
In file included from
/usr/ports/devel/php74-sysvsem/work/php-7.4.16/ext/sysvsem/sysvsem.c:29:
/usr/ports/devel/php74-sysvsem/work/php-7.4.16/ext/sysvsem/config.h:17: note:
this is the location of the previous definition
17 | #define HAVE_SEMUN 0
|
/usr/ports/devel/php74-sysvsem/work/php-7.4.16/ext/sysvsem/sysvsem.c: In
function 'zif_sem_get':
/usr/ports/devel/php74-sysvsem/work/php-7.4.16/ext/sysvsem/sysvsem.c:266:15:
error: storage size of 'semarg' isn't known
266 | union semun semarg;
| ^~~~~~
/usr/ports/devel/php74-sysvsem/work/php-7.4.16/ext/sysvsem/sysvsem.c: In
function 'zif_sem_remove':
/usr/ports/devel/php74-sysvsem/work/php-7.4.16/ext/sysvsem/sysvsem.c:382:14:
error: storage size of 'un' isn't known
382 | union semun un;
| ^~
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/devel/php74-sysvsem/work/php-7.4.16/ext/sysvsem
*** Error code 1
Stop.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ppc
mailing list