Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97679 - Bacula 1.36.3 failes to emerge because of cdrecord patch
Summary: Bacula 1.36.3 failes to emerge because of cdrecord patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: App-Backup Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-01 19:47 UTC by David Snider
Modified: 2005-08-05 11:58 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 David Snider 2005-07-01 19:47:13 UTC
# emerge -avD bacula

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] app-admin/bacula-1.36.3 [1.34.4] +X +bacula-clientonly*
+bacula-console* +bacula-split* +doc +gnome +logrotate* +logwatch* +mysql
-postgres +readline -sqlite -static +tcpd -wxwindows 0 kB

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No] Yes
>>> emerge (1 of 1) app-admin/bacula-1.36.3 to /
>>> md5 src_uri ;-) bacula-1.36.3.tar.gz
 *
 * If you are upgrading or rebuilding your bacula installation and
 * your database requires you to specify user, password, or host
 * you may do so with the environment variables BACULA_DB_USER,
 * BACULA_DB_PASSWORD, and BACULA_DB_HOST respectively.
 *
 * For example:
 * # export BACULA_DB_USER="bacula"
 * # export BACULA_DB_PASSWORD="mydbpassword"
 * # export BACULA_DB_HOST="mydbhost.mydomain.net"
 * # emerge bacula
 *
 * If you require these variables and have not set them yet, you
 * may wish to abort now and do so.  If this is a new installation
 * of bacula, this should not affect you.
 *
 * Press Ctrl-C to abort.  Merge will resume in 10 seconds.
>>> Unpacking source...
>>> Unpacking bacula-1.36.3.tar.gz to /var/tmp/portage/bacula-1.36.3/work
 * Applying bacula-1.36.2-cdrecord-configure.patch ...

 * Failed Patch: bacula-1.36.2-cdrecord-configure.patch !
 *  ( /usr/portage/app-admin/bacula/files/bacula-1.36.2-cdrecord-configure.patch )
 *
 * Include in your bugreport the contents of:
 *
 *  
/var/tmp/portage/bacula-1.36.3/temp/bacula-1.36.2-cdrecord-configure.patch-9108.out


!!! ERROR: app-admin/bacula-1.36.3 failed.
!!! Function epatch, Line 361, Exitcode 0
!!! Failed Patch: bacula-1.36.2-cdrecord-configure.patch!
!!! If you need support, post the topmost build error, NOT this status message.


Fri Jul  1 20:26:14 2005
root@SLC7-3545003 ~
# 


Details of
/var/tmp/portage/bacula-1.36.3/temp/bacula-1.36.2-cdrecord-configure.patch-9108.out:
root@SLC7-3545003 ~
# cat
/var/tmp/portage/bacula-1.36.3/temp/bacula-1.36.2-cdrecord-configure.patch-9375.out
***** bacula-1.36.2-cdrecord-configure.patch *****

==================================================

PATCH COMMAND:  patch -p0 -g0 --no-backup-if-mismatch <
/usr/portage/app-admin/bacula/files/bacula-1.36.2-cdrecord-configure.patch

==================================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uNr bacula-1.36.2/configure bacula-1.36.2-fixed/configure
|--- bacula-1.36.2/configure    2005-02-25 04:46:49.000000000 -0500
|+++ bacula-1.36.2-fixed/configure      2005-03-06 10:11:23.905848861 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==================================================

PATCH COMMAND:  patch -p1 -g0 --no-backup-if-mismatch <
/usr/portage/app-admin/bacula/files/bacula-1.36.2-cdrecord-configure.patch

==================================================
patching file configure
Hunk #1 FAILED at 7301.
1 out of 1 hunk FAILED -- saving rejects to file configure.rej
==================================================

PATCH COMMAND:  patch -p2 -g0 --no-backup-if-mismatch <
/usr/portage/app-admin/bacula/files/bacula-1.36.2-cdrecord-configure.patch

==================================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uNr bacula-1.36.2/configure bacula-1.36.2-fixed/configure
|--- bacula-1.36.2/configure    2005-02-25 04:46:49.000000000 -0500
|+++ bacula-1.36.2-fixed/configure      2005-03-06 10:11:23.905848861 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==================================================

PATCH COMMAND:  patch -p3 -g0 --no-backup-if-mismatch <
/usr/portage/app-admin/bacula/files/bacula-1.36.2-cdrecord-configure.patch

==================================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uNr bacula-1.36.2/configure bacula-1.36.2-fixed/configure
|--- bacula-1.36.2/configure    2005-02-25 04:46:49.000000000 -0500
|+++ bacula-1.36.2-fixed/configure      2005-03-06 10:11:23.905848861 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==================================================

PATCH COMMAND:  patch -p4 -g0 --no-backup-if-mismatch <
/usr/portage/app-admin/bacula/files/bacula-1.36.2-cdrecord-configure.patch

==================================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uNr bacula-1.36.2/configure bacula-1.36.2-fixed/configure
|--- bacula-1.36.2/configure    2005-02-25 04:46:49.000000000 -0500
|+++ bacula-1.36.2-fixed/configure      2005-03-06 10:11:23.905848861 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

Fri Jul  1 20:43:54 2005
root@SLC7-3545003 ~
#


My Info...
# emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  7 2005, 15:02:54)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://mirrors.tds.net/gentoo http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apm artworkextra avi bacula-clientonly bacula-console
bacula-split berkdb bitmap-fonts cdparanoia cdr crypt cups curl divx4linux doc
dts dv dvd dvdread eds emboss encode esd fam foomaticdb fortran gd gdbm gnome
gpm gstreamer gtk gtk2 imagemagick imlib java jpeg junit libg++ libwww live
logrotate logwatch mad mikmod mmx mmx2 mmxext motif mozilla mp3 mpeg mysql
ncurses network nls nptl offensive ogg oggvorbis opengl pam pdflib perl png
python quicktime readline real rtc samba sdl slang snmp spell sse sse2 ssl svga
tcpd tetex tiff truetype truetype-fonts type1-fonts unicode v4l v4l2 vorbis xine
xml2 xmms xv xvid yv12 zlib video_cards_radeon userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge -avD bacula
3.

Actual Results:  
Received an error stating that a patch had failed.

Expected Results:  
emerged

If I remove the line referencing the patch, I can get past this error, it
appears that the patch file refers to the 1.36.2 configure file, but when
changing the patch file to point to 1.36.3, it still fails.
Comment 1 Fernando Serboncini (RETIRED) gentoo-dev 2005-07-02 21:02:21 UTC
Please check the new 1.36.3-r1 ebuild. If the bug still persists, please reopen.
Comment 2 David Snider 2005-07-03 08:22:45 UTC
(In reply to comment #1)
> Please check the new 1.36.3-r1 ebuild. If the bug still persists, please reopen.

Everything worked great with 1.36.3-r1.  Thanks, FYI, I logged three bugs and
this resolves all of them:

97679
97680
97686