Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RISC-V: fix docker image creation for CI cross-builds #7261

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

janvrany
Copy link
Contributor

@janvrany janvrany commented Feb 8, 2024

This commit fixes Dockerfile creating image for RISC-V CI builds. The problem was that URL libfakeroot and libfakechroot was no longer valid. It pointed to Debian ports archive, but meanwhile RISC-V architecture became "officially" supported (will be once Trixie is out).

It is not clear to me why Dockerfile downloaded and extracted RISC-V versions of libfakeroot and libfakechroot at all. However, I had been successfully building sysroots for OMR and/or OpenJ9 compilations using

mmdebstrap --mode=fakeroot --variant=extract

without need of RISC-V libfakeroot and libfakechroot. So this commit removes download and manual installation of them and uses --variant=extract to build sysroot. In addition it uses new ("official") Debian archives to build the sysroot. This way the aforementioned problem with outdated URLs should be fixed for good.

Fixes #7256.

This commit fixes Dockerfile creating image for RISC-V CI builds. The
problem was that URL libfakeroot and libfakechroot was no longer valid.
It pointed to Debian ports archive, but meanwhile RISC-V architecture
became "officially" supported (will be once Trixie is out).

It is not clear to me why Dockerfile downloaded and extracted RISC-V
versions of libfakeroot and libfakechroot at all. However, I had been
successfully building sysroots for OMR and/or OpenJ9 compilations using

    mmdebstrap --mode=fakeroot --variant=extract

without need of RISC-V libfakeroot and libfakechroot. So this commit
removes download and manual installation of them and uses
--variant=extract to build sysroot. In addition it uses new ("official")
Debian archives to build the sysroot. This way the aforementioned
problem with outdated URLs should be fixed for good.

Fixes eclipse-omr#7256.
@janvrany
Copy link
Contributor Author

janvrany commented Feb 8, 2024

jenkins build riscv

@janvrany
Copy link
Contributor Author

janvrany commented Feb 8, 2024

FYI: @babsingh @jdekonin

@janvrany
Copy link
Contributor Author

janvrany commented Feb 9, 2024

RISC-V build failed due to timeout in sanitytest - see #6905

@babsingh
Copy link
Contributor

babsingh commented Feb 9, 2024

OSX failure is unrelated and known: #7181.

@babsingh babsingh merged commit 78cd8e1 into eclipse-omr:master Feb 9, 2024
4 of 7 checks passed
@janvrany janvrany deleted the pr/riscv-fix-issue-7256 branch February 9, 2024 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Linux RISCV64 PR Builds Failing: Missing libfakeroot_1.31-1.2
2 participants