First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 87358
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: John Huttley <john@mib-infotech.co.nz>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 87358 depends on: Show dependency tree
Show dependency graph
Bug 87358 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-03-30 17:40 0000
If you install dspam 3.4.1 (and likely earlier) with sqlite3 (and likely
sqlite).
sqlite3 is called during the install phase.

sqlite3 is the sql command interpreter.
The first issue is that sqlite3 will just sit there, waiting for input.
The user has no indication of what is required.

Secondly, on typing ".quit" to get out, sqlite3 attempts to write a history
file.
This causes a sanbox violation.


Reproducible: Always
Steps to Reproduce:
1. USE="-postgres -sqlite sqlite3" emerge dspam
2.
3.



Expected Results:  
It should either call sqlite3 with a command file or not call sqlite3 and let
the user configure it.

NOTE! 
Gentoo Base System version 1.6.10
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.8-gentoo-r8 i686)
=================================================================
System uname: 2.6.8-gentoo-r8 i686 AMD Athlon(tm) XP 2400+
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 19 2005, 13:37:11)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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="-march=pentium2 -O3 -pipe"
DISTDIR="/home/gentoo/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="x86 X X509 aalib acpi alsa apache2 berkdb bitmap-fonts ccache cdr crypt
cups curl dba doc dvd dvdr emboss encode esd evms2 extensions fam flac
foomaticdb fortran freetds freetype gd gif gmp gnome gpm gstreamer gtk gtk2
gtkhtml imagemagick imap ipv6 jpeg ldap libg++ libwww lzo mad mailwrapper mbox
mozcalendar mozilla mp3 mpeg mppe-mppc mssql ncurses nls nptl nptlonly odbc
oggvorbis opengl opens pam pcap pcre pdf pdflib perl php pic pie png postgres
python qt readline samba sasl scanner sdl session slang slp softmmu speex spell
sqlite ssl svga tcpd tetex tiff truetype truetype-fonts type1-fonts uml usb
wxwindows xfs xine xml xml2 xmlrpc xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

------- Comment #1 From John Huttley 2005-03-30 17:49:02 0000 -------
Ahah! There are two cases in the ebuild...

elif use sqlite || sqlite3 ; then

it should be 

elif use sqlite || use sqlite3 ; then

That fixes it.

------- Comment #2 From Tuan Van (RETIRED) 2005-04-01 10:32:46 0000 -------
*** Bug 87244 has been marked as a duplicate of this bug. ***

------- Comment #3 From Lim Swee Tat (RETIRED) 2005-04-05 01:29:12 0000 -------
Fixing in CVS.  Sorry about this slow response.  Work caught up.

First Last Prev Next    No search results available      Search page      Enter new bug