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

Bug#885085: marked as done (cantata: dynamic playlists only work with MPD reachable via IPv4)



Your message dated Tue, 01 May 2018 05:49:17 +0000
with message-id <E1fDOA9-0000Ra-QI@fasolo.debian.org>
and subject line Bug#885085: fixed in cantata 2.3.0.ds1-1
has caused the Debian Bug report #885085,
regarding cantata: dynamic playlists only work with MPD reachable via IPv4
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
885085: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885085
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cantata
Version: 2.1.0.ds1-1
Severity: normal
Tags: patch

Due to the use of IO::Socket::INET, cantata-dynamic is limited to IPv4 and
fails without notice on a pure IPv6 connection.

The regular end-user does not know about the way cantata internally deals with
playlists and wonders why the dynamic playlists he/she created do not work.

The issue can be quickly solved by replacing all 3 occurrences of
  IO::Socket::INET
with
  IO::Socket::IP
in cantata-dynamic, and adding a dependency to libio-socket-ip-perl.

The corresponding bug up stream, although without the patch, is
  https://github.com/CDrummond/cantata/issues/1148

Thanks for maintaining cantata in Debian
Peter

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages cantata depends on:
ii  fonts-font-awesome    4.7.0~dfsg-3
ii  libavcodec57          7:3.4.1-1
ii  libavformat57         7:3.4.1-1
ii  libavutil55           7:3.4.1-1
ii  libc6                 2.25-3
ii  libcddb2              1.3.2-5
ii  libcdparanoia0        3.10.2+debian-11.1
ii  libebur128-1          1.2.3-1
ii  libgcc1               1:7.2.0-18
ii  libmpg123-0           1.25.8-1
ii  libmtp9               1.1.13-1
ii  libmusicbrainz5cc2v5  5.1.0+git20150707-7
ii  libqt5concurrent5     5.9.2+dfsg-6
ii  libqt5core5a          5.9.2+dfsg-6
ii  libqt5dbus5           5.9.2+dfsg-6
ii  libqt5gui5            5.9.2+dfsg-6
ii  libqt5network5        5.9.2+dfsg-6
ii  libqt5sql5            5.9.2+dfsg-6
ii  libqt5sql5-sqlite     5.9.2+dfsg-6
ii  libqt5svg5            5.9.2-3
ii  libqt5widgets5        5.9.2+dfsg-6
ii  libqt5xml5            5.9.2+dfsg-6
ii  libstdc++6            7.2.0-18
ii  libtag-extras1        1.0.1-3.1
ii  libtag1v5             1.11.1+dfsg.1-0.2
ii  libudev1              236-1
ii  libvlc5               2.2.8-2+b1
ii  zlib1g                1:1.2.8.dfsg-5

Versions of packages cantata recommends:
ii  liburi-perl  1.72-2

Versions of packages cantata suggests:
ii  media-player-info  23-1
ii  mpd                0.20.13-1

-- no debconf information
From: Peter Marschall <peter@adpm.de>
Bug: https://github.com/CDrummond/cantata/issues/1148
Forwarded: no
Last-Update: 2017-12-23
Subject: support IPv6 in cantata-dynamic

Allow cantata-dynamic, the script responsible for updating dynamic playlists,
in catata to work in environments where MPD is not ireachable via IPv4

--- /usr/share/cantata/scripts/cantata-dynamic	2017-07-30 21:13:05.000000000 +0200
+++ /usr/share/cantata/scripts/cantata-dynamic	2017-12-23 17:28:04.511583019 +0100
@@ -21,7 +21,7 @@
 #  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 #  Boston, MA 02110-1301, USA.
 
-use IO::Socket::INET;
+use IO::Socket::IP;
 use POSIX;
 use File::stat;
 use File::Basename;
