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

Bug 85744

Summary: sqlite doesn't compile with utf8 support
Product: Gentoo Linux Reporter: Andrey Yasniy <yasniy>
Component: New packagesAssignee: Tal Peer (RETIRED) <coredumb>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrey Yasniy 2005-03-18 03:24:21 UTC
In sqlite ebuilds 'use_with nls utf8' doesn't work because ./configure script expects '--enable-utf8' not '--with-utf8', so you should change 'use_with' to 'use_enable' in all ebuilds.

Reproducible: Always
Steps to Reproduce:
USE='nls' emerge sqlite



Actual Results:  
/usr/include/sqlite.h contains: 
#define SQLITE_ISO8859 1

Expected Results:  
/usr/include/sqlite.h should contains: 
#define SQLITE_UTF8 1

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.3.20040420-r1, 
2.4.26-gentoo-r9 i686)
=================================================================
System uname: 2.4.26-gentoo-r9 i686 AMD Duron(tm)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.3-r1 [2.3.3 (#1, Sep 14 2004, 17:44:53)
]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.3-r1
sys-devel/autoconf:  2.59-r4
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.14.90.0.8-r1
sys-devel/libtool:   1.5.2-r5
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.
3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /
usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp:/
/ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/
pub/Linux/gentoo http://152.66.83.1 ftp://ftp.wh2.tu-dresden.de/pub/mirrors/
gentoo"
LANG="ru_RU.KOI8-R"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X acpi alsa arts avi bash-completion berkdb bitmap-fonts bzlib 
cdr cups curl dbase dga divx4linux dvd emboss encode exif fam flac font-server 
foomaticdb gdbm gif gphoto2 gpm gtk imagemagick imlib java jpeg kde libg++ 
libwww mad maildir mikmod mmx mp3 mpeg mysql ncurses nls oggvorbis opengl oss 
pam pdflib perl png python qt quicktime readline samba scanner sdl slang spell 
sqlite sse ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts usb wmf xine 
xml2 xmms xv zlib linguas_ru"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 Canal Vorfeed 2005-03-23 06:42:00 UTC
And sqlite 3.x does not have any such options at all :-)
Comment 2 Anders Rune Jensen (RETIRED) gentoo-dev 2005-04-02 12:11:17 UTC
Good catch. Seems the configure script doesn't complain about this little issue ;-)

Fixed in cvs (-r1). Thank you both for reporting and the comment.