Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182402 - www-apps/dspam-web-3.8.0: not calling webapp_src_install() at the end of the src_install() function
Summary: www-apps/dspam-web-3.8.0: not calling webapp_src_install() at the end of the...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-17 20:58 UTC by Dustin Polke
Modified: 2007-06-18 13:43 UTC (History)
0 users

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


Attachments
Build Log (build.log,16.91 KB, text/plain)
2007-06-17 21:00 UTC, Dustin Polke
Details
Add missing webapp_pkg_setup to ebuild (dspam-web-3.8.0.ebuild.diff,332 bytes, patch)
2007-06-18 12:58 UTC, Dustin Polke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2007-06-17 20:58:41 UTC
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
Comment 1 Dustin Polke 2007-06-17 21:00:38 UTC
Created attachment 122359 [details]
Build Log
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2007-06-18 06:15:42 UTC
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.
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2007-06-18 06:17:47 UTC
Hmm.. apparently you're right. It is reproductible.
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2007-06-18 06:35:14 UTC
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.
Comment 5 Dustin Polke 2007-06-18 12:32:25 UTC
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.
Comment 6 Dustin Polke 2007-06-18 12:58:29 UTC
Created attachment 122405 [details, diff]
Add missing webapp_pkg_setup to ebuild
Comment 7 Alin Năstac (RETIRED) gentoo-dev 2007-06-18 13:43:03 UTC
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!