Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89821 - webapp-config upgrade bug: phpBB-2.0.14 has errors during installation
Summary: webapp-config upgrade bug: phpBB-2.0.14 has errors during installation
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Stuart Herbert (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-20 08:23 UTC by Jason Wever (RETIRED)
Modified: 2005-10-25 18:27 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Wever (RETIRED) gentoo-dev 2005-04-20 08:23:04 UTC
phpBB-2.0.14 experiences errors in the installation process when it runs webapp-config.  The error I'm seeing is;

 * vhosts USE flag not set - auto-installing using webapp-config
 * This is an upgrade
 * phpBB-2.0.10 is already installed - upgrading
 * Running /usr/sbin/webapp-config -U -h localhost -u root -d /phpBB phpBB 2.0.1
4
cp: cannot create regular file `/var/www/localhost/htdocs/phpBB/admin/admin_foru
m_prune.php': No such file or directory

Fatal error: Fatal error - exiting
Fatal error(s) - aborting
 * Removing old version phpBB-2.0.10

Emerge info is as follows;

Portage 2.0.51.19 (!/usr/gentoo-x86/profiles/default-linux/sparc/sparc64/2004.3,
 gcc-3.3.5-20050130, glibc-2.3.3.20040420-r2, 2.6.11-gentoo-r4 sparc64)
=================================================================
System uname: 2.6.11-gentoo-r4 sparc64 sun4u
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5,dev-lang/python-2.2.3-r5,dev-lang/pyt
hon-2.1.3-r1 [2.3.5 (#1, Feb 18 2005, 04:16:06)]
distcc 2.18.3 sparc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [d
isabled]      
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.2.3-r5, 2.1.3-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.5, 1.8.5-r3, 1.5, 1.6.3, 1.4_p6, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r8, 2.14.90.0.7.1
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.4.19-r1, 2.4.23
ACCEPT_KEYWORDS="sparc ~sparc"
AUTOCLEAN="yes"
CFLAGS="-mcpu=ultrasparc -mtune=ultrasparc -O2 -g -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.1/sh
are/config /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/sh
utdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-mcpu=ultrasparc -mtune=ultrasparc -O2 -g -pipe"
DISTDIR="/opt/gentoo/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache cvs digest distlocks maketest nostrip sandbox test"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://mirrors.tds.net/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/"
MAKEOPTS="-j2"
PKGDIR="/mnt/sda/packages"
PORTAGE_TMPDIR="/mnt/sda/portagetmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/gentoo/overlay /usr/local/portage"
SYNC="rsync://stargazer.weeve.org/gentoo-portage"
USE="sparc X X509 Xaw3d aac aalib acl adns aim apache2 arts artswrappersuid athe
na audiofile avalon avi bash-completion bcmath berkdb bidi bitmap-fonts blas bonobo bzlib calendar camaelon canna cap caps cdb cdparanoia cdr cdrom chroot cjk clamav crypt ctype cups curl curlwrappers dba dbcp dbm dbx dga dillo dio dlloader dmx drac dv dvd dvdr emacs emacs-w3 encode esd estraier etwin exif expat extensions faad fam fbcon fftw flac flash flatfile font-server foomaticdb fortran freetds freetype freewnn ftp gcc64 gd gd-external gdbm ggi gif gimpprint ginac glade gmp gnome gnutls gphoto2 gpm graphviz gsnd gstreamer gtk gtk2 gtkhtml guile hbci hdf5 iconv icq ide ieee1394 imagemagick imap imlib imlib2 inifile innodb insecure-drivers jabber jack java javamail javascript jboss jikes jms jmx joystick jpeg jpeg2k jta junit kde kdeenablefinal kerberos krb4 lapack ldap libcaca libg++ libwww live mad maildir matroska mbox mcal mcve md5sum memlimit mhash migemo mikmod mime ming minimal modelock monkey motif mozcalendar mozilla mozsvg mp3 mpeg mpeg4 mpi msn mule mysql ncurses neXt netcdf nls nntp ntlm oav objc odbc ofx oggvorbis openal opengl oracle oscar oss pam pcntl pcre pda pdflib pear-db perl physfs png portaudio posix postgres povray ppds prelude pwdb python qdbm qhull qt quicktime quotes readline rplay ruby samba sasl scanner sdl session sftplogging shared sharedmem silverxp simplexml skey slang slp sndfile snmp soap sockets socks5 speex spell spl sqlite ssl stroke struts svg sysvipc tcltk tcpd tetex theora threads thumbnail tidy tiff tlen tokenizer truetype truetype-fonts type1-fonts unicode usb v4l vanilla vdesktop vis wddx wxwindows xface xgetdefault xim xine xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid yahoo yaz yv12 zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Aaron Walker (RETIRED) gentoo-dev 2005-04-20 08:50:57 UTC
Hmm.. I wonder if it has something to do with you upgrading.  It works fine here.

$ equery files phpBB | grep admin_forum
/usr/share/webapps/phpBB/2.0.14/htdocs/admin/admin_forum_prune.php
/usr/share/webapps/phpBB/2.0.14/htdocs/admin/admin_forumauth.php
/usr/share/webapps/phpBB/2.0.14/htdocs/admin/admin_forums.php

Nothing has changed ebuild-wise between 2.0.10 and 2.0.14 except the keywords.

webapp-config bug maybe?
Comment 2 Jason Wever (RETIRED) gentoo-dev 2005-04-20 12:11:05 UTC
I show those as well;

/usr/share/webapps/phpBB/2.0.14/htdocs/admin/admin_forum_prune.php
/usr/share/webapps/phpBB/2.0.14/htdocs/admin/admin_forumauth.php
/usr/share/webapps/phpBB/2.0.14/htdocs/admin/admin_forums.php

However, this looks more to me like we're trying to copy files to a directory that doesn't exist.
Comment 3 Jason Wever (RETIRED) gentoo-dev 2005-04-20 12:55:34 UTC
So apparently in the days of the phpBB-2.0.8-r1 ebuild, everything in /var/www/<hostname>/htdocs/foo was symlinked to the actual files in /usr/share/webapp/foo/version.  As phpBB-2.0.8-r1 is no longer there, webapp-config cannot copy files over the top of the non-existant directories and files the symlinks point to.

So yeah, it looks like webapp-config bug as it didn't correctly upgrade phpBB from 2.0.8-r1 to 2.0.10.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-04-20 13:17:38 UTC
webapp-config _is_ broken, many examples in Bug 83614
Comment 5 Renat Lumpau (RETIRED) gentoo-dev 2005-06-30 06:28:24 UTC
reassigning to Stu
Comment 6 Jason Wever (RETIRED) gentoo-dev 2005-10-25 18:27:22 UTC
Resolving as LATER as phpBB has been security masked for some time.  Please
re-open if this changes.  Thanks!