Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem emerging apache 2 [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
frinholp
n00b
n00b


Joined: 21 Aug 2007
Posts: 46

PostPosted: Wed Jul 16, 2008 2:00 pm    Post subject: Problem emerging apache 2 [solved] Reply with quote

I am having a problem emerging www-servers/apache-2.2.9.

My previous version is apache-2.0.58-r2

Code:

Calculating dependencies... done!
[ebuild     U ] www-servers/apache-2.2.9 [2.0.58-r2] USE="debug ssl threads -doc -ldap (-selinux) -sni% -static% -suexec% (-apache2%*) (-mpm-itk%) (-mpm-leader%) (-mpm-peruser%) (-mpm-prefork%) (-mpm-threadpool%) (-mpm-worker%) (-static-modules%)" APACHE2_MODULES="actions%* alias%* asis%* auth_digest%* autoindex%* cache%* dav%* deflate%* dir%* env%* expires%* headers%* include%* info%* log_config%* logio%* mime%* negotiation%* proxy%* rewrite%* setenvif%* speling%* status%* userdir%* usertrack%* -auth_basic% -authn_alias% -authn_anon% -authn_dbd% -authn_dbm% -authn_default% -authn_file% -authz_dbm% -authz_default% -authz_groupfile% -authz_host% -authz_owner% -authz_user% -cern_meta% -charset_lite% -dav_fs% -dav_lock% -dbd% -disk_cache% -dumpio% -ext_filter% -file_cache% -filter% -ident% -imagemap% -log_forensic% -mem_cache% -mime_magic% -proxy_ajp% -proxy_balancer% -proxy_connect% -proxy_ftp% -proxy_http% -substitute% -unique_id% -version% -vhost_alias%" APACHE2_MPMS="-event% -itk% -peruser% -prefork% -worker%" 0 kB
[ebuild  N    ] app-admin/apache-tools-2.2.9  USE="ssl" 0 kB


I have followed the upgrade guide here http://www.gentoo.org/proj/en/apache/doc/upgrading.xml

Here is the error output:

Code:

 * Messages for package www-servers/apache-2.2.9:

 *
 * Selected default threaded MPM: worker
 *
 * Module 'deflate' depends on 'filter'
 *
 * ERROR: www-servers/apache-2.2.9 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called pkg_setup
 *               ebuild.sh, line 1244:  Called apache-2_pkg_setup
 *         apache-2.eclass, line  367:  Called setup_modules
 *         apache-2.eclass, line  284:  Called check_module_depends
 *         apache-2.eclass, line  192:  Called die
 * The specific snippet of code:
 *         die "invalid use flag combination"
 *  The die message:
 *   invalid use flag combination
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/www-servers/apache-2.2.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-servers/apache-2.2.9/temp/die.env'.


Am i right in assuming that I am using conflicting USE flags? If so, how do I find out which ones they are to disable them in package.use?

Cheers


Last edited by frinholp on Wed Jul 16, 2008 2:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 832

PostPosted: Wed Jul 16, 2008 2:09 pm    Post subject: Reply with quote

Hi,

Don't you have some more information above the output you posted?
_________________
Powered by (x86) Gentoo Linux since 2003
Back to top
View user's profile Send private message
frinholp
n00b
n00b


Joined: 21 Aug 2007
Posts: 46

PostPosted: Wed Jul 16, 2008 2:14 pm    Post subject: Reply with quote

Hi Mamac

Here is the full output:

Code:

*** Resuming merge...
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 2) www-servers/apache-2.2.9 to /
 * httpd-2.2.9.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                  [ ok ]
 * gentoo-apache-2.2.9-20080615.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                 [ ok ]
 * checking ebuild checksums ;-) ...                                                                                    [ ok ]
 * checking auxfile checksums ;-) ...                                                                                   [ ok ]
 * checking miscfile checksums ;-) ...                                                                                  [ ok ]
 * checking httpd-2.2.9.tar.bz2 ;-) ...                                                                                 [ ok ]
 * checking gentoo-apache-2.2.9-20080615.tar.bz2 ;-) ...                                                                [ ok ]
 *
 * Selected default threaded MPM: worker
 *
 * Module 'deflate' depends on 'filter'
 *
 * ERROR: www-servers/apache-2.2.9 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called pkg_setup
 *               ebuild.sh, line 1244:  Called apache-2_pkg_setup
 *         apache-2.eclass, line  367:  Called setup_modules
 *         apache-2.eclass, line  284:  Called check_module_depends
 *         apache-2.eclass, line  192:  Called die
 * The specific snippet of code:
 *         die "invalid use flag combination"
 *  The die message:
 *   invalid use flag combination
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/www-servers/apache-2.2.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-servers/apache-2.2.9/temp/die.env'.
 *

 * Messages for package www-servers/apache-2.2.9:

 *
 * Selected default threaded MPM: worker
 *
 * Module 'deflate' depends on 'filter'
 *
 * ERROR: www-servers/apache-2.2.9 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called pkg_setup
 *               ebuild.sh, line 1244:  Called apache-2_pkg_setup
 *         apache-2.eclass, line  367:  Called setup_modules
 *         apache-2.eclass, line  284:  Called check_module_depends
 *         apache-2.eclass, line  192:  Called die
 * The specific snippet of code:
 *         die "invalid use flag combination"
 *  The die message:
 *   invalid use flag combination
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/www-servers/apache-2.2.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-servers/apache-2.2.9/temp/die.env'.


