Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430830 - net-dialup/ppp-2.4.5-r3[dhcp] - Failed Patch: 85_all_dhcp-make-vars.patch !
Summary: net-dialup/ppp-2.4.5-r3[dhcp] - Failed Patch: 85_all_dhcp-make-vars.patch !
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-08-10 21:38 UTC by tman
Modified: 2012-09-22 20:11 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/log/portage/net-dialup:ppp-2.4.5-r3:20120810-213351.log (net-dialup:ppp-2.4.5-r3:20120810-213351.log,2.54 KB, text/plain)
2012-08-10 21:41 UTC, tman
Details
ppp-2.4.5-r3.ebuild-dhcp-fix.patch (ppp-2.4.5-r3.ebuild-dhcp-fix.patch,1.00 KB, patch)
2012-08-12 07:19 UTC, Andrey Volkov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2012-08-10 21:38:58 UTC
ERROR: prepare                                                                                                                                                                                                                                                                       │
│Failed Patch: 85_all_dhcp-make-vars.patch !                                                                                                                                                                                                                                          │
│ ( /var/tmp/portage/net-dialup/ppp-2.4.5-r3/work/patch/85_all_dhcp-make-vars.patch )                                                                                                                                                                                                 │
│                                                                                                                                                                                                                                                                                     │
│Include in your bugreport the contents of:                                                                                                                                                                                                                                           │
│                                                                                                                                                                                                                                                                                     │
│  /var/tmp/portage/net-dialup/ppp-2.4.5-r3/temp/85_all_dhcp-make-vars.patch.out                                                                                                                                                                                                      │
│ERROR: net-dialup/ppp-2.4.5-r3 failed (prepare phase):                                                                                                                                                                                                                               │
│  Failed Patch: 85_all_dhcp-make-vars.patch!                                                                                                                                                                                                                                         │
│                                                                                                                                                                                                                                                                                     │
│Call stack:                                                                                                                                                                                                                                                                          │
│    ebuild.sh, line   85:  Called src_prepare                                                                                                                                                                                                                                        │
│  environment, line 3266:  Called epatch '/var/tmp/portage/net-dialup/ppp-2.4.5-r3/work/patch'                                                                                                                                                                                       │
│  environment, line 1333:  Called die                                                                                                                                                                                                                                                │
│The specific snippet of code:                                                                                                                                                                                                                                                        │
│              die "Failed Patch: ${patchname}!";                           

Reproducible: Always




Portage 2.2.0_alpha120_p32 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.15-r2, 3.5.0-gentoo x86_64)
=================================================================
System uname: Linux-3.5.0-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.1
Timestamp of tree: Fri, 10 Aug 2012 21:00:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          9999
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.2
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo mpd science scarabeus luman nikai emacs java-overlay mgorny qt gnome gamerlay-stable Techwolf poly-c wirelay ruby lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/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"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en vi"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
Comment 1 tman 2012-08-10 21:41:53 UTC
Created attachment 320926 [details]
/var/log/portage/net-dialup:ppp-2.4.5-r3:20120810-213351.log
Comment 2 brot 2012-08-11 11:40:42 UTC
I can confirm this issue.

 * ERROR: net-dialup/ppp-2.4.5-r3 failed (prepare phase):
 *   Failed Patch: 85_all_dhcp-make-vars.patch!


-----

brotscheibe libvirt # cat /var/tmp/portage/net-dialup/ppp-2.4.5-r3/temp/85_all_dhcp-make-vars.patch.out
***** 85_all_dhcp-make-vars.patch *****
PWD: /var/tmp/portage/net-dialup/ppp-2.4.5-r3/work/ppp-2.4.5

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

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch  < '/var/tmp/portage/net-dialup/ppp-2.4.5-r3/work/patch/85_all_dhcp-make-vars.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 -Nru ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile ppp-2.4.3/pppd/plugins/dhcp/Makefile
|--- ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile  2002-09-30 13:21:58.000000000 +0300
|+++ ppp-2.4.3/pppd/plugins/dhcp/Makefile       2006-05-07 19:40:49.603186500 +0300
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile.linux ppp-2.4.3/pppd/plugins/dhcp/Makefile.linux
|--- ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile.linux    2002-09-30 13:21:58.000000000 +0300
|+++ ppp-2.4.3/pppd/plugins/dhcp/Makefile.linux 2006-05-07 19:40:49.603186500 +0300
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored

patch program exited with status 1
=======================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch  < '/var/tmp/portage/net-dialup/ppp-2.4.5-r3/work/patch/85_all_dhcp-make-vars.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 -Nru ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile ppp-2.4.3/pppd/plugins/dhcp/Makefile
|--- ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile  2002-09-30 13:21:58.000000000 +0300
|+++ ppp-2.4.3/pppd/plugins/dhcp/Makefile       2006-05-07 19:40:49.603186500 +0300
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile.linux ppp-2.4.3/pppd/plugins/dhcp/Makefile.linux
|--- ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile.linux    2002-09-30 13:21:58.000000000 +0300
|+++ ppp-2.4.3/pppd/plugins/dhcp/Makefile.linux 2006-05-07 19:40:49.603186500 +0300
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored

