Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328785 - app-backup/bacula-5.0.2-r1: files missing after installation
Summary: app-backup/bacula-5.0.2-r1: files missing after installation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-18 07:34 UTC by Andreas Aronsson
Modified: 2010-07-22 10:46 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,87.76 KB, text/plain)
2010-07-18 20:02 UTC, Christian Ruppert (idl0r)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Aronsson 2010-07-18 07:34:44 UTC
user@host # equery f app-backup/bacula
[ Searching for packages matching app-backup/bacula... ]
* Contents of app-backup/bacula-5.0.2-r1:
/etc
/etc/bacula
/etc/conf.d
/etc/conf.d/bacula-fd
/etc/init.d
/etc/init.d/bacula-fd
/tmp
/usr
/usr/lib64
/usr/lib64/bpipe-fd.so
/usr/libexec
/usr/libexec/bacula
/usr/libexec/bacula/bacula_config
/usr/libexec/bacula/btraceback.dbx
/usr/libexec/bacula/btraceback.gdb
/usr/libexec/bacula/mtx-changer.conf
/usr/sbin
/usr/sbin/bacula
/usr/sbin/btraceback
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man8
/usr/share/man/man8/bacula-fd.8.bz2
/usr/share/man/man8/bacula.8.bz2
/usr/share/man/man8/bconsole.8.bz2
/usr/share/man/man8/btraceback.8.bz2
/var
/var/lib
/var/lib/bacula
/var/lib/bacula/.keep_app-backup_bacula-0

user@host # /etc/init.d/bacula-fd start
 * Caching service dependencies ...                                                                                              [ ok ]
 * Starting bacula file daemon ...
/sbin/start-stop-daemon: stat /usr/sbin/bacula-fd: No such file or directory (No such file or directory)                         [ !! ]

It is quite vexing as on this example host and another x86 one this problem occurs. They have previously had bacula-2.4.1 installed. However, when I install on a 'previously clean' host the files appear. 
Doing whatever I could come up with to clean the 'dirty' ones - removing all in /var/lib/bacula and in /etc (including entries in passwd, shadow, group and so on). 

Reproducible: Always

Steps to Reproduce:
1. emerge bacula
2. 
3.

Actual Results:  
I am not able to run bacula as the executables are missing. bacula-{fd,sd,dir}

Expected Results:  
It should be possible to use the init script to start bacula. 

