Processed: Re: Bug#844486: Bug#844526: Bug#844486: gnuplot-qt: Mismatch between the program and library build versions with GNUTERM=wxt

2016-12-07 Thread Debian Bug Tracking System
Processing control commands:

> severity -1 minor
Bug #844486 [src:wxwidgets3.0] wxwidgets3.0 should drop the ABI mismatch message
Bug #846019 [src:wxwidgets3.0] pgadmin3: SIGABRT after fatal error complaint 
regarding libwxgtx ABI mismatch
Severity set to 'minor' from 'serious'
Severity set to 'minor' from 'serious'

-- 
844486: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844486
846019: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846019
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#844486: Bug#844526: Bug#844486: gnuplot-qt: Mismatch between the program and library build versions with GNUTERM=wxt

2016-12-07 Thread Olly Betts
Control: severity -1 minor

On Tue, Dec 06, 2016 at 07:26:17PM +0200, Adrian Bunk wrote:
> Control: reassign 846019 src:wxwidgets3.0
> Control: forcemerge -1 846019
> Control: severity -1 serious
> Control: affects -1 pgadmin3
> 
> After looking at #846019 this appears to be pretty RC.

#846019 looks to be something different - it's giving a *FATAL* error there
(it's not obvious to me how or why since the two strings seem to match aside
from the ABI and I've not had time to try to reproduce yet), but that means it
would not be helped by the proposed patch, since it's not invoking the warning
case but dropping through to the fatal error code below.

I also don't have the time right now to work out how to undo the unhelpful
forcemerge you've just done, so for now I'm just setting the severity back to
the appropriate one for #844486.  If you know how to cleanly revert a
forcemerge, please do.

As for the proposed patch, I'm not wild about just removing this warning - the
current patch we're applying downgrades the fatal error to a warning so that
there's a hint as to what's going on if there are problems caused by the
compler ABI change.  Remove that will make it much harder to debug any
such cases, and risks annoying wx upstream with bug reports.  If people
are finding the current wording too scary, we could reword it.

Cheers,
Olly



Processed: Re: Bug#844486: Bug#844526: Bug#844486: gnuplot-qt: Mismatch between the program and library build versions with GNUTERM=wxt

2016-12-06 Thread Debian Bug Tracking System
Processing control commands:

> reassign 846019 src:wxwidgets3.0
Bug #846019 [wxwidgets3.0] pgadmin3: SIGABRT after fatal error complaint 
regarding libwxgtx ABI mismatch
Bug reassigned from package 'wxwidgets3.0' to 'src:wxwidgets3.0'.
Ignoring request to alter found versions of bug #846019 to the same values 
previously set
Ignoring request to alter fixed versions of bug #846019 to the same values 
previously set
> forcemerge -1 846019
Bug #844486 [src:wxwidgets3.0] wxwidgets3.0 should drop the ABI mismatch message
Bug #846019 [src:wxwidgets3.0] pgadmin3: SIGABRT after fatal error complaint 
regarding libwxgtx ABI mismatch
Severity set to 'minor' from 'grave'
846019 was not blocked by any bugs.
846019 was not blocking any bugs.
Added blocking bug(s) of 846019: 844526
Added indication that 846019 affects gnuplot-qt
Added tag(s) patch.
Merged 844486 846019
> severity -1 serious
Bug #844486 [src:wxwidgets3.0] wxwidgets3.0 should drop the ABI mismatch message
Bug #846019 [src:wxwidgets3.0] pgadmin3: SIGABRT after fatal error complaint 
regarding libwxgtx ABI mismatch
Severity set to 'serious' from 'minor'
Severity set to 'serious' from 'minor'
> affects -1 pgadmin3
Bug #844486 [src:wxwidgets3.0] wxwidgets3.0 should drop the ABI mismatch message
Bug #846019 [src:wxwidgets3.0] pgadmin3: SIGABRT after fatal error complaint 
regarding libwxgtx ABI mismatch
Added indication that 844486 affects pgadmin3
Added indication that 846019 affects pgadmin3

-- 
844486: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844486
846019: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846019
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: Re: Bug#844526: Bug#844486: gnuplot-qt: Mismatch between the program and library build versions with GNUTERM=wxt

2016-11-17 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 src:wxwidgets3.0
Bug #844486 [gnuplot-qt] gnuplot-qt: Mismatch between the program and library 
build versions with GNUTERM=wxt
Bug reassigned from package 'gnuplot-qt' to 'src:wxwidgets3.0'.
No longer marked as found in versions gnuplot/5.0.5+dfsg1-4.
Ignoring request to alter fixed versions of bug #844486 to the same values 
previously set
> retitle -1 wxwidgets3.0 should drop the ABI mismatch message
Bug #844486 [src:wxwidgets3.0] gnuplot-qt: Mismatch between the program and 
library build versions with GNUTERM=wxt
Changed Bug title to 'wxwidgets3.0 should drop the ABI mismatch message' from 
'gnuplot-qt: Mismatch between the program and library build versions with 
GNUTERM=wxt'.
> affects -1 gnuplot-qt
Bug #844486 [src:wxwidgets3.0] wxwidgets3.0 should drop the ABI mismatch message
Added indication that 844486 affects gnuplot-qt

-- 
844486: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844486
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#844486: Bug#844526: Bug#844486: gnuplot-qt: Mismatch between the program and library build versions with GNUTERM=wxt

2016-11-17 Thread Adrian Bunk
Control: reassign -1 src:wxwidgets3.0
Control: retitle -1 wxwidgets3.0 should drop the ABI mismatch message
Control: affects -1 gnuplot-qt

On Thu, Nov 17, 2016 at 09:41:07AM +0100, Vincent Lefevre wrote:
> On 2016-11-17 14:36:08 +1300, Olly Betts wrote:
> > In upstream wxWidgets, if the compile-time ABI and run-time ABI don't
> > match, then you get an error and the app won't run, which is just not
> > helpful.  In Debian we reduce that error to a warning - in practice I've
> > never seen an actual problem due to this, but leaving the warning there
> > means that this at least gets flagged as a potential issue.
> 
> A warning can be very annoying (e.g. because it mixes with other output
> to the terminal) and possibly break scripts that don't expect output to
> stderr. If this is not expected to work, then an error like upstreams's
> behavior is the right thing to do (there is a real issue, and the user
> must make sure that it gets fixed). Otherwise a warning isn't needed,
> except in some debug mode for developers or andvanced users (but such
> a mode would not be the default).

Yes, this is what should be done.

When the C++ ABI changes in an incompatible way (like it did a year ago),
there will anyway be a complete ABI transition in Debian - any
potential issue would not be specific to wxWidgets.

Matthias Klose confirmed that ABI version 10 is supposed to be backwards 
compatible with ABI version 9.

I'm closing the binNMU request and move the other bug
to src:wxwidgets3.0

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#844486: gnuplot-qt: Mismatch between the program and library build versions with GNUTERM=wxt

2016-11-17 Thread Vincent Lefevre
On 2016-11-17 14:36:08 +1300, Olly Betts wrote:
> In upstream wxWidgets, if the compile-time ABI and run-time ABI don't
> match, then you get an error and the app won't run, which is just not
> helpful.  In Debian we reduce that error to a warning - in practice I've
> never seen an actual problem due to this, but leaving the warning there
> means that this at least gets flagged as a potential issue.

A warning can be very annoying (e.g. because it mixes with other output
to the terminal) and possibly break scripts that don't expect output to
stderr. If this is not expected to work, then an error like upstreams's
behavior is the right thing to do (there is a real issue, and the user
must make sure that it gets fixed). Otherwise a warning isn't needed,
except in some debug mode for developers or andvanced users (but such
a mode would not be the default).

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#844486: gnuplot-qt: Mismatch between the program and library build versions with GNUTERM=wxt

2016-11-16 Thread Anton Gladky
Hi Olly,

thanks for your opinion! From my point of view, wxwidgets3.0
should be binNMUed together with all rdeps. Because even a
minor source upload of wxwidges3.0t will start this process anyway
but in uncoordinated mode.

Cheers

Anton

2016-11-17 2:36 GMT+01:00 Olly Betts :
> However, if you want to eliminate this warning message and are going to
> binNMU wxwidgets3.0 to that end, you will also need to binNMU any of its
> rdeps which haven't been built with the newer compiler ABI, or else
> you're just going to swap around which rdeps issue this warning.
>
> Cheers,
> Olly



Bug#844486: gnuplot-qt: Mismatch between the program and library build versions with GNUTERM=wxt

2016-11-16 Thread Olly Betts
On Wed, Nov 16, 2016 at 08:14:00PM +0100, Anton Gladky wrote:
> block 844486 by 844526
> thanks
> 
> wxwidget should be binnmued to fix the bug properly.

I don't believe there's actually any real bug here, let alone an RC one.

GCC makes small fixes to obscure corner cases of the C++ ABI from time
to time and (not unreasonably) bumps the ABI version each time.  It used
to be the case that GCC defaulted to the old ABI version in this case,
but more recently they seem to make the new ABI version the default
instead.

In upstream wxWidgets, if the compile-time ABI and run-time ABI don't
match, then you get an error and the app won't run, which is just not
helpful.  In Debian we reduce that error to a warning - in practice I've
never seen an actual problem due to this, but leaving the warning there
means that this at least gets flagged as a potential issue.

However, if you want to eliminate this warning message and are going to
binNMU wxwidgets3.0 to that end, you will also need to binNMU any of its
rdeps which haven't been built with the newer compiler ABI, or else
you're just going to swap around which rdeps issue this warning.

Cheers,
Olly



Bug#844486: gnuplot-qt: Mismatch between the program and library build versions with GNUTERM=wxt

2016-11-16 Thread Anton Gladky
block 844486 by 844526
thanks

wxwidget should be binnmued to fix the bug properly.

Cheers

Anton


2016-11-16 11:11 GMT+01:00 Vincent Lefevre :
>> (Set to serious as I believe that the ABI mismatch may yield obscure
>> bugs and should be solved before the next stable release.)
>
> More generally, isn't there anything missing in the build dependency
> rules to avoid this mismatch?



Processed: Re: Bug#844486: gnuplot-qt: Mismatch between the program and library build versions with GNUTERM=wxt

2016-11-16 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> block 844486 by 844526
Bug #844486 [gnuplot-qt] gnuplot-qt: Mismatch between the program and library 
build versions with GNUTERM=wxt
844486 was not blocked by any bugs.
844486 was not blocking any bugs.
Added blocking bug(s) of 844486: 844526
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
844486: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844486
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#844486: gnuplot-qt: Mismatch between the program and library build versions with GNUTERM=wxt

2016-11-16 Thread Vincent Lefevre
On 2016-11-16 10:10:09 +0100, Vincent Lefevre wrote:
> Package: gnuplot-qt
> Version: 5.0.5+dfsg1-4
> Severity: serious
> 
> (Set to serious as I believe that the ABI mismatch may yield obscure
> bugs and should be solved before the next stable release.)

More generally, isn't there anything missing in the build dependency
rules to avoid this mismatch?

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#844486: gnuplot-qt: Mismatch between the program and library build versions with GNUTERM=wxt

2016-11-16 Thread Vincent Lefevre
Package: gnuplot-qt
Version: 5.0.5+dfsg1-4
Severity: serious

(Set to serious as I believe that the ABI mismatch may yield obscure
bugs and should be solved before the next stable release.)

When I use GNUTERM=wxt and plot data, I get a warning like:

10:01:38: Warning: Mismatch between the program and library build versions 
detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx 
containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1010,wx 
containers,compatible with 2.8).

for instance with:

$ GNUTERM=wxt /usr/bin/gnuplot -persist <