First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 134826
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Qmail Team <qmail-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mehmet Kemal EROL <bug.hunter@gmx.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
q-s-2.01st-20060423.patch.gz-12611.out q-s-2.01st-20060423.patch.gz-12611.out text/plain Mehmet Kemal EROL 2006-05-29 14:25 0000 17.46 KB Details
q-s-2.01st-20060423.patch.gz-15584.out the offending patch in question patch joe cave 2006-05-31 17:38 0000 17.42 KB Details | Diff
q-s-2.01st-20060423a.patch.gz modified 20060423 patch for gentoo ebuild application/octet-stream Steffen 2006-06-02 07:20 0000 95.49 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 134826 depends on: Show dependency tree
Bug 134826 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-05-29 14:22 0000
When I tried to merge `qmail-scanner-2.01' it failed, like:

>>> Unpacking source...
>>> Unpacking qmail-scanner-2.01.tgz to /var/tmp/portage/qmail-scanner-2.01/work
>>> Unpacking q-s-2.01st-20060423.patch.gz to /var/tmp/portage/qmail-scanner-2.01/work
 * Applying q-s-2.01st-20060423.patch.gz ...

 * A dry-run of patch command succeeded, but actually
 * applying the patch failed!

 * Failed Patch: q-s-2.01st-20060423.patch.gz !
 *  ( /var/tmp/portage/qmail-scanner-2.01/temp/12611.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *  
/var/tmp/portage/qmail-scanner-2.01/temp/q-s-2.01st-20060423.patch.gz-12611.out


!!! ERROR: mail-filter/qmail-scanner-2.01 failed.
Call stack:
  ebuild.sh, line 1531:   Called dyn_unpack
  ebuild.sh, line 703:   Called src_unpack
  qmail-scanner-2.01.ebuild, line 48:   Called epatch
'/var/tmp/portage/qmail-scanner-2.01/distdir/q-s-2.01st-20060423.patch.gz'
  eutils.eclass, line 339:   Called die

!!! Failed Patch: q-s-2.01st-20060423.patch.gz!
!!! If you need support, post the topmost build error, and the call stack if
relevant.

---

My `emerge --info' says:

Portage 2.1_rc3-r1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3,
2.6.16-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d/60prelink /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb
/usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains
/var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --ask --deep --verbose"
FEATURES="autoconfig candy ccache confcache digest distlocks fixpackages
metadata-transfer sandbox sfperms strict stricter userfetch userpriv
usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,-z,now -Wl,--sort-common"
LINGUAS="tr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --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="amd64 X alsa avi bitmap-fonts cli crypt cups dri eds emboss encode
foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib isdnlog jpeg kde lzw
lzw-tiff mp3 mpeg ncurses nls nptl opengl pcre pdflib perl pic png posix pppd
python qt quicktime readline reflection sdl session spell spl ssl tcpd tiff
truetype-fonts type1-fonts usb xorg xpm xv zlib elibc_glibc input_devices_dmc
input_devices_evdev input_devices_joystick input_devices_keyboard
input_devices_mouse kernel_linux linguas_tr userland_GNU video_cards_fbdev
video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa
video_cards_vga"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Mehmet Kemal EROL 2006-05-29 14:25:22 0000 -------
Created an attachment (id=87826) [details]
q-s-2.01st-20060423.patch.gz-12611.out

