Bug#813920: gnupod-tools: fails to initialize ipod

2016-07-05 Thread Corey Nelson
The issue is caused by the opening bracket on line 362 (as of 
05/04/2016) after "defined(@" in file 
"/usr/share/perl5/GNUpod/XMLhelper.pm".  Removing this opening bracket 
and one of the closing brackets after "plname" fixes the issue.


I think this has to do with changes in the perl5 standard.

To clarify, line 362 in /usr/share/perl5/GNUpod/XMLhelper.pm has to be 
changed from:
if (defined(@{$XDAT->{playlists}->{data}->{$current_plname}})) { #the 
playlist is not empty/

to:
if (defined(@$XDAT->{playlists}->{data}->{$current_plname})) { #the 
playlist is not empty/



Hope this helps,
Corey



Bug#813920: gnupod-tools: fails to initialize ipod

2016-02-06 Thread Bernhard Kneip
Package: gnupod-tools
Version: 0.99.8-2.1
Severity: important

Dear Maintainer,

I tried to sync my ipod classic 6th generation today the first time with 
gnupod-tools.
Doing the first "gnupod_INIT -m /media/bernhard/BAMMES\ IPOD" fails with

>Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at 
>/usr/share/perl5/GNUpod/XMLhelper.pm line 362.
>Compilation failed in require at /usr/bin/gnupod_INIT line 26.
>BEGIN failed--compilation aborted at /usr/bin/gnupod_INIT line 26.

thanks in advance for your help,

Bernhard

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages gnupod-tools depends on:
ii  dpkg1.18.4
ii  install-info6.0.0.dfsg.1-4
ii  libaudio-flac-header-perl   2.4-2+b2
ii  libmp3-info-perl1.24-1.1
ii  libogg-vorbis-header-pureperl-perl  1.0-4
ii  libtimedate-perl2.3000-2
ii  libunicode-string-perl  2.09-5+b3
ii  libxml-parser-perl  2.44-1+b1
ii  libxml-simple-perl  2.22-1
ii  perl5.22.1-4

Versions of packages gnupod-tools recommends:
ii  gtkpod  2.1.5-1+b1

Versions of packages gnupod-tools suggests:
ii  faac  1.28+cvs20151130-1
ii  flac  1.3.1-4
ii  lame  3.99.5+repack1-9+b1
pn  timidity  
ii  vorbis-tools  1.4.0-7

-- no debconf information