New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #19209 (new defect)

Opened 3 years ago

Last modified 3 months ago

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 macsforever2000@…) (diff)

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

in reply to: ↑ description   Changed 3 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

  Changed 3 years ago by macsforever2000@…

  • owner changed from macports-tickets@… to blb@…
  • description modified (diff)
  • port set to djbdns

follow-up: ↓ 4   Changed 3 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?

in reply to: ↑ 3   Changed 3 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.

  Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

  Changed 18 months 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.

  Changed 18 months ago by deliverable@…

  • cc deliverable@… added

Cc Me!

  Changed 12 months 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.

  Changed 3 months ago by blb@…

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