Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 781857

Summary: app-admin/webapp-config: emerge successful after webapp-config install error
Product: Gentoo Linux Reporter: Thomas Deutschmann (RETIRED) <whissi>
Component: Current packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: CONFIRMED ---    
Severity: normal CC: gentoo, polynomial-c, voyageur
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Thomas Deutschmann (RETIRED) gentoo-dev 2021-04-09 18:27:52 UTC
In an empty stage3 I did:

> # emerge www-apps/nextcloud

This failed because of missing USE flags. So I set them:

> # cat /etc/portage/package.use/nextcloud
> dev-lang/php gd intl pdo truetype xmlreader zip fpm mysql
> www-apps/nextcloud -sqlite mysql
> app-eselect/eselect-php fpm

I was now able to run emerge but it showed

>  * vhosts USE flag not set - auto-installing using webapp-config
>  * This is an installation
>  * nextcloud-21.0.0 is not installed - using install mode
>  * Running /usr/sbin/webapp-config -h localhost -u root -d /nextcloud -I nextcloud 21.0.0
> * Fatal error: Your configuration file sets the server type "Apache"
> * Fatal error: but the corresponding package does not seem to be installed!
> * Fatal error: Please "emerge >=www-servers/apache-1.3" or correct your settings.
> * Fatal error(s) - aborting
> >=www-servers/apache-1.3
> 

However, emerge command ended with zero exit code.
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2021-04-09 18:29:04 UTC
> =================================================================
>                         Package Settings
> =================================================================
> 
> www-apps/nextcloud-21.0.0::gentoo was built with the following:
> USE="curl imagemagick mysql -postgres -sqlite -vhosts" ABI_X86="(64)"
Comment 2 Bernard Cafarelli gentoo-dev 2024-01-09 12:20:05 UTC
Reviewing old bugs and I had not this one in my unread pile, sorry.

This is more an issue in webapp-config itself, I am not sure it can be fixed (reporting the error back to portage), but reassigning for opinion - I have not seen code change around this so probably still valid