Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 238346
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Lance Albertson <ramereth@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Peter Bleszynski <bleszynski@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
cronolog-large-file-patch.txt-2310.out cronolog-large-file-patch.txt-2310.out text/plain Peter Bleszynski 2008-09-22 01:55 0000 2.55 KB Details
cronolog-large-file-patch.txt /usr/portage/app-admin/cronolog/files/1.6.2-patches/cronolog-large-file-patch.txt text/plain Thomas Beutin 2008-09-28 14:00 0000 819 bytes Details
cronolog-missing-symlink-patch.txt /usr/portage/app-admin/cronolog/files/1.6.2-patches/cronolog-missing-symlink-patch.txt text/plain Thomas Beutin 2008-09-28 14:04 0000 322 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 238346 depends on: 237667 Show dependency tree
Bug 238346 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: 2008-09-22 01:51 0000
The same error occurs in both x86 and amd64:


>>> Unpacking source...
>>> Unpacking cronolog-1.6.2.tar.gz to /var/tmp/portage/app-admin/cronolog-1.6.2-r3/work
 * Applying cronolog-define-strptime.patch.txt ...                          [
ok ]
 * Applying cronolog-doc.patch.txt ...                                      [
ok ]
 * Applying cronolog-getopt-long.patch.txt ...                              [
ok ]
 * Applying cronolog-large-file-patch.txt ...

 * Failed Patch: cronolog-large-file-patch.txt !
 *  (
/usr/portage/app-admin/cronolog/files/1.6.2-patches/cronolog-large-file-patch.txt
)
 *
 * Include in your bugreport the contents of:
 *
 *  
/var/tmp/portage/app-admin/cronolog-1.6.2-r3/temp/cronolog-large-file-patch.txt-2310.out

 *
 * ERROR: app-admin/cronolog-1.6.2-r3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2634:  Called epatch 'src_unpack' 'src_unpack'
'/usr/portage/app-admin/cronolog/files/1.6.2-patches/cronolog-define-strptime.patch.txt'
'/usr/portage/app-admin/cronolog/files/1.6.2-patches/cronolog-doc.patch.txt'
'/usr/portage/app-admin/cronolog/files/1.6.2-patches/cronolog-getopt-long.patch.txt'
'/usr/portage/app-admin/cronolog/files/1.6.2-patches/cronolog-large-file-patch.txt'
'/usr/portage/app-admin/cronolog/files/1.6.2-patches/cronolog-missing-symlink-patch.txt'
'/usr/portage/app-admin/cronolog/files/1.6.2-patches/cronolog-setugid-patch.txt'
 *             environment, line 1489:  Called epatch
'/usr/portage/app-admin/cronolog/files/1.6.2-patches/cronolog-sigusr1-patch.txt'
 *             environment, line 1625:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: cronolog-large-file-patch.txt!


Reproducible: Always

Steps to Reproduce:
emerge app-admin/cronolog

------- Comment #1 From Peter Bleszynski 2008-09-22 01:55:59 0000 -------
Created an attachment (id=166046) [details]
cronolog-large-file-patch.txt-2310.out

attaching cronolog-large-file-patch.txt-2310.out

------- Comment #2 From Evert 2008-09-23 11:24:47 0000 -------
confirmed, on 2 different machines

------- Comment #3 From Thomas Beutin 2008-09-23 15:20:32 0000 -------
confirmed on 4 different machines (x86 & amd64)

------- Comment #4 From Peter Bleszynski 2008-09-23 17:26:42 0000 -------
The prior cronolog-1.6.2-r2 is now also affected by this same error.  Something
external to cronolog must have changed recently and brought out this bug.

------- Comment #5 From Evert 2008-09-25 12:33:21 0000 -------
Strange, by hand the patching succeeds!

# cd /compile/portage/app-admin/cronolog-1.6.2-r3/work/cronolog-1.6.2/src
# patch -p1 -g0 -E --no-backup-if-mismatch <
/usr/portage/app-admin/cronolog/files/1.6.2-patches/cronolog-large-file-patch.txt
patching file cronolog.c
Hunk #2 succeeded at 397 (offset 1 line).

------- Comment #6 From Evert 2008-09-25 13:27:14 0000 -------
I found a solution:

cd /usr/portage/app-admin/cronolog/files/1.6.2-patches
vi cronolog-large-file-patch.txt cronolog-missing-symlink-patch.txt

replace /tmp for tmp in the first line of both files.
After that:

cd /usr/portage/app-admin/cronolog
ebuild cronolog-1.6.2-r3.ebuild digest
emerge -1 cronolog

------- Comment #7 From Calum 2008-09-27 17:04:49 0000 -------
That work-around works for me. (AMD64)

------- Comment #8 From Peter Bleszynski 2008-09-27 21:10:12 0000 -------
It works for me too.  (x86 & amd64)

------- Comment #9 From Thomas Beutin 2008-09-28 13:56:36 0000 -------
 (In reply to comment #6)
> I found a solution:
[...]
it works for me too
i'll attach the corrected patches

------- Comment #10 From Thomas Beutin 2008-09-28 14:00:19 0000 -------
Created an attachment (id=166677) [details]
/usr/portage/app-admin/cronolog/files/1.6.2-patches/cronolog-large-file-patch.txt

changed as suggested in
Comment  #6 From Evert  2008-09-25 13:27:14 0000

------- Comment #11 From Thomas Beutin 2008-09-28 14:04:42 0000 -------
Created an attachment (id=166679) [details]
/usr/portage/app-admin/cronolog/files/1.6.2-patches/cronolog-missing-symlink-patch.txt

changed as suggested in
Comment  #6 From Evert  2008-09-25 13:27:14 0000

------- Comment #12 From Benedikt Böhm 2008-09-29 19:49:26 0000 -------
fixed in cvs

------- Comment #13 From SpanKY 2008-11-20 16:18:28 0000 -------
*** Bug 247695 has been marked as a duplicate of this bug. ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug