While trying to install the IIC tools, I see an er...
# ieee-sscs-dc-24
s
While trying to install the IIC tools, I see an error as below after running for about 5 hours. Could @Harald Pretl /someone let me know how what is this error for and what to do to be able to build the IIC tools docker image ?
Copy code
[+] Building 15958.1s (27/83)                                                                                                        docker:default
 => [internal] load build definition from Dockerfile                                                                                           0.0s
 => => transferring dockerfile: 20.14kB                                                                                                        0.0s
 => [internal] load metadata for <http://docker.io/library/ubuntu:jammy|docker.io/library/ubuntu:jammy>                                                                                0.7s
 => [internal] load .dockerignore                                                                                                              0.0s
 => => transferring context: 2B                                                                                                                0.0s
 => [internal] load build context                                                                                                              1.6s
 => => transferring context: 22.24MB                                                                                                           1.6s
 => [base 1/2] FROM <http://docker.io/library/ubuntu:jammy@sha256:340d9b015b194dc6e2a13938944e0d016e57b9679963fdeb9ce021daac430221|docker.io/library/ubuntu:jammy@sha256:340d9b015b194dc6e2a13938944e0d016e57b9679963fdeb9ce021daac430221>                     4.7s
 => => resolve <http://docker.io/library/ubuntu:jammy@sha256:340d9b015b194dc6e2a13938944e0d016e57b9679963fdeb9ce021daac430221|docker.io/library/ubuntu:jammy@sha256:340d9b015b194dc6e2a13938944e0d016e57b9679963fdeb9ce021daac430221>                          0.0s
 => => sha256:3713021b02770a720dea9b54c03d0ed83e03a2ef5dce2898c56a327fee9a8bca 29.53MB / 29.53MB                                               1.2s
 => => sha256:340d9b015b194dc6e2a13938944e0d016e57b9679963fdeb9ce021daac430221 1.13kB / 1.13kB                                                 0.0s
 => => sha256:0eb0f877e1c869a300c442c41120e778db7161419244ee5cbc6fa5f134e74736 424B / 424B                                                     0.0s
 => => sha256:8a3cdc4d1ad3e314a91f76b7b99eed443f2152e3a9bf33e46669b31d094be443 2.30kB / 2.30kB                                                 0.0s
 => => extracting sha256:3713021b02770a720dea9b54c03d0ed83e03a2ef5dce2898c56a327fee9a8bca                                                      3.0s
 => [base 2/2] RUN --mount=type=bind,source=images/base,target=/images/base     bash /images/base/scripts/00_base_install.sh &&     bash   15109.3s
 => CANCELED [netgen 1/1] RUN --mount=type=bind,source=images/netgen,target=/images/netgen     bash /images/netgen/scripts/install.sh        834.9s 
 => CANCELED [padring 1/1] RUN --mount=type=bind,source=images/padring,target=/images/padring     bash /images/padring/scripts/install.sh    833.1s 
 => CANCELED [yosys 1/1] RUN --mount=type=bind,source=images/yosys,target=/images/yosys     bash /images/yosys/scripts/install.sh            842.1s 
 => CANCELED [libman 1/1] RUN --mount=type=bind,source=images/libman,target=/images/libman     bash /images/libman/scripts/install.sh        831.5s 
 => CANCELED [iverilog 1/1] RUN --mount=type=bind,source=images/iverilog,target=/images/iverilog     bash /images/iverilog/scripts/install.  831.4s 
 => [irsim 1/1] RUN --mount=type=bind,source=images/irsim,target=/images/irsim     bash /images/irsim/scripts/install.sh                     646.0s 
 => CANCELED [gtkwave 1/1] RUN --mount=type=bind,source=images/gtkwave,target=/images/gtkwave     bash /images/gtkwave/scripts/install.sh    833.9s
 => CANCELED [gaw3-xschem 1/1] RUN --mount=type=bind,source=images/gaw3-xschem,target=/images/gaw3-xschem     bash /images/gaw3-xschem/scri  824.4s
 => CANCELED [cvc_rv 1/1] RUN --mount=type=bind,source=images/cvc_rv,target=/images/cvc_rv     bash /images/cvc_rv/scripts/install.sh        833.7s
 => CANCELED [basepkg 1/1] RUN --mount=type=bind,source=images/base,target=/images/base     bash /images/base/scripts/99_basepkg_install.sh  820.7s
 => CANCELED [verilator 1/1] RUN --mount=type=bind,source=images/verilator,target=/images/verilator     bash /images/verilator/scripts/inst  828.6s
 => CANCELED [slang 1/1] RUN --mount=type=bind,source=images/slang,target=/images/slang     bash /images/slang/scripts/install.sh            834.7s
 => CANCELED [ghdl 1/1] RUN --mount=type=bind,source=images/ghdl,target=/images/ghdl     bash /images/ghdl/scripts/install.sh                840.7s
 => ERROR [xyce 1/1] RUN --mount=type=bind,source=images/xyce,target=/images/xyce     bash /images/xyce/scripts/install.sh                   807.6s
 => CANCELED [xschem 1/1] RUN --mount=type=bind,source=images/xschem,target=/images/xschem     bash /images/xschem/scripts/install.sh        833.0s
 => CANCELED [covered 1/1] RUN --mount=type=bind,source=images/covered,target=/images/covered     bash /images/covered/scripts/install.sh    835.6s
 => CANCELED [nvc 1/1] RUN --mount=type=bind,source=images/nvc,target=/images/nvc     bash /images/nvc/scripts/install.sh                    833.3s
 => CANCELED [openroad_app 1/1] RUN --mount=type=bind,source=images/openroad,target=/images/openroad     bash /images/openroad/scripts/inst  824.6s
 => CANCELED [qucs-s 1/1] RUN --mount=type=bind,source=images/qucs-s,target=/images/qucs-s     bash /images/qucs-s/scripts/install.sh        832.3s
 => [qflow 1/1] RUN --mount=type=bind,source=images/qflow,target=/images/qflow     bash /images/qflow/scripts/install.sh                     305.8s
 => CANCELED [rftoolkit 1/1] RUN --mount=type=bind,source=images/rftoolkit,target=/images/rftoolkit     bash /images/rftoolkit/scripts/inst  835.8s
