Bug#907466: Package doesn't ship xml files anymore

2018-08-30 Thread Dr. Tobias Quathamer
Am 30.08.2018 um 22:43 schrieb Michael Biebl:
> Hi Tobias
> 
> On 8/30/18 22:35, Dr. Tobias Quathamer wrote:
>> thanks for your investigation. I've deprecated those XML files more than
>> two years ago and thought that this time might suffice to switch over to
>> the JSON files.
> 
> From past experience, unless you actively file bug reports, don't expect
> packages to migrate on their own.

Right. :-)

>> I would like to go through this list of packages and try to spot the
>> actual usage of the XML files. If there are only a few packages which
>> need to be fixed, it might still be doable before the freeze. From a
>> quick glance, there are a few false positives included. So maybe it's
>> not that bad after all.
> 
> Filing bug reports against affected packages and user-tagging them might
> be a good idea. This will help with tracking the progress of this
> transition.

Yes, that was my plan. That will take a few days, however, because I'd
like to quickly look into the sources of those packages and try to
determine if they actually rely on the XML files.

Regards,
Tobias



signature.asc
Description: OpenPGP digital signature


Bug#907466: Package doesn't ship xml files anymore

2018-08-30 Thread Michael Biebl
On 8/30/18 22:35, Dr. Tobias Quathamer wrote:
> I would like to go through this list of packages and try to spot the
> actual usage of the XML files. If there are only a few packages which
> need to be fixed, it might still be doable before the freeze. From a
> quick glance, there are a few false positives included.

This is very well possible/likely, that this list contains false
positives. But I also might have missed affected packages.
My attempt to find affected packages was done knowing virtually nothing
about the iso-codes package.

I guess you have a better idea, how to find affected reverse dependencies.
Aside from trying codesearch.debian.net, checking for package
(build)-depending on iso-codes might also be an idea.

Regards,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#907466: Package doesn't ship xml files anymore

2018-08-30 Thread Michael Biebl
Hi Tobias

On 8/30/18 22:35, Dr. Tobias Quathamer wrote:
> thanks for your investigation. I've deprecated those XML files more than
> two years ago and thought that this time might suffice to switch over to
> the JSON files.

From past experience, unless you actively file bug reports, don't expect
packages to migrate on their own.

> I would like to go through this list of packages and try to spot the
> actual usage of the XML files. If there are only a few packages which
> need to be fixed, it might still be doable before the freeze. From a
> quick glance, there are a few false positives included. So maybe it's
> not that bad after all.

Filing bug reports against affected packages and user-tagging them might
be a good idea. This will help with tracking the progress of this
transition.

> If however most of the packages in your list have problems now, I'll
> re-add the XML files with the next upload of iso-codes. Maybe another
> try to remove them after the next Debian release ...

I fear unless you actively file bug reports against those packages, the
situation will not automatically be better in buster+1.

Regards,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#907466: Package doesn't ship xml files anymore

2018-08-30 Thread Dr. Tobias Quathamer
Am 30.08.2018 um 14:47 schrieb Michael Biebl:
> On Wed, 29 Aug 2018 15:49:43 +0200 Michael Biebl  wrote:
> 
>> Possibly affected:
>> https://codesearch.debian.net/search?q=iso-codes.*xml
> 
> The list might be even longer:
> https://codesearch.debian.net/search?q=iso_.*%5C.xml
[...]>
> Given that, what do you think about rolling back the changes in
> iso-codes for now e.g. by re-adding the xml files to 4.0 or re-uploading
> 3.79?

Hi,

thanks for your investigation. I've deprecated those XML files more than
two years ago and thought that this time might suffice to switch over to
the JSON files.

