Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59205 - bacula-1.34.[45]-ebuild doesn't find sqlite.h
Summary: bacula-1.34.[45]-ebuild doesn't find sqlite.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: App-Backup Team
URL:
Whiteboard:
Keywords:
: 101760 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-02 16:28 UTC by mren
Modified: 2005-08-08 09:47 UTC (History)
5 users (show)

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


Attachments
Fixing sqlite linking for 1.34.4 (1.34.4.sqlite.patch,602 bytes, patch)
2004-11-04 12:10 UTC, Rodrigo Severo
Details | Diff
Fixing sqlite linking for 1.34.5 (1.34.5.sqlite.patch,602 bytes, patch)
2004-11-04 12:10 UTC, Rodrigo Severo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mren 2004-08-02 16:28:31 UTC
Bacula-1.34.[45] doesn't find sqlite.h, which is in /usr/include.

# ll /usr/include/sqlite.h 
-rw-r--r--  1 root root 36881  3. Aug 00:55 /usr/include/sqlite.h
#

 Here the error-msg:
| checking for SQLite support... no
| configure: error: Invalid SQLite directory /usr - unable to find sqlite.h under /usr
| 
| !!! ERROR: app-admin/bacula-1.34.4 failed.
| !!! Function src_compile, Line 71, Exitcode 1
| !!! bad ./configure

After I changed

|  elif use sqlite
|  then
|       myconf="${myconf} --with-sqlite=/usr"

to

|       myconf="${myconf} --with-sqlite=/usr/include"

everything went fine. Don't know if it's a "local" problem, but if not I think it should be changed in the ebuild.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7)
=================================================================
System uname: 2.6.7 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -m3dnow
-mmmx -msse"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -m3dnow
-mmmx -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/
ftp://trumpetti.atm.tut.fi/gentoo/ http://gentoo.mirror.sdv.fr
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo
http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.tiscali.nl/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi acpi4linux alsa apm arts avi berkdb bonobo caps cdr
crypt cups dga directfb divx4linux doc dvd encode esd faad fbcon ffmpeg
foomaticdb freetype fs gdbm ggi gif gimp gimpprint glut gnome gpm gtk gtk2
gtkhtml imagemagick imap imlib innodb jabber java javascript jikes jpeg kde ldap
libg++ libwww linguas_de live mad maildir matroska md5sum mikmod mmx motif
mozilla mozsvg mpeg msn music mysql ncurses nls nocardbus nptl offensive
oggvorbis opengl oscar oss pam parse-clocks pda pdflib perl pic png ppds python
qt quicktime readline samba sdl slang snmp speedo spell sse ssl svga tcpd tetex
theora tiff transcode truetype type1 usb videos vim-with-x wmf x86 xface xfs
xml2 xmms xprint xv xvid yahoo zlib"
Comment 1 mren 2004-08-02 17:49:58 UTC
As a result of my changes in the ebuild the "bindir" in the sqlite-scripts (/etc/bacula/*sqlite*) are wrong.
After the emerge they are "bindir=/usr/include" but must be "bindir=/usr/bin".
Comment 2 Rodrigo Severo 2004-11-04 12:06:05 UTC
The solution is simplier. Just remove the path from the --with-sqlite option switch. I'm including patch for 1.34.4 and for 1.34.5.
Comment 3 Rodrigo Severo 2004-11-04 12:10:22 UTC
Created attachment 43301 [details, diff]
Fixing sqlite linking for 1.34.4
Comment 4 Rodrigo Severo 2004-11-04 12:10:40 UTC
Created attachment 43302 [details, diff]
Fixing sqlite linking for 1.34.5
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-03-13 17:42:37 UTC
zul: would you like to join app-backup?
Comment 6 Fernando Serboncini (RETIRED) gentoo-dev 2005-07-02 21:09:30 UTC
This is fixed in the new 1.36.3-r1 ebuild. If the problem persists, please reopen.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-08-08 09:47:33 UTC
*** Bug 101760 has been marked as a duplicate of this bug. ***