Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608018 - app-admin/webapp-config-9999 - respect EPREFIX
Summary: app-admin/webapp-config-9999 - respect EPREFIX
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Devan Franchini (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2017-02-02 13:02 UTC by Martin Mokrejš
Modified: 2017-06-22 23:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,31.29 KB, text/plain)
2017-02-17 17:08 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2017-02-02 13:02:10 UTC
On Gentoo::RAP installed host I cannot qmerge webapp-config due to:


Writing /apps/gentoo/var/tmp/portage/app-admin/webapp-config-9999/image/_python3.4/apps/gentoo/usr/lib64/python3.4/site-packages/webapp_config-1.54_git-py3.4.egg-info
 * python3_4: running distutils-r1_run_phase python_install_all
>>> Completed installing webapp-config-9999 into /apps/gentoo/var/tmp/portage/app-admin/webapp-config-9999/image/

 * Final size of build directory: 1524 KiB
 * Final size of installed tree: 1392 KiB

 * QA Notice: the following files are outside of the prefix:
 * /usr
 * /usr/sbin
 * /usr/sbin/webapp-cleaner
 * /usr/sbin/webapp-config
 * ERROR: app-admin/webapp-config-9999::gentoo failed:
 *   Aborting due to QA concerns: there are files installed outside the prefix
 * 
 * Call stack:
 *   misc-functions.sh, line 603:  Called install_qa_check
 *   misc-functions.sh, line 217:  Called source 'install_symlink_html_docs'
 *            05prefix, line 114:  Called install_qa_check_prefix
 *            05prefix, line  27:  Called die
 * The specific snippet of code:
 *                      die "Aborting due to QA concerns: there are files installed outside the prefix"
 * 
 * If you need support, post the output of `emerge --info '=app-admin/webapp-config-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-admin/webapp-config-9999::gentoo'`.
 * The complete build log is located at '/apps/gentoo/var/tmp/portage/app-admin/webapp-config-9999/temp/build.log'.
 * The ebuild environment file is located at '/apps/gentoo/var/tmp/portage/app-admin/webapp-config-9999/temp/environment'.
 * Working directory: '/apps/gentoo/var/tmp/portage/app-admin/webapp-config-9999/image/apps/gentoo'
 * S: '/apps/gentoo/var/tmp/portage/app-admin/webapp-config-9999/work/webapp-config-9999'
!!! post install failed; exiting.
Comment 1 Devan Franchini (RETIRED) gentoo-dev 2017-02-16 03:31:07 UTC
Hello, I made some updates to the codebase and ebuild to attempt to play better with EPREFIX. I installed it on my host but I'm not using EPREFIX so I'd really like if you could confirm for me. Thank you!
Comment 2 Devan Franchini (RETIRED) gentoo-dev 2017-02-16 03:31:36 UTC
Also, when I say ebuild, I mean the 9999 ebuild.
Comment 3 Martin Mokrejš 2017-02-17 16:55:43 UTC
Thanks, it works.

A minor nit: the following message could also use ${EPREFIX}.

>>> Installing (1 of 1) app-admin/webapp-config-9999::gentoo
 * Now that you have upgraded webapp-config, you **must** update your
 * config files in /etc/vhosts/webapp-config before you emerge any
 * packages that use webapp-config.
Comment 4 Martin Mokrejš 2017-02-17 17:08:53 UTC
Created attachment 464130 [details]
build.log

Either this host has still old ebuild or the package needs more fixes.

$ emerge --info '=app-admin/webapp-config-1.54-r2::gentoo'
Portage 2.3.3 (python 3.4.5-final-0, prefix/linux-standalone/amd64, gcc-5.4.0, glibc-2.24-r1, 2.6.32-573.26.1.100hz.el6.noc0w.x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.32-573.26.1.100hz.el6.noc0w.x86_64-x86_64-Intel-R-_Xeon-R-_CPU_E5-4627_v2_@_3.30GHz-with-redhat-6.7-Santiago
KiB Mem:  3331383420 total,3308551152 free
KiB Swap:    7812028 total,   7762832 free
Timestamp of repository gentoo: Fri, 17 Feb 2017 17:00:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.1_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.69-r2::gentoo
sys-devel/automake:       1.15-r2::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8_p20160608::rap
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r1::gentoo
Repositories:

gentoo
    location: /apps/gentoo/usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    eclass-overrides: rap

rap
    location: /apps/gentoo/usr/portage-stage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/android.git
    masters: gentoo
    eclass-overrides: rap

ACCEPT_KEYWORDS="amd64 ~amd64 ~amd64-linux"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -O2 -pipe"
DISTDIR="/apps/gentoo/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans unprivileged"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j16"
PKGDIR="/apps/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/apps/gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/apps/gentoo/var/tmp"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 modules ncurses nls nptl openmp pcre prefix readline seccomp session ssl tcpd unicode zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 5 Devan Franchini (RETIRED) gentoo-dev 2017-02-18 01:15:01 UTC
(In reply to Martin Mokrejš from comment #4)
> Created attachment 464130 [details]
> build.log
> 
> Either this host has still old ebuild or the package needs more fixes.
> 
> $ emerge --info '=app-admin/webapp-config-1.54-r2::gentoo'

I only updated the -9999 ebuild. In the coming days I'll push out an update and a new release, but until then if you want the most up to date code install the -9999 ebuild. Also I agree that I should change the output at the end to reflect the EPREFIX as well.
Comment 6 Devan Franchini (RETIRED) gentoo-dev 2017-06-22 23:35:24 UTC
webapp-config-1.55 has been added to the tree which includes code to respect EPREFIX.