Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 798945 - dev-libs/newt: missing virtual/libcrypt:= dependency
Summary: dev-libs/newt: missing virtual/libcrypt:= dependency
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ben Kohler
Whiteboard: Fails because of LDFLAGS ordering iss...
Depends on:
Blocks: 798963
  Show dependency tree
Reported: 2021-06-27 19:49 UTC by Alexander Tsoy
Modified: 2021-07-14 04:53 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Tsoy 2021-06-27 19:49:39 UTC
Messages generated by process 20591 on 2021-06-27 22:33:41 MSK for package dev-libs/newt-0.52.21-r1:

QA: other
Binary files linked to found
But a dependency on virtual/libcrypt is not declared!


Please add virtual/libcrypt:= dependency
Gentoo bug:
Comment 1 Alexander Tsoy 2021-06-27 20:03:02 UTC
Probably the same problem as in bug #798942
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-28 01:17:52 UTC
(In reply to Alexander Tsoy from comment #1)
> Probably the same problem as in bug #798942

Yep, I think we can get away with swapping the order of LDFLAGS and P*:
Comment 3 Larry the Git Cow gentoo-dev 2021-07-14 04:53:21 UTC
The bug has been closed via the following commit(s):

commit 5570cc427432efe0d2dec2f1054ee37ceb08492a
Author:     Sam James <>
AuthorDate: 2021-07-14 04:29:26 +0000
Commit:     Sam James <>
CommitDate: 2021-07-14 04:52:56 +0000

    dev-libs/newt: fix libcrypt QA warning false positive
    * Fix LDFLAGS ordering (respect as-needed, similar to libxml2)
    * Fix configure with non-Bash (dash here)
    Signed-off-by: Sam James <>

 .../newt-0.52.21-fix-non-POSIX-backticks.patch     | 27 +++++++++++++++++++
 .../newt-0.52.21-makefile-LDFLAGS-ordering.patch   | 30 ++++++++++++++++++++++
 dev-libs/newt/newt-0.52.21-r1.ebuild               | 14 ++++++----
 3 files changed, 66 insertions(+), 5 deletions(-)