pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45358: net/djbdns - colliding options



>Number:         45358
>Category:       pkg
>Synopsis:       net/djbdns - colliding options
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 12 09:15:00 +0000 2011
>Originator:     rudolf
>Release:        netbsd-5
>Organization:
>Environment:
NetBSD 5.1_STABLE i386
>Description:
Option "inet6" conflicts with option "djbdns-qmerge2":

# pwd
/usr/pkgsrc/net/djbdns
# make show-options
Any of the following general options may be selected:
        djbdns-cachestats       Patch to add stats for cache hits/misses.
        djbdns-ignoreip2        Patch to treat certain responses as NXDOMAIN.
        djbdns-tinydns64        Patch to fix tinydns-data on 64-bit platforms.
        djbware-errno-hack      Patch to #include <errno.h> for correctness.
        inet6    Enable support for IPv6.
At most one of the following qmerge options may be selected:
        djbdns-qmerge1   Initial patches to address dnscache poisoning weakness.
        djbdns-qmerge2   Newer patches to address dnscache poisoning weakness.

These options are enabled by default:
        djbdns-qmerge2 djbware-errno-hack

These options are currently enabled:
        djbdns-qmerge2 djbware-errno-hack inet6

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or PKG_OPTIONS.djbdns.

Deprecated variable USE_INET6 set to yes, use PKG_DEFAULT_OPTIONS+=inet6 
instead.
# make patch
=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Checksum SHA1 OK for djbdns-1.05.tar.gz
=> Checksum RMD160 OK for djbdns-1.05.tar.gz
=> Checksum SHA1 OK for djbdns-1.05-man-20031023.tar.gz
=> Checksum RMD160 OK for djbdns-1.05-man-20031023.tar.gz
=> Checksum SHA1 OK for djbdns-1.05-test23.diff.bz2
=> Checksum RMD160 OK for djbdns-1.05-test23.diff.bz2
===> Installing dependencies for djbdns-1.05nb10
==========================================================================
The supported build options for djbdns are:

        djbdns-cachestats djbdns-ignoreip2 djbdns-qmerge1
        djbdns-qmerge2 djbdns-tinydns64 djbware-errno-hack
        inet6

The currently selected options are:

        djbdns-qmerge2 djbware-errno-hack inet6

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

        PKG_OPTIONS.djbdns (not defined)

Deprecated variable USE_INET6 set to yes, use PKG_DEFAULT_OPTIONS+=inet6 
instead.

==========================================================================
===> Overriding tools for djbdns-1.05nb10
===> Extracting for djbdns-1.05nb10
===> Patching for djbdns-1.05nb10
=> Applying distribution patches for djbdns-1.05nb10
=> Applying pkgsrc patches for djbdns-1.05nb10
cd /usr/pkgsrc/net/djbdns/work/djbdns-1.05 && /usr/bin/patch -d 
/usr/pkgsrc/net/djbdns/work/djbdns-1.05 --forward --quiet -E -p0 -V simple 
--suffix .orig < /usr/pkgsrc/net/djbdns/files/patch-qmerge2
2 out of 7 hunks failed--saving rejects to dns_transmit.c.rej
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/djbdns
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/djbdns
#
>How-To-Repeat:
Option "inet6" is set by default on NetBSD installation with IPv6-ready 
userland, so to repeat the problem, it is sufficient to do:

# cd /usr/pkgsrc/net/djbdns && make patch

(You may need to fetch some files "by hand", because a problem reported as PR 
bin/45116).
>Fix:



Home | Main Index | Thread Index | Old Index