Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Patch failed with qmail-scanner 2.01
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
deurk
Apprentice
Apprentice


Joined: 11 Mar 2003
Posts: 190
Location: Earth 1.3

PostPosted: Wed May 31, 2006 9:10 am    Post subject: Patch failed with qmail-scanner 2.01 Reply with quote

Tried to
Code:
[root@busyboy] ~# emerge -uaDv world

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

Calculating world dependencies ...done!
[ebuild     U ] mail-filter/qmail-scanner-2.01 [1.25-r1] +spamassassin 0 kB


but got this result:

Code:
>>> emerge (1 of 3) mail-filter/qmail-scanner-2.01 to /
>>> md5 files   ;-) qmail-scanner-2.01.ebuild
>>> md5 files   ;-) qmail-scanner-1.25-r1.ebuild
>>> md5 files   ;-) files/qmailscanner.cronjob
>>> md5 files   ;-) files/digest-qmail-scanner-2.01
>>> md5 files   ;-) files/qmailscanner.logrotate
>>> md5 files   ;-) files/qmail-scanner-queue.pl.patch
>>> md5 files   ;-) files/digest-qmail-scanner-1.25-r1
>>> md5 src_uri ;-) qmail-scanner-2.01.tgz
>>> md5 src_uri ;-) q-s-2.01st-20060423.patch.gz
>>> 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/28118.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/qmail-scanner-2.01/temp/q-s-2.01st-20060423.patch.gz-28118.out


!!! ERROR: mail-filter/qmail-scanner-2.01 failed.
!!! Function epatch, Line 339, Exitcode 0
!!! Failed Patch: q-s-2.01st-20060423.patch.gz!
!!! If you need support, post the topmost build error, NOT this status message.


Here is the .out file:
Code:
[root@busyboy] ~# cat /var/tmp/portage/qmail-scanner-2.01/temp/q-s-2.01st-20060423.patch.gz-28118.out
***** q-s-2.01st-20060423.patch.gz *****

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

PIPE_COMMAND:  gzip -dc /usr/portage/distfiles/q-s-2.01st-20060423.patch.gz > /var/tmp/portage/qmail-scanner-2.01/temp/28118.patch
PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/qmail-scanner-2.01/temp/28118.patch