------                                                                                                                                              
 > [xyce 1/1] RUN --mount=type=bind,source=images/xyce,target=/images/xyce     bash /images/xyce/scripts/install.sh:                                
30.10 Cloning into 'xyce'...                                                                                                                        
Updating files: 100% (2326/2326), done.                                                                                                             
310.6 Note: switching to 'Release-7.8.0'.                                                                                                           
310.6 
310.6 You are in 'detached HEAD' state. You can look around, make experimental
310.6 changes and commit them, and you can discard any commits you make in this
310.6 state without impacting any branches by switching back to a branch.
310.6 
310.6 If you want to create a new branch to retain commits you create, you may
310.6 do so (now or later) by using -c with the switch command. Example:
310.6 
310.6   git switch -c <new-branch-name>
310.6 
310.6 Or undo this operation with:
310.6 
310.6   git switch -
310.6 
310.6 Turn off this advice by setting config variable advice.detachedHead to false
310.6 
310.6 HEAD is now at 0fc3a227 Remove QA phase qualifiers from version string
310.7 5) autoheader
339.1 4) libtoolize
361.6 libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
361.6 libtoolize: copying file 'config/ltmain.sh'
364.8 libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config'.
364.8 libtoolize: copying file 'config/libtool.m4'
365.1 libtoolize: copying file 'config/ltoptions.m4'
365.4 libtoolize: copying file 'config/ltsugar.m4'
365.6 libtoolize: copying file 'config/ltversion.m4'
366.2 libtoolize: copying file 'config/lt~obsolete.m4'
367.0 3) aclocal
482.1 2) automake
541.4 <http://configure.ac:351|configure.ac:351>: installing 'config/compile'
541.4 <http://configure.ac:35|configure.ac:35>: installing 'config/config.guess'
541.5 <http://configure.ac:35|configure.ac:35>: installing 'config/config.sub'
541.9 <http://configure.ac:38|configure.ac:38>: installing 'config/install-sh'
542.4 <http://configure.ac:38|configure.ac:38>: installing 'config/missing'
545.4 src/AnalysisPKG/Makefile.am: installing 'config/depcomp'
640.9 1) autoconf
704.2 0) autoheader, again
717.9 Cloning into 'trilinos'...
805.4 error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
805.6 error: 3553 bytes of body are still expected
806.1 fetch-pack: unexpected disconnect while reading sideband packet
806.1 fatal: early EOF
806.1 fatal: fetch-pack: invalid index-pack output
------
Dockerfile:303
--------------------
 302 |     ARG XYCE_NAME="xyce"
 303 | >>> RUN --mount=type=bind,source=images/xyce,target=/images/xyce \
 304 | >>>     bash /images/xyce/scripts/install.sh
 305 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c bash /images/xyce/scripts/install.sh" did not complete successfully: exit code: 128
a
Hello, it's not required to build the iic-osic-tools docker image, you have to use it with the following scripts:
Copy code
start_x.sh
start_x.bat
start_vnc.sh
start_vnc.bat
...
To download the image and then start it according to which script are you using. The README file has instructions on how to use them
s
Thanks Aquiles. I want to run it as a docker container on linux directly, Seems I need to try the start_shell.sh (https://github.com/iic-jku/IIC-OSIC-TOOLS/blob/main/start_shell.sh) script.
Thanks I installed docker and on executing
./start_shell.sh
I see a /eda/designs directory created and a newer latest image is downloaded. However I'm not quite sure on how to launch a GUI of xschem from here. I don't see any GUI on firing xschem from design directory while running on native linux system. I've followed steps to run docker as a non-root user.
Copy code
Status: Downloaded newer image for hpretl/iic-osic-tools:latest
[INFO] USER_ID: 0, GROUP_ID: 0
[INFO] SKIPPING UI STARTUP
[INFO] Executing command: '/bin/bash'
/foss/designs > xschem &
[1] 15
I also tried the vnc mode through
./start_vnc.sh
which starts the docker container. After that when I launched the
localhost
with default password, I just saw a blank screen . I wonder if there are some steps missing or the terminal is configured with some other settings when launching.
Copy code
############################################################################################################################################
# [WARNING] Selected Group ID 998 is below 1000. This ID might interfere with Group-IDs inside the container and cause undefined behavior! #
############################################################################################################################################
[WARNING] Container iic-osic-tools_xvnc_uid_1002 exists.
[HINT] It can also be restarted with "docker start iic-osic-tools_xvnc_uid_1002" or removed with "docker rm iic-osic-tools_xvnc_uid_1002" if required.

Press "s" to start, and "r" to remove: s
iic-osic-tools_xvnc_uid_1002