Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49648 - Apache 2.0.49-r1 ebuild Fails
Summary: Apache 2.0.49-r1 ebuild Fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-01 13:52 UTC by Tommy Young
Modified: 2004-05-01 17:47 UTC (History)
2 users (show)

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


Attachments
Replacement 00_ssl_verify_client.patch (00_ssl_verify_client.patch,6.58 KB, patch)
2004-05-01 17:08 UTC, Ed Catmur
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tommy Young 2004-05-01 13:52:31 UTC
When I try to emerge apache, I get the following error.
lemonaid etc # emerge apache
Calculating dependencies ...done!
>>> emerge (1 of 1) net-www/apache-2.0.49-r1 to /
>>> md5 src_uri ;-) httpd-2.0.49.tar.gz
>>> Unpacking source...
>>> Unpacking httpd-2.0.49.tar.gz to /var/tmp/portage/apache-2.0.49-r1/work
 * Applying apache-2.0.49-gentoo.diff...                                                                                                                  [ ok ]
ssl
 * Applying 00_ssl_engine.patch...                                                                                                                        [ ok ]
 * Applying 00_ssl_verify_client.patch...

 * Failed Patch: 00_ssl_verify_client.patch!
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/apache-2.0.49-r1/temp/00_ssl_verify_client.patch-12772.out


!!! ERROR: net-www/apache-2.0.49-r1 failed.
!!! Function epatch, Line 322, Exitcode 0
!!! Failed Patch: 00_ssl_verify_client.patch!

lemonaid etc # cat /var/tmp/portage/apache-2.0.49-r1/temp/00_ssl_verify_client.patch-12772.out
***** 00_ssl_verify_client.patch *****

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

PATCH COMMAND:  patch -p0 -g0 < /usr/portage/net-www/apache/files/patches/2.0.49-r1/00_ssl_verify_client.patch

======================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** mod_ssl.h.patched  Thu Dec 18 13:11:48 2003
|--- mod_ssl.h  Thu Dec 18 13:13:19 2003
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 15
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** ssl_engine_kernel.c.patched        Thu Dec 18 13:11:39 2003
|--- ssl_engine_kernel.c        Thu Dec 18 13:15:04 2003
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 54
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** ssl_engine_io.c.patched    Thu Dec 18 13:12:02 2003
|--- ssl_engine_io.c    Thu Dec 18 13:21:31 2003
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
======================================

PATCH COMMAND:  patch -p1 -g0 < /usr/portage/net-www/apache/files/patches/2.0.49-r1/00_ssl_verify_client.patch

======================================
missing header for context diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** mod_ssl.h.patched  Thu Dec 18 13:11:48 2003
|--- mod_ssl.h  Thu Dec 18 13:13:19 2003
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for context diff at line 15 of patch
can't find file to patch at input line 15
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** ssl_engine_kernel.c.patched        Thu Dec 18 13:11:39 2003
|--- ssl_engine_kernel.c        Thu Dec 18 13:15:04 2003
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for context diff at line 54 of patch
can't find file to patch at input line 54
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** ssl_engine_io.c.patched    Thu Dec 18 13:12:02 2003
|--- ssl_engine_io.c    Thu Dec 18 13:21:31 2003
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
======================================

PATCH COMMAND:  patch -p2 -g0 < /usr/portage/net-www/apache/files/patches/2.0.49-r1/00_ssl_verify_client.patch

======================================
missing header for context diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** mod_ssl.h.patched  Thu Dec 18 13:11:48 2003
|--- mod_ssl.h  Thu Dec 18 13:13:19 2003
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for context diff at line 15 of patch
can't find file to patch at input line 15
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** ssl_engine_kernel.c.patched        Thu Dec 18 13:11:39 2003
|--- ssl_engine_kernel.c        Thu Dec 18 13:15:04 2003
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for context diff at line 54 of patch
can't find file to patch at input line 54
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** ssl_engine_io.c.patched    Thu Dec 18 13:12:02 2003
|--- ssl_engine_io.c    Thu Dec 18 13:21:31 2003
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
======================================

