emerge bombs out with: * 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/dspam-web-3.8.0 failed. Call stack: ebuild.sh, line 1596: Called qa_call 'pkg_postinst' ebuild.sh, line 44: Called pkg_postinst dspam-web-3.8.0.ebuild, line 84: Called webapp_pkg_postinst webapp.eclass, line 462: 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. !!! A complete build log is located at '/var/tmp/portage/www-apps/dspam-web-3.8.0/temp/build.log'. !!! FAILED postinst: 1 Portage 2.1.2.7 (default-linux/sparc/sparc64/2007.0/server, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r8 sparc64) ================================================================= System uname: 2.6.20-gentoo-r8 sparc64 sun4u Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 17 Jun 2007 18:50:01 +0000 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19.2-r2 ACCEPT_KEYWORDS="sparc" AUTOCLEAN="yes" CBUILD="sparc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=ultrasparc -pipe" CHOST="sparc-unknown-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -mcpu=ultrasparc -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gentoo.inode.at/source/" LINGUAS="en de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="apache2 bitmap-fonts cli cracklib cups dri fortran gdbm glibc-omitfp gpm iconv iproute2 isdnlog kerberos ldap libg++ logrotate mailwrapper midi mime mudflap mysql ncurses nptl nptlonly openmp pam pam_timestamp pcre php posix ppds pppd reflection session smbkrb5passwd snmp sparc spl ssl syslog test truetype truetype-fonts type1-fonts unicode userlocales xml xorg" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="mach64" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY Reproducible: Always
Created attachment 122359 [details] Build Log
Perhaps your /var partition is full or maybe you borked your system in some way. In any case, your problems are not related to dspam-web ebuild. Closed as INVALID.
Hmm.. apparently you're right. It is reproductible.
Nope, it isn't reproductible. I had the exact behavior you said only when I tried to run "ebuild dspam-3.8.0.ebuild install" on a system without app-admin/webapp-config. I guess your webapp-config is borked. Reclosed as INVALID.
I do have to disagree. My webapp-config is NOT borked. I analyzed the ebuild and compared it to the one for squirrelmail and found that due to the pkg_setup block, webapp_pkg_setup is not called leading to undefined variables MY_*... Adding webapp_pkg_setup after the if block, fixes this. I don't know how you managed to install the ebuild... I'll attach revised ebuild.
Created attachment 122405 [details, diff] Add missing webapp_pkg_setup to ebuild
You're right. I've tested using the variant before 16 Jun, which didn't had a pkg_setup. The default pkg_setup calls all *_pkg_setup functions exported by eclasses, that is why I wasn't able to replicate it. Fixed in cvs. Thanks!