Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304013 - dev-lang/php-5.2.12 with posix: compilation error
Summary: dev-lang/php-5.2.12 with posix: compilation error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-08 14:32 UTC by Ilya Lobahin
Modified: 2011-10-30 23:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Lobahin 2010-02-08 14:32:48 UTC
When compile php with USE flag posix, compiler was aborted.

Reproducible: Always

Steps to Reproduce:
1. Add posix flag to /etc/portage/package.use:dev-lang/php
2. emerge dev-lang/php
3. See the error

Actual Results:  
/bin/sh /var/tmp/portage/dev-lang/php-5.2.12/work/php-5.2.12/libtool --silent --preserve-dup-deps --mode=compile i686-pc-linux-gnu-gcc  -Iext/curl/ -I/var/tmp/portage/dev-lang/php-5.2.12/work/php-5.2.12/ext/curl/ -DPHP_ATOM_INC -I/var/tmp/portage/dev-lang/php-5.2.12/work/php-5.2.12/include -I/var/tmp/portage/dev-lang/php-5.2.12/work/php-5.2.12/main -I/var/tmp/portage/dev-lang/php-5.2.12/work/php-5.2.12 -I/var/tmp/portage/dev-lang/php-5.2.12/work/php-5.2.12/ext/date/lib -I/usr/include/libxml2 -I/var/tmp/portage/dev-lang/php-5.2.12/work/php-5.2.12/ext/mbstring/oniguruma -I/var/tmp/portage/dev-lang/php-5.2.12/work/php-5.2.12/ext/mbstring/libmbfl -I/var/tmp/portage/dev-lang/php-5.2.12/work/php-5.2.12/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/var/tmp/portage/dev-lang/php-5.2.12/work/php-5.2.12/TSRM -I/var/tmp/portage/dev-lang/php-5.2.12/work/php-5.2.12/Zend    -I/usr/include -O2 -march=i686 -pipe -D_GNU_SOURCE  -c /var/tmp/portage/dev-lang/php-5.2.12/work/php-5.2.12/ext/curl/interface.c -o ext/curl/interface.lo
/var/tmp/portage/dev-lang/php-5.2.12/work/php-5.2.12/ext/curl/interface.c: On function ‘zif_curl_copy_handle’:
/var/tmp/portage/dev-lang/php-5.2.12/work/php-5.2.12/ext/curl/interface.c:1232: warning: in the transfer of the argument 1 ‘zval_add_ref’: incompatible pointer type
/var/tmp/portage/dev-lang/php-5.2.12/work/php-5.2.12/ext/curl/interface.c:1238: предупреждение: in the transfer of the argument 1 ‘zval_add_ref’: incompatible pointer type
/var/tmp/portage/dev-lang/php-5.2.12/work/php-5.2.12/ext/curl/interface.c:1244: предупреждение: in the transfer of the argument 1 ‘zval_add_ref’: incompatible pointer type
{standard input}: Assembler messages:
{standard input}:0: Warning: end of file not at end of a line; newline inserted
{standard input}:1802: Warning: unrecognized section type
{standard input}:1802: Warning: entity size for SHF_MERGE not specified
i686-pc-linux-gnu-gcc: Internal error: Kill (programm cc1)



OpenVZ node. 
Hardware node is "Debian lenny" at 2.6.26-2-openvz-686.
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2010-02-09 09:05:44 UTC
i686-pc-linux-gnu-gcc: Internal error: Kill (programm cc1)

Most common reason for this error is insufficient memory inside VPS. Please, check that there is enough memory.
Comment 2 Ilya Lobahin 2010-02-10 15:23:50 UTC
Yep.
You are right.

[SOLVED]