PATCH COMMAND:  patch -p3 -g0 < /usr/portage/net-www/apache/files/patches/2.0.49-r1/00_ssl_verify_client.patch

======================================
missing header for context diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** mod_ssl.h.patched  Thu Dec 18 13:11:48 2003
|--- mod_ssl.h  Thu Dec 18 13:13:19 2003
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for context diff at line 15 of patch
can't find file to patch at input line 15
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** ssl_engine_kernel.c.patched        Thu Dec 18 13:11:39 2003
|--- ssl_engine_kernel.c        Thu Dec 18 13:15:04 2003
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for context diff at line 54 of patch
can't find file to patch at input line 54
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** ssl_engine_io.c.patched    Thu Dec 18 13:12:02 2003
|--- ssl_engine_io.c    Thu Dec 18 13:21:31 2003
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
======================================

PATCH COMMAND:  patch -p4 -g0 < /usr/portage/net-www/apache/files/patches/2.0.49-r1/00_ssl_verify_client.patch

======================================
missing header for context diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** mod_ssl.h.patched  Thu Dec 18 13:11:48 2003
|--- mod_ssl.h  Thu Dec 18 13:13:19 2003
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for context diff at line 15 of patch
can't find file to patch at input line 15
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** ssl_engine_kernel.c.patched        Thu Dec 18 13:11:39 2003
|--- ssl_engine_kernel.c        Thu Dec 18 13:15:04 2003
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for context diff at line 54 of patch
can't find file to patch at input line 54
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** ssl_engine_io.c.patched    Thu Dec 18 13:12:02 2003
|--- ssl_engine_io.c    Thu Dec 18 13:21:31 2003
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
lemonaid etc # 


Reproducible: Always
Steps to Reproduce:
1.emerge sync
2.emerge apache
3.
Actual Results:  
I got the above error

Expected Results:  
built Apache

lemonaid etc # emerge info
Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1)
===============================================================
==
System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(TM) XP 2800+
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/
bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apache2 apm arts avi berkdb crypt cups encode foomaticdb gd gdbm gif gpm imap imlib jpeg 
kde libg++ libwww mad mikmod mpeg mysql ncurses nls oggvorbis oss pam pdflib perl png python 
quicktime readline sasl sdl slang spell ssl svga tcpd truetype x86 xml2 xv zlib"

lemonaid etc #
Comment 1 Ed Catmur 2004-05-01 17:06:49 UTC
00_ssl_verify_client.patch needs to be applied in ${S}/modules/ssl/ (or edited).
Comment 2 Dale K Dicks 2004-05-01 17:07:26 UTC
I can confirm this.   I get the exact same error(s).
Comment 3 Ed Catmur 2004-05-01 17:08:45 UTC
Created attachment 30489 [details, diff]
Replacement 00_ssl_verify_client.patch

Instructions to users:
replace
/usr/portage/net-www/apache/files/patches/2.0.49-r1/00_ssl_verify_client.patch
with this file.
Comment 4 Tommy Young 2004-05-01 17:30:48 UTC
Ok that works. There were a couple of warnings before the configure though. I can try and grab these if you want them.
Comment 5 Tommy Young 2004-05-01 17:39:07 UTC
Here are the warnings. As I said everything compiles and works though.
autoheader-2.58: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader-2.58: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader-2.58: WARNING: is deprecated and discouraged.
autoheader-2.58: 
autoheader-2.58: WARNING: Using the third argument of `AC_DEFINE' and
autoheader-2.58: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader-2.58: WARNING: `acconfig.h':
autoheader-2.58: 
autoheader-2.58: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader-2.58:                [Define if a function `main' is needed.])
autoheader-2.58: 
autoheader-2.58: WARNING: More sophisticated templates can also be produced, see the
autoheader-2.58: WARNING: documentation.
Comment 6 Chuck Short (RETIRED) gentoo-dev 2004-05-01 17:47:22 UTC
Fixed, I have backed out of the patches.