[MacPorts] #34651: php-peb: non-void function should return a value
MacPorts
noreply at macports.org
Mon May 28 01:23:28 PDT 2012
#34651: php-peb: non-void function should return a value
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Keywords: clang | Port: php-peb
-------------------------------------+--------------------------------------
{{{
---> Building php54-peb
DEBUG: Executing org.macports.build (php54-peb)
DEBUG: Building in peb_release
DEBUG: Environment: CPATH='/opt/local/include'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build
/_Volumes_work_mports_dports_php_php-peb/php54-peb/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
MACOSX_DEPLOYMENT_TARGET='10.7'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build
/_Volumes_work_mports_dports_php_php-peb/php54-peb/work/peb_release" &&
/usr/bin/make -j4 -w all'
DEBUG: Executing command line: cd "/opt/local/var/macports/build
/_Volumes_work_mports_dports_php_php-peb/php54-peb/work/peb_release" &&
/usr/bin/make -j4 -w all
make: Entering directory `/Volumes/work/macports/var/macports/build
/_Volumes_work_mports_dports_php_php-peb/php54-peb/work/peb_release'
/bin/sh /opt/local/var/macports/build/_Volumes_work_mports_dports_php_php-
peb/php54-peb/work/peb_release/libtool --mode=compile /usr/bin/clang -I.
-I/opt/local/var/macports/build/_Volumes_work_mports_dports_php_php-
peb/php54-peb/work/peb_release -DPHP_ATOM_INC
-I/opt/local/var/macports/build/_Volumes_work_mports_dports_php_php-
peb/php54-peb/work/peb_release/include -I/opt/local/var/macports/build
/_Volumes_work_mports_dports_php_php-peb/php54-peb/work/peb_release/main
-I/opt/local/var/macports/build/_Volumes_work_mports_dports_php_php-
peb/php54-peb/work/peb_release -I/opt/local/include/php54/php
-I/opt/local/include/php54/php/main -I/opt/local/include/php54/php/TSRM
-I/opt/local/include/php54/php/Zend -I/opt/local/include/php54/php/ext
-I/opt/local/include/php54/php/ext/date/lib -I/opt/local/include
-I/opt/local/include
-I/opt/local/lib/erlang/lib/erl_interface-3.7.6//include -DHAVE_CONFIG_H
-pipe -O2 -arch x86_64 -c /opt/local/var/macports/build
/_Volumes_work_mports_dports_php_php-peb/php54-peb/work/peb_release/peb.c
-o peb.lo
mkdir .libs
/usr/bin/clang -I. -I/opt/local/var/macports/build
/_Volumes_work_mports_dports_php_php-peb/php54-peb/work/peb_release
-DPHP_ATOM_INC -I/opt/local/var/macports/build
/_Volumes_work_mports_dports_php_php-
peb/php54-peb/work/peb_release/include -I/opt/local/var/macports/build
/_Volumes_work_mports_dports_php_php-peb/php54-peb/work/peb_release/main
-I/opt/local/var/macports/build/_Volumes_work_mports_dports_php_php-
peb/php54-peb/work/peb_release -I/opt/local/include/php54/php
-I/opt/local/include/php54/php/main -I/opt/local/include/php54/php/TSRM
-I/opt/local/include/php54/php/Zend -I/opt/local/include/php54/php/ext
-I/opt/local/include/php54/php/ext/date/lib -I/opt/local/include
-I/opt/local/include
-I/opt/local/lib/erlang/lib/erl_interface-3.7.6//include -DHAVE_CONFIG_H
-pipe -O2 -arch x86_64 -c /opt/local/var/macports/build
/_Volumes_work_mports_dports_php_php-peb/php54-peb/work/peb_release/peb.c
-fno-common -DPIC -o .libs/peb.o
/opt/local/var/macports/build/_Volumes_work_mports_dports_php_php-
peb/php54-peb/work/peb_release/peb.c:797:5: error: non-void function
'_peb_encode_term' should return a value [-Wreturn-type]
return;
^
/opt/local/var/macports/build/_Volumes_work_mports_dports_php_php-
peb/php54-peb/work/peb_release/peb.c:849:11: error: non-void function
'_peb_encode' should return a value [-Wreturn-type]
return;
^
/opt/local/var/macports/build/_Volumes_work_mports_dports_php_php-
peb/php54-peb/work/peb_release/peb.c:903:5: error: non-void function
'_peb_encode' should return a value [-Wreturn-type]
return;
^
/opt/local/var/macports/build/_Volumes_work_mports_dports_php_php-
peb/php54-peb/work/peb_release/peb.c:934:5: error: non-void function
'_peb_encode' should return a value [-Wreturn-type]
return;
^
/opt/local/var/macports/build/_Volumes_work_mports_dports_php_php-
peb/php54-peb/work/peb_release/peb.c:943:5: error: non-void function
'_peb_encode' should return a value [-Wreturn-type]
return;
^
/opt/local/var/macports/build/_Volumes_work_mports_dports_php_php-
peb/php54-peb/work/peb_release/peb.c:1198:8: warning: incompatible pointer
to integer conversion assigning to 'int' from 'void *';
intp = NULL;
^ ~~~~
1 warning and 5 errors generated.
make: *** [peb.lo] Error 1
make: Leaving directory `/Volumes/work/macports/var/macports/build
/_Volumes_work_mports_dports_php_php-peb/php54-peb/work/peb_release'
Command failed: cd "/opt/local/var/macports/build
/_Volumes_work_mports_dports_php_php-peb/php54-peb/work/peb_release" &&
/usr/bin/make -j4 -w all
Exit code: 2
Error: org.macports.build for port php54-peb returned: command execution
failed
DEBUG: Error code: NONE
DEBUG: Backtrace: command execution failed
while executing
"$procedure $targetname"
Warning: targets not executed for php54-peb: org.macports.activate
org.macports.build org.macports.destroot org.macports.install
Please see the log file for port php54-peb for details:
/opt/local/var/macports/logs/_Volumes_work_mports_dports_php_php-
peb/php54-peb/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port php54-peb failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/34651>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list