Maybe this is not true, after all. :-(

I would like to go through this list of packages and try to spot the
actual usage of the XML files. If there are only a few packages which
need to be fixed, it might still be doable before the freeze. From a
quick glance, there are a few false positives included. So maybe it's
not that bad after all.

If however most of the packages in your list have problems now, I'll
re-add the XML files with the next upload of iso-codes. Maybe another
try to remove them after the next Debian release ...

Regards,
Tobias



signature.asc
Description: OpenPGP digital signature


Bug#907466: Package doesn't ship xml files anymore

2018-08-30 Thread Michael Biebl
On Wed, 29 Aug 2018 15:49:43 +0200 Michael Biebl  wrote:

> Possibly affected:
> https://codesearch.debian.net/search?q=iso-codes.*xml

The list might be even longer:
https://codesearch.debian.net/search?q=iso_.*%5C.xml

apper
calibre
choose-mirror
cinnamon-control-center
django-countries
empathy
epiphany-browser
evolution
fcitx
fcitx-configtool
firefox
firefox-esr
gaupol
geary
gimagereader
gimp
gnome-desktop3
gnome-software
gnuradio
gspell
gst-plugins-base1.0
gtkpod
gtkspell3
gtranslator
hexchat
ibus
iso-codes
java-gnome
kaffeine
ldm
libgda5
libgweather
libisocodes
liblingua-translit-perl
lintian
localechooser
lxdm
mkvtoolnix
mozjs24
mozjs52
network-manager-applet
ocrfeeder
onboard
openjfx
oz
performous
plasma-desktop
pluma
python-apt
qtdeclarative-opensource-src
qtspell
quodlibet
ros-catkin
ruby-libxml
software-properties
sound-juicer
subtitleeditor
thunderbird
trilinos
workrave


Given that, what do you think about rolling back the changes in
iso-codes for now e.g. by re-adding the xml files to 4.0 or re-uploading
3.79?



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#907466: Package doesn't ship xml files anymore

2018-08-29 Thread Leandro Perona
Package: iso-codes
Version: 4.0-1
Followup-For: Bug #907466

Dear Maintainer,

This bug affects gnome-control-center (package version 1:3.28.2-1).

It breaks the functionality of the Region & Language panel, where it's not
possible to list or change languages or formats and causes a segmentation fault
when trying to add keyboard layouts.

Running gnome-control-center from a terminal produces the following output:

*** BEGIN OUTPUT ***

$ gnome-control-center region

(gnome-control-center:2244): GnomeDesktop-WARNING **: 21:41:43.080: Failed to
load '/usr/share/xml/iso-codes/iso_639.xml': Failed to open file
“/usr/share/xml/iso-codes/iso_639.xml”: No such file or directory


(gnome-control-center:2244): GnomeDesktop-WARNING **: 21:41:43.080: Failed to
load '/usr/share/xml/iso-codes/iso_639_3.xml': Failed to open file
“/usr/share/xml/iso-codes/iso_639_3.xml”: No such file or directory


(gnome-control-center:2244): GnomeDesktop-WARNING **: 21:41:43.080: Failed to
load '/usr/share/xml/iso-codes/iso_3166.xml': Failed to open file
“/usr/share/xml/iso-codes/iso_3166.xml”: No such file or directory


(gnome-control-center:2244): GLib-CRITICAL **: 21:41:43.080:
g_string_insert_len: assertion 'len == 0 || val != NULL' failed

(gnome-control-center:2244): GLib-CRITICAL **: 21:41:43.089:
g_string_insert_len: assertion 'len == 0 || val != NULL' failed

(gnome-control-center:2244): GLib-CRITICAL **: 21:41:43.089:
g_string_insert_len: assertion 'len == 0 || val != NULL' failed

(gnome-control-center:2244): GLib-CRITICAL **: 21:41:43.089:
g_string_insert_len: assertion 'len == 0 || val != NULL' failed

(gnome-control-center:2244): GLib-CRITICAL **: 21:41:43.143:
g_string_insert_len: assertion 'len == 0 || val != NULL' failed

(gnome-control-center:2244): GLib-CRITICAL **: 21:41:43.143:
g_string_insert_len: assertion 'len == 0 || val != NULL' failed

(gnome-control-center:2244): GLib-CRITICAL **: 21:41:43.214:
g_string_insert_len: assertion 'len == 0 || val != NULL' failed

(gnome-control-center:2244): GLib-CRITICAL **: 21:41:43.214:
g_string_insert_len: assertion 'len == 0 || val != NULL' failed

(gnome-control-center:2244): GLib-CRITICAL **: 21:41:43.214:
g_string_insert_len: assertion 'len == 0 || val != NULL' failed

(gnome-control-center:2244): GLib-CRITICAL **: 21:41:43.214:
g_string_insert_len: assertion 'len == 0 || val != NULL' failed
Segmentation fault

*** END OUTPUT ***

Regards,

Leandro Perona



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

Kernel: Linux 4.17.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

iso-codes depends on no packages.

iso-codes recommends no packages.

Versions of packages iso-codes suggests:
pn  isoquery  

-- no debconf information


Bug#907466: Package doesn't ship xml files anymore

2018-08-29 Thread Michael Biebl
On Tue, 28 Aug 2018 11:58:46 +0200 Laurent Bigonville 
wrote:
> Package: iso-codes
> Version: 4.0-1
> Severity: serious
> 
> Hi,
> 
> Since 4.0-1, iso-codes package is not shipping the xml files anymore:
> 
>* New upstream version 4.0
>  - This new release does no longer include the XML data files.
>Please use the JSON data files from now on.
> 
> This causes at least one other package to break (gnome-software)
> 
> Could you please check the package that are actually using the xml files
> and help them to transition to the JSON ones

Possibly affected:
https://codesearch.debian.net/search?q=iso-codes.*xml

$ curl -s
https://codesearch.debian.net/results/feb40fd23d0d6182/packages.json |
jq -r '.Packages[]'
gtranslator
apper
openjfx
ldm
choose-mirror
network-manager-applet
pluma
epiphany-browser
gimagereader
performous
onboard
django-countries
gaupol
lintian
java-gnome
quodlibet
iso-codes
libisocodes
ibus
firefox
kaffeine
python-apt
gst-plugins-base1.0
software-properties
workrave



https://codesearch.debian.net/search?q=iso_codes_parse.*%5C.xml
gspell, hexchat, gtkspell3
-- 
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#907466: Package doesn't ship xml files anymore

2018-08-28 Thread Laurent Bigonville
Package: iso-codes
Version: 4.0-1
Severity: serious

Hi,

Since 4.0-1, iso-codes package is not shipping the xml files anymore:

   * New upstream version 4.0
 - This new release does no longer include the XML data files.
   Please use the JSON data files from now on.

This causes at least one other package to break (gnome-software)

Could you please check the package that are actually using the xml files
and help them to transition to the JSON ones?

Kind regards,

Laurent Bigonville

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy

iso-codes depends on no packages.

iso-codes recommends no packages.

Versions of packages iso-codes suggests:
pn  isoquery  

-- no debconf information