Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284256 - app-backup/bacula-3.0.2: build failed
Summary: app-backup/bacula-3.0.2: build failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Wolfram Schlich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-09 12:27 UTC by Martin
Modified: 2009-09-17 19:19 UTC (History)
3 users (show)

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


Attachments
build.log emerged with MAKEOPTS="" emerge -v1 bacula (build.log,123.30 KB, text/plain)
2009-09-09 16:58 UTC, Martin
Details
Patch for bacula-3.0.2.ebuild (bacula-3.0.2_logwatch-missing-shared-dir.patch,360 bytes, patch)
2009-09-10 04:17 UTC, Peter Fern
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin 2009-09-09 12:27:12 UTC
Hello,

building the new version of app-backup/bacula-3.0.2 failed with error message:

/usr/bin/install: cannot create regular file `/var/tmp/portage/app-backup/bacula-3.0.2/image//etc/log.d/scripts/shared/applybaculadate': No such file or directory



Reproducible: Always

Steps to Reproduce:
emerge -v1 bacula




/usr/bin/install -c -m 755 bacula /var/tmp/portage/app-backup/bacula-3.0.2/image//etc/log.d/scripts/services/bacula
/usr/bin/install -c -m 755 applybaculadate /var/tmp/portage/app-backup/bacula-3.0.2/image//etc/log.d/scripts/shared/applybaculadate
/usr/bin/install: cannot create regular file `/var/tmp/portage/app-backup/bacula-3.0.2/image//etc/log.d/scripts/shared/applybaculadate': No such file or directory
make: *** [install] Error 1
 *
 * ERROR: app-backup/bacula-3.0.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2488:  Called die
 * The specific snippet of code:
 *               emake DESTDIR="${D}" install || die "Failed to install logwatch scripts";
 *  The die message:
 *   Failed to install logwatch scripts
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-backup/bacula-3.0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-backup/bacula-3.0.2/temp/environment'.
 *

--- 

mrb ~ # emerge -pv1 bacula

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

Calculating dependencies... done!
[ebuild     U ] app-backup/bacula-3.0.2 [3.0.1] USE="X bacula-console gnome ipv6 logwatch postgres python qt4 readline ssl tcpd wxwindows -bacula-clientonly -bacula-nodir -bacula-nosd -mysql -sqlite -sqlite3 -static (-doc%) (-logrotate%*)" 0 kB [?=>0]

---

mrb ~ # emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Quad_CPU_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 09 Sep 2009 12:00:01 +0000
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/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 /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"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://de-mirror.org/distro/gentoo/ http://gentoo.mneisen.org/"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
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/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl alsa amd64 amr automount avahi bash-completion berkdb bitmap-fonts bzip2 cdr cli cracklib crypt cups dbus desktop dhcp dri dts dv dvb dvd dvdr dvdread encode esd fax firefox flac font-server fortran gcj gdbm gif glib gphoto2 gpm graphviz gtk hal howl iconv ieee1394 imagemagick imlib ipv6 isdnlog jack java jpeg jpeg2k kde kpathsea ldap lesstif libcaca lmsensors mmx motif mozbranding mp3 mpeg mudflap multilib ncurses neXt network nls nptl nptlonly nsplugin nvidia oav ogg opengl openmp oss pam pch pcre perl plasma png pppd python qt qt3 qt3support qt4 readline reflection samba scanner sdl session slp soundex speex spell spl sse sse2 ssl sysfs syslog tcl tcpd tetex theora threads tiff tk toolbar truetype truetype-fonts type1 type1-fonts unicode urandom v4l vcd vdr vorbis wavpack webkit wifi winbind xine xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2009-09-09 16:46:34 UTC
Attach full build.log (install phase, at very least).
This may be a parallel make failure - try reducing it.

If that works, don't close this bug.
Comment 2 Martin 2009-09-09 16:58:50 UTC
Created attachment 203607 [details]
build.log emerged with MAKEOPTS="" emerge -v1 bacula

Build fails in non parallel build also.
Comment 3 Peter Fern 2009-09-10 04:17:12 UTC
Created attachment 203653 [details, diff]
Patch for bacula-3.0.2.ebuild

Just have to dodir before install
Comment 4 Martin 2009-09-10 07:45:46 UTC
hello Peter,

thanks for the patch. This works well.

Best Regards,
Martin
Comment 5 Wormo (RETIRED) gentoo-dev 2009-09-11 07:09:06 UTC
Thanks for the report, Martin, and for the patch, Peter... assigning to maintainers
Comment 6 Alexander Bezrukov 2009-09-12 22:28:07 UTC
I can confirm both the bug and the solution.
Comment 7 kiorky 2009-09-17 16:10:41 UTC
I can confirm *too* both the bug and the solution.
Comment 8 Patrick Lauer gentoo-dev 2009-09-17 19:19:01 UTC
+  17 Sep 2009; Patrick Lauer <patrick@gentoo.org> bacula-3.0.2.ebuild:
+  Adding dodir call for logwatch, fixes #284256

Confirmed and fixed. Thanks!