Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87812 - Emerge problem when compiling bind-9.2.5 with dlz use flag
Summary: Emerge problem when compiling bind-9.2.5 with dlz use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Konstantin Arkhipov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-03 10:15 UTC by Erasmo Zubillaga
Modified: 2005-04-11 10:41 UTC (History)
0 users

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


Attachments
dlz-patch error log (dlz-9.2.5.patch.bz2-29183.out,53.36 KB, text/plain)
2005-04-03 10:17 UTC, Erasmo Zubillaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erasmo Zubillaga 2005-04-03 10:15:49 UTC
Apparently there is a problem with the epatch function and bind's 9.2.5 dlz patch. Whe make the emerge bind always get the following error:

 * Failed Patch: dlz-9.2.5.patch.bz2 !
 *  ( /var/tmp/portage/bind-9.2.5/temp/28870.patch )

But if I uncompress the bind source tar file in a temp directory and then try to apply the dlz patch manually everything works Ok.

atch -p0 -g0 < dlz-9.2.5.patch
patching file bind-9.2.5/bin/dlzbdb/dlzbdb.c
patching file bind-9.2.5/bin/dlzbdb/Makefile.in
patching file bind-9.2.5/bin/Makefile.in
patching file bind-9.2.5/bin/named/dlz_bdb_driver.c
patching file bind-9.2.5/bin/named/dlz_bdbhpt_driver.c
patching file bind-9.2.5/bin/named/dlz_filesystem_driver.c
patching file bind-9.2.5/bin/named/dlz_ldap_driver.c
patching file bind-9.2.5/bin/named/dlz_mysql_driver.c
patching file bind-9.2.5/bin/named/dlz_odbc_driver.c
patching file bind-9.2.5/bin/named/dlz_postgres_driver.c
patching file bind-9.2.5/bin/named/dlz_stub_driver.c
patching file bind-9.2.5/bin/named/include/named/dlz_bdb_driver.h
patching file bind-9.2.5/bin/named/include/named/dlz_bdbhpt_driver.h
patching file bind-9.2.5/bin/named/include/named/dlz_filesystem_driver.h
patching file bind-9.2.5/bin/named/include/named/dlz_ldap_driver.h
patching file bind-9.2.5/bin/named/include/named/dlz_mysql_driver.h
patching file bind-9.2.5/bin/named/include/named/dlz_odbc_driver.h
patching file bind-9.2.5/bin/named/include/named/dlz_postgres_driver.h
patching file bind-9.2.5/bin/named/include/named/dlz_stub_driver.h
patching file bind-9.2.5/bin/named/include/named/sdlz_helper.h
patching file bind-9.2.5/bin/named/main.c
patching file bind-9.2.5/bin/named/Makefile.in
patching file bind-9.2.5/bin/named/Makefile.in.orig
patching file bind-9.2.5/bin/named/query.c
patching file bind-9.2.5/bin/named/query.c.orig
patching file bind-9.2.5/bin/named/sdlz_helper.c
patching file bind-9.2.5/bin/named/server.c
patching file bind-9.2.5/bin/named/server.c.orig
patching file bind-9.2.5/bin/named/xfrout.c
patching file bind-9.2.5/bin/named/xfrout.c.orig
patching file bind-9.2.5/configure.in
patching file bind-9.2.5/configure.in.orig
patching file bind-9.2.5/lib/dns/dlz.c
patching file bind-9.2.5/lib/dns/include/dns/dlz.h
patching file bind-9.2.5/lib/dns/include/dns/log.h
patching file bind-9.2.5/lib/dns/include/dns/log.h.orig
patching file bind-9.2.5/lib/dns/include/dns/sdlz.h
patching file bind-9.2.5/lib/dns/include/dns/types.h
patching file bind-9.2.5/lib/dns/include/dns/view.h
patching file bind-9.2.5/lib/dns/log.c
patching file bind-9.2.5/lib/dns/log.c.orig
patching file bind-9.2.5/lib/dns/Makefile.in
patching file bind-9.2.5/lib/dns/sdlz.c
patching file bind-9.2.5/lib/dns/view.c
patching file bind-9.2.5/lib/dns/view.c.orig
patching file bind-9.2.5/lib/dns/win32/libdns.def
patching file bind-9.2.5/lib/isc/unix/dir.c
patching file bind-9.2.5/lib/isccfg/check.c
patching file bind-9.2.5/lib/isccfg/check.c.orig
patching file bind-9.2.5/lib/isccfg/Makefile.in
patching file bind-9.2.5/lib/isccfg/parser.c
patching file bind-9.2.5/lib/isccfg/parser.c.orig

The dlz-9.2.5.patch.bz2-29183.out file have lots of errors like this:

can't find file to patch at input line 1340
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uraN bind-9.2.5-orig/bin/Makefile.in bind-9.2.5/bin/Makefile.in
|--- bind-9.2.5-orig/bin/Makefile.in    2004-03-09 09:09:08.000000000 +0300
|+++ bind-9.2.5/bin/Makefile.in 2005-03-25 21:16:46.000000000 +0300
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

...

can't find file to patch at input line 9857
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uraN bind-9.2.5-orig/bin/named/main.c bind-9.2.5/bin/named/main.c
|--- bind-9.2.5-orig/bin/named/main.c   2004-10-25 04:50:53.000000000 +0400
|+++ bind-9.2.5/bin/named/main.c        2005-03-25 21:16:46.000000000 +0300
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Erasmo Zubillaga 2005-04-03 10:17:28 UTC
Created attachment 55210 [details]
dlz-patch error log
Comment 2 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-04-11 01:21:01 UTC
known problem. quick-fixed without ebuild's bump (unfortunately). emerge sync and try again, please.
Comment 3 Erasmo Zubillaga 2005-04-11 10:41:31 UTC
Perfect, no it's working

Regards, Erasmo