Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673218 - dev-db/mariadb-connector-c-3.0.7 installs /usr/lib/pkgconfig/libmariadb.pc instead of /usr/$(get_libdir)/pkgconfig/libmariadb.pc
Summary: dev-db/mariadb-connector-c-3.0.7 installs /usr/lib/pkgconfig/libmariadb.pc in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-15 23:32 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2018-12-17 11:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2018-12-15 23:32:25 UTC
dev-db/mariadb-connector-c-3.0.7 installs /usr/lib/pkgconfig/libmariadb.pc instead of /usr/$(get_libdir)/pkgconfig/libmariadb.pc.

(dev-db/mariadb-connector-c-3.0.6-r1 installs this file in correct directory.)

Probably caused by:
https://github.com/MariaDB/mariadb-connector-c/commit/2a49494c0977205fe1e88e98816a9d6a942688be

Solution is to backport https://github.com/MariaDB/mariadb-connector-c/commit/44b21bf642c6eeacbebeeea512078b8d488147cb (already included in 3.0.8 tag which is maybe not yet officially released) and to set -DINSTALL_PCDIR="$(get_libdir)/pkgconfig" in ebuild.
Comment 1 Larry the Git Cow gentoo-dev 2018-12-17 02:01:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71ffb6be137465ce9d49f95f8444d8ea434d1bf8

commit 71ffb6be137465ce9d49f95f8444d8ea434d1bf8
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-12-17 02:00:43 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-12-17 02:00:43 +0000

    dev-db/mariadb-connector-c: fix pkg-config file install location
    
    Closes: https://bugs.gentoo.org/673218
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 ...h => mariadb-connector-c-3.0.7-fix-pkconfig-file-r1.patch} | 11 +++++++++++
 ...tor-c-3.0.7.ebuild => mariadb-connector-c-3.0.7-r1.ebuild} |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)
Comment 2 Arfrever Frehtes Taifersar Arahesis 2018-12-17 03:01:40 UTC
(The patch was renamed, but dev-db/mariadb-connector-c-9999 still references the old patch, and the new patch would actually fail to apply...)
Comment 3 Larry the Git Cow gentoo-dev 2018-12-17 11:06:07 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92437856b0ef2c059cc9c19be5d89b3c1a048c12

commit 92437856b0ef2c059cc9c19be5d89b3c1a048c12
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-12-17 11:04:49 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-12-17 11:05:58 +0000

    dev-db/mariadb-connector-c: fix pkg-config file install location
    
    Bug: https://bugs.gentoo.org/673218
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 ...ariadb-connector-c-3.0.7-fix-pkconfig-file.patch | 21 +++++++++++++++++++++
 .../mariadb-connector-c-9999.ebuild                 |  1 +
 2 files changed, 22 insertions(+)