Bug#1014741: libgd-perl: GD and GD2 image formats are disabled in libgd3 package
On Mon, 11 Jul 2022 23:05:32 +0200, gregor herrmann wrote: > > I also note that the tests (which use the samples (which call the > > export_format > > function (which has line 515 of Graph.pm))) also fail by now: > > > > # Failed test at t/samples.t line 21. > > # died: gdImageGdPtr error at > > /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. > > # Compilation failed in require at t/samples.t line 17. > > With this change > > #v+ > % cat debian/patches/disable-old-formats.patch > --- a/Graph.pm > +++ b/Graph.pm > @@ -514,7 +514,7 @@ > $g->colorAllocate(0,0,0); > $g->$_() > }; > -} qw(gif png jpeg xbm xpm gd gd2); > +} qw(gif png jpeg xbm xpm); > wantarray ? @f : $f[0]; > } > > #v- > > the tests indeed pass. > But I don't have enough knowledge about this stuff that I would feel > confident to blindly upload. Out of curiosity, I tried again today to build the package _without_ this patch. -- And: all tests pass. That's with libgd3_2.3.3-6 and libgd-perl_2.76-3. Cheers, gregor -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe `- signature.asc Description: Digital Signature
Bug#1014741: libgd-perl: GD and GD2 image formats are disabled in libgd3 package
That's honestly what I did to get my usecases working again. I also removed the other 2-3 places gd/gd2 are mentioned but I'm not sure those break anything. cheers, On Mon, 11 Jul 2022, gregor herrmann wrote: But I don't have enough knowledge about this stuff that I would feel confident to blindly upload.
Processed: Re: Bug#1014741: libgd-perl: GD and GD2 image formats are disabled in libgd3 package
Processing control commands: > tag -1 + patch Bug #1014741 [libgd-graph-perl] libgd-perl: GD and GD2 image formats are disabled in libgd3 package Added tag(s) patch. -- 1014741: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014741 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#1014741: libgd-perl: GD and GD2 image formats are disabled in libgd3 package
Control: tag -1 + patch On Mon, 11 Jul 2022 17:55:29 +0200, gregor herrmann wrote: > I also note that the tests (which use the samples (which call the > export_format > function (which has line 515 of Graph.pm))) also fail by now: > > # Failed test at t/samples.t line 21. > # died: gdImageGdPtr error at > /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. > # Compilation failed in require at t/samples.t line 17. With this change #v+ % cat debian/patches/disable-old-formats.patch --- a/Graph.pm +++ b/Graph.pm @@ -514,7 +514,7 @@ $g->colorAllocate(0,0,0); $g->$_() }; -} qw(gif png jpeg xbm xpm gd gd2); +} qw(gif png jpeg xbm xpm); wantarray ? @f : $f[0]; } #v- the tests indeed pass. But I don't have enough knowledge about this stuff that I would feel confident to blindly upload. Cheers, gregor -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe `- signature.asc Description: Digital Signature
Bug#1014741: libgd-perl: GD and GD2 image formats are disabled in libgd3 package
Control: tag -1 - moreinfo + confirmed ftbfs Control: severity -1 serious On Mon, 11 Jul 2022 11:02:10 +0200, gregor herrmann wrote: > I have to admit that I'm a bit confused: It is filed against libgd-perl > and you mention a Graph.pm file -- but such a file doesn't exist in > this package. > > Could you please clarify which exact error you are seein in which > exact file (and maybe in which exact package)? Thanks for reassigning to libgd-graph-perl! I also note that the tests (which use the samples (which call the export_format function (which has line 515 of Graph.pm))) also fail by now: # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. # Failed test at t/samples.t line 21. # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515. # Compilation failed in require at t/samples.t line 17. #
Processed: Re: Bug#1014741: libgd-perl: GD and GD2 image formats are disabled in libgd3 package
Processing control commands: > tag -1 - moreinfo + confirmed ftbfs Bug #1014741 [libgd-graph-perl] libgd-perl: GD and GD2 image formats are disabled in libgd3 package Removed tag(s) moreinfo. Bug #1014741 [libgd-graph-perl] libgd-perl: GD and GD2 image formats are disabled in libgd3 package Added tag(s) confirmed and ftbfs. > severity -1 serious Bug #1014741 [libgd-graph-perl] libgd-perl: GD and GD2 image formats are disabled in libgd3 package Severity set to 'serious' from 'grave' -- 1014741: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014741 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Processed: Re: Bug#1014741: libgd-perl: GD and GD2 image formats are disabled in libgd3 package
Processing control commands: > tag -1 + moreinfo Bug #1014741 [libgd-perl] libgd-perl: GD and GD2 image formats are disabled in libgd3 package Added tag(s) moreinfo. -- 1014741: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014741 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#1014741: libgd-perl: GD and GD2 image formats are disabled in libgd3 package
Control: tag -1 + moreinfo On Sun, 10 Jul 2022 23:26:04 -0500, Guyang Mao wrote: > Package: libgd-perl > Version: 2.76-2+b1 > Severity: grave > Justification: renders package unusable > > Graph.pm contains code that specifies file formats "gd" and "gd2" which are > currently disabled in Debian's libgd3 package (these are actually obsolete > formats, apparently, and only used in testing scenarios according to cursory > googling). Attempting to use libgd-perl will always result in an error at > line > 515 in Graph.pm and likely elsewhere. > > Removing gd and gd2 as options from line 515 (and elsewhere as needed) renders > client uses of this library functional again. Thanks for your bug report. I have to admit that I'm a bit confused: It is filed against libgd-perl and you mention a Graph.pm file -- but such a file doesn't exist in this package. Could you please clarify which exact error you are seein in which exact file (and maybe in which exact package)? Cheers, gregor -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe `- signature.asc Description: Digital Signature
Bug#1014741: libgd-perl: GD and GD2 image formats are disabled in libgd3 package
Package: libgd-perl Version: 2.76-2+b1 Severity: grave Justification: renders package unusable Graph.pm contains code that specifies file formats "gd" and "gd2" which are currently disabled in Debian's libgd3 package (these are actually obsolete formats, apparently, and only used in testing scenarios according to cursory googling). Attempting to use libgd-perl will always result in an error at line 515 in Graph.pm and likely elsewhere. Removing gd and gd2 as options from line 515 (and elsewhere as needed) renders client uses of this library functional again. Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these template lines *** -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-6-amd64 (SMP w/4 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libgd-perl depends on: ii libc6 2.33-8 ii libgd3 2.3.3-3 ii perl5.34.0-5 ii perl-base [perlapi-5.34.0] 5.34.0-5 libgd-perl recommends no packages. libgd-perl suggests no packages. -- no debconf information