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

Bug 87244

Summary: dspam 3.4.1 access violation when building with sqlite3 support
Product: Gentoo Linux Reporter: Pedro de Oliveira <falso>
Component: New packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://www.nuclearelephant.com/projects/dspam/
Whiteboard:
Package list:
Runtime testing required: ---

Description Pedro de Oliveira 2005-03-30 03:34:57 UTC
When emerging dspam 3.4.1 with sqlite3 support i'm having these problems:

I emerge it using these flags..
USE="-sqlite debug sqlite3 virtual-users -mysql" emerge dspam

It builds all OK but when it goes to the 'make install' part of the ebuild this appears:
make[1]: Leaving directory `/usr/gentoo/tmp/portage/dspam-3.4.1/work/dspam-3.4.1/src'
gzip: /usr/gentoo/tmp/portage/dspam-3.4.1/image/usr/share/doc/dspam-3.4.1/dspam_sa_trainer.tar.gz already has .gz suffix -- unchanged
SQLite version 3.2.1
Enter ".help" for instructions
sqlite>

(here he waits for me to input something to a sqlite db... maybe something should be piped to the db? like a SQL containing all the tables and stuff? well.. after this i enter .quit)
after that i get a:

sqlite> .quit
ACCESS DENIED  open_wr:   /root/.sqlite_history
/usr/lib/portage/bin/dodoc: src/tools.sqlite_drv/README does not exist.
gzip: /usr/gentoo/tmp/portage/dspam-3.4.1/image/usr/share/doc/dspam-3.4.1/gentoo/dspam_sa_trainer.tar.gz already has .gz suffix -- unchanged
SQLite version 3.2.1
Enter ".help" for instructions
sqlite>

and here again sqlite3 is ran again, i put .quit again and then i get the same ACCESS DENIED

Then when the ebuild is trying to finally install dspam i get this:

>>> Completed installing dspam-3.4.1 into /usr/gentoo/tmp/portage/dspam-3.4.1/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-mail-filter_-_dspam-3.4.1-32218.log"

open_wr:   /root/.sqlite_history
open_wr:   /root/.sqlite_history
--------------------------------------------------------------------------------


Reproducible: Always
Steps to Reproduce:
1.USE="-sqlite debug sqlite3 virtual-users -mysql" emerge dspam
2.just wait
3.and see

Actual Results:  
Access violation when installing

Expected Results:  
Dspam built with sqlite3 support

Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.4.28-gentoo-r8 i586)
=================================================================
System uname: 2.4.28-gentoo-r8 i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.4.16
Python:             
dev-lang/python-2.1.3-r1,dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1
[2.3.4 (#1, Feb 10 2005, 04:24:33)]
distcc 2.16 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.1.3-r1, 2.2.3-r5, 2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2, 2.4.19-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=k6 -O3 -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains
/var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/mail/dspam /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k6 -O3 -pipe"
DISTDIR="/usr/gentoo/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.gentoo-pt.org/pub/gentoo "
MAKEOPTS="-j3"
PKGDIR="/usr/gentoo/packages"
PORTAGE_TMPDIR="/usr/gentoo/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.2/gentoo-portage"
USE="x86 / alsa apache2 apm arts avi berkdb bitmap-fonts crypt cscope curl
emboss encode firebird font-server foomaticdb fortran gd gdbm gif imagemagick
imap imlib ipv6 jpeg kde libg++ libwww mad maildir mikmod motif mp3 mpeg mysql
ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline
samba sdl slang spell sqlite ssl svga tcpd tiff truetype truetype-fonts
type1-fonts xml xml2 xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Tuan Van (RETIRED) gentoo-dev 2005-04-01 10:32:46 UTC
the other bug has a solution.

*** This bug has been marked as a duplicate of 87358 ***