patch program exited with status 1
=======================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch  < '/var/tmp/portage/net-dialup/ppp-2.4.5-r3/work/patch/85_all_dhcp-make-vars.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 -Nru ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile ppp-2.4.3/pppd/plugins/dhcp/Makefile
|--- ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile  2002-09-30 13:21:58.000000000 +0300
|+++ ppp-2.4.3/pppd/plugins/dhcp/Makefile       2006-05-07 19:40:49.603186500 +0300
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile.linux ppp-2.4.3/pppd/plugins/dhcp/Makefile.linux
|--- ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile.linux    2002-09-30 13:21:58.000000000 +0300
|+++ ppp-2.4.3/pppd/plugins/dhcp/Makefile.linux 2006-05-07 19:40:49.603186500 +0300
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored

patch program exited with status 1
=======================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch  < '/var/tmp/portage/net-dialup/ppp-2.4.5-r3/work/patch/85_all_dhcp-make-vars.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 -Nru ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile ppp-2.4.3/pppd/plugins/dhcp/Makefile
|--- ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile  2002-09-30 13:21:58.000000000 +0300
|+++ ppp-2.4.3/pppd/plugins/dhcp/Makefile       2006-05-07 19:40:49.603186500 +0300
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile.linux ppp-2.4.3/pppd/plugins/dhcp/Makefile.linux
|--- ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile.linux    2002-09-30 13:21:58.000000000 +0300
|+++ ppp-2.4.3/pppd/plugins/dhcp/Makefile.linux 2006-05-07 19:40:49.603186500 +0300
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored

patch program exited with status 1
=======================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch  < '/var/tmp/portage/net-dialup/ppp-2.4.5-r3/work/patch/85_all_dhcp-make-vars.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 -Nru ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile ppp-2.4.3/pppd/plugins/dhcp/Makefile
|--- ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile  2002-09-30 13:21:58.000000000 +0300
|+++ ppp-2.4.3/pppd/plugins/dhcp/Makefile       2006-05-07 19:40:49.603186500 +0300
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile.linux ppp-2.4.3/pppd/plugins/dhcp/Makefile.linux
|--- ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile.linux    2002-09-30 13:21:58.000000000 +0300
|+++ ppp-2.4.3/pppd/plugins/dhcp/Makefile.linux 2006-05-07 19:40:49.603186500 +0300
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored

patch program exited with status 1
Comment 3 Andrey Volkov 2012-08-12 07:19:17 UTC
Created attachment 321068 [details, diff]
ppp-2.4.5-r3.ebuild-dhcp-fix.patch

This problem caused by src_prepare ("mv" and "epatch") misordering.
I made ppp-2.4.5-r3.ebuild-dhcp-fix.patch to fix this error.
Comment 4 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2012-08-12 19:22:55 UTC
Confirmed by me too
Comment 5 Daniel Troeder 2012-08-14 07:37:34 UTC
ppp-2.4.5-r3.ebuild-dhcp-fix.patch works for me
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2012-08-17 09:22:35 UTC
CC qa@ since there hasn't been working dialup for ~arch in a week now.
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2012-08-18 14:10:44 UTC
Vapier broke this with his bump (and he is not in the herd).

Another example why conditional patches are always stupid.