The relevant `patch.out' log...

------- Comment #2 From Rumen Yotov 2006-05-29 22:52:21 0000 -------
Hi,
Can confirm that too.
Assume it's due to a missing patch-file.
Checked in ebuild and files dir - no such patch file.
But to make sure will re-sync portage-tree again.
Commenting the epatch line doesn't work, so the patch is required.
PS:wget
http://toribio.apollinare.org/qmail-scanner/download/q-s-2.01st-20060423.patch.gz
Thanks.Rumen

------- Comment #3 From Rumen Yotov 2006-05-29 22:59:54 0000 -------
Hi again,
Just made an error - the patch-file is there, but it's in DISTDIR not FILESDIR.
The patches are identical, so some error with patch/patching itself.
Rumen

------- Comment #4 From Rumen Yotov 2006-05-29 23:11:31 0000 -------
Hi,
Applying the patch manually (ebuild unpack + patch) fails.
Rumen

------- Comment #5 From Jakub Moc (RETIRED) 2006-05-30 09:21:17 0000 -------
 29 May 2006; Lim Swee Tat <st_lim@gentoo.org> +qmail-scanner-2.01.ebuild:
  Version bump to 2.01

Closing. There are separate bugs about broken patch and broken digest, sorry
about this. 

------- Comment #6 From Jakub Moc (RETIRED) 2006-05-31 02:49:14 0000 -------
Uh, I've closed wrong bug, sorry about this.

------- Comment #7 From Jakub Moc (RETIRED) 2006-05-31 02:49:29 0000 -------
*** Bug 135012 has been marked as a duplicate of this bug. ***

------- Comment #8 From Marco Lopes 2006-05-31 04:45:32 0000 -------
I get the same error on a computer with a x86 class processor (Intel(R)
Pentium(R) D CPU 3.00GHz) so I'm thinking this is not an AMD64 only error!

------- Comment #9 From Jakub Moc (RETIRED) 2006-05-31 08:11:04 0000 -------
*** Bug 135047 has been marked as a duplicate of this bug. ***

------- Comment #10 From joe cave 2006-05-31 17:38:42 0000 -------
Created an attachment (id=88057) [details]
the offending patch in question

as requested:

 * Include in your bugreport the contents of:
 *
 *  
/var/tmp/portage/qmail-scanner-2.01/temp/q-s-2.01st-20060423.patch.gz-24996.out

------- Comment #11 From joe cave 2006-05-31 17:40:05 0000 -------
My error is different, but it's in regards to the same patch so posting here.

emerge of qmail-scanner returns:

>>> Unpacking q-s-2.01st-20060423.patch.gz to /var/tmp/portage/qmail-scanner-2.01/work
 * Applying q-s-2.01st-20060423.patch.gz ...

 * A dry-run of patch command succeeded, but actually
 * applying the patch failed!

 * Failed Patch: q-s-2.01st-20060423.patch.gz !
 *  ( /var/tmp/portage/qmail-scanner-2.01/temp/15584.patch )
 *
 * Include in your bugreport the contents of:
 *
 *  
/var/tmp/portage/qmail-scanner-2.01/temp/q-s-2.01st-20060423.patch.gz-15584.out


!!! ERROR: mail-filter/qmail-scanner-2.01 failed.
!!! Function epatch, Line 339, Exitcode 0
!!! Failed Patch: q-s-2.01st-20060423.patch.gz!


Here's my emerge --info:

Portage 2.0.54-r2 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r3,
2.6.14-hardened-r7 i686)
=================================================================
System uname: 2.6.14-hardened-r7 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-Os -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apache2 berkdb bzip2 crypt curl dlloader expat gd gif gmp hardened idn
jpeg mhash mysql ncurses nls pam pcre perl php pic png postgres python qmail
readline sqlite ssl tcpd udev userlocales x86 xml xml2 zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY

------- Comment #12 From joe cave 2006-05-31 17:42:17 0000 -------
(From update of attachment 88057 [details])
Sorry, posted patch out of order. Goes with my post below.

------- Comment #13 From Steffen 2006-06-02 07:20:04 0000 -------
Created an attachment (id=88186) [details]
modified 20060423 patch for gentoo ebuild

copy patch into /usr/portage/distfiles, change ebuild in overlay to utilize the
patch, rebuild manifest and reemerge. emerge qmail-scanner now works.
The attached patchfile is just a lame fixup to workaround different patch
versions, no "legitimate" version change. 

------- Comment #14 From Ben 2006-06-04 13:30:28 0000 -------
(In reply to comment #13)
> copy patch into /usr/portage/distfiles, change ebuild in overlay to utilize the
> patch, rebuild manifest and reemerge. emerge qmail-scanner now works.
> The attached patchfile is just a lame fixup to workaround different patch
> versions, no "legitimate" version change. 

Can we either push qmail-scanner-2.01 back to ~ or actually apply the fix to
the ebuild please? For now, I'm going to just mask it locally.

------- Comment #15 From Jory A. Pratt 2006-06-04 13:49:30 0000 -------
I have emailed st_lim about the problem and will let him address it. This
should have never been marked stable during the revision bump. If no action is
taken in the next few days i will make the changes myself.

------- Comment #16 From Lim Swee Tat (RETIRED) 2006-06-04 16:49:15 0000 -------
Hi,
  Been busy.  The problem has been fixed.

qmail-scanner ships with an index.php which is a symlink to README.html.  the
patch attempts to remove this file.  To fix the problem, remove the link, and
copy README.html to index.php.

My fault for bumping without checking the arch.  The arch should have been
unstable. :)

------- Comment #17 From Jakub Moc (RETIRED) 2006-06-06 07:36:10 0000 -------
*** Bug 135769 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug