Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294190 - QA: dev-php5/pecl-apc throws warning about --enable-apxs
Summary: QA: dev-php5/pecl-apc throws warning about --enable-apxs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-23 13:50 UTC by Hanno Böck
Modified: 2010-12-08 19:01 UTC (History)
1 user (show)

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 Hanno Böck gentoo-dev 2009-11-23 13:50:10 UTC
pecl-apc-3.0.19-r1 says:

 * QA Notice: Unrecognized configure options:
 *
 *      configure: WARNING: unrecognized options: --disable-apxs
 *      configure: WARNING: unrecognized options: --disable-apxs

It should be --without-apxs. This is not directly called in the ebuild but through
        enable_extension_with_built_with =${PHP_PKG} apache2 apxs /usr/sbin/apxs2 "optimisation for apache2"

I think the logic in the confutils-eclass is a bit borked:

        if built_with_use $1 $2; then
                my_conf="${my_conf} --with-${3}${my_shared}"
                einfo "  Enabling ${my_msg}"
        else
                my_conf="${my_conf} --disable-$3"
                einfo "  Disabling ${my_msg}"
        fi

Should probably be --without-$3? cc-ing hollow, he's listed in confutils eclass as maintainer
Comment 1 Matti Bickel (RETIRED) gentoo-dev 2010-07-29 08:31:28 UTC
Just a note: apc-3.1* doesn't support --with-apxs anymore, so this'll be solved by waiting for it to go stable along with php-5.3.3
Comment 2 Ole Markus With (RETIRED) gentoo-dev 2010-12-08 19:01:40 UTC
This one was solved quite some time ago