Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Jun 2014 16:46:58 +0000
From:      bz-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 190662] New: php5 Fails to Compile
Message-ID:  <bug-190662-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 190662
           Summary: php5 Fails to Compile
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: martin.vahi@softf1.com

/bin/sh /usr/ports/lang/php5/work/php-5.4.28/libtool --silent
--preserve-dup-deps --mode=compile cc  -Iext/standard/
-I/usr/ports/lang/php5/work/php-5.4.28/ext/standard/ -DPHP_ATOM_INC
-I/usr/ports/lang/php5/work/php-5.4.28/include
-I/usr/ports/lang/php5/work/php-5.4.28/main
-I/usr/ports/lang/php5/work/php-5.4.28
-I/usr/ports/lang/php5/work/php-5.4.28/ext/date/lib
-I/usr/ports/lang/php5/work/php-5.4.28/ext/ereg/regex
-I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/ports/lang/php5/work/php-5.4.28/TSRM
-I/usr/ports/lang/php5/work/php-5.4.28/Zend    -O2 -pipe -fno-strict-aliasing
-fvisibility=hidden -DZTS  -c
/usr/ports/lang/php5/work/php-5.4.28/ext/standard/url_scanner_ex.c -o
ext/standard/url_scanner_ex.lo
dtrace: failed to compile script
/usr/ports/lang/php5/work/php-5.4.28/Zend/zend_dtrace.d:
"/usr/lib/dtrace/errno.d", line 13: operator -> cannot be applied to a forward
declaration: no struct devstat definition is available
*** [Zend/zend_dtrace_gen.h] Error code 1
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/lang/php5.
*** [stage] Error code 1

Stop in /usr/ports/lang/php5.





=====COMMENT===START====

A thing to notice here is the 
"MAKE_JOBS_UNSAFE=yes", which is applied at the next
compilation try.

=====COMMENT===END======




[root@mvahi /usr/ports/lang/php5]# make clean
pkg-static: PACKAGESITE in pkg.conf is deprecated. Please create a repository
configuration file
===>  Cleaning for php5-5.4.28
[root@mvahi /usr/ports/lang/php5]# MAKE_JOBS_UNSAFE=yes make
pkg-static: PACKAGESITE in pkg.conf is deprecated. Please create a repository
configuration file
===>  License PHP301 accepted by the user
===>  Found saved configuration for php5-5.4.27
===>   php5-5.4.28 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by php5-5.4.28 for building
===>  Extracting for php5-5.4.28
=> SHA256 Checksum OK for php-5.4.28.tar.bz2.
=> SHA256 Checksum OK for php-5.4.x-mail-header.patch.
===>  Patching for php5-5.4.28
===>  Applying distribution patches for php5-5.4.28
===>  Applying FreeBSD patches for php5-5.4.28
===>   php5-5.4.28 depends on file: /usr/local/bin/autoconf-2.69 - found
===>   php5-5.4.28 depends on shared library: libpcre.so - found
(/usr/local/lib/libpcre.so.3)
===>   php5-5.4.28 depends on shared library: libxml2.so - found
(/usr/local/lib/libxml2.so.5)
===>  Configuring for php5-5.4.28
configure: loading site script /usr/ports/Templates/config.site
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep




========SOME CONSOLE OUTPUT SKIPPED FROM THE CITATION=============




Configuring libtool
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking how to run the C++ preprocessor... c++ -E
checking the maximum length of command line arguments... (cached) 262144
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd9.2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes

creating libtool
appending configuration tag "CXX" to libtool
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... 
checking if c++ static flag  works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd9.2 ld.so
(cached) (cached) checking how to hardcode library paths into programs...
unsupported

Generating files
configure: creating ./config.status
creating main/internal_functions.c
creating main/internal_functions_cli.c
+--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the PHP License, available in this     |
| distribution in the file LICENSE.  By continuing this installation |
| process, you are bound by the terms of this license agreement.     |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.                            |
+--------------------------------------------------------------------+

Thank you for using PHP.

config.status: creating php5.spec
config.status: creating main/build-defs.h
config.status: creating scripts/phpize
config.status: creating scripts/man1/phpize.1
config.status: creating scripts/php-config
config.status: creating scripts/man1/php-config.1
config.status: creating sapi/cli/php.1
config.status: creating sapi/fpm/php-fpm.conf
config.status: creating sapi/fpm/init.d.php-fpm
config.status: creating sapi/fpm/php-fpm.service
config.status: creating sapi/fpm/php-fpm.8
config.status: creating sapi/fpm/status.html
config.status: creating sapi/cgi/php-cgi.1
config.status: creating main/php_config.h
config.status: executing default commands
===>  Building for php5-5.4.28
CFLAGS="-O2 -pipe -fno-strict-aliasing -fvisibility=hidden -DZTS" dtrace -h -C
-s /usr/ports/lang/php5/work/php-5.4.28/Zend/zend_dtrace.d -o
Zend/zend_dtrace_gen.h.bak && sed -e 's,PHP_,DTRACE_,g'
Zend/zend_dtrace_gen.h.bak > Zend/zend_dtrace_gen.h
dtrace: failed to compile script
/usr/ports/lang/php5/work/php-5.4.28/Zend/zend_dtrace.d:
"/usr/lib/dtrace/errno.d", line 13: operator -> cannot be applied to a forward
declaration: no struct devstat definition is available
*** [Zend/zend_dtrace_gen.h] Error code 1

Stop in /usr/ports/lang/php5/work/php-5.4.28.
*** [do-build] Error code 1

Stop in /usr/ports/lang/php5.
*** [stage] Error code 1

Stop in /usr/ports/lang/php5.
[root@mvahi /usr/ports/lang/php5]# pwd
/usr/ports/lang/php5
[root@mvahi /usr/ports/lang/php5]# date
Thu Jun  5 19:40:26 EEST 2014
[root@mvahi /usr/ports/lang/php5]# uname -a
FreeBSD mvahi.bitikodo.eu 9.2-STABLE FreeBSD 9.2-STABLE #0 r264404: Sun Apr 13
14:39:51 EEST 2014     root@byte.bitikodo.ee:/usr/obj/usr/src/sys/BYTE2  amd64
[root@mvahi /usr/ports/lang/php5]#

-- 
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-190662-13>