Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168888 - net-dns/bind-9.4.0 failed patch with USE="dlz"
Summary: net-dns/bind-9.4.0 failed patch with USE="dlz"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Konstantin Arkhipov (RETIRED)
URL: http://www.isc.org/sw/bind/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-01 14:00 UTC by Aurélien Requiem
Modified: 2007-03-02 13:10 UTC (History)
0 users

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


Attachments
bind-9.4.0.ebuild.patch (bind.ebuild.patch,1.31 KB, patch)
2007-03-01 14:05 UTC, Aurélien Requiem
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aurélien Requiem 2007-03-01 14:00:49 UTC
When DLZ use flag is enabled, bind-9.4.0 failed to compile.



Reproducible: Always

Steps to Reproduce:
1. USE="dlz" emerge bind-9.4.0
2.
3.

Actual Results:  
>>> Unpacking bind-9.4.0.tar.gz to /var/tmp/portage/net-dns/bind-9.4.0/work

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /usr/portage/net-dns/bind/files/bind-9.4.0-dlzbdb-close_cursor.patch
 *   ( bind-9.4.0-dlzbdb-close_cursor.patch )


!!! ERROR: net-dns/bind-9.4.0 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_unpack
  ebuild.sh, line 751:   Called qa_call 'src_unpack'
  environment, line 3546:   Called src_unpack
  bind-9.4.0.ebuild, line 58:   Called epatch
'/usr/portage/net-dns/bind/files/bind-9.4.0-dlzbdb-close_cursor.patch'
  eutils.eclass, line 198:   Called die

!!! Cannot find $EPATCH_SOURCE!
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/tmp/portage/net-dns/bind-9.4.0/temp/build.log'.

Expected Results:  
bind-9.4.0 should compile
Comment 1 Aurélien Requiem 2007-03-01 14:05:25 UTC
Created attachment 111703 [details, diff]
bind-9.4.0.ebuild.patch
Comment 2 Aurélien Requiem 2007-03-01 14:05:53 UTC
Comment on attachment 111703 [details, diff]
bind-9.4.0.ebuild.patch

As mentionned in bug #168356, i've produced a patch (see attachment)

This patch for ebuild bind-9.4.0 add the following features
- upgrade minimum SSL dependency as notice in bind 9.4.0 release note (SSL
0.9.7l) and should be also to 0.9.8d too.
- add "urandom" USE to use /dev/urandom instead of /dev/random (like
dev-libs/apr)
- comment DLZ patch from ebuild because it's now part of official bind
Comment 3 Konstantin Arkhipov (RETIRED) gentoo-dev 2007-03-02 09:21:18 UTC
forgotten patch committed,
thanks for reporting.
Comment 4 Aurélien Requiem 2007-03-02 13:10:03 UTC
Compilation works for me with the following USEs
USE="berkdb dlz idn ipv6 ssl threads urandom -doc -ldap -mysql -odbc -postgres -resolvconf (-selinux)

Thanks for the work !