Re: lbglib-json in Jessie

2018-07-08 Thread Allin Cottrell

On Sun, 8 Jul 2018, Allin Cottrell wrote:

However, if the preferred policy is minimal change, then (as Charles Lamb 
suggested) the release of a revised version of libjson-glib 1.0.2 for Jessie 
with the key fix cherry-picked would be fine by us. In that case (maybe I'm 
repeating what's up-thread), the relevant patch can be found as Attachment 
293136 at https://bugzilla.gnome.org/show_bug.cgi?id=741824


Sorry, Chris Lamb, not Charles, was the author of the suggestion I 
mentioned. And I commented on names going slightly adrift...


Allin Cottrell




Re: lbglib-json in Jessie

2018-07-08 Thread Allin Cottrell
Apologies for butting in, but maybe I can clarify a little. (I'm a 
co-developer of gretl with Riccardo.)


The upstream software in question is called json-glib, and the 
Debian packages are libjson-glib*. (The names have gone a little 
adrift up-thread.)


We use json-glib in gretl and are concerned that the version 
supplied with Debian Jessie (namely, 1.0.2) has a significant bug 
that was fixed in version 1.0.4. The latter is just a patch-level 
update so it seems to me Jessie might reasonably offer an update to 
1.0.4.


However, if the preferred policy is minimal change, then (as Charles 
Lamb suggested) the release of a revised version of libjson-glib 
1.0.2 for Jessie with the key fix cherry-picked would be fine by us. 
In that case (maybe I'm repeating what's up-thread), the relevant 
patch can be found as Attachment 293136 at 
https://bugzilla.gnome.org/show_bug.cgi?id=741824


--
Allin Cottrell
Department of Economics
Wake Forest University



Re: lbglib-json in Jessie

2018-07-08 Thread Chris Lamb
Riccardo,

> >> Ah, you're right. I just needed that for the "-dev" package, which I need
> >> for building gretl.
> >>
> >>> To clarify/summarise, are you suggesting that we upgrade src:glib-json
> >>> from 1.0.2 → 1.0.4?
> >>
> >> Yes (and the dev-package too, of course)
> >
> > I think there is some confusion here or something at least worth
> > clarifying so we are sure we are talking about the same thing -
> > when a package is updated/uploaded in Debian, the entire source
> > package is updated. In other words, one can't just update the -dev
> > package anyway.
> 
> Yes, I'm aware of that.

... then it is unclear / misleading why you are referencing the "glib-
json" source package and then mentioning the -dev binary package (with
a "too") as if they are separate concerns.

> >>> Why don't we just cherry-pick the aforementioned patch and apply it to
> >>> 1.0.2? :)
> >>
> >> You mean, in my local system?
> >
> > No, I mean apply this patch to an updated version of 1.0.2 and
> > upload that to jessie  [..]
> 
> I'm a bit reluctant to do this, as I've never done this before

You have misread what I wrote. I am not asking you to do that locally
or otherwise. I am asking why we (LTS) don't apply that commit and
upload it to jessie.

> Hm, I don't think so. Should I file a bug report?

Yes. (Issues in Debian should almost always have a bug report, at
least so we can track the versions affected.)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Re: lbglib-json in Jessie

2018-07-08 Thread Riccardo (Jack) Lucchetti

On Sun, 8 Jul 2018, Chris Lamb wrote:


Riccardo,


Ah, you're right. I just needed that for the "-dev" package, which I need
for building gretl.


To clarify/summarise, are you suggesting that we upgrade src:glib-json
from 1.0.2 → 1.0.4?


Yes (and the dev-package too, of course)


I think there is some confusion here or something at least worth
clarifying so we are sure we are talking about the same thing - when a
package is updated/uploaded in Debian, the entire source package is
updated. In other words, one can't just update the -dev package anyway.


Yes, I'm aware of that.


Why don't we just cherry-pick the aforementioned patch and apply it to
1.0.2? :)


You mean, in my local system?


No, I mean apply this patch to an updated version of 1.0.2 and
upload that to jessie rather than introduce all the other changes that
make up the diff between this version and 1.0.4.


I'm a bit reluctant to do this, as I've never done this before and I'd 
probably spend a long time doing something that would need to be revised 
by somebody competent anyway. Sorry.



(Does this issue have a bug in the Debian BTS?)


Hm, I don't think so. Should I file a bug report?