Thanks for your response
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 832

PostPosted: Wed Jul 16, 2008 2:17 pm    Post subject: Reply with quote

Ok, I though we would have more information but, no...

Could you post the output of 'emerge -pv apache' ?
_________________
Powered by (x86) Gentoo Linux since 2003
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2462
Location: Polska / Lenkija

PostPosted: Wed Jul 16, 2008 2:17 pm    Post subject: Reply with quote

frinholp wrote:
Code:
 * Module 'deflate' depends on 'filter'


Add "filter" to the APACHE2_MODULES variable.
Back to top
View user's profile Send private message
frinholp
n00b
n00b


Joined: 21 Aug 2007
Posts: 46

PostPosted: Wed Jul 16, 2008 2:21 pm    Post subject: Reply with quote

Here is the output of emerge -pv apache:

Code:

 # emerge -pv apache

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] www-servers/apache-2.2.9 [2.0.58-r2] USE="debug ssl threads -doc -ldap (-selinux) -sni% -static% -suexec% (-apache2%*) (-mpm-itk%) (-mpm-leader%) (-mpm-peruser%) (-mpm-prefork%) (-mpm-threadpool%) (-mpm-worker%) (-static-modules%)" APACHE2_MODULES="actions%* alias%* asis%* auth_digest%* autoindex%* cache%* dav%* deflate%* dir%* env%* expires%* headers%* include%* info%* log_config%* logio%* mime%* negotiation%* proxy%* rewrite%* setenvif%* speling%* status%* userdir%* usertrack%* -auth_basic% -authn_alias% -authn_anon% -authn_dbd% -authn_dbm% -authn_default% -authn_file% -authz_dbm% -authz_default% -authz_groupfile% -authz_host% -authz_owner% -authz_user% -cern_meta% -charset_lite% -dav_fs% -dav_lock% -dbd% -disk_cache% -dumpio% -ext_filter% -file_cache% -filter% -ident% -imagemap% -log_forensic% -mem_cache% -mime_magic% -proxy_ajp% -proxy_balancer% -proxy_connect% -proxy_ftp% -proxy_http% -substitute% -unique_id% -version% -vhost_alias%" APACHE2_MPMS="-event% -itk% -peruser% -prefork% -worker%" 0 kB
[ebuild  N    ] app-admin/apache-tools-2.2.9  USE="ssl" 0 kB

Total: 2 packages (1 upgrade, 1 new), Size of downloads: 0 kB

Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 832

PostPosted: Wed Jul 16, 2008 2:29 pm    Post subject: Reply with quote

frinholp wrote:
Here is the output of emerge -pv apache:

Code:

USE="..... deflate%*..... -filter%...."

As Arfrever wrote, try to add the filter module.
_________________
Powered by (x86) Gentoo Linux since 2003
Back to top
View user's profile Send private message
frinholp
n00b
n00b


Joined: 21 Aug 2007
Posts: 46

PostPosted: Wed Jul 16, 2008 2:29 pm    Post subject: Reply with quote

SOLVED: - see Arfreve's post

Thanks Arfreve, much appreciated.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum