Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655086 - app-crypt/codecrypt-1.8 should depend on dev-libs/libbsd - configure: error: library for bsd/readpassphrase.h not found
Summary: app-crypt/codecrypt-1.8 should depend on dev-libs/libbsd - configure: error: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-06 15:48 UTC by tonemgub
Modified: 2018-07-31 11:18 UTC (History)
2 users (show)

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


Attachments
build.log (file_655086.txt,8.48 KB, text/plain)
2018-05-06 15:48 UTC, tonemgub
Details
emerge-info.txt (emerge-info.txt,15.34 KB, text/plain)
2018-05-07 16:36 UTC, Toralf Förster
Details
app-crypt:codecrypt-1.8:20180507-073639.log (app-crypt:codecrypt-1.8:20180507-073639.log,9.25 KB, text/plain)
2018-05-07 16:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,266.65 KB, text/plain)
2018-05-07 16:36 UTC, Toralf Förster
Details
environment (environment,54.99 KB, text/plain)
2018-05-07 16:37 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.86 KB, application/x-bzip)
2018-05-07 16:37 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.83 KB, application/x-bzip)
2018-05-07 16:37 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,18.10 KB, application/x-bzip)
2018-05-07 16:37 UTC, Toralf Förster
Details
Fixed ebuild (codecrypt-1.8.ebuild,713 bytes, text/plain)
2018-07-29 19:29 UTC, Mirek Kratochvil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tonemgub 2018-05-06 15:48:20 UTC
Created attachment 530226 [details]
build.log

> checking for readpassphrase in -lbsd... no
> configure: error: library for bsd/readpassphrase.h not found

Even though "dev-libs/libbsd" is not listed as a dependency, I made sure that it is installed and the file now exists in /usr/include/bsd/readpassphrase.h. Not sure why the configure check is still failing.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-05-06 17:47:14 UTC
Please post the output of

  emerge --info app-crypt/codecrypt dev-libs/libbsd
Comment 2 Toralf Förster gentoo-dev 2018-05-07 16:36:50 UTC
appeared recently at the tinderbox image 17.0-no-multilib-hardened_20180501-112828
Comment 3 Toralf Förster gentoo-dev 2018-05-07 16:36:52 UTC
Created attachment 530360 [details]
emerge-info.txt
Comment 4 Toralf Förster gentoo-dev 2018-05-07 16:36:56 UTC
Created attachment 530362 [details]
app-crypt:codecrypt-1.8:20180507-073639.log
Comment 5 Toralf Förster gentoo-dev 2018-05-07 16:36:59 UTC
Created attachment 530364 [details]
emerge-history.txt
Comment 6 Toralf Förster gentoo-dev 2018-05-07 16:37:02 UTC
Created attachment 530366 [details]
environment
Comment 7 Toralf Förster gentoo-dev 2018-05-07 16:37:05 UTC
Created attachment 530368 [details]
etc.portage.tbz2
Comment 8 Toralf Förster gentoo-dev 2018-05-07 16:37:08 UTC
Created attachment 530370 [details]
logs.tbz2
Comment 9 Toralf Förster gentoo-dev 2018-05-07 16:37:11 UTC
Created attachment 530372 [details]
temp.tbz2
Comment 10 Mirek Kratochvil 2018-07-29 19:28:12 UTC
This is a problem with crypto++ dependency detection (see config.log) completely unrelated to libbsd (it is only triggered by that check). New crypto++ version actually exports a .pc file, but with a different name than the upstream autoconf expects (seems that cryptopp guys renamed it between versions).

I will add the fixed ebuild in a few moments.
Comment 11 Mirek Kratochvil 2018-07-29 19:29:42 UTC
Created attachment 541716 [details]
Fixed ebuild
Comment 12 Mirek Kratochvil 2018-07-29 19:31:32 UTC
@Amynka, could you please put the fixed ebuild to portage?

Thanks!
Comment 13 Larry the Git Cow gentoo-dev 2018-07-31 11:18:32 UTC
The bug has been closed via the following commit(s):

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

commit f03191739e3440683381a1192edcd44df847f560
Author:     Amy Liffey <amynka@gentoo.org>
AuthorDate: 2018-07-31 10:58:49 +0000
Commit:     Amy Liffey <amynka@gentoo.org>
CommitDate: 2018-07-31 11:16:34 +0000

    app-crypt/codecrypt: compatible with with new crypto++
    
    Closes: https://bugs.gentoo.org/655086
    Submitted-by: Mirek Kratochvil <exa.exa@gmail.com>
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../codecrypt/{codecrypt-1.8.ebuild => codecrypt-1.8-r1.ebuild}  | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)