Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894066 - dev-java/scala-cli-bin-0.1.20 - ERROR: dev-java/scala-cli-bin-0.1.20::gentoo failed (compile phase):
Summary: dev-java/scala-cli-bin-0.1.20 - ERROR: dev-java/scala-cli-bin-0.1.20::gentoo ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Florian Schmaus
URL:
Whiteboard:
Keywords:
: 910470 913979 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-02-12 16:48 UTC by Toralf Förster
Modified: 2024-03-06 09:08 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.50 KB, text/plain)
2023-02-12 16:48 UTC, Toralf Förster
Details
dev-java:scala-cli-bin-0.1.20:20230212-153301.log (dev-java:scala-cli-bin-0.1.20:20230212-153301.log,4.25 KB, text/plain)
2023-02-12 16:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,18.00 KB, text/plain)
2023-02-12 16:48 UTC, Toralf Förster
Details
environment (environment,60.01 KB, text/plain)
2023-02-12 16:48 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,699 bytes, application/x-bzip)
2023-02-12 16:48 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.00 KB, application/x-bzip)
2023-02-12 16:48 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,1.79 KB, application/x-bzip)
2023-02-12 16:49 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 2023-02-12 16:48:52 UTC
	at com.oracle.svm.core.containers.cgroupv1.CgroupV1Subsystem.getLongValue(CgroupV1Subsystem.java:269)
	at com.oracle.svm.core.containers.cgroupv1.CgroupV1Subsystem.getHierarchical(CgroupV1Subsystem.java:215)
	at com.oracle.svm.core.containers.cgroupv1.CgroupV1Subsystem.setSubSystemControllerPath(CgroupV1Subsystem.java:203)
	at com.oracle.svm.core.containers.cgroupv1.CgroupV1Subsystem.initSubSystem(CgroupV1Subsystem.java:111)
	at com.oracle.svm.core.containers.cgroupv1.CgroupV1Subsystem.<clinit>(CgroupV1Subsystem.java:47)
	... 11 more
 * ERROR: dev-java/scala-cli-bin-0.1.20::gentoo failed (compile phase):
 *   (no error message)
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd_merged_usr-j4-20230212-100027

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Rust versions:
  [1]   rust-1.67.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit e4e653602f946a1e9c504c1107a3d4f8a747d78c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Feb 12 13:31:57 2023 +0000

    2023-02-12 13:31:57 UTC

emerge -qpvO dev-java/scala-cli-bin
[ebuild  N    ] dev-java/scala-cli-bin-0.1.20
Comment 1 Toralf Förster gentoo-dev 2023-02-12 16:48:53 UTC
Created attachment 850514 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-12 16:48:54 UTC
Created attachment 850516 [details]
dev-java:scala-cli-bin-0.1.20:20230212-153301.log
Comment 3 Toralf Förster gentoo-dev 2023-02-12 16:48:55 UTC
Created attachment 850518 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-02-12 16:48:57 UTC
Created attachment 850520 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-02-12 16:48:58 UTC
Created attachment 850522 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-12 16:48:59 UTC
Created attachment 850524 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-12 16:49:00 UTC
Created attachment 850526 [details]
logs.tar.bz2
Comment 8 Florian Schmaus gentoo-dev 2023-02-12 21:04:22 UTC
That does look like a bug in Substrate VMs cgroup v1 parsing logic. The NPE indicates that the (memory) controllers path is null: the cause of the NPE is the first argument to Paths.get() being null, which is controller.path().

@toralf: Any chance to see the contents of /proc/self/cgroup when this happens?
Comment 9 Toralf Förster gentoo-dev 2023-02-12 21:09:22 UTC
(In reply to Florian Schmaus from comment #8)

> @toralf: Any chance to see the contents of /proc/self/cgroup when this
> happens?

root is allowed to see that - but would need coding effort - so what is the trigger and what the action ?
Comment 10 Toralf Förster gentoo-dev 2023-05-27 14:22:29 UTC
(In reply to Toralf Förster from comment #9)
> (In reply to Florian Schmaus from comment #8)
> 
> > @toralf: Any chance to see the contents of /proc/self/cgroup when this
> > happens?
> 
> root is allowed to see that - but would need coding effort - so what is the
> trigger and what the action ?

        at com.oracle.svm.core.containers.cgroupv1.CgroupV1Subsystem.setSubSystemControllerPath(CgroupV1Subsystem.java:203)
        at com.oracle.svm.core.containers.cgroupv1.CgroupV1Subsystem.initSubSystem(CgroupV1Subsystem.java:111)
        at com.oracle.svm.core.containers.cgroupv1.CgroupV1Subsystem.<clinit>(CgroupV1Subsystem.java:47)
        ... 11 more
 * ERROR: dev-java/scala-cli-bin-1.0.0::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 136:  Called src_compile
 *   environment, line 1288:  Called die
 * The specific snippet of code:
 *           ./scala-cli install-completions --shell ${shell} --env --output "${S}" > ${shell}-completion || die;
 * 
 * If you need support, post the output of `emerge --info '=dev-java/scala-cli-bin-1.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/scala-cli-bin-1.0.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/dev-java:scala-cli-bin-1.0.0:20230527-133844.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-java/scala-cli-bin-1.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/scala-cli-bin-1.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/scala-cli-bin-1.0.0/work'
 * S: '/var/tmp/portage/dev-java/scala-cli-bin-1.0.0/work'


 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: dev-libs/rocr-runtime-5.3.3-r1
 *  - /usr/lib64/libhsa-runtime64.so.5
 *  - /usr/lib64/libhsa-runtime64.so.5.4.3
 *      used by /usr/bin/rocm-bandwidth-test (dev-util/rocm_bandwidth_test-5.4.3)
Use emerge @preserved-rebuild to rebuild packages using these libraries
17-1-no-multilib-j4-20230519-093005 /var/tmp/tb # tail -v /proc/self/cgroup 
==> /proc/self/cgroup <==
9:perf_event:/
8:freezer:/
7:devices:/
6:memory:/
5:blkio:/
4:cpuacct:/
3:cpu:/
2:cpuset:/
1:name=openrc:/
0::/
Comment 11 Florian Schmaus gentoo-dev 2023-07-18 07:18:28 UTC
*** Bug 910470 has been marked as a duplicate of this bug. ***
Comment 12 Florian Schmaus gentoo-dev 2023-09-11 12:09:39 UTC
*** Bug 913979 has been marked as a duplicate of this bug. ***