Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322181 - app-backup/bacula-5.0.2-r1 bacula-clientonly does not build bat
Summary: app-backup/bacula-5.0.2-r1 bacula-clientonly does not build bat
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-31 08:41 UTC by Clemente Aguiar
Modified: 2010-07-22 16:00 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 Clemente Aguiar 2010-05-31 08:41:00 UTC
After Upgrading from bacula-5.0.2 to bacula-5.0.2-r1 I noticed that bat was missing. I had to revert back.

$ sudo emerge -pv bacula

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] app-backup/bacula-5.0.2-r1 [5.0.2] USE="X bacula-clientonly bacula-nodir bacula-nosd ipv6 python qt4 readline sqlite3 ssl tcpd -logwatch -mysql -postgres -static" 0 kB



Reproducible: Always




$ sudo emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/gnome, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r10-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 30 May 2010 22:45:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pt_PT.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="pt_PT pt en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/kde-sunset /usr/local/portage"
SYNC="rsync://mero.madeiratecnopolo.pt/gentoo-portage"
USE="X a52 aac acl acpi ads alsa amd64 avahi berkdb bluetooth branding bzip2 cairo cdda cddb cdio cdparanoia cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gdu gif gnome gnome-keyring gnome-print gpm gstreamer gtk h323 hal iconv id3tag ipv6 ithreads java jpeg kerberos lame lcms ldap libnotify live logrotate mad matroska mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib musepac musepack nautilus ncurses network networkmanager nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd pulseaudio python qt3support quicktime readline reflection samba sdl session sip smp spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype tta unicode usb vorbis wav wavpack wma wmf x264 xcb xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_PT pt en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Beierlein gentoo-dev 2010-05-31 08:58:31 UTC
That is intended behavior. As long as you request 'bacula-clientonly' you will get the file client only. No bacula controlling apps will get installed with that use flag set.

I would suggest leaving out 'bacula-clientonly'. That will do the job.
Comment 2 Clemente Aguiar 2010-05-31 10:03:05 UTC
>> That is intended behavior.

That was not the case before, but I will try your suggestion.

Since I only want bat I tried to build without database support and I get the following error:

$ sudo emerge -v bacula

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] app-backup/bacula-5.0.2-r1 [5.0.2] USE="X bacula-nodir bacula-nosd ipv6 python qt4 readline ssl tcpd -bacula-clientonly* -logwatch -mysql -postgres -sqlite3 -static" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB

....
 * CPV:  app-backup/bacula-5.0.2-r1
 * REPO: gentoo
 * USE:  X amd64 bacula-nodir bacula-nosd elibc_glibc ipv6 kernel_linux multilib python qt4 readline ssl tcpd userland_GNU
 * 
 * To use bacula-5.0.2 it is required to set a database in the USE flags.
 * Supported databases are mysql, postgresql, sqlite3
 * 
 * ERROR: app-backup/bacula-5.0.2-r1 failed:
 *   No database type selected.
 * 
 * Call stack:
 *                ebuild.sh, line  54:  Called pkg_setup
 *   bacula-5.0.2-r1.ebuild, line  84:  Called die
 * The specific snippet of code:
 *   			die "No database type selected."
 * 
 * If you need support, post the output of 'emerge --info =app-backup/bacula-5.0.2-r1',
 * the complete build log and the output of 'emerge -pqv =app-backup/bacula-5.0.2-r1'.
 * The complete build log is located at '/var/tmp/portage/app-backup/bacula-5.0.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-backup/bacula-5.0.2-r1/temp/die.env'.
 * S: '/var/tmp/portage/app-backup/bacula-5.0.2-r1/work/bacula-5.0.2'

>>> Failed to emerge app-backup/bacula-5.0.2-r1, Log file:
Comment 3 Thomas Beierlein gentoo-dev 2010-06-04 05:05:12 UTC
(In reply to comment #2)
> Since I only want bat I tried to build without database support and I get the
> following error:
> 
> ... snip ...
>
>  * To use bacula-5.0.2 it is required to set a database in the USE flags.
>  * Supported databases are mysql, postgresql, sqlite3
>  * 

I will fix it in next revision. Until then I suggest using +sqlite3 as it has the smallest footprint of all backends.
Comment 4 Thomas Beierlein gentoo-dev 2010-07-22 16:00:04 UTC
Fixed in 5.0.2-r2. 

+*bacula-5.0.2-r2 (22 Jul 2010)
+
+  22 Jul 2010; Thomas Beierlein <tomjbe@gentoo.org> +bacula-5.0.2-r2.ebuild,
+  +files/5.0.2/bacula-5.0.2-Makefile.patch,
+  +files/5.0.2/bacula-5.0.2-ldflags.patch:
+  - fix for bug #291160, #322181 and #326333
+  - add vimfiles
+  - make 'bat' respect LDFLAGS
+  - let 'make' fail if some error emerges in a subdir build
+

Reverted to old behaviour. 'bconsole' gets installed unconditionally and 'bat' as soon as you USE=qt4, even with bacula-clientonly.