Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Mar 2021 18:17:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 254139] devel/php74-sysvsem does'nt compile on PPC64
Message-ID:  <bug-254139-7788@https.bugs.freebsd.org/bugzilla/>

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

            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@freebsd.org
          Reporter: luciano@vespaperitivo.it
                CC: powerpc@FreeBSD.org
             Flags: maintainer-feedback?(tz@freebsd.org)
          Assignee: tz@freebsd.org
                CC: powerpc@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=3D/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" redefi=
ned
    5 | #define HAVE_SEMUN 1
      |=20
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: not=
e:
this is the location of the previous definition
   17 | #define HAVE_SEMUN 0
      |=20
/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/sysv=
sem
*** Error code 1

Stop.

--=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-254139-7788>