Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328523 - bacula-5.0.1-r2: no need for dosbin "${S}"/src/qt-console/.libs/bat?
Summary: bacula-5.0.1-r2: no need for dosbin "${S}"/src/qt-console/.libs/bat?
Status: RESOLVED INVALID
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-07-16 03:00 UTC by Joshua Rich
Modified: 2010-07-19 00:26 UTC (History)
0 users

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


Attachments
patch to fix apparently broken dosbin bat logic (bacula-5.0.1-r2.ebuild.patch,536 bytes, patch)
2010-07-16 03:02 UTC, Joshua Rich
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Rich 2010-07-16 03:00:43 UTC
Hi I've just encountered the strange problem.  I've previously had bacula-5.0.1-r2 installed for quite some time now on a Bacula client running Gentoo.  I'm stuck on this version while I wait for some time to upgrade the server to 5.0.2 (unfortunately not running Gentoo on the Director or Storage Daemon and no simple upgrade path available).  After the recent appearance of openssl-1.0.0 in unstable, I've needed to rebuild several packages against this new version, including bacula-5.0.1-r2.  This time around, emerge fails during install phase on the following ebuild logic:

	# install bat when enabled (for some reason ./configure doesn't pick this up)
	if use qt4; then
		dosbin "${S}"/src/qt-console/.libs/bat || die
	fi

In my case, I've just removed these lines from the ebuild and bacula-5.0.1-r2 merges fine.  Maybe a build dep has changed or been upgraded recently which has fixed the original cause of the above problem?

Attached patch fixes the ebuild if you wish to apply it.

Thanks and regards,

Joshua Rich




Reproducible: Always




Portage 2.2_rc67-r2 (default/linux/amd64/10.0/no-multilib, gcc-4.4.3, glibc-2.10.1-r1, 2.6.34-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9400_@_2.66GHz-with-gentoo-2.1.6
Timestamp of tree: Thu, 15 Jul 2010 15:05:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 2.7, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.1.6
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -mssse3 -msse4.1 -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe -mssse3 -msse4.1 -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildsyspkg distlocks fixpackages metadata-transfer news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-march=native -O2 -pipe -mssse3 -msse4.1 -floop-interchange -floop-strip-mine -floop-block"
GENTOO_MIRRORS="ftp://mirror.aarnet.edu.au/pub/gentoo ftp://mirror.internode.on.net/pub/gentoo ftp://ftp.swin.edu.au/gentoo"
LANG="en_AU.utf8"
LC_ALL="en_AU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en"
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="/usr/local/overlays/crossdev /var/lib/layman/x11 /var/lib/layman/gnome /var/lib/layman/ephemeral /var/lib/layman/ruby /var/lib/layman/sunrise /var/lib/layman/science /home/joshua/rsync-repos/bugzilla-gentoo-overlay /home/joshua/rsync-repos/misc-gentoo-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alac alsa amd64 avahi bash-completion berkdb blas branding bzip2 cairo caps cdr cli consolekit cracklib crypt cups cxx dbus dri dvd dvdr dvdread encode exceptions ffmpeg fftw flac fortran gdbm gif gmp gpm gstreamer gtk hal iconv ipv6 ithreads jpeg lame lapack logrotate lzma mad mmx mng modules mp3 mpeg mudflap ncurses nls nptl nptlonly ogg openmp pam pango pcre pdf png pppd readline reflection session spl sqlite sqlite3 sse sse2 sse3 ssl ssse3 svg sysfs tcpd threads tiff truetype udev unicode vorbis wavpack xft xml xorg xpm xscreensaver 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 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 authn_dbd dbd" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel fbdev vesa" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Joshua Rich 2010-07-16 03:02:13 UTC
Created attachment 238981 [details, diff]
patch to fix apparently broken dosbin bat logic
Comment 2 Thomas Beierlein gentoo-dev 2010-07-16 19:37:36 UTC
Joshua, can you please give a build log to show how it fails as attachment?
Comment 3 Thomas Beierlein gentoo-dev 2010-07-17 09:20:35 UTC
The reported problem is only part of the a general build failure. All bacula versions fails to build with openssl-1.0.0 completely, sometimes without notice (see Bug #328701).

The suggested patch fixes only one symptom. Please use stable openssl-0.9.8 for now.
Comment 4 Joshua Rich 2010-07-19 00:26:57 UTC
(In reply to comment #3)
> The reported problem is only part of the a general build failure. All bacula
> versions fails to build with openssl-1.0.0 completely, sometimes without notice
> (see Bug #328701).
> 
> The suggested patch fixes only one symptom. Please use stable openssl-0.9.8 for
> now.
> 

Hi Thomas,

Yes, you are quite right, I didn't look very closely at the build output.  I've adapted the patch from bug #328701 for version 5.0.1 in my own local overlay.

Thanks and regards,

Josh