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
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.
Created attachment 203607 [details] build.log emerged with MAKEOPTS="" emerge -v1 bacula Build fails in non parallel build also.
Created attachment 203653 [details, diff] Patch for bacula-3.0.2.ebuild Just have to dodir before install
hello Peter, thanks for the patch. This works well. Best Regards, Martin
Thanks for the report, Martin, and for the patch, Peter... assigning to maintainers
I can confirm both the bug and the solution.
I can confirm *too* both the bug and the solution.
+ 17 Sep 2009; Patrick Lauer <patrick@gentoo.org> bacula-3.0.2.ebuild: + Adding dodir call for logwatch, fixes #284256 Confirmed and fixed. Thanks!