Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93511 - Balsa cannot be compiled with sqlite-3.2.1-r3
Summary: Balsa cannot be compiled with sqlite-3.2.1-r3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-21 23:43 UTC by Alexander Skwar
Modified: 2005-05-24 09:04 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Skwar 2005-05-21 23:43:47 UTC
[08:37:27 alexander@server:/usr/portage/dev-libs/gmime] $ time sudo emerge -vat mail-client/balsa

These are the packages that I would merge, in reverse order:

Calculating dependencies ...done!
[ebuild  N    ] mail-client/balsa-2.2.6  +crypt -debug -doc +gtkhtml -kerberos -ldap +pcre +sqlite +ssl +threads 0 kB
[ebuild  N    ]  dev-db/sqlite-3.2.1-r3  -doc -nothreadsafe 0 kB
[...]

Note the version of sqlite that's going to be installed: 3.2.1-r3.

After sqlite is installed and during the "configure" run of balsa, I get this error:

checking whether to use LDAP... no
checking whether to use SQLite... yes
checking for
        sqlite >= 2.8
        ... Package sqlite was not found in the pkg-config search path. Perhaps you should add the directory containing `sqlite.pc' to the PKG_CONFIG_PATH environment variable No package 'sqlite' found
configure: error: Library requirements (
        sqlite >= 2.8
        ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/balsa-2.2.6/work/balsa-2.2.6/config.log

!!! ERROR: mail-client/balsa-2.2.6 failed.







[08:41:14 alexander@server:/Gentoo/portage/tree/dev-libs/gmime] $ sudo emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-ck7-r1.ASN.003.reiser4.module i686)
=================================================================
System uname: 2.6.11-ck7-r1.ASN.003.reiser4.module i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r9
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distfiles.gentoo.org/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X acl alsa apache2 apm arts artswrappersuid async avi bash-completion bluetooth bzlib cairo calendar caps cdda cddb cdparanoia cdr cdrom codecs crypt cscope css cups dga divx4linux dvdread eds encode esd ethereal exif faad fam fbcon fbdev ffmpeg fftw firefox flash foomaticdb ftp fwdzone gd gdbm gif gimp gimpprint gmail gnokii gnome gphoto2 gpm gs gstreamer gtk gtk2 guile hal iconv idn imagemagick imap imlib java javascript jpeg kde kdeenablefinal kdexdeltas libedit libwww logitech-mouse logrotate lufsusermount lzo lzw lzw-tiff mad maildir matroska matrox mbox mime mmap mmx mng mozdevelop mozilla moznocompose moznoirc mozp3p mozsvg mp3 mpeg mplayer ncurses network nls no-old-linux no_wxgtk1 noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro nopop3d noregexp norhino noxalan noxerces nptl offensive ofx ogg oggvorbis opengl oss pam parse-clocks pcntl pcre pda pdflib perl pic pie png posix ppds python qt quicktime quotes rdesktop readline real recode samba sasl shared slang sockets speex spell sse ssl svg symlink sysvipc tcltk tcpd theora tidy tiff truetype truetype-fonts type1-fonts unicode usb usepackagedmakefiles vcd videos vim vim-pager vim-with-x vorbis wmf wsconvert x11vnc xchattext xfs xine xml xml2 xmms xv xvid zlib video_cards_matrox linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, PORTDIR_OVERLAY
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2005-05-22 18:01:15 UTC
bug confirmed.

the .pc was renamed to sqlite3.pc, and the header file to sqlite3.h.  Therefore,
3 files that use these resources must be patched to make this work. ( and i
created a patch for configure.in and 2 source files )

However, the API changed in this new version of sqlite ( v3 ).  Simply renaming
the functions in the .c file doesn't work because the arguments to the functions
have changed.  I started to fix this issue, but decided its really an upstream
thing at this point, especially since its not fixed in their lastest development
version.

Heres a link to the gnome bug:
http://bugs.gnome.org/show_bug.cgi?id=305152

Thanks for the report!
Comment 2 Alexander Skwar 2005-05-23 01:11:49 UTC
I agree that it seems to be an upstream bug.

Until upstream fixes this, shouldn't the "sqlite" USE flag be removed or
modified, so that users get an error message when they try to use this flag?
Comment 3 John N. Laliberte (RETIRED) gentoo-dev 2005-05-23 18:34:37 UTC
great turnaround upstream, less than a day and its fixed in cvs.  I will create
a patch and backport it to us.  should be fixed by tommorrow night at the latest.
Comment 4 John N. Laliberte (RETIRED) gentoo-dev 2005-05-24 09:04:31 UTC
in cvs as -r2.  please test and open a new bug if you encounter any problems. (
unless you still cannot compile it )