Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#883126: darkice cannot connect to IPv6 icecast server

60 views
Skip to first unread message

Kevin Otte

unread,
Nov 29, 2017, 7:30:02 PM11/29/17
to
Package: darkice
Version: 1.3-0.1
Severity: important
Tags: ipv6

$ cat darkice.cfg
[general]
duration = 0
bufferSecs = 2

[input]
device = default
sampleRate = 48000
bitsPerSample = 16
channel = 1

[icecast2-0]
bitrateMode = abr
format = opus
bitrate = 16
server = marconi.home.nivex.net
port = 8000
password = topsecret
mountPoint = debtest.opus

$ host marconi.home.nivex.net
marconi.home.nivex.net has IPv6 address
2606:a000:a449:5900:5054:ff:febc:58a2

$ darkice -c darkice.cfg
DarkIce 1.3 live audio streamer, http://code.google.com/p/darkice/
Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/
Copyright (c) 2008-2013, Akos Maroy and Rafael Diniz
This is free software, and you are welcome to redistribute it
under the terms of The GNU General Public License version 3 or
any later version.

Using config file: darkice.cfg
Using ALSA DSP input device: default
Could not set POSIX real-time scheduling, this may cause recording skips.
Try to run darkice as the super-user.
DarkIce: TcpSocket.cpp:226: gethostbyname error [0]

==

Observing the source at the specified line, I see a function that has
#ifdef HAVE_ADDRINFO
This really should be enabled on a modern application.


-- System Information:
Debian Release: 9.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages darkice depends on:
ii libasound2 1.1.3-5
ii libc6 2.24-11+deb9u1
ii libgcc1 1:6.3.0-18
ii libjack-jackd2-0 [libjack-0.116] 1.9.10+20150825git1ed50c92~dfsg-5
ii libmp3lame0 3.99.5+repack1-9+b2
ii libogg0 1.3.2-1
ii libopus0 1.2~alpha2-1
ii libpulse0 10.0-1+deb9u1
ii libsamplerate0 0.1.8-8+b2
ii libstdc++6 6.3.0-18
ii libtwolame0 0.3.13-2
ii libvorbis0a 1.3.5-4
ii libvorbisenc2 1.3.5-4
ii lsb-base 9.20161125

darkice recommends no packages.

Versions of packages darkice suggests:
pn darksnow <none>

-- no debconf information

Kevin Otte

unread,
Jan 29, 2021, 12:30:03 PM1/29/21
to
I finally had a chance to chase this down and filed the issue upstream:
https://github.com/rafael2k/darkice/issues/166

I have also submitted a PR to try and fix the issue:
https://github.com/rafael2k/darkice/pull/167

Kevin Otte

unread,
Oct 18, 2022, 4:40:04 PM10/18/22
to
This PR has been merged. Unknown when a new release might be made.
0 new messages