@@ -98,7 +98,7 @@
         $sock = new IO::Socket::UNIX(Peer => $mpdHost, Type => 0);
         $connDetails=$mpdHost;
     } else {
-        $sock = new IO::Socket::INET(PeerAddr => $mpdHost, PeerPort => $mpdPort, Proto => 'tcp');
+        $sock = new IO::Socket::IP(PeerAddr => $mpdHost, PeerPort => $mpdPort, Proto => 'tcp');
         $connDetails="${mpdHost}:${mpdPort}";
     }
     if ($sock && $sock->connected()) {
@@ -1411,7 +1411,7 @@
 }
 
 sub httpServer() {
-    my $server = new IO::Socket::INET(Proto => 'tcp', LocalPort => $httpPort, Listen => SOMAXCONN, Reuse => 1);
+    my $server = new IO::Socket::IP(Proto => 'tcp', LocalPort => $httpPort, Listen => SOMAXCONN, Reuse => 1);
     $server or die "ERROR: Unable to create HTTP socket (${httpPort}): $!";
 
     print "Starting HTTP server on ${httpPort}\n";

--- End Message ---
--- Begin Message ---
Source: cantata
Source-Version: 2.3.0.ds1-1

We believe that the bug you reported is fixed in the latest version of
cantata, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 885085@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stuart Prescott <stuart@debian.org> (supplier of updated cantata package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 01 May 2018 14:54:54 +1000
Source: cantata
Binary: cantata
Architecture: source
Version: 2.3.0.ds1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Stuart Prescott <stuart@debian.org>
Description:
 cantata    - Qt client for the music player daemon (MPD)
Closes: 885085 888363 891774
Changes:
 cantata (2.3.0.ds1-1) unstable; urgency=medium
 .
   * New upstream version
     - Refresh patches.
     - Builds with FFmpeg 4.0" (Closes: #888363).
     - Fixes system tray in XFCE (Closes: #891774).
     - Fix dynamic playlists on IPv6 (Closes: #885085).
     - Update dependenct to libio-socket-ip-perl.
   * Add copyright hints for cme to manage d/copyright.
   * Update Standards-Version to 4.1.4 (no changes required).
Checksums-Sha1:
 09adb58ff52ea13b9dbe753d21585b3d73eed734 2357 cantata_2.3.0.ds1-1.dsc
 5032f7c52022efacaad73dbaa765630efb487560 3641259 cantata_2.3.0.ds1.orig.tar.gz
 8fc5bfdc84371cf4e35c6025eb14335b2ed989f5 14196 cantata_2.3.0.ds1-1.debian.tar.xz
 bce3698f72e3735328876c5ba40c20fa33ab2138 16358 cantata_2.3.0.ds1-1_amd64.buildinfo
Checksums-Sha256:
 a57c9714f2787c2940131066ceabd6219160437515c8e1d32e5cba88b6d8c2a3 2357 cantata_2.3.0.ds1-1.dsc
 ace8d54581708ec85e2a94c44b21c48a09f9442c2d925263c5b0c572e7edff17 3641259 cantata_2.3.0.ds1.orig.tar.gz
 b1d2b5a09b87924d54db6bdaffc3677878059c30c4831c7ab9f116896478e305 14196 cantata_2.3.0.ds1-1.debian.tar.xz
 77332c22044a1308484e721793c29751046b84b4d22a0a761b30faa9f9125b06 16358 cantata_2.3.0.ds1-1_amd64.buildinfo
Files:
 3a84a0845ebddb936c644cab5101b345 2357 sound optional cantata_2.3.0.ds1-1.dsc
 c5ec2318302b6a7e6f801dabb8faabaf 3641259 sound optional cantata_2.3.0.ds1.orig.tar.gz
 9cb5c520b4ba51f11ce510a4ec956fef 14196 sound optional cantata_2.3.0.ds1-1.debian.tar.xz
 362e347ef27e05aaf4810f4f09ddad86 16358 sound optional cantata_2.3.0.ds1-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEkOLSwa0Uaht+u4kdu8F+uxOW8vcFAlrn9eAACgkQu8F+uxOW
8vcZ6g/9FIFYuzahk4virXq3PpkwjZCEKkCu3YQV7mEOwIkaADDEPCbEIU6mhopa
dDYMCARfnNhlxfcFoSYVS52iW5qizDEW8W3wNhc6+vFd4edAAS/wC+5LC3y17ICx
IyKmK5JunjBPGG7Kb9ak07kVSAYPGpME0A13iS9zD4NH34+7zVr9T71rUqCTyFyY
FIvnPFyJUNtf26QDAgSav8Y4D1YqQYjdEt5xsH4+DUkMsYvry7ycx/Oy3BWHMNIH
XuX2JhfthNApGmBthgLdczy/DLBFkmflNWCHBnDNV8JF6Zb+zHqsb9nQFh32Gb5A
yMxruIKaHTMrb1H9oroVSfdxoPlJBuT3Ip2/l9m/FIrN972pa9WkWNmXbFrU86Er
FE7KbQQya40lugLaUhX4f6cFHMry03ZheM5PKHna1II+6bBTsJO1zBJN3R5rY1IY
gsDoeW5LTBiF6GdW6b8bXXO7L+Cjf5qJYv3g9fpo0naDk0vKgMcKvNZ4xuCvexn4
DTBKCIIMiCytfCgpaV6deP+1wZ35749MjLUONcy48cG3dOGGPkDKDzLLDR7g3o3w
ero8XU62awplFlbiDsszIQc849NQYQIRklb5Uzqk3nJQ5n4dV/SDuMCBQI1Lqiwp
aU4CswhtinUFmfto6eIrfC5AQYV5t7MRNbSOvqkeZAn9NOhJvwU=
=X2aF
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: