Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835636 - app-admin/lnav-0.10.1 - make[1]: ssh-keygen: No such file or directory
Summary: app-admin/lnav-0.10.1 - make[1]: ssh-keygen: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Randy Barlow
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-03-19 19:54 UTC by Toralf Förster
Modified: 2022-09-09 03:46 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.92 KB, text/plain)
2022-03-19 19:54 UTC, Toralf Förster
Details
app-admin:lnav-0.10.1:20220319-191523.log (app-admin:lnav-0.10.1:20220319-191523.log,83.75 KB, text/plain)
2022-03-19 19:54 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,54.52 KB, application/x-bzip)
2022-03-19 19:54 UTC, Toralf Förster
Details
environment (environment,70.49 KB, text/plain)
2022-03-19 19:54 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,24.95 KB, application/x-bzip)
2022-03-19 19:54 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.41 KB, application/x-bzip)
2022-03-19 19:54 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,28.03 KB, application/x-bzip)
2022-03-19 19:54 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-03-19 19:54:03 UTC
x86_64-pc-linux-gnu-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src  -Wall -I../src -I../src/fmtlib     -I../src/third-party/doctest-root  -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE  -pipe -march=native -fno-diagnostics-color -O2 -c -o test_stubs.o test_stubs.cc
mkdir -p remote
mkdir -p remote
ssh-keygen -f remote/ssh_host_dsa_key -N '' -t dsa
make[1]: ssh-keygen: No such file or directory
make[1]: *** [Makefile:2216: remote/ssh_host_dsa_key] Error 127
make[1]: *** Waiting for unfinished jobs....

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20220317-000010

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-10.3.1
 [3] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
clang version 13.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.1
Python 3.9.11
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.59.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 04814830e85a836d025fac2bc915970542f3e0c0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Mar 19 18:19:40 2022 +0000

    2022-03-19 18:19:37 UTC

emerge -qpvO app-admin/lnav
[ebuild  N    ] app-admin/lnav-0.10.1  USE="unicode -test"
Comment 1 Toralf Förster gentoo-dev 2022-03-19 19:54:04 UTC
Created attachment 767391 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-03-19 19:54:05 UTC
Created attachment 767392 [details]
app-admin:lnav-0.10.1:20220319-191523.log
Comment 3 Toralf Förster gentoo-dev 2022-03-19 19:54:07 UTC
Created attachment 767393 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-03-19 19:54:08 UTC
Created attachment 767394 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-03-19 19:54:09 UTC
Created attachment 767395 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-03-19 19:54:10 UTC
Created attachment 767396 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-03-19 19:54:11 UTC
Created attachment 767397 [details]
temp.tar.bz2
Comment 8 Randy Barlow 2022-09-03 22:29:33 UTC
This likely happens because a portion of the tests run unconditionally (https://bugs.gentoo.org/813444) and that portion generates ssh keys.

I think I will add an unconditional dependency on ssh-keygen as a workaround to this issue, and I'll add a comment that it really should be gated on the test USE flag once the upstream issue is fixed.
Comment 9 Larry the Git Cow gentoo-dev 2022-09-09 03:46:31 UTC
The bug has been closed via the following commit(s):

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

commit f75f598ccad65de223b8962d0947be1a2b9da0e8
Author:     Randy Barlow <randy@electronsweatshop.com>
AuthorDate: 2022-09-03 22:49:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-09 03:45:58 +0000

    app-admin/lnav: Add 0.11.0
    
    * Remove the unicode USE flag
    
    lnav did not build successfully when this USE flag was disabled. Since
    there are not many use cases for not using unicode today, this commit
    fixes the issue by removing the USE flag and enabling unicode support
    unconditionally.
    
    * Depend on openssh[ssl]
    
    See https://github.com/tstack/lnav/issues/865.
    
    * Conditionally build ssh keys
    
    This commit patches lnav so that it only build ssh keys when tests are
    run. This makes openssh a conditional dependency.
    
    See https://github.com/tstack/lnav/pull/1041.
    
    * Filter LTO flags
    
    Closes: https://github.com/gentoo/gentoo/pull/27130
    Closes: https://bugs.gentoo.org/777981
    Closes: https://bugs.gentoo.org/835636
    Closes: https://bugs.gentoo.org/854123
    Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/lnav/Manifest                            |  1 +
 .../files/lnav-0.11.0-conditional-ssh-keygen.patch | 34 +++++++++++
 .../lnav/files/lnav-0.11.0-disable-tests.patch     | 67 ++++++++++++++++++++++
 app-admin/lnav/lnav-0.11.0.ebuild                  | 56 ++++++++++++++++++
 app-admin/lnav/metadata.xml                        |  3 +
 5 files changed, 161 insertions(+)