naohirotamura / cross-sms-aarch64.sh Goto Github PK
View Code? Open in Web Editor NEWOpenHPC cross platform SMS environment for aarch64 on x86_64
License: Apache License 2.0
OpenHPC cross platform SMS environment for aarch64 on x86_64
License: Apache License 2.0
The make base_os=centos8 fails since teh qemu version on the ubuntu site has changed. It has moved from 9.7 to 9.8.
Can you please update the Makefile to reflect this?
The modification I made was:
# define variables
# UPDATED QEMU_USER_STATIC_DEB_FILE := qemu-user-static_4.0+dfsg-0ubuntu9.7_amd64.deb
QEMU_USER_STATIC_DEB_FILE := qemu-user-static_4.0+dfsg-0ubuntu9.8_amd64.deb
The qemu version available in the Ubuntu repository has once again changed. The version specified in the Makefile no longer exists. The following error is reported if you try to run 'make':
[root@pmtest cross-sms-aarch64.sh-master]# make base_os=centos8
wget http://security.ubuntu.com/ubuntu/pool/universe/q/qemu/qemu-user-static_4.0+dfsg-0ubuntu9.8_amd64.deb
--2021-03-01 07:39:57-- http://security.ubuntu.com/ubuntu/pool/universe/q/qemu/qemu-user-static_4.0+dfsg-0ubuntu9.8_amd64.deb
Resolving security.ubuntu.com (security.ubuntu.com)... 91.189.91.39, 91.189.91.38, 91.189.88.142, ...
Connecting to security.ubuntu.com (security.ubuntu.com)|91.189.91.39|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-03-01 07:39:58 ERROR 404: Not Found.
make: *** [Makefile:74: usr/bin/qemu-aarch64-static] Error 8
A version of qemu-user-static that is in the repo and works is:
qemu-user-static_2.5+dfsg-5ubuntu10.51_amd64.deb
I know it is not good practice, but perhaps you could consider adding a working version of qemu-user-static to your distribution rather than trying to download a specific version that clearly becomes out of date quite quickly.
At least this way the make would always work.
In the file Dockerfile.centos8 there is a sequence of commands as follows:
RUN sed -i -e s/enabled=0/enabled=1/g /etc/yum.repos.d/CentOS-PowerTools.repo &&
dnf update -y &&
dnf install -y epel-release openssh which file
But the line with dnf update -y && causes the container to be updated to CentOS 8.3 which is not want we want.
This line should be removed to ensure the container stays at CentOS 8.2
In fact with this command present the make base_os=centos8 fails since lmod-ohpc fails to find a correct version of the lua-filesystem package.
Please update the Dockerfile.centos8
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.