Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 524192 - mail-client/roundcube-1.0.2 USE=-vhosts does not install into /var/www/htdocs(?)
Summary: mail-client/roundcube-1.0.2 USE=-vhosts does not install into /var/www/htdocs(?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-01 10:16 UTC by thomas
Modified: 2015-12-09 12:58 UTC (History)
2 users (show)

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


Attachments
emerge --debug output (emerge-debug.log.bz2,141.13 KB, application/x-bzip)
2014-10-01 10:26 UTC, thomas
Details
build.log (build.log,2.13 KB, text/plain)
2014-10-01 13:22 UTC, thomas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thomas 2014-10-01 10:16:58 UTC
I am not using the Gentoo webapps feature and still have several working web applications like mythweb, tt-rss and roundcube (0.9.5). So, installation/upgrade is always in place here.

While upgrading roundcube 0.9.5 to 1.0.2, the 1.0.2 ebuild did not install anything to htdocs. It seems, as if it only works with the webapps feature.

So, I downloaded the old 0.9.5 ebuild from the archive and installed that version again without problems.

Please make the new ebuild compatible with not using the webapps feature.

On the first installation try, it complained:
 * Cannot find file /.webapp

It did not write this on later tries.


Output from emerge:
>>> Recording mail-client/roundcube in "world" favorites file...

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) mail-client/roundcube-1.0.2 from x-portage
 * roundcubemail-1.0.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...       [ ok ]
!!! Repository 'dagger' is missing masters attribute in '/var/lib/layman/dagger/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
>>> Unpacking source...
>>> Unpacking roundcubemail-1.0.2.tar.gz to /var/tmp/portage/mail-client/roundcube-1.0.2/work
>>> Source unpacked in /var/tmp/portage/mail-client/roundcube-1.0.2/work
>>> Preparing source in /var/tmp/portage/mail-client/roundcube-1.0.2/work/roundcubemail-1.0.2 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/mail-client/roundcube-1.0.2/work/roundcubemail-1.0.2 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/mail-client/roundcube-1.0.2/work/roundcubemail-1.0.2 ...
>>> Source compiled.
>>> Test phase [not enabled]: mail-client/roundcube-1.0.2

>>> Install roundcube-1.0.2 into /var/tmp/portage/mail-client/roundcube-1.0.2/image/ category mail-client
 * (server owned) htdocs/logs
 * (server owned) htdocs/temp
 * (config) htdocs/config/defaults.inc.php
 * (info) UPGRADING (lang: en)
>>> Completed installing roundcube-1.0.2 into /var/tmp/portage/mail-client/roundcube-1.0.2/image/

ecompressdir: bzip2 -9 /usr/share/doc

>>> Installing (1 of 1) mail-client/roundcube-1.0.2
 * When upgrading from <= 0.9, note that the old configuration files
 * named main.inc.php and db.inc.php are deprecated and should be
 * replaced with one single config.inc.php file.
 * Run the ./bin/update.sh script to convert those
 * or manually merge the files.
 * The new config.inc.php should only contain options that
 * differ from the ones listed in defaults.inc.php.

 * Messages for package mail-client/roundcube-1.0.2:

 * (server owned) htdocs/logs
 * (server owned) htdocs/temp
 * (config) htdocs/config/defaults.inc.php
 * (info) UPGRADING (lang: en)
 * When upgrading from <= 0.9, note that the old configuration files
 * named main.inc.php and db.inc.php are deprecated and should be
 * replaced with one single config.inc.php file.
 * Run the ./bin/update.sh script to convert those
 * or manually merge the files.
 * The new config.inc.php should only contain options that
 * differ from the ones listed in defaults.inc.php.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
Comment 1 thomas 2014-10-01 10:17:59 UTC
# emerge --info
!!! Repository 'dagger' is missing masters attribute in '/var/lib/layman/dagger/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
Portage 2.2.8-r2 (default/linux/x86/13.0/desktop, gcc-4.7.3, glibc-2.19-r1, 3.12.21-gentoo-r1 i686)
=================================================================
System uname: Linux-3.12.21-gentoo-r1-i686-Intel-R-_Core-TM-_i5-3470S_CPU_@_2.90GHz-with-gentoo-2.2
KiB Mem:     3329884 total,    600500 free
KiB Swap:    8388604 total,   8350776 free
Timestamp of tree: Wed, 01 Oct 2014 04:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p50
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.7, 3.2.5-r6, 3.3.5-r1
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.5.4, 4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo dagger x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer -fno-ident"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer -fno-ident"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/dagger /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 asf avahi berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dga divx dri dts dvb dvd dvdr dvdread eds emboss encode evo exif expat fam fame ffmpeg firefox flac fortran gdbm gif glamor glitz gpm gstreamer gtk hal iconv imagemagick ipv6 java joystick jpeg jpeg2k kde lcd lcms ldap libc-omitfp libnotify lirc lm_sensors lzo mad mbox mdnsresponder-compat mikmod mjpeg mmx mng modules mp3 mp4 mpeg mplayer mysql mysqli ncurses nls nptl nsplugin ogg opengl openmp openssh pam pango pcre pdf png policykit ppds qt3 qt3support qt4 quicktime readline sdl session spell sse sse2 ssl startup-notification svg tcpd theora tiff transcode truetype udev udisks unicode upower ups usb v4l v4l2 vaapi vcd vdpau vorbis win32codecs wxwidgets x264 x86 xcb xine xml xv xvid zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias python" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux" LCD_DEVICES="cfontz ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" LIRC_DEVICES="userspace" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 thomas 2014-10-01 10:26:06 UTC
Created attachment 385882 [details]
emerge --debug output

