Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 24141

Summary: unrealircd doesn't compile
Product: Gentoo Linux Reporter: Pieter De Wit <pieter>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pieter De Wit 2003-07-08 21:47:50 UTC
Hey Guys,

When I try and compile unrealircd it fails with the following error. I have
tried to compile without the patch but I end up over my head :)

Here is the error:

Calculating dependencies ...done!
>>> emerge (1 of 1) net-irc/unrealircd-3.1.6 to /
>>> md5 src_uri ;-) Unreal3.1.6-Noon.tar.gz
>>> Unpacking source...
>>> Unpacking Unreal3.1.6-Noon.tar.gz to /var/tmp/portage/unrealircd-3.1.6/work
 * Applying 3.1.6-Config.patch...                                              
                                                                           [ ok ]
 * Applying 3.1.6-new-glibc-res.patch...

 * Failed Patch: 3.1.6-new-glibc-res.patch!
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/unrealircd-3.1.6/temp/3.1.6-new-glibc-res.patch-28717.out


!!! ERROR: net-irc/unrealircd-3.1.6 failed.
!!! Function epatch, Line 354, Exitcode 0
!!! Failed Patch: 3.1.6-new-glibc-res.patch!


Reproducible: Always
Steps to Reproduce:
1.Install unrealircd
2.
3.

Actual Results:  
See error above.

Expected Results:  
Compiled unrealircd :)

Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r2 i686 Celeron (Covington)
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi crypt cups encode gif imlib jpeg kde gnome
libg++ mikmod mmx motif mpeg ncurses nls oggvorbis pdflib png quicktime sdl
spell truetype xml2 xmms xv zlib gdbm berkdb slang readline svga java mysql X
gpm tcpd pam libwww ssl perl python gtk qt opengl imap sasl"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O3 -pipe"
CXXFLAGS="-march=pentium2 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Pieter De Wit 2003-07-08 22:00:09 UTC
Forgot to add the file contents :)

***** 3.1.6-new-glibc-res.patch *****

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

PATCH COMMAND:  patch  -p0 < /usr/portage/net-irc/unrealircd/files/3.1.6-new-glibc-res.patch

=====================================
patching file src/res_mkquery.c
Hunk #1 FAILED at 32.
1 out of 1 hunk FAILED -- saving rejects to file src/res_mkquery.c.rej
=====================================

PATCH COMMAND:  patch  -p1 < /usr/portage/net-irc/unrealircd/files/3.1.6-new-glibc-res.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:
--------------------------
|--- src/res_mkquery.c.orig     2003-07-02 14:33:28.000000000 -0400
|+++ src/res_mkquery.c  2003-07-02 14:33:19.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=====================================

PATCH COMMAND:  patch  -p2 < /usr/portage/net-irc/unrealircd/files/3.1.6-new-glibc-res.patch

=====================================
missing header for unified 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:
--------------------------
|--- src/res_mkquery.c.orig     2003-07-02 14:33:28.000000000 -0400
|+++ src/res_mkquery.c  2003-07-02 14:33:19.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=====================================

PATCH COMMAND:  patch  -p3 < /usr/portage/net-irc/unrealircd/files/3.1.6-new-glibc-res.patch

=====================================
missing header for unified 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:
--------------------------
|--- src/res_mkquery.c.orig     2003-07-02 14:33:28.000000000 -0400
|+++ src/res_mkquery.c  2003-07-02 14:33:19.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=====================================

PATCH COMMAND:  patch  -p4 < /usr/portage/net-irc/unrealircd/files/3.1.6-new-glibc-res.patch

=====================================
missing header for unified 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:
--------------------------
|--- src/res_mkquery.c.orig     2003-07-02 14:33:28.000000000 -0400
|+++ src/res_mkquery.c  2003-07-02 14:33:19.000000000 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-07-09 02:46:25 UTC

*** This bug has been marked as a duplicate of 23981 ***