Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 781857 - app-admin/webapp-config: emerge successful after webapp-config install error
Summary: app-admin/webapp-config: emerge successful after webapp-config install error
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-09 18:27 UTC by Thomas Deutschmann (RETIRED)
Modified: 2024-01-09 12:20 UTC (History)
3 users (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 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