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

Bug 50969

Summary: emerge of phpBB (2.0.8a) does NOT work. It complains about an old method (webapp-apache.eclass)
Product: Gentoo Linux Reporter: Lars Tiefland <ltiefland>
Component: New packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: VERIFIED TEST-REQUEST    
Severity: normal CC: weeve
Priority: High    
Version: 2004.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: phpBB-2.0.8a-r0-to-r1.ebuild.patch

Description Lars Tiefland 2004-05-13 12:21:53 UTC
When I try to emerge phpBB it gives me the following report:

 * Ebuilds (like this one) that use the webapp-apache.eclass need to
 * be converted to use the new webapp.eclass, to be compatible with
 * webapp-config.
 *
 * Please file a bug on http://bugs.gentoo.org/, stating that this
 * ebuild needs converting to use the new approach.
 * You need to unmerge your old phpBB version first.
 * phpBB will be installed into /var/www/localhost/htdocs//phpbb
 * directly instead of a version-dependant directory.


Reproducible: Always
Steps to Reproduce:
1.emerge sync
2.ACCEPT_KEYWORDS="~x86" emerge phpBB
3.

Actual Results:  
emerge tells me to file a bug report here.

Expected Results:  
phpBB should have been installed in /var/www/localhost/htdocs/phpbb
Comment 1 Sven Wegener gentoo-dev 2004-05-14 02:42:48 UTC
Created attachment 31400 [details, diff]
phpBB-2.0.8a-r0-to-r1.ebuild.patch
Comment 2 Stuart Herbert (RETIRED) gentoo-dev 2004-05-14 15:09:32 UTC
Thank you for this.  I've added your changes to Portage as net-www/phpBB-2.0.8a-r1.  It should appear on your local rsync mirror in about an hour.  Please test it, and let me know whether it works for you.

Thanks,
Stu
Comment 3 Sven Wegener gentoo-dev 2004-05-18 04:51:36 UTC
works fine here, besides the error in bug 51377 which is a failure of webapp-config
Comment 4 Jason Wever (RETIRED) gentoo-dev 2004-05-18 19:48:25 UTC
The fixes generate the following error for me.  This on a ~sparc machine with everything up to date as of this morning and phpBB up to date as of ~ 5 minutes ago.  Is this a legitamate problem or did I not RTFM someplace?

 *
 * 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: phpBB-2.0.8a-r1/phpBB-2.0.8a-r1 failed.
!!! Function webapp_pkg_postinst, Line 444, Exitcode 0
!!! Ebuild did not call webapp_src_install() - report to http://bugs.gentoo.org

!!! FAILED postinst: 1
Comment 5 Sven Wegener gentoo-dev 2004-05-20 12:10:15 UTC
Hm, just unmerged net-www/phpBB-2.0.8a-r1 and re-emerged it. I'm having
no problems. Running x86 and net-www/webapp-config-1.9-r2.
Comment 6 Stuart Herbert (RETIRED) gentoo-dev 2004-05-20 14:13:30 UTC
I've had other reports of the same error, about the ebuild not calling webapp_src_install().  I'm wondering if it is a portage thing.

Weeve, can you post emerge info please?

Best regards,
Stu
Comment 7 Jason Wever (RETIRED) gentoo-dev 2004-05-20 19:07:49 UTC
Gentoo Base System version 1.4.14
Portage 2.0.50-r6 (default-sparc64-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.6)
=================================================================
System uname: 2.6.6 sparc64 sun4u
distcc 2.14 sparc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="sparc ~sparc"
AUTOCLEAN="yes"
CFLAGS="-mcpu=ultrasparc -mtune=ultrasparc -O2 -g -pipe"
CHOST="sparc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=ultrasparc -mtune=ultrasparc -O2 -g -pipe"
DISTDIR="/opt/gentoo/distfiles"
FEATURES="autoaddcvs buildpkg ccache cvs digest noauto noclean nostrip sandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://gentoo.seren.com/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/gentoo-x86"
PORTDIR_OVERLAY="/opt/gentoo/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aac aalib acl adns apache2 arts artswrappersuid athena audiofile avi berkdb bidi bonobo cap caps cdr chroot cjk clamav crypt cups curl dga dillo doc drac dvd dvdr emacs emacs-w3 encode esd etwin expat f77 faad fam fbcon fftw flac flash foomaticdb freetds freetype freewnn gd gd-external gdbm ggi gif ginac gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hbci hdf5 ieee1394 imap imlib imlib2 innodb jabber jack java javamail jikes joystick jpeg junit kde kerberos krb4 ldap libcaca libwww live mad maildir matroska mcal md5sum memlimit mikmod minimal monkey motif mozilla mpeg mpi msn mule mysql ncurses neXt nls nntp oav objc odbc ofx oggvorbis openal opengl oscar oss pam pda pdflib pear-db perl physfs png portaudio postgres ppds prelude python qhull qt quicktime readline rplay ruby samba sasl scanner sdl slang slp socks5 sparc speex spell ssl stroke tcltk tcpd tetex theora threads tiff truetype unicode usb v4l vanilla wxwindows xface xgetdefault xml xml2 xmms xosd xv yahoo yaz zlib"
Comment 8 Stuart Herbert (RETIRED) gentoo-dev 2004-06-26 17:44:56 UTC
Closing old bug.