[Bug 766833] New: PKG_CONFIG_PATH incorrect for multiarch on Debian

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue May 24 10:22:12 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=766833

            Bug ID: 766833
           Summary: PKG_CONFIG_PATH incorrect for multiarch on Debian
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: cerbero
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: rfwebb at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

It seems that the PKG_CONFIG_PATH that is set up in `cerbero/utils/__init__.py`
is not always correct. 

On the board I am currently using (Wandboard with Ubuntu 14.04) for instance,
arch specific pkgconfigs are in `/usr/lib/arm-linux-gnueabihf/pkgconfig`, while
the python script assumes this is always 'usr/lib/%s-linux-gnu/pkgconfig' %
arch. This doesn't take into account the Multiarch tuples as specified here:

https://wiki.debian.org/Multiarch/Tuples

I would suggest that this is changed (on Debian) to include the output of the
following command:

dpkg-architecture -qDEB_HOST_MULTIARCH

On my system, the above outputs the correct multiarch tuple:
`arm-linux-gnueabihf`.

Happy to attempt a patch if this seems acceptable.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list