Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649492 - app-crypt/heimdal-7.5.0 : /.../rand.h:46:10: fatal error: hcrypto/engine.h: No such file or directory
Summary: app-crypt/heimdal-7.5.0 : /.../rand.h:46:10: fatal error: hcrypto/engine.h: N...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Kerberos Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-03 21:59 UTC by Toralf Förster
Modified: 2019-05-17 07:48 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.76 KB, text/plain)
2018-03-03 21:59 UTC, Toralf Förster
Details
app-crypt:heimdal-7.5.0:20180303-191530.log (app-crypt:heimdal-7.5.0:20180303-191530.log,261.87 KB, text/plain)
2018-03-03 21:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,115.97 KB, text/plain)
2018-03-03 21:59 UTC, Toralf Förster
Details
environment (environment,169.64 KB, text/plain)
2018-03-03 21:59 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.96 KB, application/x-bzip)
2018-03-03 21:59 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,55.89 KB, application/x-bzip)
2018-03-03 21:59 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,54.64 KB, application/x-bzip)
2018-03-03 21:59 UTC, Toralf Förster
Details
Patch to Makefiles for heimdal-7.5.0 (mypatch.patch,827 bytes, patch)
2018-08-22 22:23 UTC, Reimundo Heluani
Details | Diff
app-crypt/heimdal-9999.ebuild (file_649492.txt,4.36 KB, text/plain)
2019-02-04 11:56 UTC, stefan00
Details
https://github.com/heimdal/heimdal/issues/435 (572a6fd7ac41e9210ef3eb765fe7da4ec8a94bb2.patch,776 bytes, patch)
2019-02-08 10:42 UTC, Atlant
Details | Diff
heimdal_hcrypto.patch (heimdal_hcrypto.patch,466 bytes, patch)
2019-02-21 15:44 UTC, David Williams
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-03-03 21:59:12 UTC
In file included from /var/tmp/portage/app-crypt/heimdal-7.5.0/work/heimdal-7.5.0/lib/hcrypto/test_rand.c:42:0:
/var/tmp/portage/app-crypt/heimdal-7.5.0/work/heimdal-7.5.0/lib/hcrypto/rand.h:46:10: fatal error: hcrypto/engine.h: No such file or directory
 #include <hcrypto/engine.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome_test_20180228-181042

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:


emerge -qpv app-crypt/heimdal
[ebuild  N    ] app-crypt/heimdal-7.5.0  USE="X berkdb ipv6 pkinit ssl {test} -afs -caps -hdb-ldap -libressl -otp (-selinux) -static-libs" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2018-03-03 21:59:15 UTC
Created attachment 522142 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-03-03 21:59:18 UTC
Created attachment 522144 [details]
app-crypt:heimdal-7.5.0:20180303-191530.log
Comment 3 Toralf Förster gentoo-dev 2018-03-03 21:59:21 UTC
Created attachment 522146 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-03-03 21:59:24 UTC
Created attachment 522148 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-03-03 21:59:27 UTC
Created attachment 522150 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-03-03 21:59:30 UTC
Created attachment 522152 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-03-03 21:59:33 UTC
Created attachment 522154 [details]
temp.tbz2
Comment 8 Reimundo Heluani 2018-08-22 22:23:44 UTC
Created attachment 544586 [details, diff]
Patch to Makefiles for heimdal-7.5.0

There might be a better way, but the attached patch solved compilation in my system. There were other errors after hitting this one reported in this bug
Comment 9 Reimundo Heluani 2018-08-22 22:25:24 UTC
Also note that as it is now, placing the patch in /etc/portage/patches wont work with the current ebuild cause it calls eapply_user after eautoreconf
Comment 10 stefan00 2019-02-01 11:38:43 UTC
Same here. Heimdal won't compile. Reimundo Heluani's patch did not work for me for some reason.
Comment 11 stefan00 2019-02-04 11:56:44 UTC
Created attachment 563712 [details]
app-crypt/heimdal-9999.ebuild

Building from upstream works. It seems this bug has been addressed at heimdal upstream.

It would be nice to have a 9999 ebuild available. Please check and see attachement, it works for me. 

Please note that for whatever reason upstream build from git requires dev-perl/JSON.
Comment 13 Atlant 2019-02-08 10:42:58 UTC
Created attachment 564226 [details, diff]
https://github.com/heimdal/heimdal/issues/435

replace old patch (at current time is not applied)
Comment 14 David Williams 2019-02-21 15:44:19 UTC
Created attachment 565986 [details, diff]
heimdal_hcrypto.patch

This is the hcrypto include path patch. Attachment 564226 [details, diff] is for a dependency on ASN.1 headers. I needed both to build heimdal.
Comment 15 Larry the Git Cow gentoo-dev 2019-05-17 07:48:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c8fbea00ec59fad9583f6b815e89dcd33271faa

commit 5c8fbea00ec59fad9583f6b815e89dcd33271faa
Author:     Eray Aslan <eras@gentoo.org>
AuthorDate: 2019-05-17 07:47:28 +0000
Commit:     Eray Aslan <eras@gentoo.org>
CommitDate: 2019-05-17 07:47:55 +0000

    app-crypt/heimdal: security bump to 7.6.0
    
    Bug: https://bugs.gentoo.org/686034
    Closes: https://bugs.gentoo.org/649492
    Closes: https://bugs.gentoo.org/647880
    Closes: https://bugs.gentoo.org/641762
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: Eray Aslan <eras@gentoo.org>

 app-crypt/heimdal/Manifest                         |   1 +
 .../files/heimdal_build-headers-before-use.patch   |  29 ++++
 app-crypt/heimdal/files/heimdal_fix-db60.patch     |  11 ++
 app-crypt/heimdal/files/heimdal_hcrypto.patch      |  45 +++++
 app-crypt/heimdal/heimdal-7.6.0.ebuild             | 185 +++++++++++++++++++++
 app-crypt/heimdal/metadata.xml                     |   3 +
 6 files changed, 274 insertions(+)