Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 569544 - [sci-overlay] dev-cpp/eigen-3.2.7 install pkg-config file with invalid cflags line
Summary: [sci-overlay] dev-cpp/eigen-3.2.7 install pkg-config file with invalid cflags...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-23 20:37 UTC by Attila Tóth
Modified: 2016-05-11 17:55 UTC (History)
3 users (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 Attila Tóth 2015-12-23 20:37:12 UTC
/usr/share/pkgconfig/eigen3.pc contains:
"Cflags: -Iinclude/eigen3"

Therefore any package trying to configure eigen-3 linkage will fail to compile, because of trying to use the invalid include snippet.

The culprit line should look like this:
Cflags: -I/usr/include/eigen3

Instead of hacking those packages, it would be much better to fix eigen-3 pc file!

Example packages failing because of this:
movit: https://bugs.gentoo.org/show_bug.cgi?id=569060
mlt: https://bugs.gentoo.org/show_bug.cgi?id=569314

Reproducible: Always
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2015-12-24 08:37:53 UTC
Actually it is the same in 3.2.6 in gentoo.git as well.
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2015-12-24 08:56:22 UTC
commit 7ed315ca75bf61bc1e4e511157cd0658454d3e3c
Author: Justin Lecher <jlec@gentoo.org>
Date:   Thu Dec 24 09:55:34 2015 +0100

    dev-cpp/eigen: Fix pc file

    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=569544

    Package-Manager: portage-2.2.26
    Signed-off-by: Justin Lecher <jlec@gentoo.org>
Comment 3 Adam Feldman gentoo-dev 2016-01-01 23:46:06 UTC
(In reply to Justin Lecher from comment #2)
> commit 7ed315ca75bf61bc1e4e511157cd0658454d3e3c
> Author: Justin Lecher <jlec@gentoo.org>
> Date:   Thu Dec 24 09:55:34 2015 +0100
> 
>     dev-cpp/eigen: Fix pc file
> 
>     Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=569544
> 
>     Package-Manager: portage-2.2.26
>     Signed-off-by: Justin Lecher <jlec@gentoo.org>

jlec, Where is this commit?  https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ed315ca75bf61bc1e4e511157cd0658454d3e3c says it is an invalid commit hash.
Comment 4 Adam Feldman gentoo-dev 2016-01-01 23:49:23 UTC
(In reply to NP-Hardass from comment #3)
> (In reply to Justin Lecher from comment #2)
> > commit 7ed315ca75bf61bc1e4e511157cd0658454d3e3c
> > Author: Justin Lecher <jlec@gentoo.org>
> > Date:   Thu Dec 24 09:55:34 2015 +0100
> > 
> >     dev-cpp/eigen: Fix pc file
> > 
> >     Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=569544
> > 
> >     Package-Manager: portage-2.2.26
> >     Signed-off-by: Justin Lecher <jlec@gentoo.org>
> 
> jlec, Where is this commit? 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=7ed315ca75bf61bc1e4e511157cd0658454d3e3c says it is an invalid commit
> hash.

Oh, my apologies, it's in an overlay.  Should this be/is this going to be migrated to the main repo?  Looks like https://bugs.gentoo.org/show_bug.cgi?id=569804 be a similar issue.
Comment 5 Michael Palimaka (kensington) gentoo-dev 2016-05-11 17:55:07 UTC
Correct pkgconfig file is installed in 3.2.8-r2.