Opened 16 years ago

Last modified 13 years ago

#19209 new defect

djbdns ipv6 variant is broken

Reported by: macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: deliverable@…
Port: djbdns

Description (last modified by mf2k (Frank Schima))

installing djbdns with the ipv6 variant leads to a broken install of dnscache.

Steps to reproduce:

sudo port install djbdns +ipv6
sudo dnscache-conf daemon daemon /opt/local/etc/dnscache
sudo ln -s /opt/local/etc/dnscache /opt/local/var/svscan/service
sudo svstat dnscache

   dnscache: up (pid 24967) 3 seconds

dig dckd.nl @127.0.0.1 

expected result: succesful lookup of the domainname

actual result:

; <<>> DiG 9.4.2-P2 <<>> dckd.nl @127.0.0.1
;; global options:  printcmd
;; connection timed out; no servers could be reached

Examining the tcpdump shows that the request reaches the server, and the server is running, but there just is no response.

Change History (9)

comment:1 in reply to:  description Changed 16 years ago by macports@…

Sorry, I always mess up the formatting:

Steps to reproduce:
sudo port install djbdns +ipv6
sudo dnscache-conf daemon daemon /opt/local/etc/dnscache
sudo ln -s /opt/local/etc/dnscache /opt/local/var/svscan/service
sudo svstat dnscache

   dnscache: up (pid 24967) 3 seconds

dig dckd.nl @127.0.0.1

comment:2 Changed 16 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to blb@…
Port: djbdns added

comment:3 Changed 16 years ago by blb@…

You may be running into issues with the IPv6 patch, which comes from a third party. Are the issues you're seeing mentioned on that page?

comment:4 in reply to:  3 Changed 16 years ago by macports@…

Replying to blb@…:

You may be running into issues with the IPv6 patch, which comes from a third party. Are the issues you're seeing mentioned on that page?

Unfortunately not. The page mentions some minor issues such as not supporting IPv6 MX or NS records, but nothing like I am experiencing.

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:6 Changed 14 years ago by deliverable@…

I've just experienced and unraveled the same problem on MacPorts 1.9.1, djbdns @1.05_2. I have a default variant +ipv6, and tcpdump showed no ack from dnscache, with nothing in the latter's log. Rebuilding with -ipv6 made it work.

comment:7 Changed 14 years ago by deliverable@…

Cc: deliverable@… added

Cc Me!

comment:8 Changed 14 years ago by spam.spam@…

on a current osx 10.6.6 djbdns will not build with +ipv6:

:info:build ./compile socket_accept.c
:info:build seek_set.c: In function 'seek_set':
:info:build seek_set.c:7: warning: implicit declaration of function 'lseek'
:info:build ./compile socket_bind.c
:info:build In file included from socket_accept.c:6:
:info:build socket.h:5:20: error: uint32.h: No such file or directory
:info:build In file included from socket_accept.c:6::info:build socket.h:13: error: expected declaration specifiers or '...' before 'uint32'
:info:build socket.h:17: error: expected declaration specifiers or '...' before 'uint32'
:info:build socket.h:18: error: expected declaration specifiers or '...' before 'uint32'
:info:build socket.h:21: error: expected declaration specifiers or '...' before 'uint32'
:info:build socket.h:24: error: expected declaration specifiers or '...' before 'uint32'
:info:build socket.h:25: error: expected declaration specifiers or '...' before 'uint32'
:info:build socket.h:28: error: expected declaration specifiers or '...' before 'uint32'
:info:build socket.h:29: error: expected declaration specifiers or '...' before 'uint32'
:info:build socket.h:33: error: expected ')' before 'interface':info:build socket.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'socket_getifidx'
:info:build make: *** [socket_accept.o] Error 1:info:build make: *** Waiting for unfinished jobs....
:info:build In file included from socket_bind.c:6:
:info:build socket.h:5:20: error: uint32.h: No such file or directory
:info:build In file included from socket_bind.c:6:
:info:build socket.h:13: error: expected declaration specifiers or '...' before 'uint32'
:info:build socket.h:17: error: expected declaration specifiers or '...' before 'uint32'
:info:build socket.h:18: error: expected declaration specifiers or '...' before 'uint32'
:info:build socket.h:21: error: expected declaration specifiers or '...' before 'uint32'
:info:build socket.h:24: error: expected declaration specifiers or '...' before 'uint32'
:info:build socket.h:25: error: expected declaration specifiers or '...' before 'uint32'
:info:build socket.h:28: error: expected declaration specifiers or '...' before 'uint32'
:info:build socket.h:29: error: expected declaration specifiers or '...' before 'uint32'
:info:build socket.h:33: error: expected ')' before 'interface'
:info:build socket.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'socket_getifidx'
:info:build make: *** [socket_bind.o] Error 1
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_djbdns/work/djbdns-1.05" && /usr/bin/make -j2 default " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for djbdns): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for djbdns is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_djbdns/main.log

uint32.h is nevertheless there.

comment:9 Changed 13 years ago by blb@…

Owner: changed from blb@… to macports-tickets@…
Note: See TracTickets for help on using tickets.