========================================
patching file qmail-scanner-2.01/CHANGELOG-st-patch.html
patching file qmail-scanner-2.01/CHANGELOG-st-patch.txt
patching file qmail-scanner-2.01/README-st-patch.html
patching file qmail-scanner-2.01/README-st-patch.txt
can't find file to patch at input line 1953
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/README.html qmail-scanner-2.01/README.html
|--- qmail-scanner-2.01.distro/README.html      2006-04-04 02:00:08.000000000 +0000
|+++ qmail-scanner-2.01/README.html     2006-04-04 01:33:11.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
patching file qmail-scanner-2.01/aab.js
can't find file to patch at input line 1979
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/configure qmail-scanner-2.01/configure
|--- qmail-scanner-2.01.distro/configure        2006-04-04 21:37:03.000000000 +0000
|+++ qmail-scanner-2.01/configure       2006-04-23 09:49:49.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
58 out of 58 hunks ignored
patching file qmail-scanner-2.01/configure-options.html
The next patch would delete the file qmail-scanner-2.01/configure-options.php,
which does not exist!  Applying it anyway.
can't find file to patch at input line 4175
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/configure-options.php qmail-scanner-2.01/configure-options.php
|--- qmail-scanner-2.01.distro/configure-options.php    2005-06-08 22:44:12.000000000 +0000
|+++ qmail-scanner-2.01/configure-options.php   1970-01-01 00:00:00.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
patching file qmail-scanner-2.01/configure-options.txt
The next patch would delete the file qmail-scanner-2.01/index.php,
which does not exist!  Applying it anyway.
can't find file to patch at input line 4727
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/index.php qmail-scanner-2.01/index.php
|--- qmail-scanner-2.01.distro/index.php        2006-04-04 02:00:08.000000000 +0000
|+++ qmail-scanner-2.01/index.php       1970-01-01 00:00:00.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
patching file qmail-scanner-2.01/log-report.sh
can't find file to patch at input line 5223
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/qmail-scanner-queue.template qmail-scanner-2.01/qmail-scanner-queue.template
|--- qmail-scanner-2.01.distro/qmail-scanner-queue.template     2006-04-04 02:00:17.000000000 +0000
|+++ qmail-scanner-2.01/qmail-scanner-queue.template    2006-04-23 08:38:56.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
72 out of 72 hunks ignored
patching file qmail-scanner-2.01/quarantine-events.html
can't find file to patch at input line 6809
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/quarantine-events.txt qmail-scanner-2.01/quarantine-events.txt
|--- qmail-scanner-2.01.distro/quarantine-events.txt    2006-01-26 03:34:27.000000000 +0000
|+++ qmail-scanner-2.01/quarantine-events.txt   2006-03-15 17:18:41.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
patching file qmail-scanner-2.01/requeue.html
patching file qmail-scanner-2.01/sa-alt.html
patching file qmail-scanner-2.01/settings_per_domain.html
patching file qmail-scanner-2.01/settings_per_domain.txt
can't find file to patch at input line 7377
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/sub-attachments.pl qmail-scanner-2.01/sub-attachments.pl
|--- qmail-scanner-2.01.distro/sub-attachments.pl       2006-03-26 21:09:53.000000000 +0000
|+++ qmail-scanner-2.01/sub-attachments.pl      2006-04-05 16:49:37.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 7414
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/sub-avgd.template qmail-scanner-2.01/sub-avgd.template
|--- qmail-scanner-2.01.distro/sub-avgd.template        2005-05-18 22:35:38.000000000 +0000
|+++ qmail-scanner-2.01/sub-avgd.template       2006-02-26 10:30:45.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
8 out of 8 hunks ignored
can't find file to patch at input line 7487
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/sub-avp.pl qmail-scanner-2.01/sub-avp.pl
|--- qmail-scanner-2.01.distro/sub-avp.pl       2005-04-28 00:56:33.000000000 +0000
|+++ qmail-scanner-2.01/sub-avp.pl      2006-02-26 10:34:40.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 7504
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/sub-bitdefender.pl qmail-scanner-2.01/sub-bitdefender.pl
|--- qmail-scanner-2.01.distro/sub-bitdefender.pl       2004-06-02 23:13:40.000000000 +0000
|+++ qmail-scanner-2.01/sub-bitdefender.pl      2006-02-26 15:20:53.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 7526
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/sub-clamdscan.pl qmail-scanner-2.01/sub-clamdscan.pl
|--- qmail-scanner-2.01.distro/sub-clamdscan.pl 2004-10-18 01:40:36.000000000 +0000
|+++ qmail-scanner-2.01/sub-clamdscan.pl        2006-02-26 15:20:25.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored
can't find file to patch at input line 7556
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/sub-clamscan.pl qmail-scanner-2.01/sub-clamscan.pl
|--- qmail-scanner-2.01.distro/sub-clamscan.pl  2004-04-20 04:04:15.000000000 +0000
|+++ qmail-scanner-2.01/sub-clamscan.pl 2006-02-26 15:24:39.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 7581
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/sub-csav.pl qmail-scanner-2.01/sub-csav.pl
|--- qmail-scanner-2.01.distro/sub-csav.pl      2004-04-20 03:59:50.000000000 +0000
|+++ qmail-scanner-2.01/sub-csav.pl     2006-02-26 10:37:50.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 7598
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/sub-fprot.pl qmail-scanner-2.01/sub-fprot.pl
|--- qmail-scanner-2.01.distro/sub-fprot.pl     2004-04-20 04:05:02.000000000 +0000
|+++ qmail-scanner-2.01/sub-fprot.pl    2006-02-26 15:21:15.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 7615
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/sub-fsecure.pl qmail-scanner-2.01/sub-fsecure.pl
|--- qmail-scanner-2.01.distro/sub-fsecure.pl   2004-04-20 04:24:41.000000000 +0000
|+++ qmail-scanner-2.01/sub-fsecure.pl  2006-02-26 15:21:39.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 7632
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/sub-hbedv.pl qmail-scanner-2.01/sub-hbedv.pl
|--- qmail-scanner-2.01.distro/sub-hbedv.pl     2004-04-20 03:57:07.000000000 +0000
|+++ qmail-scanner-2.01/sub-hbedv.pl    2006-02-26 15:22:11.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 7650
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/sub-inocucmd.pl qmail-scanner-2.01/sub-inocucmd.pl
|--- qmail-scanner-2.01.distro/sub-inocucmd.pl  2004-04-20 04:21:50.000000000 +0000
|+++ qmail-scanner-2.01/sub-inocucmd.pl 2006-02-26 15:22:35.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 7669
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/sub-iscan.pl qmail-scanner-2.01/sub-iscan.pl
|--- qmail-scanner-2.01.distro/sub-iscan.pl     2004-04-20 04:22:11.000000000 +0000
|+++ qmail-scanner-2.01/sub-iscan.pl    2006-02-26 15:22:59.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 7686
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/sub-nod32.pl qmail-scanner-2.01/sub-nod32.pl
|--- qmail-scanner-2.01.distro/sub-nod32.pl     2006-03-23 01:11:41.000000000 +0000
|+++ qmail-scanner-2.01/sub-nod32.pl    2006-04-05 16:54:52.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 7703
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/sub-normalize.pl qmail-scanner-2.01/sub-normalize.pl
|--- qmail-scanner-2.01.distro/sub-normalize.pl 2006-03-26 21:35:22.000000000 +0000
|+++ qmail-scanner-2.01/sub-normalize.pl        2006-02-26 10:44:32.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
patching file qmail-scanner-2.01/sub-patch-st.pl
can't find file to patch at input line 8085
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/sub-ravlin.pl qmail-scanner-2.01/sub-ravlin.pl
|--- qmail-scanner-2.01.distro/sub-ravlin.pl    2003-09-29 00:17:22.000000000 +0000
|+++ qmail-scanner-2.01/sub-ravlin.pl   2006-02-26 15:18:35.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 8111
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/sub-sophie.template qmail-scanner-2.01/sub-sophie.template
|--- qmail-scanner-2.01.distro/sub-sophie.template      2006-01-31 09:05:30.000000000 +0000
|+++ qmail-scanner-2.01/sub-sophie.template     2006-02-26 10:53:14.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored
can't find file to patch at input line 8144
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/sub-spamassassin.pl qmail-scanner-2.01/sub-spamassassin.pl
|--- qmail-scanner-2.01.distro/sub-spamassassin.pl      2006-01-25 03:42:43.000000000 +0000
|+++ qmail-scanner-2.01/sub-spamassassin.pl     2006-04-13 11:26:07.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 8486
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/sub-sweep.template qmail-scanner-2.01/sub-sweep.template
|--- qmail-scanner-2.01.distro/sub-sweep.template       2004-04-20 03:55:13.000000000 +0000
|+++ qmail-scanner-2.01/sub-sweep.template      2006-02-26 15:23:49.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 8503
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/sub-trophie.template qmail-scanner-2.01/sub-trophie.template
|--- qmail-scanner-2.01.distro/sub-trophie.template     2004-05-04 01:22:15.000000000 +0000
|+++ qmail-scanner-2.01/sub-trophie.template    2006-02-26 15:24:15.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored
can't find file to patch at input line 8536
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/sub-uvscan.pl qmail-scanner-2.01/sub-uvscan.pl
|--- qmail-scanner-2.01.distro/sub-uvscan.pl    2005-01-28 10:46:16.000000000 +0000
|+++ qmail-scanner-2.01/sub-uvscan.pl   2006-02-26 10:55:43.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 8553
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur qmail-scanner-2.01.distro/sub-vexira.pl qmail-scanner-2.01/sub-vexira.pl
|--- qmail-scanner-2.01.distro/sub-vexira.pl    2004-09-27 00:15:48.000000000 +0000
|+++ qmail-scanner-2.01/sub-vexira.pl   2006-02-26 15:19:03.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
patching file qmail-scanner-2.01/testingreject.html
========================================

