[Bug 1687322] [NEW] Remaining character in /usr/bin/gdlib-config
Laurent
1687322 at bugs.launchpad.net
Sun Apr 30 20:32:24 UTC 2017
Public bug reported:
Hello,
My system is "Ubuntu 16.04.2 LTS" (grep DISTRIB_DESCRIPTION /etc/lsb-
release).
I installed libgd-dev:
$ dpkg -l | grep libgd-dev
> libgd-dev:amd64 2.1.1-4ubuntu0.16.04.6
I run:
$ /usr/bin/gdlib-config --all
> GD library 2.1.1@
> [...]
You can see a '@' character located after the version "2.1.1".
This is the BUG: this character should not be here.
I went to:
http://packages.ubuntu.com/xenial/libgd-dev
I downloaded:
libgd2_2.1.1-4ubuntu0.16.04.6.debian.tar.xz
It contains the following file:
patches/gdlib-config-uses-pkgconfig.patch
This file contains:
- echo "GD library @VERSION@"
[...]
+ echo "GD library $($0 --version)@"
As you can see, there is a remaining '@', which is a remain of "@VERSION@".
This ending '@' must be deleted.
A trivial patch is attached. It is untested.
IMPORTANT
=========
This BUG impacts libgd-perl whose GD-2.53/Makefile.PL contains a
test on version and expects only integers (not the '@'). See
debian/patches/020150323~58eceb8.patch in libgd-perl_2.53-2.1.debian.tar.xz
which uses "/^2\.(\d+)\.(\d+)$/", which fails because the last fragment
is not an integer (\d).
So, after fixing /usr/bin/gdlib-config, the package libgd-perl HAVE TO BE
regenerated (recompiled). Could you also do this please?
** Affects: libgd2 (Ubuntu)
Importance: Undecided
Status: New
** Patch added: "patch-to-remove-the-at.txt"
https://bugs.launchpad.net/bugs/1687322/+attachment/4870063/+files/patch-to-remove-the-at.txt
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libgd2 in Ubuntu.
https://bugs.launchpad.net/bugs/1687322
Title:
Remaining character in /usr/bin/gdlib-config
Status in libgd2 package in Ubuntu:
New
Bug description:
Hello,
My system is "Ubuntu 16.04.2 LTS" (grep DISTRIB_DESCRIPTION /etc/lsb-
release).
I installed libgd-dev:
$ dpkg -l | grep libgd-dev
> libgd-dev:amd64 2.1.1-4ubuntu0.16.04.6
I run:
$ /usr/bin/gdlib-config --all
> GD library 2.1.1@
> [...]
You can see a '@' character located after the version "2.1.1".
This is the BUG: this character should not be here.
I went to:
http://packages.ubuntu.com/xenial/libgd-dev
I downloaded:
libgd2_2.1.1-4ubuntu0.16.04.6.debian.tar.xz
It contains the following file:
patches/gdlib-config-uses-pkgconfig.patch
This file contains:
- echo "GD library @VERSION@"
[...]
+ echo "GD library $($0 --version)@"
As you can see, there is a remaining '@', which is a remain of "@VERSION@".
This ending '@' must be deleted.
A trivial patch is attached. It is untested.
IMPORTANT
=========
This BUG impacts libgd-perl whose GD-2.53/Makefile.PL contains a
test on version and expects only integers (not the '@'). See
debian/patches/020150323~58eceb8.patch in libgd-perl_2.53-2.1.debian.tar.xz
which uses "/^2\.(\d+)\.(\d+)$/", which fails because the last fragment
is not an integer (\d).
So, after fixing /usr/bin/gdlib-config, the package libgd-perl HAVE TO BE
regenerated (recompiled). Could you also do this please?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libgd2/+bug/1687322/+subscriptions
More information about the foundations-bugs
mailing list