Fixed in cvs.
Comment 8 SpanKY gentoo-dev 2012-08-18 15:51:06 UTC
(In reply to comment #6)

not really the first nor the last that ppp will be in this situation
Comment 9 Attila Tóth 2012-09-10 00:04:33 UTC
(In reply to comment #8)
> (In reply to comment #6)
> 
> not really the first nor the last that ppp will be in this situation

I run into this bug on two systems. What is the suggested resolution? The bug marked as fixed.
Comment 10 SpanKY gentoo-dev 2012-09-10 05:38:18 UTC
(In reply to comment #9)

make sure your tree is fully synced
Comment 11 Shubhadeep Chaudhuri 2012-09-21 12:28:48 UTC
I'm still running into this. Has the bug come up again?
Comment 12 Attila Tóth 2012-09-21 23:20:12 UTC
(In reply to comment #11)
> I'm still running into this. Has the bug come up again?

I still have it and it requires manual interaction to get the ebuild compiled.
Comment 13 Attila Tóth 2012-09-21 23:21:42 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > I'm still running into this. Has the bug come up again?
> 
> I still have it and it requires manual interaction to get the ebuild
> compiled.

Unless something has been changed since the last sync I tried.
I synced a couple of days after SpanKY asked me to and it was still the same by that time. Should I give it another spin?
Comment 14 SpanKY gentoo-dev 2012-09-22 18:45:35 UTC
works fine for me with USE=dhcp and USE=-dhcp

post the exact output of `emerge -qpv ppp`, and attach the .out file to this bug
Comment 15 Attila Tóth 2012-09-22 20:11:58 UTC
(In reply to comment #14)
> works fine for me with USE=dhcp and USE=-dhcp
> 
> post the exact output of `emerge -qpv ppp`, and attach the .out file to this
> bug

***
emerge -qpv ppp
[ebuild   R   ] net-dialup/ppp-2.4.5-r3  USE="dhcp gtk ipv6 pam -activefilter -atm -eap-tls -radius"
***

***
cat /var/tmp/portage/net-dialup/ppp-2.4.5-r3/temp/85_all_dhcp-make-vars.patch.out
***** 85_all_dhcp-make-vars.patch *****
PWD: /var/tmp/portage/net-dialup/ppp-2.4.5-r3/work/ppp-2.4.5

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

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch  < '/var/tmp/portage/net-dialup/ppp-2.4.5-r3/work/patch/85_all_dhcp-make-vars.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 -Nru ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile ppp-2.4.3/pppd/plugins/dhcp/Makefile
|--- ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile  2002-09-30 13:21:58.000000000 +0300
|+++ ppp-2.4.3/pppd/plugins/dhcp/Makefile       2006-05-07 19:40:49.603186500 +0300
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile.linux ppp-2.4.3/pppd/plugins/dhcp/Makefile.linux
|--- ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile.linux    2002-09-30 13:21:58.000000000 +0300
|+++ ppp-2.4.3/pppd/plugins/dhcp/Makefile.linux 2006-05-07 19:40:49.603186500 +0300
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored

patch program exited with status 1
=======================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch  < '/var/tmp/portage/net-dialup/ppp-2.4.5-r3/work/patch/85_all_dhcp-make-vars.patch'

=======================================
File pppd/plugins/dhcp/Makefile is not a regular file -- can't patch
2 out of 2 hunks ignored -- saving rejects to file pppd/plugins/dhcp/Makefile.rej
patching file pppd/plugins/dhcp/Makefile.linux

patch program exited with status 1
=======================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch  < '/var/tmp/portage/net-dialup/ppp-2.4.5-r3/work/patch/85_all_dhcp-make-vars.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 -Nru ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile ppp-2.4.3/pppd/plugins/dhcp/Makefile
|--- ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile  2002-09-30 13:21:58.000000000 +0300
|+++ ppp-2.4.3/pppd/plugins/dhcp/Makefile       2006-05-07 19:40:49.603186500 +0300
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile.linux ppp-2.4.3/pppd/plugins/dhcp/Makefile.linux
|--- ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile.linux    2002-09-30 13:21:58.000000000 +0300
|+++ ppp-2.4.3/pppd/plugins/dhcp/Makefile.linux 2006-05-07 19:40:49.603186500 +0300
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored

patch program exited with status 1
=======================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch  < '/var/tmp/portage/net-dialup/ppp-2.4.5-r3/work/patch/85_all_dhcp-make-vars.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 -Nru ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile ppp-2.4.3/pppd/plugins/dhcp/Makefile
|--- ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile  2002-09-30 13:21:58.000000000 +0300
|+++ ppp-2.4.3/pppd/plugins/dhcp/Makefile       2006-05-07 19:40:49.603186500 +0300
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile.linux ppp-2.4.3/pppd/plugins/dhcp/Makefile.linux
|--- ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile.linux    2002-09-30 13:21:58.000000000 +0300
|+++ ppp-2.4.3/pppd/plugins/dhcp/Makefile.linux 2006-05-07 19:40:49.603186500 +0300
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored

patch program exited with status 1
=======================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch  < '/var/tmp/portage/net-dialup/ppp-2.4.5-r3/work/patch/85_all_dhcp-make-vars.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 -Nru ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile ppp-2.4.3/pppd/plugins/dhcp/Makefile
|--- ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile  2002-09-30 13:21:58.000000000 +0300
|+++ ppp-2.4.3/pppd/plugins/dhcp/Makefile       2006-05-07 19:40:49.603186500 +0300
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile.linux ppp-2.4.3/pppd/plugins/dhcp/Makefile.linux
|--- ppp-2.4.3.orig/pppd/plugins/dhcp/Makefile.linux    2002-09-30 13:21:58.000000000 +0300
|+++ ppp-2.4.3/pppd/plugins/dhcp/Makefile.linux 2006-05-07 19:40:49.603186500 +0300
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored

patch program exited with status 1
***

Here is how I can actually make it compile:
1 ebuild unpack
2 cd work/patches
3 move 8*dhcp patches away
4 ebuild prepare
5 delete Makefile from 85- patch, since it's a link to Makefile.linux
6 apply moved patches by hand
7 ebuild compile, intall, qmerge

I don't use any overlays with ppp. I use anarchy's overlay, but I don't think there's any problem with patch. It seems to work fine everywhere else.

Regards:
Dw.