Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677476 - dev-libs/girara-0.3.2 - meson.build:1:0: ERROR: The value of the 'libdir' option is '/usr/lib64' which must be a subdir of the prefix '/tmp/prefix-susanw/usr'.
Summary: dev-libs/girara-0.3.2 - meson.build:1:0: ERROR: The value of the 'libdir' op...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-02-08 00:03 UTC by Susan Wilson
Modified: 2019-02-08 14:50 UTC (History)
1 user (show)

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


Attachments
build.log (build-fail.log,3.54 KB, text/plain)
2019-02-08 00:03 UTC, Susan Wilson
Details
emerge --info (emerge.info,5.52 KB, text/plain)
2019-02-08 00:04 UTC, Susan Wilson
Details
patch to fix this issue (girara-0.3.2.ebuild.patch,315 bytes, patch)
2019-02-08 00:04 UTC, Susan Wilson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Susan Wilson 2019-02-08 00:03:01 UTC
Hi,

Under gentoo-prefix configure phase of `dev-libs/girara-0.3.2` fails with the
following error:
```
meson.build:1:0: ERROR:  The value of the 'libdir' option is '/usr/lib64' which must be a subdir of the prefix '/tmp/prefix-susanw/usr'.
Note that if you pass a relative path, it is assumed to be a subdir of prefix.
```

This is caused by a redundant(?) configure option `--libdir=/usr/$(get_libdir)`
in the ebuild.


Reproducible: Always

Steps to Reproduce:
1. emerge girara under gentoo-prefix
Actual Results:  
emerge failed

Expected Results:  
successful merge
Comment 1 Susan Wilson 2019-02-08 00:03:42 UTC
Created attachment 564162 [details]
build.log
Comment 2 Susan Wilson 2019-02-08 00:04:05 UTC
Created attachment 564164 [details]
emerge --info
Comment 3 Susan Wilson 2019-02-08 00:04:33 UTC
Created attachment 564166 [details, diff]
patch to fix this issue
Comment 4 Larry the Git Cow gentoo-dev 2019-02-08 14:50:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51c905af544411c486f1fea821742384c22b17ef

commit 51c905af544411c486f1fea821742384c22b17ef
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2019-02-08 14:49:27 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2019-02-08 14:49:55 +0000

    dev-libs/girara: unhardcode libdir due to prefix keywords
    
    Closes: https://bugs.gentoo.org/677476
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-libs/girara/girara-0.3.1.ebuild | 3 +--
 dev-libs/girara/girara-0.3.2.ebuild | 3 +--
 dev-libs/girara/girara-9999.ebuild  | 3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)