Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 771003 - app-crypt/pinentry-1.1.1 pinentry-efl.c:32:10: fatal error: Elementary.h: No such file or directory
Summary: app-crypt/pinentry-1.1.1 pinentry-efl.c:32:10: fatal error: Elementary.h: No ...
Status: RESOLVED DUPLICATE of bug 767181
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:
Depends on:
Blocks:
 
Reported: 2021-02-16 21:06 UTC by Zulu Foxtrott
Modified: 2021-02-23 15:33 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,17.51 KB, text/plain)
2021-02-16 21:07 UTC, Zulu Foxtrott
Details
emerge --info (emerge-info,5.14 KB, text/plain)
2021-02-16 21:07 UTC, Zulu Foxtrott
Details
emerge -pqv (emerge-pqv,95 bytes, text/plain)
2021-02-16 21:07 UTC, Zulu Foxtrott
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zulu Foxtrott 2021-02-16 21:06:46 UTC
app-crypt/pinentry-1.1.1 tries to include Elementary.h when dev-libs/efl(in this case: dev-libs/efl-1.25.1-r10) is installed on the system and fails as Elementary.h is not present:

pinentry-efl.c:32:10: fatal error: Elementary.h: No such file or directory
   32 | #include <Elementary.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.

dev-libs/efl in the case at hand only was pulled in as a dependency of terminology and has most USE flags disabled, IIRC USE="eet fontconfig gles2-only wayland"

Workaround is to uninstall dev-libs/efl, then emerge app-crypt/pinentry-1.1.1, then emerge dev-libs/efl

Might be relevant for #767181




Reproducible: Always
Comment 1 Zulu Foxtrott 2021-02-16 21:07:13 UTC
Created attachment 687015 [details]
build.log
Comment 2 Zulu Foxtrott 2021-02-16 21:07:29 UTC
Created attachment 687018 [details]
emerge --info
Comment 3 Zulu Foxtrott 2021-02-16 21:07:45 UTC
Created attachment 687021 [details]
emerge -pqv
Comment 4 Joonas Niilola gentoo-dev 2021-02-17 09:14:06 UTC
While it may seem like an unwanted automagic dep (there's a pull request open to fix it), I wonder how you ended up with efl being installed without Elementary.h? As that is needed for terminology to build too. Could this be some musl-related issue?
Comment 5 Joonas Niilola gentoo-dev 2021-02-17 09:19:59 UTC
Okay I can reproduce the issue with your USE flags. And I see
  Package 'ecore-x', required by 'virtual:world', not found

in the build.log. (Yours and mine). Looks like efl[X] is needed *sigh* and surely it compiles fine with that. Not sure if this is efl or pinentry upstream issue, but Bertrand could you adjust your PR for this?
Comment 6 Bertrand Jacquin 2021-02-17 13:04:03 UTC
(In reply to Joonas Niilola from comment #5)
> Okay I can reproduce the issue with your USE flags. And I see
>   Package 'ecore-x', required by 'virtual:world', not found
> 
> in the build.log. (Yours and mine). Looks like efl[X] is needed *sigh* and
> surely it compiles fine with that. Not sure if this is efl or pinentry
> upstream issue, but Bertrand could you adjust your PR for this?

https://github.com/gentoo/gentoo/pull/19396 has been updated to include reference to https://bugs.gentoo.org/771003, however the PR already has a requirement on dev-libs/efl[X]
Comment 7 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2021-02-23 15:29:36 UTC

*** This bug has been marked as a duplicate of bug 767181 ***
Comment 8 Larry the Git Cow gentoo-dev 2021-02-23 15:33:13 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c904c5599cc8bbeb5ff15658137a748953ffcec

commit 0c904c5599cc8bbeb5ff15658137a748953ffcec
Author:     Bertrand Jacquin <bertrand@jacquin.bzh>
AuthorDate: 2021-02-09 23:09:38 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2021-02-23 15:33:09 +0000

    app-crypt/pinentry: add pinentry-fltk
    
    As per https://git.gnupg.org/cgi-bin/gitweb.cgi?p=pinentry.git;a=blob;f=NEWS,
    pinentry 1.1.1 adds an EFL based pinentry.
    
    Bug: https://bugs.gentoo.org/767181
    Bug: https://bugs.gentoo.org/771003
    Signed-off-by: Bertrand Jacquin <bertrand@jacquin.bzh>
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Closes: https://github.com/gentoo/gentoo/pull/19396
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 app-crypt/pinentry/metadata.xml             |  3 +
 app-crypt/pinentry/pinentry-1.1.1-r1.ebuild | 90 +++++++++++++++++++++++++++++
 2 files changed, 93 insertions(+)