---
  Riccardo (Jack) Lucchetti
  Dipartimento di Scienze Economiche e Sociali (DiSES)

  Università Politecnica delle Marche
  (formerly known as Università di Ancona)

  r.lucche...@univpm.it
  http://www2.econ.univpm.it/servizi/hpp/lucchetti
---

Re: lbglib-json in Jessie

2018-07-08 Thread Chris Lamb
Riccardo,

> Ah, you're right. I just needed that for the "-dev" package, which I need 
> for building gretl.
> 
> > To clarify/summarise, are you suggesting that we upgrade src:glib-json
> > from 1.0.2 → 1.0.4?
> 
> Yes (and the dev-package too, of course)

I think there is some confusion here or something at least worth
clarifying so we are sure we are talking about the same thing - when a
package is updated/uploaded in Debian, the entire source package is
updated. In other words, one can't just update the -dev package anyway.

> > Why don't we just cherry-pick the aforementioned patch and apply it to 
> > 1.0.2? :)
> 
> You mean, in my local system?

No, I mean apply this patch to an updated version of 1.0.2 and
upload that to jessie rather than introduce all the other changes that
make up the diff between this version and 1.0.4.

(Does this issue have a bug in the Debian BTS?)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Re: lbglib-json in Jessie

2018-07-08 Thread Riccardo (Jack) Lucchetti

On Sun, 8 Jul 2018, Chris Lamb wrote:


Hi Riccardo,


gretl developer here. We found that libglib-json 1.0.2 (which is the
version still present in Jessie) is affected by a relatively nasty bug

[…]

I personally was able to get around the problem quite easily by installing
on the affected machine the Stretch version (1.2.6), which required just
another upgrade (gir1.2-json to 2.0.1).


I'm being slightly misled by your reference to gir1.2-json there as
this is part of glib-json source package - did you typo with the "lib"
prefix to "libjson-json"?


Ah, you're right. I just needed that for the "-dev" package, which I need 
for building gretl.



To clarify/summarise, are you suggesting that we upgrade src:glib-json
from 1.0.2 → 1.0.4?


Yes (and the dev-package too, of course)

Why don't we just cherry-pick the aforementioned patch and apply it to 
1.0.2? :)


You mean, in my local system? I thought LTS for Jessie ended in 2020, and 
IMO it'd be nice to fix a package in the official repo.


---
  Riccardo (Jack) Lucchetti
  Dipartimento di Scienze Economiche e Sociali (DiSES)

  Università Politecnica delle Marche
  (formerly known as Università di Ancona)

  r.lucche...@univpm.it
  http://www2.econ.univpm.it/servizi/hpp/lucchetti
---

Re: lbglib-json in Jessie

2018-07-08 Thread Chris Lamb
Hi Riccardo,

> gretl developer here. We found that libglib-json 1.0.2 (which is the 
> version still present in Jessie) is affected by a relatively nasty bug
[…]
> I personally was able to get around the problem quite easily by installing 
> on the affected machine the Stretch version (1.2.6), which required just 
> another upgrade (gir1.2-json to 2.0.1).

I'm being slightly misled by your reference to gir1.2-json there as
this is part of glib-json source package - did you typo with the "lib"
prefix to "libjson-json"?

To clarify/summarise, are you suggesting that we upgrade src:glib-json
from 1.0.2 → 1.0.4? Why don't we just cherry-pick the aforementioned
patch and apply it to 1.0.2? :)


Best wishes,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



lbglib-json in Jessie

2018-07-08 Thread Riccardo (Jack) Lucchetti

Hi all,

gretl developer here. We found that libglib-json 1.0.2 (which is the 
version still present in Jessie) is affected by a relatively nasty bug; 
see commit 1f6668a9534c01523361075dad290c0dc49d7623 in


http://ftp.acc.umu.se/pub/GNOME/sources/json-glib/1.0/json-glib-1.0.4.changes

I personally was able to get around the problem quite easily by installing 
on the affected machine the Stretch version (1.2.6), which required just 
another upgrade (gir1.2-json to 2.0.1). However, since apparently the bug 
was fixed in 1.0.4, it could be a good idea to upgrade the Jessie version 
at least to that version.


Thanks,

---
  Riccardo (Jack) Lucchetti
  Dipartimento di Scienze Economiche e Sociali (DiSES)

  Università Politecnica delle Marche
  (formerly known as Università di Ancona)

  r.lucche...@univpm.it
  http://www2.econ.univpm.it/servizi/hpp/lucchetti
---