PIPE_COMMAND:  gzip -dc /usr/portage/distfiles/q-s-2.01st-20060423.patch.gz > /var/tmp/portage/qmail-scanner-2.01/temp/28118.patch
PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/qmail-scanner-2.01/temp/28118.patch

========================================
patching file CHANGELOG-st-patch.html
patching file CHANGELOG-st-patch.txt
patching file README-st-patch.html
patching file README-st-patch.txt
patching file README.html
patching file aab.js
patching file configure
patching file configure-options.html
patching file configure-options.php
patching file configure-options.txt
patching file index.php
patching file log-report.sh
patching file qmail-scanner-queue.template
patching file quarantine-events.html
patching file quarantine-events.txt
patching file requeue.html
patching file sa-alt.html
patching file settings_per_domain.html
patching file settings_per_domain.txt
patching file sub-attachments.pl
patching file sub-avgd.template
patching file sub-avp.pl
patching file sub-bitdefender.pl
patching file sub-clamdscan.pl
patching file sub-clamscan.pl
patching file sub-csav.pl
patching file sub-fprot.pl
patching file sub-fsecure.pl
patching file sub-hbedv.pl
patching file sub-inocucmd.pl
patching file sub-iscan.pl
patching file sub-nod32.pl
patching file sub-normalize.pl
patching file sub-patch-st.pl
patching file sub-ravlin.pl
patching file sub-sophie.template
patching file sub-spamassassin.pl
patching file sub-sweep.template
patching file sub-trophie.template
patching file sub-uvscan.pl
patching file sub-vexira.pl
patching file testingreject.html
========================================

