Updating to www-apps/dokuwiki-20140929d-r1 with USE='vhosts' fails webapp-config reports this is an invalid package version Reproducible: Always Steps to Reproduce: 1. emerge -av www-apps/dokuwiki Actual Results: >>> Verifying ebuild manifests >>> Emerging (1 of 1) www-apps/dokuwiki-20140929d-r1::gentoo >>> Failed to emerge www-apps/dokuwiki-20140929d-r1, Log file: >>> '/var/tmp/portage/www-apps/dokuwiki-20140929d-r1/temp/build.log' >>> Jobs: 0 of 1 complete, 1 failed Load avg: 0.26, 0.32, 0.52 * Package: www-apps/dokuwiki-20140929d-r1 * Repository: gentoo * Maintainer: jmbsvicetto@gentoo.org web-apps@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc gd kernel_linux userland_GNU vhosts * FEATURES: preserve-libs sandbox userpriv usersandbox * Fatal error: Invalid package version: 20140929d-r1 * Fatal error(s) - aborting * ERROR: www-apps/dokuwiki-20140929d-r1::gentoo failed (setup phase): * Could not read settings from webapp-config! * * Call stack: * ebuild.sh, line 93: Called pkg_setup * ebuild.sh, line 321: Called webapp_pkg_setup * webapp.eclass, line 392: Called webapp_read_config * webapp.eclass, line 60: Called die * The specific snippet of code: * ENVVAR=$(${WEBAPP_CONFIG} --query ${PN} ${PVR}) || die "Could not read settings from webapp-config!" * * If you need support, post the output of `emerge --info '=www-apps/dokuwiki-20140929d-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-apps/dokuwiki-20140929d-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/www-apps/dokuwiki-20140929d-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-apps/dokuwiki-20140929d-r1/temp/die.env'. * Working directory: '/usr/lib64/python3.3/site-packages' * S: '/var/tmp/portage/www-apps/dokuwiki-20140929d-r1/work/dokuwiki-2014-09-29d' Expected Results: Expect to emerge and install, even if webapp-config doesn't perform the upgrade (which I've had to perform manually in the past anyway). # eix webapp-config [I] app-admin/webapp-config Available versions: 1.52-r1 1.53-r2^t (~)1.54 **9999 {+portage PYTHON_TARGETS="pypy python2_7 python3_3 python3_4"} Installed versions: 1.54(08:02:21 06/07/15)(portage PYTHON_TARGETS="python2_7 python3_3 -pypy -python3_4") Homepage: http://sourceforge.net/projects/webapp-config/ Description: Gentoo's installer for web-based applications
Created attachment 406234 [details] /var/tmp/portage/www-apps/dokuwiki-20140929d-r1/temp/die.env
Which version of webapp-config are you using?
If you're using 1.54 then I recommend resyncing your tree and installing 1.54-r1. I've added a patch to it which actually handles this same issue: https://github.com/gentoo/webapp-config/issues/2 Do let me know if this is the same for you. If not I'll have to look further into it. Thanks!
Hi, Sorry for omitting the version it was =app-admin/webapp-config-1.54. Synced and updated this morning and the patch you've added has resolved the problem as I've been able to update my dokuwiki install... # webapp-config -d dokuwiki -h localhost -U dokuwiki 20140929d-r1 * Upgrading /dokuwiki-20140929d to /dokuwiki-20140929d-r1 * Installed by root on 2015-04-14 10:56:33 * Config files owned by 0:0 !time doku.php !empty data/media_attic !empty data/media_meta !empty lib/plugins !empty data/attic !empty data/cache !empty data/index !empty data/locks !empty data/media !empty data/pages !empty data/meta !empty lib/tpl !empty conf !empty data !empty lib --- /var/www/localhost/htdocs/dokuwiki * Creating required directories * Linking in required files * This can take several minutes for larger apps * Files and directories installed * Install completed - success Thanks for sorting this so quickly, very much appreciated. Neil
Thank you for submitting the bug report. I'm glad people are using webapp-config-1.54 already :) I'll be closing this bug now as it's resolved.