Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644108 - dev-db/mariadb-10.2.12: dosym on double EPREFIX
Summary: dev-db/mariadb-10.2.12: dosym on double EPREFIX
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-10 09:26 UTC by Michael Schubert
Modified: 2018-04-22 22:39 UTC (History)
2 users (show)

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


Attachments
mariadb-10.2.12.ebuild.patch (mariadb-10.2.12.ebuild.patch,1.24 KB, patch)
2018-04-22 21:57 UTC, Martin Mokrejš
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Schubert 2018-01-10 09:26:32 UTC
In dev-db/mariadb-10.2.12.ebuild:

Line #520 reads:

    dosym libmariadb.so.3 "${EPREFIX}usr/$(get_libdir)/libmysqlclient.so.${SUBSLOT}"

But this causes a double $EPREFIX and hence QA check error.

If I'm not mistaken, this line should rather be:

    dosym libmariadb.so.3 "usr/$(get_libdir)/libmysqlclient.so.${SUBSLOT}"

as "dosym" already includes $EPREFIX.
Comment 1 Martin Mokrejš 2018-04-22 21:52:14 UTC
Right, I think I already had an issue about this, or a pull request? :(


>>> Completed installing mariadb-10.2.12 into /apps/gentoo/var/tmp/portage/dev-db/mariadb-10.2.12/image/

 * Final size of build directory: 814732 KiB
 * Final size of installed tree: 174244 KiB

 * QA Notice: apps/gentoo///apps/gentoo/ double prefix
 * QA Notice: apps/gentoo///apps/gentoo/usr double prefix
 * QA Notice: apps/gentoo///apps/gentoo/usr/lib64 double prefix
 * QA Notice: apps/gentoo///apps/gentoo/usr/lib64/libmysqlclient.so.18 double prefix
 * ERROR: dev-db/mariadb-10.2.12::gentoo failed:
 *   Aborting due to QA concerns: double prefix files installed
 * 
 * Call stack:
 *   misc-functions.sh, line 603:  Called install_qa_check
 *   misc-functions.sh, line 217:  Called source 'install_symlink_html_docs'
 *            05prefix, line 114:  Called install_qa_check_prefix
 *            05prefix, line  19:  Called die
 * The specific snippet of code:
 *   		die "Aborting due to QA concerns: double prefix files installed"
Comment 2 Martin Mokrejš 2018-04-22 21:57:29 UTC
Created attachment 528238 [details, diff]
mariadb-10.2.12.ebuild.patch
Comment 3 Larry the Git Cow gentoo-dev 2018-04-22 22:39:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e8b335ea682bf0204cebf6af208b60977e579ef

commit 2e8b335ea682bf0204cebf6af208b60977e579ef
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2018-04-22 22:39:07 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2018-04-22 22:39:07 +0000

    dev-db/mariadb: QA: Fix prefix support for double EPREFIX
    
    Closes: https://bugs.gentoo.org/644108
    Package-Manager: Portage-2.3.31, Repoman-2.3.9

 dev-db/mariadb/mariadb-10.2.12.ebuild   | 10 +++++-----
 dev-db/mariadb/mariadb-10.2.13.ebuild   | 10 +++++-----
 dev-db/mariadb/mariadb-10.2.14.ebuild   | 10 +++++-----
 dev-db/mariadb/mariadb-10.3.5_rc.ebuild | 10 +++++-----
 4 files changed, 20 insertions(+), 20 deletions(-)