Portage 2.1.8.3 (default/linux/amd64/10.0/server, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8200_@_2.66GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 18 Jul 2010 06:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.8.5-r4, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
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="-march=core2 -O3 -pipe -msse4.1 -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind /var/yp/Makefile"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O3 -pipe -msse4.1 -msse3"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--deep --with-bdeps y --keep-going --quiet --jobs"
FEATURES="assume-digests ccache distlocks fixpackages metadata-transfer news nodoc noinfo parallel-fetch protect-owned sandbox sfperms strict unemerge-orphans unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.gentoo.no/ ftp://trumpetti.atm.tut.fi/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
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"
SYNC="rsync://haraldstake.org/gentoo-portage"
USE="acl amd64 apache2 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ldap mmx modules mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session snmp spl sse sse2 ssl sysfs tcpd truetype unicode xml xorg 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_meagic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias mime_magic" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 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, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Andreas Aronsson 2010-07-18 07:36:45 UTC
I have tried with any number of variations with the USE flags. Example set:
emerge -pv bacula
[ebuild   R   ] app-backup/bacula-5.0.2-r1  USE="bacula-clientonly bacula-nodir bacula-nosd -ipv6 python readline ssl -X -logwatch -mysql -postgres -qt4 -sqlite3 -static -tcpd" 
Comment 2 Christian Ruppert (idl0r) gentoo-dev 2010-07-18 20:02:23 UTC
Created attachment 239293 [details]
build.log

This is due to build errors which didn't cause a "die".

emerge --info bacula
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop, gcc-4.4.3-asneeded, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-gentoo-r1-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.0.1
Timestamp of tree: Sun, 18 Jul 2010 15:40:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r2, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
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="* -@EULA DOOM3 Nero-EULA-US dlj-1.1 cadsoft googleearth AdobeFlash-10 AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --columns"
FEATURES="assume-digests collision-protect distlocks fail-clean fakeroot fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict stricter suidctl unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://212.219.56.153/sites/www.ibiblio.org/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,now -Wl,--sort-common"
MAKEOPTS="-j5"
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="/home/idle/dev/gentoo/overlay /var/lib/layman/Spring /home/idle/dev/gentoo/sunrise/sunrise /home/idle/dev/gentoo/init-overlay"
SYNC="rsync://10.8.6.1/gentoo-portage"
USE="3dnow 3dnowext 64bit X a52 aac acl akonadi alsa amd64 ao aplaymidi archive asf aspell ass assistant audio audiofile avahi bash-completion berkdb blink blksha1 browser bugzilla bzip2 cairo caps cdaudio cdda cddax cddb cdio cdparanoia cdr cg cleartype cli clock clucene cmake colordiff consolekit corefonts cracklib crypt cscope css ctype cuda cups curl curlwrappers cursors cxx dbus designer devhelp dga dirac dnsdb docbook downloadorder dri dts dv dvb dvd dvdnav dvdr ebook emovix enca encode enscript eu_epg exceptions exif expat extras faac faad fame fbcon fbcondecor fbdev ffmpeg fftw firefox flac fontconfig fontforge foomaticdb ftp fts3 fuse gcrypt gd gdbm gecko geoip ggi gif gimp git glade glib glibc-compat20 glitz gmp gnome gnutls gpg gpm graphviz gs gstreamer gtk gtkhtml hddtemp hdri helpers hpn hunspell ical icons iconv icq icu id3 id3tag idn imagemagick imap imlib infowidget inherit-graph inotify ipc ipfilter iproute2 ipv6 ithreads jabber javascript jpeg kde kontact kqemu kross kvm ladspa lame largefile lastfm lcms libedit libevent libffi liblockfile libmms libnotify libssh2 libv4l2 libwww linuxkeys live llvm-gcc logrotate lzma lzo mad magic maildir mdns-bundled mdnsresponder-compat memoryview midi mikmod mime mmap mmx mmxext mng modplug modules mouse mp3 mp4 mpeg mplayer mudflap multilib multimedia musepack music musicbrainz mysql ncurses net nethack netpbm network-cron nls nonfsv4 npp nptl nptlonly nsplugin nvidia offensive ogg openal openexr opengl openmedia openmp openssl optimization osdmenu otr oxygen pae pam pango pcap pcf pcntl pcre pdf perl phonon physfs pixmaps player plotutils plugins plugins-symlink png pop posix prelude ps psf pth python qemu-ifup qmake qt3support qt4 quicktime raptor rar readline recode redland replytolist rtc rtsp sasl schroedinger sdl sdl-image secure-delete semantic-desktop session sha512 shm sidebar simplexml slang smime smp smtp sndfile sockets sound sourceview sox speex spell spl sql sqlite sqlite3 srt sse sse2 sse4a ssl startup-notification stream subversion svg svm sysfs syslog system-sqlite sysvipc tabbed taglib theora threads threadsafe tidy tiff tint2conf toolame tools tordns trayicon tremor truetype tv_check tv_combiner tv_pick_cgi twolame udev udis86 unicode urandom usb userlocales utils v4l v4l2 vaapi valgrind vcd vcdinfo vcdx vde vdpau video vim-pager vim-syntax vim-with-x virtuoso vorbis wav webinterface webkit websockets wma wmf wxwidgets wxwindows x264 x86emu xattr xcb xcomposite xext xft xine xinerama xml xmlpatterns xmlrpc xorg xosd xpdf-headers xpm xrandr xscreensaver xterm-color xulrunner xv xvid xvmc zip zlib zsh-completion zvbi" ALSA_CARDS="usb-audio hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol mmap_emul" 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 cgi cgid 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 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" QEMU_SOFTMMU_TARGETS="arm cris i386 m68k microblaze mips mips64 mips64el mipsel ppc ppc64 ppcemb sh4 sh4eb sparc sparc64 x86_64" QEMU_USER_TARGETS="alpha arm armeb cris i386 m68k microblaze mips mipsel ppc ppc64 ppc64abi32 sh4 sh4eb sparc sparc32plus sparc64 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev" 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, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-backup/bacula-5.0.2-r1 was built with the following:
USE="X bacula-clientonly bacula-nodir bacula-nosd ipv6 (multilib) mysql python qt4 readline sqlite3 ssl -logwatch -postgres -static -tcpd"
Comment 3 Thomas Beierlein gentoo-dev 2010-07-19 09:04:09 UTC
(In reply to comment #2)
> Created an attachment (id=239293) [details]
> build.log
> 
The missing files were result of a wrong patch for openssl-1 (see bug #328701). Fixed. Please resync your tree.

+  19 Jul 2010; Thomas Beierlein <tomjbe@gentoo.org>
+  files/5.0.2/bacula-5.0.2-openssl-1.patch:
+  Fix openssl-1 patch to work for openssl<1.0.0. See Bug #328785
+


> This is due to build errors which didn't cause a "die".
> 

Well the problem is known and has yet to be fixed. So I am leaving the bug open.
Comment 4 Andreas Aronsson 2010-07-19 10:43:45 UTC
I can confirm that USE="-ssl" does give a build with /usr/sbin/bacula-{fd,sd,dir}. 

Will wait for changes to propagate to my local tree and report back. 
Comment 5 Andreas Aronsson 2010-07-19 17:26:33 UTC
Fantastic. 
Emerge again now after yet another sync and all those grubby litte binaries are back. 
Comment 6 Marcin Mirosław 2010-07-22 10:46:59 UTC
I've got classic question: why bacula wasn't bumped to -r2? Probably a there are more than one person who wasted time wondering why bacula isn't working.