gtkada-config gives wrong path for libgtkada2 (or libgtkada2 is installed in wrong path)

Bug #627059 reported by Gustaf Thorslund
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libgtkada2 (Debian)
Fix Released
Unknown
libgtkada2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

# Release
gustaf@sture:~$ lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04

# Installed packages
gustaf@sture:~$ dpkg -S /usr/share/ada/adainclude/gtkada2
libgtkada2.14.2-dev: /usr/share/ada/adainclude/gtkada2
gustaf@sture:~$ dpkg -S $(which gtkada-config)
libgtkada2-bin: /usr/bin/gtkada-config

# Check where gtkada2 got installed
gustaf@sture:~$ ls -ld /usr/share/ada/adainclude/gtkada2*
drwxr-xr-x 2 root root 28672 2010-08-28 19:54 /usr/share/ada/adainclude/gtkada2
-rw-r--r-- 1 root root 588 2010-04-28 06:13 /usr/share/ada/adainclude/gtkada2.gpr

# gtkada-config is supposed to return the right paths, but points to gtkada2.14.2 instead
gustaf@sture:~$ gtkada-config
-aI/usr/share/ada/adainclude/gtkada2.14.2 -aO/usr/lib/ada/adalib/gtkada2.14.2 -largs -L/usr/lib -lgtkada2 -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lgio-2.0 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0

# Workaround
gustaf@sture:~$ cd /usr/share/ada/adainclude/
gustaf@sture:/usr/share/ada/adainclude$ sudo ln -s gtkada2 gtkada2.14.2

# Comment
Adding a symlink works fine, but I suppose the more correct solution would be to have libgtkada2.14.2-dev install in /usr/share/ada/adainclude/gtkada2.14.2 and have the symlink in the other direction (if at all).

Revision history for this message
Gustaf Thorslund (gthorslund) wrote :

# Missing version information

gustaf@sture:~$ apt-cache policy libgtkada2.14.2-dev
libgtkada2.14.2-dev:
  Installed: 2.14.2-1ubuntu1
  Candidate: 2.14.2-1ubuntu1
  Version table:
 *** 2.14.2-1ubuntu1 0
        500 http://se.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status
gustaf@sture:~$ apt-cache policy libgtkada2-bin
libgtkada2-bin:
  Installed: 2.14.2-1ubuntu1
  Candidate: 2.14.2-1ubuntu1
  Version table:
 *** 2.14.2-1ubuntu1 0
        500 http://se.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

# Testing on Maverick

gustaf@maverick:~$ lsb_release -rd
Description: Ubuntu maverick (development branch)
Release: 10.10

gustaf@maverick:~$ gtkada-config
-aI/usr/share/ada/adainclude/gtkada2 -aO/usr/lib/ada/adalib/gtkada2 -largs -L/usr/lib -lgtkada2 -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0

gustaf@maverick:~$ ls -ld /usr/share/ada/adainclude/gtkada2*
drwxr-xr-x 2 root root 28672 2010-09-04 22:39 /usr/share/ada/adainclude/gtkada2
-rw-r--r-- 1 root root 588 2010-08-25 03:04 /usr/share/ada/adainclude/gtkada2.gpr

gustaf@maverick:~$ apt-cache policy libgtkada2.14.2-dev
libgtkada2.14.2-dev:
  Installed: 2.14.2-4
  Candidate: 2.14.2-4
  Version table:
 *** 2.14.2-4 0
        500 http://se.archive.ubuntu.com/ubuntu/ maverick/universe i386 Packages
        100 /var/lib/dpkg/status

gustaf@maverick:~$ apt-cache policy libgtkada2-bin
libgtkada2-bin:
  Installed: 2.14.2-4
  Candidate: 2.14.2-4
  Version table:
 *** 2.14.2-4 0
        500 http://se.archive.ubuntu.com/ubuntu/ maverick/universe i386 Packages
        100 /var/lib/dpkg/status

So on Maverick (having upgraded package versions) the bug is gone.

Revision history for this message
Gustaf Thorslund (gthorslund) wrote :

# Testing on Karmic, shows the bug wasn't there either.

karmic% lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10

karmic% gtkada-config
-aI/usr/share/ada/adainclude/gtkada2 -aO/usr/lib/ada/adalib/gtkada2 -largs -L/usr/lib -lgtkada2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0

karmic% ls -ld /usr/share/ada/adainclude/gtkada2*
drwxr-xr-x 2 root root 20480 2010-09-05 06:57 /usr/share/ada/adainclude/gtkada2
-rw-r--r-- 1 root root 588 2009-06-28 10:13 /usr/share/ada/adainclude/gtkada2.gpr

karmic% dpkg -S $(which gtkada-config)
libgtkada2-bin: /usr/bin/gtkada-config

karmic% apt-cache policy libgtkada2-bin
libgtkada2-bin:
  Installed: 2.12.0-4ubuntu1
  Candidate: 2.12.0-4ubuntu1
  Version table:
 *** 2.12.0-4ubuntu1 0
        500 http://gb.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

karmic% dpkg -S /usr/share/ada/adainclude/gtkada2
libgtkada2-dev: /usr/share/ada/adainclude/gtkada2

karmic% apt-cache policy libgtkada2-dev
libgtkada2-dev:
  Installed: 2.12.0-4ubuntu1
  Candidate: 2.12.0-4ubuntu1
  Version table:
 *** 2.12.0-4ubuntu1 0
        500 http://gb.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Gustaf Thorslund (gthorslund) wrote :

Looking at bzr logs for
  lp:ubuntu/libgtkada2
This appears to have been fixed upstream by:
  http://bugs.debian.org/587533
This one looks like a duplicate of the upstream one.

------------------------------------------------------------
revno: 12 [merge]
tags: 2.14.2-4
fixes bug(s): http://bugs.debian.org/587533
author: Ludovic Brenta <email address hidden>
committer: Bazaar Package Importer <email address hidden>
branch nick: maverick
timestamp: Thu 2010-07-08 12:55:03 +0200
message:
  * debian/patch/example_makefiles.patch: new. Thanks, Olivier Henley.
  * debian/rules (configure-stamp): correct the paths. Closes: #587533.
    ------------------------------------------------------------
    revno: 6.1.7
    fixes bug(s): http://bugs.debian.org/587533
    author: Ludovic Brenta <email address hidden>
    committer: Bazaar Package Importer <email address hidden>
    branch nick: sid
    timestamp: Thu 2010-07-08 12:55:03 +0200
    message:
      * debian/patch/example_makefiles.patch: new. Thanks, Olivier Henley.
      * debian/rules (configure-stamp): correct the paths. Closes: #587533.
    ------------------------------------------------------------

So fixed in 2.14.2-4 that's shipped with maverick.

Changed in libgtkada2 (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.