ACTUALLY APPLYING q-s-2.01st-20060423.patch.gz ...

========================================
patching file CHANGELOG-st-patch.html
patching file CHANGELOG-st-patch.txt
patching file README-st-patch.html
patching file README-st-patch.txt
patching file README.html
patching file aab.js
patching file configure
patching file configure-options.html
patching file configure-options.php
patching file configure-options.txt
patching file index.php
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file index.php.rej
patching file log-report.sh
patching file qmail-scanner-queue.template
patching file quarantine-events.html
patching file quarantine-events.txt
patching file requeue.html
patching file sa-alt.html
patching file settings_per_domain.html
patching file settings_per_domain.txt
patching file sub-attachments.pl
patching file sub-avgd.template
patching file sub-avp.pl
patching file sub-bitdefender.pl
patching file sub-clamdscan.pl
patching file sub-clamscan.pl
patching file sub-csav.pl
patching file sub-fprot.pl
patching file sub-fsecure.pl
patching file sub-hbedv.pl
patching file sub-inocucmd.pl
patching file sub-iscan.pl
patching file sub-nod32.pl
patching file sub-normalize.pl
patching file sub-patch-st.pl
patching file sub-ravlin.pl
patching file sub-sophie.template
patching file sub-spamassassin.pl
patching file sub-sweep.template
patching file sub-trophie.template
patching file sub-uvscan.pl
patching file sub-vexira.pl
patching file testingreject.html


Anybody had more luck with this?
Back to top
View user's profile Send private message
rusxakep
Guru
Guru


Joined: 09 Jul 2004
Posts: 458

PostPosted: Wed May 31, 2006 9:44 am    Post subject: Reply with quote

Reported.

https://bugs.gentoo.org/show_bug.cgi?id=135012
Back to top
View user's profile Send private message
deurk
Apprentice
Apprentice


Joined: 11 Mar 2003
Posts: 190
Location: Earth 1.3

PostPosted: Fri Jun 02, 2006 6:25 am    Post subject: Reply with quote

Actually https://bugs.gentoo.org/show_bug.cgi?id=134826
Back to top
View user's profile Send private message
gotcrax
n00b
n00b


Joined: 21 May 2006
Posts: 5

PostPosted: Sat Jun 03, 2006 12:36 am    Post subject: Reply with quote

any fixes yet ???
Back to top
View user's profile Send private message
deurk
Apprentice
Apprentice


Joined: 11 Mar 2003
Posts: 190
Location: Earth 1.3

PostPosted: Sat Jun 03, 2006 10:57 am    Post subject: Reply with quote

No official one yet, but you can find a working patch in the bug report.
Back to top
View user's profile Send private message
gotcrax
n00b
n00b


Joined: 21 May 2006
Posts: 5

PostPosted: Wed Jun 07, 2006 3:10 pm    Post subject: Reply with quote

Thanks that worked !!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum