[Bug 1687322] Re: Remaining character in /usr/bin/gdlib-config

Laurent 1687322 at bugs.launchpad.net
Sat Dec 2 10:11:58 UTC 2017


Hello,
Is there is something I need to do before my patch of May is applied?
Thank you.

-- 
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:
  Triaged

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