Hi,

 

I tried to compile Bind 9 with DLZ support, and the patches do not apply correctly.

 

The error text is appendend.

 

Bye,

 

   Peter

 

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

| Peter Zimmer                    |

| Network Operations Center       |

|                                 |

| Fraunhofer Institut             |

| Informations- und               |

| Datenverarbeitung (IITB)        |

|                                 |

| Fraunhoferstrasse 1             |

| 76131 Karlsruhe                 |

| Germany                         |

|                                 |

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

| Tel: +49 721 6091 327           |

| Fax: +49 721 6091 413           |

| [EMAIL PROTECTED] |

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

 

openpkg rpm -bb bind.spec
Executing(%prep): env -i /opt/local/lib/openpkg/bash --norc --noprofile --posix -e 
/opt/local/RPM/TMP/rpm-tmp.10104
+ cd /opt/local/RPM/TMP
+ cd /opt/local/RPM/TMP
+ rm -rf bind-9.3.0
+ /opt/local/lib/openpkg/gzip -dc /opt/local/RPM/SRC/bind/bind-9.3.0.tar.gz
+ /opt/local/lib/openpkg/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd bind-9.3.0
+ cd /opt/local/RPM/TMP
+ cd bind-9.3.0
+ /opt/local/lib/openpkg/gzip -dc /opt/local/RPM/SRC/bind/DLZ-0.7.0.tar.gz
+ /opt/local/lib/openpkg/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ sed -e '/^diff -Naur.*\/configure$/,/^diff/d' -e '/^diff 
-Naur.*lib\/dns\/win32\/libdns\.def$/,/^diff/d'
+ /opt/local/lib/openpkg/patch -p1
patching file bin/Makefile.in
patching file bin/dlzbdb/Makefile.in
patching file bin/dlzbdb/dlzbdb.c
patching file bin/named/Makefile.in
Hunk #1 FAILED at 31.
Hunk #2 FAILED at 65.
Hunk #3 succeeded at 95 with fuzz 2 (offset 4 lines).
2 out of 3 hunks FAILED -- saving rejects to file bin/named/Makefile.in.rej
patching file bin/named/dlz_bdb_driver.c
patching file bin/named/dlz_bdbhpt_driver.c
patching file bin/named/dlz_filesystem_driver.c
patching file bin/named/dlz_ldap_driver.c
patching file bin/named/dlz_mysql_driver.c
patching file bin/named/dlz_odbc_driver.c
patching file bin/named/dlz_postgres_driver.c
patching file bin/named/dlz_stub_driver.c
patching file bin/named/include/named/dlz_bdb_driver.h
patching file bin/named/include/named/dlz_bdbhpt_driver.h
patching file bin/named/include/named/dlz_filesystem_driver.h
patching file bin/named/include/named/dlz_ldap_driver.h
patching file bin/named/include/named/dlz_mysql_driver.h
patching file bin/named/include/named/dlz_odbc_driver.h
patching file bin/named/include/named/dlz_postgres_driver.h
patching file bin/named/include/named/dlz_stub_driver.h
patching file bin/named/include/named/sdlz_helper.h
patching file bin/named/main.c
Hunk #1 succeeded at 72 (offset 9 lines).
Hunk #2 succeeded at 677 (offset 120 lines).
Hunk #3 FAILED at 720.
1 out of 3 hunks FAILED -- saving rejects to file bin/named/main.c.rej
patching file bin/named/query.c
Hunk #1 succeeded at 27 with fuzz 1.
Hunk #2 FAILED at 820.
Hunk #3 succeeded at 2578 (offset 41 lines).
1 out of 3 hunks FAILED -- saving rejects to file bin/named/query.c.rej
patching file bin/named/sdlz_helper.c
patching file bin/named/server.c
Hunk #1 succeeded at 45 (offset 4 lines).
Hunk #2 FAILED at 503.
Hunk #3 succeeded at 786 (offset 219 lines).
1 out of 3 hunks FAILED -- saving rejects to file bin/named/server.c.rej
patching file bin/named/xfrout.c
Hunk #2 succeeded at 906 with fuzz 2 (offset 13 lines).
Hunk #3 succeeded at 959 (offset 13 lines).
Hunk #4 FAILED at 1051.
Hunk #5 FAILED at 1170.
2 out of 5 hunks FAILED -- saving rejects to file bin/named/xfrout.c.rej
patching file configure.in
Hunk #1 succeeded at 337 (offset 65 lines).
Hunk #2 succeeded at 2476 (offset 362 lines).
Hunk #3 succeeded at 2521 (offset 362 lines).
patching file lib/dns/Makefile.in
Hunk #1 succeeded at 31 with fuzz 1 (offset 4 lines).
Hunk #2 FAILED at 50.
Hunk #3 FAILED at 66.
2 out of 3 hunks FAILED -- saving rejects to file lib/dns/Makefile.in.rej
patching file lib/dns/dlz.c
patching file lib/dns/include/dns/dlz.h
patching file lib/dns/include/dns/log.h
Hunk #1 succeeded at 69 (offset 1 line).
patching file lib/dns/include/dns/sdlz.h
patching file lib/dns/include/dns/types.h
Hunk #1 succeeded at 50 (offset -1 lines).
patching file lib/dns/include/dns/view.h
Hunk #1 succeeded at 83 (offset 1 line).
patching file lib/dns/log.c
Hunk #1 succeeded at 74 (offset 1 line).
patching file lib/dns/sdlz.c
patching file lib/dns/view.c
Hunk #1 succeeded at 28 (offset 1 line).
Hunk #2 succeeded at 125 (offset 4 lines).
Hunk #3 succeeded at 265 (offset 20 lines).
patching file lib/isc/unix/dir.c
patching file lib/isccfg/Makefile.in
can't find file to patch at input line 14214
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur bind-9.2.2-orig/lib/isccfg/check.c bind-9.2.2/lib/isccfg/check.c
|--- bind-9.2.2-orig/lib/isccfg/check.c Mon Apr 22 22:00:04 2002
|+++ bind-9.2.2/lib/isccfg/check.c      Sun Apr 27 17:36:16 2003
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
3 out of 3 hunks ignored
patching file lib/isccfg/parser.c
Hunk #1 FAILED at 448.
Hunk #2 succeeded at 632 with fuzz 2 (offset -6 lines).
Hunk #3 FAILED at 810.
Hunk #4 succeeded at 1106 with fuzz 2 (offset 122 lines).
Hunk #5 FAILED at 1153.
Hunk #6 FAILED at 1171.
4 out of 6 hunks FAILED -- saving rejects to file lib/isccfg/parser.c.rej
error: Bad exit status from /opt/local/RPM/TMP/rpm-tmp.10104 (%prep)


RPM build errors:
    Bad exit status from /opt/local/RPM/TMP/rpm-tmp.10104 (%prep)

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to