Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139627 - WebSVN ebuild multiple issues
Summary: WebSVN ebuild multiple issues
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
: 141417 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-07 18:42 UTC by Luke Maurer (Jyrinx)
Modified: 2006-07-22 12:00 UTC (History)
2 users (show)

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


Attachments
websvn-2.0_rc1-r1.ebuild.diff (websvn-2.0_rc1-r1.ebuild.diff,903 bytes, patch)
2006-07-07 19:46 UTC, Jakub Moc (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Luke Maurer (Jyrinx) 2006-07-07 18:42:26 UTC
Following a few odd errors, www-apps/websvn-2.0_rc1 dumps WebSVN onto the root directory (?!) and fails. Here's how it goes down:

---

jyrinx@mythrilspoon ~ $ sudo emerge -av websvn

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS   ] www-apps/websvn-2.0_rc1  USE="enscript -vhosts" 0 kB

[...]

>>> Test phase [not enabled]: www-apps/websvn-2.0_rc1

>>> Install websvn-2.0_rc1 into /var/tmp/portage/websvn-2.0_rc1/image/ category www-apps
install: `': No such file or directory
install: `': No such file or directory
install: `': No such file or directory
install: `': No such file or directory
install: `': No such file or directory
install: `': No such file or directory
install: `': No such file or directory
install: `': No such file or directory
-------------------------------------------------------
You should not use ${D} with helpers.
  -->
-------------------------------------------------------
 * (config) includeconfig.inc
/var/portage/eclass/webapp.eclass: line 136: /var/tmp/portage/websvn-2.0_rc1/image//: Is a directory
 * (config) wsvn.php
/var/portage/eclass/webapp.eclass: line 136: /var/tmp/portage/websvn-2.0_rc1/image//: Is a directory
 * (server owned) cache
/var/portage/eclass/webapp.eclass: line 229: /var/tmp/portage/websvn-2.0_rc1/image//: Is a directory
install: `': No such file or directory
chown: invalid argument: `'
chmod: invalid argument: `'
>>> Completed installing websvn-2.0_rc1 into /var/tmp/portage/websvn-2.0_rc1/image/

man:
>>> Merging www-apps/websvn-2.0_rc1 to /
--- /usr/
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/websvn-2.0_rc1/
>>> /usr/share/doc/websvn-2.0_rc1/changes.txt.gz
>>> /usr/share/doc/websvn-2.0_rc1/templates.txt.gz
>>> /blame.php
>>> /cache/
>>> /cache/tmp
>>> /comp.php
>>> /diff.php
>>> /dl.php

[etc., etc. - all of WebSVN gets installed to /]

>>> /wsvn.php
>>> /.keep
>>> /installed_by_webapp_eclass
 *
 * This ebuild did not call webapp_src_install() at the end
 * of the src_install() function
 *
 * Please log a bug on http://bugs.gentoo.org
 *
 * You should use emerge -C to remove this package, as the
 * installation is incomplete
 *

!!! ERROR: www-apps/websvn-2.0_rc1 failed.
Call stack:
  ebuild.sh, line 1526:   Called pkg_postinst
  ebuild.sh, line 1254:   Called webapp_pkg_postinst
  webapp.eclass, line 469:   Called die

!!! Ebuild did not call webapp_src_install() - report to http://bugs.gentoo.org
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! FAILED postinst: 1
jyrinx@mythrilspoon ~ $

---

A quick "emerge -C websvn", as suggested, cleans everything up nicely (luckily nothing gets clobbered by the merge).

Here's emerge --info:

---

jyrinx@mythrilspoon ~ $ emerge --info
Portage 2.1.1_pre2-r5 (default-linux/amd64/2005.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.1
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -g -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/lib/games/*.scores"
CONFIG_PROTECT_MASK="/etc/X11/app-defaults /etc/env.d /etc/eselect/compiler /etc/gconf /etc/gconf/schemas/ /etc/init.d/ /etc/revdep-rebuild /etc/sound/events/ /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O3 -g -pipe -fomit-frame-pointer"
DISTDIR="/var/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer nostrip parallel-fetch sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/var/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/usr/local/var/portage /home/jyrinx/var/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acpi aim alsa apache2 audiofile avi bash-completion berkdb blas bonobo bzip2 bzlib cairo caps cdb cdda cddb cdio cdparanoia cdr cli crypt cscope ctype cups dba dbus dlloader doc dri dvd dvdr dvdread eds emboss encode esd fbcon ffmpeg firefox flac flash foomaticdb fortran ftp gb gdbm gecko-sdk gif glade glitz gmp gnome gnuplot gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal haskell icq imap imlib ipv6 isdnlog java javascript jpeg ladcca libcaca libgda lzw lzw-tiff mad ming mng mozilla moznocompose moznoirc moznomail mozsvg mozxmlterm mp3 mpeg ncurses nls nptl nptlonly nsplugin offensive ogg openal opengl pam pcre pda pdflib perl php pic png pppd python qt3 qt4 quicktime readline reflection samba sdk sdl session slang sockets socks5 speex spell spl ssl subversion svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb utf8 vorbis wmf wxwindows xcomposite xinerama xml xml2 xorg xosd xpm xprint xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-07 19:33:54 UTC
Well, either you don't have webapp-config installed at all, or you have it misconfigured. Unfortunately, the ebuild misses this since it fails to call webapp_pkg_setup in pkg_setup(). 

BTW, it's better to use depend.php and require_php_with_use for php feature checks. And, the check for xml is wrong w/ php-4*, you need USE=expat there.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-07 19:46:43 UTC
Created attachment 91187 [details, diff]
websvn-2.0_rc1-r1.ebuild.diff
Comment 3 Roy Marples (RETIRED) gentoo-dev 2006-07-09 06:44:18 UTC
Fixed - thanks for the patch Jakub :)
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-07-22 12:00:40 UTC
*** Bug 141417 has been marked as a duplicate of this bug. ***