Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704348 - sci-libs/parmetis-4.0.3 and sci-libs/metis-5.1.0-r3 install headers in the wrong directory
Summary: sci-libs/parmetis-4.0.3 and sci-libs/metis-5.1.0-r3 install headers in the wr...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2019-12-31 04:54 UTC by kevinmbecause
Modified: 2020-02-14 12:35 UTC (History)
0 users

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


Attachments
Revised parmetis ebuild (parmetis-4.0.3-r1.ebuild,4.08 KB, text/plain)
2019-12-31 04:56 UTC, kevinmbecause
Details
Revised metis ebuild (metis-5.1.0-r4.ebuild,2.01 KB, text/plain)
2019-12-31 04:56 UTC, kevinmbecause
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kevinmbecause 2019-12-31 04:54:55 UTC
Both packages install metis.h into /usr/include/ while creating a pkg-config file which indicates they are installed in /usr/include/metis/. parmetis installs /usr/include/parmetis.h while the pkg-config file indicates it should be in /usr/include/parmetis/

Reproducible: Always

Steps to Reproduce:
1. Install metis or parmetis
2. pkg-config --cflags metis or parmetis
3. ls /usr/include/metis
Actual Results:  
/usr/include/metis and /usr/include/parmetis do not exist

Expected Results:  
/usr/include/metis and /usr/include/parmetis should contain metis.h and parmetis.h
Comment 1 kevinmbecause 2019-12-31 04:56:21 UTC
Created attachment 601982 [details]
Revised parmetis ebuild
Comment 2 kevinmbecause 2019-12-31 04:56:53 UTC
Created attachment 601984 [details]
Revised metis ebuild
Comment 3 CaptainBlood 2020-02-14 12:35:09 UTC
(In reply to kevinmbecause from comment #1)
> Created attachment 601982 [details]
> Revised parmetis ebuild

Expected directory not created here:

Installed here as parmetis-4.0.3-r3 from local repo:

diff parmetis-4.0.3-r1.ebuild parmetis-4.0.3-r2.ebuild
1c1
< # Copyright 1999-2020 Gentoo Authors
---
> # Copyright 1999-2019 Gentoo Authors
19d18
< LICENSE="all-rights-reserved"
21a21
> LICENSE="free-noncomm"
23d22
< RESTRICT="mirror bindist"
60d58
< 			-e '/add_subdirectory(include/d' \
63a62,64
> 	sed -i \
> 		-e '/add_subdirectory(include/d' \
> 		CMakeLists.txt || die
104c105
< 	insinto /usr/include
---
> 	insinto /usr/include/metis
138a140,141
> 		insinto /usr/include/${PN}
> 		doins include/parmetis.h
-----------------------------------------------------------
eix parmetis 
[I] sci-libs/parmetis
     Available versions:  4.0.3-r1^md 4.0.3-r1^md[1] 4.0.3-r2[1] {doc double-precision examples int64 mpi openmp pcre static-libs}
     Installed versions:  4.0.3-r2[1](15:19:06 14/02/2020)(double-precision int64 mpi openmp -doc -examples -pcre -static-libs)
     Homepage:            http://www-users.cs.umn.edu/~karypis/metis/parmetis/
     Description:         Parallel (MPI) unstructured graph partitioning library

[1] "local-repo" /var/db/repos/local-repo
amd64 /var/db/repos/local-repo/sci-libs/parmetis #  ls /usr/include/parmeti*
parmetis.h
--------------------------------------------------------
Thks 4 ur attention.