<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>139965</bug_id>
          
          <creation_ts>2006-07-11 02:05 0000</creation_ts>
          <short_desc>webapp-config ignores package.provided</short_desc>
          <delta_ts>2006-12-31 02:48:10 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>2006.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>paul@pizza.org</reporter>
          <assigned_to>web-apps@gentoo.org</assigned_to>
          <cc>jakub@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>paul@pizza.org</who>
            <bug_when>2006-07-11 02:05:30 0000</bug_when>
            <thetext>Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.6-r4, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(TM) XP 2400+
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=athlon-xp -pipe -fomit-frame-pointer -m3dnow -msse -mmmx&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /var/bind&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo&quot;
CXXFLAGS=&quot;-O2 -march=athlon-xp -pipe -fomit-frame-pointer -m3dnow -msse -mmmx&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig distlocks metadata-transfer sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;ftp://gentoo.blueyonder.co.uk/mirrors/gentoo http://gentoo.blueyonder.co.uk http://ftp.easynet.nl/mirror/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 3dnow apm arts berkdb bitmap-fonts cli crypt curl dlloader dri eds emboss esd examples foomaticdb fortran gif gpm gstreamer imap innodb isdnlog javascript jpeg libg++ libwww maildir mikmod mmx mp3 mysql ncurses nls nptl ogg oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection session spell spl sse ssl truetype-fonts type1-fonts udev vorbis xml xml2 xorg zaptel zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Something has recently changed in portage/webapp-config that is causing
my webapps to fail to install.  I am using the litespeed websever but have
Apache injected using /etc/portage/profile/package.provided:-

net-www/apache-2.0.58

However when emerging I get the following error:-

* Running //usr/sbin/webapp-config -I -h localhost -u root -d /base base 1.2.4
* Fatal error: Your configuration file sets the server type &quot;Apache&quot;
* Fatal error: but the corresponding package does not seem to be installed!
* Fatal error: Please &quot;emerge &gt;=net-www/apache-1.3&quot; or correct your settings.
* Fatal error(s) - aborting

So I seem to end up with the package correctly added to my world but not
configured correctly by webapp-config.  I imagine that webapp-config should check the package.provided file and assume apache is installed and therefore
install correctly using the default Apache settings.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-07-11 02:34:27 0000</bug_when>
            <thetext>Well, not really webapp-config bug, portage completely ignores the file, i.e. - apache is not installed for any portage purposes (incl. tools that check for whether it&apos;s installed or not).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-07-11 03:13:14 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; Well, not really webapp-config bug, portage completely ignores the file

Or I just need to learn to stop sticking = in front of package.provided entries. Sorry for the noise, portage folks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wrobel@gentoo.org</who>
            <bug_when>2006-12-31 02:48:10 0000</bug_when>
            <thetext>Fixed in webapp-config-1.50.16. This version is available from my overlay (http://overlays.gentoo.org/dev/wrobel) and will be moved to portage next week.

Thanks for the report!</thetext>
          </long_desc>
      
    </bug>

</bugzilla>