Attached the output of emerge --debug roundcube.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-01 11:00:43 UTC
Comment on attachment 385882 [details]
emerge --debug output

Please attach a "normal" build log. emerge --debug is intended for debugging emerge, which doesn't apply here.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-01 11:01:36 UTC
I guess you mean USE=vhosts?
Comment 5 thomas 2014-10-01 11:25:13 UTC
(In reply to Jeroen Roovers from comment #4)
> I guess you mean USE=vhosts?

Yes, I do not have USE=vhosts set. And I never used webapp-config so far. 

Emerging and installing new versions always worked automatically for me. After emerging the new version, I unmerged the old version and was done with it.

However, webapp-config lists the installed web apps:
# webapp-config --li
/var/www/localhost/htdocs/mythweb
/var/www/localhost/htdocs/roundcube
/var/www/localhost/htdocs/squirrelmail
/var/www/localhost/htdocs/tt-rss
/var/www/localhost/htdocs/zarafa-webaccess

# webapp-config --si -d roundcube
 roundcube 0.9.5
Comment 6 thomas 2014-10-01 11:28:46 UTC
(In reply to Jeroen Roovers from comment #3)
> Comment on attachment 385882 [details]
> emerge --debug output
> 
> Please attach a "normal" build log. emerge --debug is intended for debugging
> emerge, which doesn't apply here.

OK, the build.log looks identical to what I already pasted into the initial comment. Or do you need something else?
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-01 12:20:19 UTC
(In reply to thomas from comment #6)
> (In reply to Jeroen Roovers from comment #3)
> > Comment on attachment 385882 [details]
> > emerge --debug output
> > 
> > Please attach a "normal" build log. emerge --debug is intended for debugging
> > emerge, which doesn't apply here.
> 
> OK, the build.log looks identical to what I already pasted into the initial
> comment. Or do you need something else?

I asked for a build.log that was generated without --debug.
Comment 8 thomas 2014-10-01 13:22:01 UTC
Created attachment 385890 [details]
build.log

Attached build.log.
Comment 9 Bert Geens (theBlackDragon) 2014-11-28 11:15:10 UTC
The exact same issue occurs for the (currendly ~amd64) 1.0.3 ebuild.
Comment 10 Jean-Claude Repetto 2014-12-24 14:03:46 UTC
Same problem for me : I am installing a new mail server, without virtual hosts, and I can't get roundcube 1.2 installed correctly.
Comment 11 Roland Hopferwieser 2015-08-05 19:18:15 UTC
I think the webapp_pkg_postinst command is missing inside the pkg_postinst function. See bug #532844
Comment 12 Aaron W. Swenson gentoo-dev 2015-12-09 12:58:54 UTC
The package installs for me with USE=-vhosts.

commit c20f39cdcba8d3f75fcd7d6c09e80d2ee0655e40
Author: Aaron W. Swenson <titanofold@gentoo.org>
Date:   Wed Dec 9 07:44:37 2015 -0500

    mail-client/roundcube: Version bump, security, and bug fixes
    
    Added two use flags controlling optional dependencies to support the
    enigma and and sieverules plugins.
    
    Added REQUIRED_USE as one of postgres, mysql, or sqlite must be
    enabled. Rouncube requires a database to operate. As the ebuild uses
    this now, removed the default enable on the mysql USE flag.
    
    Added POST-UPGRADE.txt which is just a shortened version of the
    UPGRADE text from upstream.
    
    Dropped arm and ppc64 keywords as one dependency,
    dev-php/PEAR-Net_LDAP2, currently lacks matching keywords for those
    architectures.
    
    Bug: 541172, 545096, 524192, 564476, 565204, 53284
    
    Package-Manager: portage-2.2.20.1