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

Bug 119481

Summary: Broken vhost installation of www-apps/trac-0.9.3 when using vhosts use flag
Product: Gentoo Linux Reporter: Arnaud Fabre <arnaud>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to trac-0.9.3.ebuild that corrected the problem for me

Description Arnaud Fabre 2006-01-18 13:38:19 UTC
I've tried to install trac 0.9.3 with the use flag vhosts.
After installing it using webapp-config, it works almost correctly: all htdocs files are missing (css, images, javascript) from the apache served directory.

Steps to reproduce:
1) USE=vhosts emerge -v =www-apps/trac-0.9.3
2) webapp-config -I -d trac -h localhost trac 0.9.3
3) Follow given instructions for configuring trac.
4) Point your browser to http://127.0.0.1/trac/.

Actual result:
Page layout and images are missing.

Expected result:
Page layout is correct and images are present.


After investigating a bit, it appeared that no file was available to webapp-config in /usr/share/webapps/trac/0.9.3/htdocs, hence not copied when installing trac.

I've made a patch that correct the problem for me, I'll attach it.


My emerge --info:
Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo x86_64)
=================================================================
System uname: 2.6.15-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -funit-at-a-time -ftracer -frename-registers -msse -m3dnow"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -funit-at-a-time -ftracer -frename-registers -msse -m3dnow -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mir1.ovh.net/gentoo-distfiles/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://194.117.143.70/mirrors/gentoo"
LC_ALL="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X aalib alsa apache2 arts audiofile avi berkdb bitmap-fonts bzip2 cdr cjk crypt cscope cups curl dts eds emacs emboss encode exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp gpm gtk gtk2 hal idn imagemagick imlib ipv6 java jpeg kde kdeenablefinal lcms ldap libcaca libwww lzw lzw-tiff mad mng mp3 mpeg mysql nas ncurses nls nptl ogg oggvorbis opengl pam pcre pdflib perl php png python qt quicktime readline recode ruby samba sdl snmp spell sqlite ssl subversion tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l vhosts vorbis wmf xine xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Arnaud Fabre 2006-01-18 13:39:47 UTC
Created attachment 77462 [details, diff]
Patch to trac-0.9.3.ebuild that corrected the problem for me
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-01-18 13:43:38 UTC
No, the ebuild is correct, your configuration is not.

*** This bug has been marked as a duplicate of 118904 ***