[error] java.io.FileNotFoundException: /var/tmp/portage/dev-java/sbt-0.13.18/work/.bintray/.credentials (Too many open files) [error] Use 'last' for the full log. [ERROR] Terminal initialization failed; falling back to unsupported java.io.IOException: Cannot run program "sh": error=24, Too many open files at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:308) at jline.internal.TerminalLineSettings.stty(TerminalLineSettings.java:282) ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd-j2-20210510-163136 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.1.0 * clang version 12.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.0 Python 3.8.10 Available Rust versions: [1] rust-1.52.1 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.292_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 [1] php8.0 * timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Mon May 10 19:50:37 UTC 2021 emerge -qpvO dev-java/sbt [ebuild N ] dev-java/sbt-0.13.18 USE="-binary"
Created attachment 707037 [details] emerge-info.txt
Created attachment 707040 [details] dev-java:sbt-0.13.18:20210511-114041.log
Created attachment 707043 [details] emerge-history.txt
Created attachment 707046 [details] environment
Created attachment 707049 [details] etc.portage.tar.bz2
Created attachment 707052 [details] logs.tar.bz2
Created attachment 707055 [details] temp.tar.bz2
ci has reproduced this issue with version 0.13.18-r1 - Updating summary.
(In reply to Agostino Sarubbo from comment #8) > ci has reproduced this issue with version 0.13.18-r1 - Updating summary. Cannot reproduce here. Could you pls. attach an update build log?
Resolved the issue on my machine by increasing ulimits. Adding * soft nofile 65536 * hard nofile 65536 Into /etc/security/limits.conf resolves the issue. Not sure about exact limit required, though
Created attachment 892002 [details] build.log build.log