Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462654 - dev-lang/php-5.5.0_beta1 blocking with apache with USE="threads"
Summary: dev-lang/php-5.5.0_beta1 blocking with apache with USE="threads"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-22 06:49 UTC by tman
Modified: 2013-03-22 16:26 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 tman 2013-03-22 06:49:22 UTC
1) i am using apache2 worker. And it expect thte USE="threads" else


 emerge -uDN php 
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 2) www-servers/apache-2.4.4-r1
 * httpd-2.4.4.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                             [ ok ]
 * gentoo-apache-2.4.4-20130227.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                            [ ok ]
 * 
 * Selected MPM: worker
 * 
 * You have selected a threaded MPM but USE=threads is disabled
 * ERROR: www-servers/apache-2.4.4-r1 failed (setup phase):
 *   invalid use flag combination
  * Call stack:



2) unfortunatelly  PHP with apache2 support expect apache without USE="threads"


# emerge -uDN php 
Calculating dependencies... done!
[ebuild   R    ] www-servers/apache-2.4.4-r1  USE="-threads*" 
[ebuild   R    ] dev-lang/php-5.5.0_beta1  USE="apache2*" 

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by dev-lang/php-5.5.0_beta1[apache2]
# required by @selected
# required by @world (argument)
>=www-servers/apache-2.4.4-r1 -threads





Reproducible: Always

Steps to Reproduce:
1. USE="threads" emerge apache 
2. USE="apache2" emerge php

Actual Results:  
 emerge -uDN php 
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 2) www-servers/apache-2.4.4-r1
 * httpd-2.4.4.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                             [ ok ]
 * gentoo-apache-2.4.4-20130227.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                            [ ok ]
 * 
 * Selected MPM: worker
 * 
 * You have selected a threaded MPM but USE=threads is disabled
 * ERROR: www-servers/apache-2.4.4-r1 failed (setup phase):
 *   invalid use flag combination
 * 
 * Call stack:


Expected Results:  
php-5.5x should work with apache-* worker

System uname: Linux-3.8.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24627872 total,  23442624 free
KiB Swap:   25081852 total,  25081852 free
Timestamp of tree: Thu, 21 Mar 2013 23:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8::pentoo
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r5::gnome
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo mpd nikai ruby mgorny poly-c mva flameeyes-overlay pentoo luman qt alice wirelay Techwolf gamerlay scarabeus science gnome emacs steam-overlay lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/conf.d/consolefont /etc/conf.d/hostname /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/default/grub /etc/eix-sync.conf /etc/fstab /etc/hosts /etc/locale.gen /etc/make.conf /etc/timezone /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
Comment 1 Ole Markus With (RETIRED) gentoo-dev 2013-03-22 15:08:22 UTC
Did you try enabling threads on dev-lang/php?
Comment 2 tman 2013-03-22 15:41:59 UTC
oh thanks you for this advices. i had take over my old package.use and forget about to check this.

its solved.
Comment 3 tman 2013-03-22 15:42:49 UTC
unnfortunatelley. seem to be there a problem:

/bin/sh /var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/libtool --silent --preserve-dup-deps --mode=compile /var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/meta_ccld  -Iext/tokenizer/ -I/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/ext/tokenizer/ -DPHP_ATOM_INC -I/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/include -I/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/main -I/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli -I/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/ext/date/lib -I/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/ext/ereg/regex -I/usr/include/libxml2 -I/usr/include/freetype2 -I/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/ext/mbstring/libmbfl -I/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/ext/mbstring/libmbfl/mbfl -I/usr/include/postgresql-9.2 -I/usr/include/pspell -I/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/TSRM -I/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/Zend  -D_REENTRANT  -I/usr/include -march=corei7 -O2 -pipe -pthread -DZTS  -c /var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/ext/tokenizer/tokenizer.c -o ext/tokenizer/tokenizer.lo 
/bin/sh /var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/libtool --silent --preserve-dup-deps --mode=compile /var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/meta_ccld  -Iext/tokenizer/ -I/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/ext/tokenizer/ -DPHP_ATOM_INC -I/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/include -I/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/main -I/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli -I/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/ext/date/lib -I/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/ext/ereg/regex -I/usr/include/libxml2 -I/usr/include/freetype2 -I/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/ext/mbstring/libmbfl -I/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/ext/mbstring/libmbfl/mbfl -I/usr/include/postgresql-9.2 -I/usr/include/pspell -I/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/TSRM -I/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/Zend  -D_REENTRANT  -I/usr/include -march=corei7 -O2 -pipe -pthread -DZTS  -c /var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/ext/tokenizer/tokenizer_data.c -o ext/tokenizer/tokenizer_data.lo 
In file included from /var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/ext/tokenizer/tokenizer.c:33:0:
/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/Zend/zend_language_parser.h:331:5: error: conflicting types for 'zendparse'
In file included from /var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/Zend/zend_globals.h:28:0,
                 from /var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/Zend/zend_compile.h:418,
                 from /var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/Zend/zend_modules.h:26,
                 from /var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/Zend/zend_API.h:26,
                 from /var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/main/php.h:38,
                 from /var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/ext/tokenizer/tokenizer.c:25:
/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/Zend/zend_globals_macros.h:35:5: note: previous declaration of 'zendparse' was here
make: *** [ext/tokenizer/tokenizer.lo] Error 1
make: *** Waiting for unfinished jobs....
In file included from /var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/ext/tokenizer/tokenizer_data.c:28:0:
/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/Zend/zend_language_parser.h:331:5: error: conflicting types for 'zendparse'
In file included from /var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/Zend/zend_globals.h:28:0,
                 from /var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/Zend/zend_compile.h:418,
                 from /var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/Zend/zend_modules.h:26,
                 from /var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/Zend/zend_API.h:26,
                 from /var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/main/php.h:38,
                 from /var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/ext/tokenizer/tokenizer_data.c:26:
/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli/Zend/zend_globals_macros.h:35:5: note: previous declaration of 'zendparse' was here
make: *** [ext/tokenizer/tokenizer_data.lo] Error 1
 * ERROR: dev-lang/php-5.5.0_beta1 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/php-5.5.0_beta1'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/php-5.5.0_beta1'`.
 * The complete build log is located at '/var/log/portage/dev-lang:php-5.5.0_beta1:20130322-153955.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/php-5.5.0_beta1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/php-5.5.0_beta1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/sapis-build/cli'
 * S: '/var/tmp/portage/dev-lang/php-5.5.0_beta1/work/php-5.5.0beta1'

>>> Failed to emerge dev-lang/php-5.5.0_beta1, Log file:

>>>  '/var/log/portage/dev-lang:php-5.5.0_beta1:20130322-153955.log'

 * Messages for package dev-lang/php-5.5.0_beta1:

 * Package:    dev-lang/php-5.5.0_beta1
Comment 4 Ole Markus With (RETIRED) gentoo-dev 2013-03-22 16:26:52 UTC
Different issue. See bug 462652