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

Dockerfile needs modification to run without errors #185

Open
mjsduncan opened this issue Nov 7, 2024 · 2 comments
Open

Dockerfile needs modification to run without errors #185

mjsduncan opened this issue Nov 7, 2024 · 2 comments
Assignees
Milestone

Comments

@mjsduncan
Copy link

on ubnutu 24.04, docker v27.2.1, build 9e34c9b, i needed to modify line 38 of the Dockerfile from:

RUN source ./INSTALL.sh --easy

to:

RUN source ./INSTALL.sh --easy --allow-system-modifications

the error was:

 => ERROR [16/16] RUN source ./INSTALL.sh --easy                           0.5s
------
 > [16/16] RUN source ./INSTALL.sh --easy:
0.218 User's Devel Machine.
0.220 INSTALL_TYPE=non_docker
0.220 FORCE_REINSTALL_SWI=0
0.220 SWI_INSTALL=src
0.220 EASY_INSTALL=Y
0.220 PIP_BREAK_SYSTEM_PACKAGES= <Not Set> 
0.220 ALLOW_MODIFY_SYSTEM= <Not Set> 
0.220 UPDATE_SYSTEM=0
0.220 RPWD=/home/user/metta-wam
0.220 MeTTa=/home/user/metta-wam/INSTALL.sh
0.220 METTALOG_DIR=/home/user/metta-wam
0.220 SWI_INSTALL_VERSION= <Not Set> 
0.220 Starting the installation process..
0.221 SWI-Prolog is not installed with Janus support. Would you like to install it?Y
0.222 Installing SWI-Prolog from SRC...
0.222 Checking required system dependencies...
0.484 The following packages are missing:
0.484 autoconf libgmp-dev libssl-dev unixodbc-dev libffi-dev libreadline-dev libarchive-dev libossp-uuid-dev libxext-dev libice-dev libjpeg-dev libxinerama-dev libxft-dev libxpm-dev libunwind-dev libxt-dev pkg-config libdb-dev libpcre3-dev libpcre2-dev libpcrecpp0v5 libpcre16-3 libpcre32-3 libpcrecpp0v5 libqt5widgets5 qtbase5-dev libgoogle-perftools-dev junit junit4 libhamcrest-java default-jdk default-jdk-headless libedit-dev libyaml-dev
0.484 System modifications are not allowed. The following missing dependencies were found but cannot be installed:
0.484 autoconf
0.484 libgmp-dev
0.484 libssl-dev
0.484 unixodbc-dev
0.484 libffi-dev
0.484 libreadline-dev
0.484 libarchive-dev
0.484 libossp-uuid-dev
0.484 libxext-dev
0.484 libice-dev
0.484 libjpeg-dev
0.484 libxinerama-dev
0.484 libxft-dev
0.484 libxpm-dev
0.484 libunwind-dev
0.484 libxt-dev
0.484 pkg-config
0.484 libdb-dev
0.484 libpcre3-dev
0.484 libpcre2-dev
0.484 libpcrecpp0v5
0.484 libpcre16-3
0.484 libpcre32-3
0.484 libpcrecpp0v5
0.484 libqt5widgets5
0.484 qtbase5-dev
0.484 libgoogle-perftools-dev
0.484 junit
0.484 junit4
0.484 libhamcrest-java
0.484 default-jdk
0.484 default-jdk-headless
0.484 libedit-dev
0.484 libyaml-dev
------
Dockerfile:38
--------------------
  36 |     RUN apt install dos2unix
  37 |     SHELL ["/bin/bash", "-c"]
  38 | >>> RUN source ./INSTALL.sh --easy
  39 |     
  40 |     
--------------------
ERROR: failed to solve: process "/bin/bash -c source ./INSTALL.sh --easy" did not complete successfully: exit code: 1
@TeamSPoon
Copy link
Collaborator

@mjsduncan Good job finding the fix !

@TeamSPoon TeamSPoon added this to the Month 4 of 5 milestone Nov 11, 2024
@TeamSPoon TeamSPoon reopened this Nov 11, 2024
@TeamSPoon
Copy link
Collaborator

@mjsduncan if it works now.. feel free to close the bug

@TeamSPoon TeamSPoon self-assigned this Nov 11, 2024
TeamSPoon added a commit to logicmoo/metta-testsuite that referenced this issue Dec 9, 2024
TeamSPoon added a commit to logicmoo/metta-testsuite that referenced this issue Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants