Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 919688

Summary: app-text/libetonyek-0.1.10-r2 fails to configure mdds-2.0 missing
Product: Gentoo Linux Reporter: Petr Šourek <sourek.petr>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: libetonyek-0.1.10-r2.ebuild

Description Petr Šourek 2023-12-10 12:49:50 UTC
Created attachment 878641 [details]
libetonyek-0.1.10-r2.ebuild

Hello,

I had problems with libetonyek, which failed to configure. I got:

configure: error: Package requirements (mdds-2.0) were not met:

Package 'mdds-2.0', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables MDDS_CFLAGS
and MDDS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

So I had checked and got mdds-2.1 installed. So I checked ebuild, copied it into my local portage as r2, changed mdds version variable to 2.1 and it compiles correctly.

Didn't find bug, but please someone take a look into it, I am uploading the changed ebuild, not sure if its correct way how to handle it.

Maybee the best way to handle MDDS_LIBS would be check of which version of MDDS is installed, but still new to ebuild system (I used Gentoo around 2000, then I switched to Mac and now after 15 years I had switched back).

Thanks,
Regards,
Petr Sourek
Comment 1 Andreas Sturmlechner gentoo-dev 2023-12-10 14:36:34 UTC
I'm not sure what your problem is.

# equery l -op mdds
 * Searching for mdds ...
[IP-] [  ] dev-util/mdds-2.0.3:1/2.0
[-P-] [ -] dev-util/mdds-9999:1/2.1

# equery l -op libetonyek
 * Searching for libetonyek ...
[IP-] [  ] app-text/libetonyek-0.1.10-r1:0
[-P-] [ -] app-text/libetonyek-9999:0

It should be quite clear what's supported right now will work fine.
Comment 2 Petr Šourek 2023-12-10 16:03:09 UTC
(In reply to Andreas Sturmlechner from comment #1)


I see, my problem is enabled repository (pg_overlay), which has mdds 2.1. Thanks for pointing out.

eql -op mdds
 * Searching for mdds ...
[-P-] [  ] dev-util/mdds-2.0.3:1/2.0
[I-O] [  ] dev-util/mdds-2.1.1:1/2.1
[-P-] [ -] dev-util/mdds-9999:1/2.1

eix mdds
[I] dev-util/mdds
     Available versions:  (1) 2.0.3(1/2.0)^t (~)2.1.1(1/2.1)^t[1] **9999(1/2.1)*l^t
       {doc openmp test}
     Installed versions:  2.1.1(1/2.1)^t[1](13:35:26 10.12.2023)(openmp -doc -test)
     Homepage:            https://gitlab.com/mdds/mdds
     Description:         Collection of multi-dimensional data structure and indexing algorithm

[1] "pg_overlay" /var/db/repos/pg_overlay

Sorry my bad.

Thanks,
Regards,
petr Sourek