Started by user Pop Adrian
Checking out git git@gitlab.liu.se:OpenModelica/apt-build.git into /var/jenkins_home/workspace/LINUX_BUILDS_script/774335cde2ee91721c4d3a9602bc561368b7238bad469d39685cbed3758a99b0 to read Jenkinsfile
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential Hudson-SSH-Key
> git rev-parse --resolve-git-dir /var/jenkins_home/workspace/LINUX_BUILDS_script/774335cde2ee91721c4d3a9602bc561368b7238bad469d39685cbed3758a99b0/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url git@gitlab.liu.se:OpenModelica/apt-build.git # timeout=10
Cleaning workspace
> git rev-parse --verify HEAD # timeout=10
Resetting working tree
> git reset --hard # timeout=10
> git clean -fdx # timeout=10
Fetching upstream changes from git@gitlab.liu.se:OpenModelica/apt-build.git
> git --version # timeout=10
> git --version # 'git version 2.39.2'
using GIT_SSH to set credentials SSH Key for user Hudson
> git fetch --tags --force --progress -- git@gitlab.liu.se:OpenModelica/apt-build.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 2c7a0537550327755aaceb87c8a251395d271e06 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 2c7a0537550327755aaceb87c8a251395d271e06 # timeout=10
Commit message: "Updated current OS versions"
> git rev-list --no-walk 583bf8423fd76aa28b6f5ccbd8903469837a0cf8 # timeout=10
Cleaning workspace
> git rev-parse --verify HEAD # timeout=10
Resetting working tree
> git reset --hard # timeout=10
> git clean -fdx # timeout=10
[Pipeline] Start of Pipeline
[Pipeline] properties
[Pipeline] node
Running on r630-2 in /var/lib/jenkins/ws/LINUX_BUILDS
[Pipeline] {
[Pipeline] stage
[Pipeline] { (checkout)
[Pipeline] checkout
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential Hudson-SSH-Key
Fetching changes from the remote Git repository
Cleaning workspace
Checking out Revision 2c7a0537550327755aaceb87c8a251395d271e06 (refs/remotes/origin/master)
Commit message: "Updated current OS versions"
Cleaning workspace
[Pipeline] sh
+ git rev-parse HEAD
[Pipeline] echo
r630-2
[Pipeline] withDockerRegistry
$ docker login -u jenkins-nexus -p ******** https://docker.openmodelica.org
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /var/lib/jenkins/ws/LINUX_BUILDS_tmp/0e53d4d6-b36d-4ae6-8e50-21e91b99ffb7/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
[Pipeline] {
[Pipeline] sh
> git rev-parse --resolve-git-dir /var/lib/jenkins/ws/LINUX_BUILDS/.git # timeout=10
> git config remote.origin.url git@gitlab.liu.se:OpenModelica/apt-build.git # timeout=10
> git rev-parse --verify HEAD # timeout=10
Resetting working tree
> git reset --hard # timeout=10
> git clean -fdx # timeout=10
Fetching upstream changes from git@gitlab.liu.se:OpenModelica/apt-build.git
> git --version # timeout=10
> git --version # 'git version 2.34.1'
using GIT_SSH to set credentials SSH Key for user Hudson
> git fetch --tags --force --progress -- git@gitlab.liu.se:OpenModelica/apt-build.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git config core.sparsecheckout # timeout=10
> git checkout -f 2c7a0537550327755aaceb87c8a251395d271e06 # timeout=10
> git rev-parse --verify HEAD # timeout=10
Resetting working tree
> git reset --hard # timeout=10
> git clean -fdx # timeout=10
+ ./update-current-linux-os-releases.py true
no such manifest: docker.openmodelica.org/build-deps:bookworm.nightly.amd64
no such manifest: docker.openmodelica.org/build-deps:bookworm.nightly.armhf
no such manifest: docker.openmodelica.org/build-deps:bookworm.nightly.arm64
{'deb-all': ['bookworm', 'focal', 'jammy', 'noble', 'oracular'], 'deb-arch-os': {'amd64': ['bookworm', 'focal', 'jammy', 'noble', 'oracular'], 'arm64': ['bookworm', 'focal', 'jammy', 'noble'], 'armhf': ['bookworm', 'focal', 'jammy', 'noble'], 'i386': []}, 'deb-lts': ['bookworm', 'focal', 'jammy', 'noble'], 'deb-old': [], 'docker': {'bookworm': 'debian:bookworm', 'el8': 'almalinux:8', 'el9': 'almalinux:9', 'fc40': 'fedora:40', 'fc41': 'fedora:41', 'focal': 'ubuntu:focal', 'jammy': 'ubuntu:jammy', 'noble': 'ubuntu:noble', 'oracular': 'ubuntu:oracular'}, 'eol': {'bookworm': '2026-06-10', 'el8': '2029-03-01', 'el9': '2032-05-31', 'fc40': '2025-05-28', 'fc41': '2025-11-19', 'focal': '2025-04-02', 'jammy': '2027-04-01', 'noble': '2029-04-25', 'oracular': '2025-07-11'}, 'pkg': {'clang': {'bookworm': '14.0', 'el8': '-', 'el9': '-', 'fc40': '-', 'fc41': '-', 'focal': '10.0', 'jammy': '14.0', 'noble': '18.0', 'oracular': '19.0'}, 'cmake': {'bookworm': '3.25.1', 'el8': '3.26.5', 'el9': '3.26.5', 'fc40': '3.28.2', 'fc41': '3.30.5', 'focal': '3.16.3', 'jammy': '3.22.1', 'noble': '3.28.3', 'oracular': '3.30.3'}, 'gcc': {'bookworm': '12.2.0', 'el8': '8.5.0', 'el9': '11.5.0', 'fc40': '14.0.1', 'fc41': '14.2.1', 'focal': '9.3.0', 'jammy': '11.2.0', 'noble': '13.2.0', 'oracular': '14.1.0'}}, 'rpm': ['el8', 'el9', 'fc40', 'fc41']}
Not LTS: oracular
Not LTS: el8
Not LTS: el9
Not LTS: fc40
Not LTS: fc41
Created current-linux-os-releases.json. Now checking repos.
Failed to run: docker manifest inspect docker.openmodelica.org/build-deps:bookworm.nightly.amd64! Skipping ...
Failed to run: docker manifest inspect docker.openmodelica.org/build-deps:bookworm.nightly.armhf! Skipping ...
Failed to run: docker manifest inspect docker.openmodelica.org/build-deps:bookworm.nightly.arm64! Skipping ...
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] sshagent
[ssh-agent] Using credentials hudson (SSH Key for user Hudson)
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-XXXXXXRmhUFa/agent.3233734
SSH_AGENT_PID=3233737
Running ssh-add (command line suppressed)
Identity added: /var/lib/jenkins/ws/LINUX_BUILDS_tmp/private_key_11537982425010087113.key (/var/lib/jenkins/ws/LINUX_BUILDS_tmp/private_key_11537982425010087113.key)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] sh
+ git add current-linux-os-releases.json
+ git diff-index --quiet HEAD
+ git config user.email openmodelica@ida.liu.se
+ git config user.name OpenModelica Hudson
+ git commit -m Updated current OS versions
[detached HEAD f83da4f2] Updated current OS versions
1 file changed, 2 insertions(+), 2 deletions(-)
+ git push git@gitlab.liu.se:OpenModelica/apt-build.git HEAD:master
To gitlab.liu.se:OpenModelica/apt-build.git
2c7a0537..f83da4f2 HEAD -> master
[Pipeline] }
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 3233737 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] readJSON
[Pipeline] readJSON
[Pipeline] sh
+ wget -q https://build.openmodelica.org/apt/pool/contrib/openmodelica_1.25.0~dev-256-g15e95b0-1.dsc -O-
[Pipeline] sshagent
[ssh-agent] Using credentials hudson (SSH Key for user Hudson)
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-XXXXXXXRcbQO/agent.3233771
SSH_AGENT_PID=3233773
Running ssh-add (command line suppressed)
Identity added: /var/lib/jenkins/ws/LINUX_BUILDS_tmp/private_key_9910203579312344823.key (/var/lib/jenkins/ws/LINUX_BUILDS_tmp/private_key_9910203579312344823.key)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] sh
+ + sshsed hudson@build.openmodelica.org s,/var/www/build.openmodelica.org/apt/pool/contrib-,, find
/var/www/build.openmodelica.org/apt/pool/ -name openmodelica_1.25.0~dev-256-g15e95b0-1_*.deb
[Pipeline] sh
+ ssh hudson@build.openmodelica.org find+ /var/www/build.openmodelica.org/rpm/ -namesed openmodelica-*.rpm s,/var/www/build.openmodelica.org/rpm/,,
[Pipeline] }
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 3233773 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] sh
+ wget -q https://build.openmodelica.org/apt/pool/contrib/openmodelica_1.24.3-1.dsc -O-
[Pipeline] sshagent
[ssh-agent] Using credentials hudson (SSH Key for user Hudson)
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-XXXXXXyriDnM/agent.3234950
SSH_AGENT_PID=3234952
Running ssh-add (command line suppressed)
Identity added: /var/lib/jenkins/ws/LINUX_BUILDS_tmp/private_key_11404357353129874369.key (/var/lib/jenkins/ws/LINUX_BUILDS_tmp/private_key_11404357353129874369.key)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] sh
+ ssh hudson@build.openmodelica.org find /var/www/build.openmodelica.org/apt/pool/+ -name openmodelica_1.24.3-1_*.deb
sed s,/var/www/build.openmodelica.org/apt/pool/contrib-,,
[Pipeline] sh
+ + sed s,/var/www/build.openmodelica.org/rpm/,,ssh
hudson@build.openmodelica.org find /var/www/build.openmodelica.org/rpm/ -name openmodelica-*.rpm
[Pipeline] }
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 3234952 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] sh
+ wget -q https://build.openmodelica.org/apt/pool/contrib/openmodelica_1.24.3-1.dsc -O-
[Pipeline] sshagent
[ssh-agent] Using credentials hudson (SSH Key for user Hudson)
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-XXXXXX9zaUgu/agent.3235088
SSH_AGENT_PID=3235090
Running ssh-add (command line suppressed)
Identity added: /var/lib/jenkins/ws/LINUX_BUILDS_tmp/private_key_6155252367994297429.key (/var/lib/jenkins/ws/LINUX_BUILDS_tmp/private_key_6155252367994297429.key)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] sh
+ ssh hudson@build.openmodelica.org find /var/www/build.openmodelica.org/apt/pool/ -name openmodelica_1.24.3-1_*.deb
+ sed s,/var/www/build.openmodelica.org/apt/pool/contrib-,,
[Pipeline] sh
+ ssh+ hudson@build.openmodelica.org findsed /var/www/build.openmodelica.org/rpm/ s,/var/www/build.openmodelica.org/rpm/,, -name
openmodelica-*.rpm
[Pipeline] }
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 3235090 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] echo
Skipping bookworm/openmodelica_1.24.3-1_amd64.deb (already exists)
[Pipeline] echo
Skipping bookworm/openmodelica_1.24.3-1_amd64.deb (already exists)
[Pipeline] echo
Skipping focal/openmodelica_1.25.0~dev-256-g15e95b0-1_amd64.deb (prefix in ignore list)
[Pipeline] echo
Skipping focal/openmodelica_1.24.3-1_amd64.deb (already exists)
[Pipeline] echo
Skipping focal/openmodelica_1.24.3-1_amd64.deb (already exists)
[Pipeline] echo
Skipping jammy/openmodelica_1.24.3-1_amd64.deb (already exists)
[Pipeline] echo
Skipping jammy/openmodelica_1.24.3-1_amd64.deb (already exists)
[Pipeline] echo
Skipping noble/openmodelica_1.24.3-1_amd64.deb (already exists)
[Pipeline] echo
Skipping noble/openmodelica_1.24.3-1_amd64.deb (already exists)
[Pipeline] echo
Skipping oracular/openmodelica_1.24.3-1_amd64.deb (already exists)
[Pipeline] echo
Skipping oracular/openmodelica_1.24.3-1_amd64.deb (already exists)
[Pipeline] echo
Skipping bookworm/openmodelica_1.24.3-1_armhf.deb (already exists)
[Pipeline] echo
Skipping bookworm/openmodelica_1.24.3-1_armhf.deb (already exists)
[Pipeline] echo
Skipping focal/openmodelica_1.25.0~dev-256-g15e95b0-1_armhf.deb (prefix in ignore list)
[Pipeline] echo
Skipping focal/openmodelica_1.24.3-1_armhf.deb (already exists)
[Pipeline] echo
Skipping focal/openmodelica_1.24.3-1_armhf.deb (already exists)
[Pipeline] echo
Skipping jammy/openmodelica_1.24.3-1_armhf.deb (already exists)
[Pipeline] echo
Skipping jammy/openmodelica_1.24.3-1_armhf.deb (already exists)
[Pipeline] echo
Skipping noble/openmodelica_1.24.3-1_armhf.deb (already exists)
[Pipeline] echo
Skipping noble/openmodelica_1.24.3-1_armhf.deb (already exists)
[Pipeline] echo
Skipping bookworm/openmodelica_1.24.3-1_arm64.deb (already exists)
[Pipeline] echo
Skipping bookworm/openmodelica_1.24.3-1_arm64.deb (already exists)
[Pipeline] echo
Skipping focal/openmodelica_1.25.0~dev-256-g15e95b0-1_arm64.deb (prefix in ignore list)
[Pipeline] echo
Skipping focal/openmodelica_1.24.3-1_arm64.deb (already exists)
[Pipeline] echo
Skipping focal/openmodelica_1.24.3-1_arm64.deb (already exists)
[Pipeline] echo
Skipping jammy/openmodelica_1.24.3-1_arm64.deb (already exists)
[Pipeline] echo
Skipping jammy/openmodelica_1.24.3-1_arm64.deb (already exists)
[Pipeline] echo
Skipping noble/openmodelica_1.24.3-1_arm64.deb (already exists)
[Pipeline] echo
Skipping noble/openmodelica_1.24.3-1_arm64.deb (already exists)
[Pipeline] sh
+ LC_ALL=C date +%a %b %d %Y
[Pipeline] sh
+ rm -f openmodelica.spec.tpl
+ wget -q https://raw.githubusercontent.com/OpenModelica/OpenModelicaBuildScripts/master/rpm/SPECS/openmodelica.spec.tpl
[Pipeline] readFile
[Pipeline] echo
NOT skipping el8/openmodelica-nightly-1.25.0~dev~256~g15e95b0-1.el8.x86_64.rpm (not existing or in the ignore list)
[Pipeline] echo
NOT skipping el9/openmodelica-nightly-1.25.0~dev~256~g15e95b0-1.el9.x86_64.rpm (not existing or in the ignore list)
[Pipeline] echo
NOT skipping fc40/openmodelica-nightly-1.25.0~dev~256~g15e95b0-1.fc40.x86_64.rpm (not existing or in the ignore list)
[Pipeline] echo
NOT skipping fc41/openmodelica-nightly-1.25.0~dev~256~g15e95b0-1.fc41.x86_64.rpm (not existing or in the ignore list)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] stage
[Pipeline] { (build-dep)
[Pipeline] parallel
[Pipeline] { (Branch: bookworm nightly amd64)
[Pipeline] { (Branch: jammy nightly amd64)
[Pipeline] { (Branch: noble nightly amd64)
[Pipeline] { (Branch: oracular nightly amd64)
[Pipeline] { (Branch: bookworm nightly armhf)
[Pipeline] { (Branch: jammy nightly armhf)
[Pipeline] { (Branch: noble nightly armhf)
[Pipeline] { (Branch: bookworm nightly arm64)
[Pipeline] { (Branch: jammy nightly arm64)
[Pipeline] { (Branch: noble nightly arm64)
[Pipeline] { (Branch: el8)
[Pipeline] { (Branch: el9)
[Pipeline] { (Branch: fc40)
[Pipeline] { (Branch: fc41)
[Pipeline] node
[Pipeline] node
[Pipeline] node
Running on r7945-1 in /var/lib/jenkins/ws/LINUX_BUILDS
[Pipeline] node
Running on ripper2-1 in /var/lib/jenkins1/ws/LINUX_BUILDS
Running on asap-1 in /var/lib/jenkins1/ws/LINUX_BUILDS
[Pipeline] node
Running on r630-1-1 in /var/lib/jenkins1/ws/LINUX_BUILDS
[Pipeline] node
[Pipeline] node
Running on arm-opi-1 in /var/lib/jenkins/ws/LINUX_BUILDS
Running on arm-opi-2 in /var/lib/jenkins/ws/LINUX_BUILDS
[Pipeline] node
Running on arm64-1-1 in /var/lib/jenkins1/ws/LINUX_BUILDS
[Pipeline] node
[Pipeline] node
Running on arm64-1-2 in /var/lib/jenkins2/ws/LINUX_BUILDS
[Pipeline] node
[Pipeline] node
[Pipeline] node
Running on ryzen-5950x-1 in /var/lib/jenkins/ws/LINUX_BUILDS
[Pipeline] node
Running on intel-5820k-1 in /var/lib/jenkins/ws/LINUX_BUILDS
Running on intel-4930k-1 in /var/lib/jenkins/ws/LINUX_BUILDS
Running on dev.openmodelica.org in /var/lib/jenkins/ws/LINUX_BUILDS
[Pipeline] {
[Pipeline] {
[Pipeline] {
[Pipeline] {
[Pipeline] {
[Pipeline] {
[Pipeline] {
[Pipeline] {
[Pipeline] {
[Pipeline] {
[Pipeline] {
[Pipeline] wrap
[Pipeline] wrap
[Pipeline] wrap
[Pipeline] wrap
[Pipeline] wrap
[Pipeline] wrap
[Pipeline] wrap
[Pipeline] wrap
[Pipeline] wrap
[Pipeline] wrap
[Pipeline] wrap
[Pipeline] {
[Pipeline] {
[Pipeline] {
[Pipeline] {
[Pipeline] {
[Pipeline] {
[Pipeline] {
[Pipeline] {
[Pipeline] {
[Pipeline] {
[Pipeline] {
[Pipeline] {
[Pipeline] wrap
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
[Pipeline] sh
[Pipeline] sh
[Pipeline] sh
[Pipeline] sh
[Pipeline] sh
09:57:18 + docker pull debian:bookworm
09:57:18 + docker pull ubuntu:jammy
[Pipeline] sh
[Pipeline] sh
09:57:18 + docker pull ubuntu:noble
[Pipeline] sh
09:57:18 + docker pull ubuntu:oracular
[Pipeline] sh
[Pipeline] sh
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
09:57:18 + docker pull arm32v7/debian:bookworm
09:57:18 + docker pull arm32v7/ubuntu:jammy
09:57:18 + docker pull arm32v7/ubuntu:noble
09:57:18 + docker pull arm64v8/debian:bookworm
09:57:18 + docker pull docker.openmodelica.org/build-deps:el8.amd64
09:57:18 el8.amd64: Pulling from build-deps
09:57:18 Digest: sha256:4e11f850e59303e4987f850ddc9650cff0b2b71b8996fc67a00a429915db0640
09:57:18 Status: Image is up to date for docker.openmodelica.org/build-deps:el8.amd64
09:57:18 docker.openmodelica.org/build-deps:el8.amd64
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
09:57:19 + docker pull docker.openmodelica.org/build-deps:el9.amd64
09:57:19 el9.amd64: Pulling from build-deps
09:57:19 Digest: sha256:53f5a091e74241abb98cc0f1895092466605852904178571c67afbc67e2ad316
09:57:19 Status: Image is up to date for docker.openmodelica.org/build-deps:el9.amd64
09:57:19 docker.openmodelica.org/build-deps:el9.amd64
[Pipeline] sh
09:57:19 + docker pull docker.openmodelica.org/build-deps:fc40.amd64
09:57:19 fc40.amd64: Pulling from build-deps
09:57:19 6299667869c4: Pulling fs layer
09:57:19 485923326c8a: Pulling fs layer
09:57:19 d030384b984f: Pulling fs layer
09:57:19 485923326c8a: Download complete
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
09:57:19 + docker pull docker.openmodelica.org/build-deps:fc41.amd64
09:57:19 + docker inspect -f . docker.openmodelica.org/build-deps:el8.amd64
09:57:19 .
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
09:57:19 + docker inspect -f . docker.openmodelica.org/build-deps:el9.amd64
09:57:19 .
09:57:19 fc41.amd64: Pulling from build-deps
09:57:19 0c5a86865c5d: Pulling fs layer
09:57:19 85122059be2c: Pulling fs layer
09:57:19 f62e3f1fef56: Pulling fs layer
09:57:19 85122059be2c: Verifying Checksum
09:57:19 85122059be2c: Download complete
09:57:19 ryzen-5950x-1 does not seem to be running inside a container
09:57:19 bookworm: Pulling from library/debian
09:57:19 Digest: sha256:17122fe3d66916e55c0cbd5bbf54bb3f87b3582f4d86a755a0fd3498d360f91b
09:57:19 Status: Image is up to date for debian:bookworm
09:57:19 docker.io/library/debian:bookworm
09:57:19 jammy: Pulling from library/ubuntu
09:57:19 Digest: sha256:0e5e4a57c2499249aafc3b40fcd541e9a456aab7296681a3994d631587203f97
09:57:19 Status: Image is up to date for ubuntu:jammy
09:57:19 docker.io/library/ubuntu:jammy
09:57:19 noble: Pulling from library/ubuntu
09:57:19 Digest: sha256:80dd3c3b9c6cecb9f1667e9290b3bc61b78c2678c02cbdae5f0fea92cc6734ab
09:57:19 Status: Image is up to date for ubuntu:noble
09:57:19 docker.io/library/ubuntu:noble
09:57:19 oracular: Pulling from library/ubuntu
09:57:19 Digest: sha256:102bc1874fdb136fc2d218473f03cf84135cb7496fefdb9c026c0f553cfe1b6d
09:57:19 Status: Image is up to date for ubuntu:oracular
09:57:19 docker.io/library/ubuntu:oracular
[Pipeline] {
[Pipeline] }
[Pipeline] }
[Pipeline] }
[Pipeline] }
[Pipeline] }
[Pipeline] sh
[Pipeline] // withEnv
[Pipeline] // withEnv
[Pipeline] // withEnv
[Pipeline] // withEnv
[Pipeline] // withEnv
[Pipeline] dir
09:57:19 Running in /var/lib/jenkins/ws/LINUX_BUILDS/docker.openmodelica.org/build-deps:bookworm.nightly.amd64
[Pipeline] {
[Pipeline] dir
09:57:19 Running in /var/lib/jenkins1/ws/LINUX_BUILDS/docker.openmodelica.org/build-deps:jammy.nightly.amd64
[Pipeline] {
[Pipeline] dir
09:57:19 Running in /var/lib/jenkins1/ws/LINUX_BUILDS/docker.openmodelica.org/build-deps:noble.nightly.amd64
[Pipeline] {
[Pipeline] dir
09:57:19 Running in /var/lib/jenkins1/ws/LINUX_BUILDS/docker.openmodelica.org/build-deps:oracular.nightly.amd64
[Pipeline] {
[Pipeline] withDockerContainer
09:57:19 intel-5820k-1 does not seem to be running inside a container
09:57:19 + cat /var/lib/openmodelica-depends/openmodelica.spec.tpl
[Pipeline] {
[Pipeline] writeFile
[Pipeline] writeFile
09:57:20 bookworm: Pulling from arm32v7/debian
09:57:20 Digest: sha256:ae38a85c832a88e347cc282a5fefd4c1a93c54752991f1465791b968597c6fa2
09:57:20 Status: Image is up to date for arm32v7/debian:bookworm
09:57:20 docker.io/arm32v7/debian:bookworm
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] sh
[Pipeline] }
09:57:20 jammy: Pulling from arm32v7/ubuntu
09:57:20 Digest: sha256:9ae00fb80515308337590e845253a9c5446929c996c478d522253b0e98584c1e
09:57:20 Status: Image is up to date for arm32v7/ubuntu:jammy
09:57:20 docker.io/arm32v7/ubuntu:jammy
09:57:20 noble: Pulling from arm32v7/ubuntu
09:57:20 Digest: sha256:7d44601b45406bc9f90b1aff89fb8cf17d5aeddb40c322d65f79635134860ecb
09:57:20 Status: Image is up to date for arm32v7/ubuntu:noble
09:57:20 docker.io/arm32v7/ubuntu:noble
$ docker run -t -d -u 1001:1001 -w /var/lib/jenkins/ws/LINUX_BUILDS -v /var/lib/jenkins/ws/LINUX_BUILDS:/var/lib/jenkins/ws/LINUX_BUILDS:rw,z -v /var/lib/jenkins/ws/LINUX_BUILDS_tmp:/var/lib/jenkins/ws/LINUX_BUILDS_tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** docker.openmodelica.org/build-deps:el8.amd64 cat
09:57:20 bookworm: Pulling from arm64v8/debian
09:57:20 Digest: sha256:176439ee6d84a10b9289ba71d2aa60d42a088646db742262e1636766c4f4528a
09:57:20 Status: Image is up to date for arm64v8/debian:bookworm
09:57:20 docker.io/arm64v8/debian:bookworm
09:57:20 + cat /var/lib/openmodelica-depends/openmodelica.spec.tpl
$ docker top 3d836ed371432ea6f5ba77aa38742e0c9b28d37ece305dc9cac8d72f066d98af -eo pid,comm
$ docker run -t -d -u 1001:1001 -w /var/lib/jenkins/ws/LINUX_BUILDS -v /var/lib/jenkins/ws/LINUX_BUILDS:/var/lib/jenkins/ws/LINUX_BUILDS:rw,z -v /var/lib/jenkins/ws/LINUX_BUILDS_tmp:/var/lib/jenkins/ws/LINUX_BUILDS_tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** docker.openmodelica.org/build-deps:el9.amd64 cat
$ docker top b8593ce70a18eb3ca697d13577e45ab355794fdb2606ddc1d7542af0c70f0114 -eo pid,comm
$ docker stop --time=1 3d836ed371432ea6f5ba77aa38742e0c9b28d37ece305dc9cac8d72f066d98af
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] }
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] // withDockerContainer
[Pipeline] sh
[Pipeline] }
[Pipeline] }
[Pipeline] }
[Pipeline] }
09:57:21 0c5a86865c5d: Verifying Checksum
09:57:21 0c5a86865c5d: Download complete
09:57:21 + rm -f openmodelica.spec.tpl.el8
09:57:21 + wget -q -O openmodelica.spec.tpl.el8 https://raw.githubusercontent.com/OpenModelica/OpenModelicaBuildScripts/master/rpm/SPECS/openmodelica.spec.tpl
09:57:22 6299667869c4: Verifying Checksum
09:57:22 6299667869c4: Download complete
$ docker rm -f --volumes 3d836ed371432ea6f5ba77aa38742e0c9b28d37ece305dc9cac8d72f066d98af
$ docker stop --time=1 b8593ce70a18eb3ca697d13577e45ab355794fdb2606ddc1d7542af0c70f0114
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] // withEnv
[Pipeline] dir
09:57:22 Running in /var/lib/jenkins/ws/LINUX_BUILDS/docker.openmodelica.org/build-deps:bookworm.nightly.armhf
[Pipeline] {
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] // withEnv
[Pipeline] // withEnv
[Pipeline] // withEnv
[Pipeline] // withDockerContainer
[Pipeline] dir
09:57:22 Running in /var/lib/jenkins/ws/LINUX_BUILDS/docker.openmodelica.org/build-deps:jammy.nightly.armhf
[Pipeline] {
[Pipeline] dir
09:57:22 Running in /var/lib/jenkins1/ws/LINUX_BUILDS/docker.openmodelica.org/build-deps:noble.nightly.armhf
[Pipeline] {
[Pipeline] dir
09:57:22 Running in /var/lib/jenkins2/ws/LINUX_BUILDS/docker.openmodelica.org/build-deps:bookworm.nightly.arm64
[Pipeline] {
[Pipeline] sh
[Pipeline] sh
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] }
[Pipeline] }
[Pipeline] }
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] }
[Pipeline] writeFile
[Pipeline] // dir
[Pipeline] // dir
[Pipeline] withDockerRegistry
[Pipeline] withDockerRegistry
[Pipeline] // dir
[Pipeline] withDockerRegistry
[Pipeline] // dir
[Pipeline] withDockerRegistry
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] }
[Pipeline] }
[Pipeline] }
[Pipeline] // dir
[Pipeline] // dir
[Pipeline] // dir
[Pipeline] withDockerRegistry
[Pipeline] withDockerRegistry
[Pipeline] withDockerRegistry
[Pipeline] }
[Pipeline] // dir
[Pipeline] withDockerRegistry
[Pipeline] {
[Pipeline] {
[Pipeline] {
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] isUnix
[Pipeline] sh
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
[Pipeline] sh
[Pipeline] sh
09:57:23 + test -s openmodelica.spec.tpl.el8
[Pipeline] echo
09:57:23 # See also Jenkinsfile in apt-build repository for stuff that is installed BEFORE everything here
09:57:23 # Don't try fancy stuff like debuginfo, which is useless on binary-only
09:57:23 # packages. Don't strip binary too
09:57:23 # Be sure buildpolicy set to do nothing
09:57:23 %define __spec_install_post %{nil}
09:57:23 %define debug_package %{nil}
09:57:23 %define __os_install_post %{_dbpath}/brp-compress
09:57:23
09:57:23 Summary: OpenModelica
09:57:23 Name: NAME
09:57:23 Version: RPMVERSION
09:57:23 Release: RELEASENUM%{?dist}
09:57:23 License: OSMC-PL
09:57:23 Group: Development/Tools
09:57:23 # spectool -g -R SPECS/xxx.spec
09:57:23 # sudo yum-builddep SPECS/xxx.spec
09:57:23 SOURCE0 : https://build.openmodelica.org/apt/pool/contrib/openmodelica_DEBVERSION.orig.tar.xz
09:57:23 SOURCE1 : https://openmodelica.org/doc/openmodelica-doc-DOCUMENTATIONVERSION.tar.xz
09:57:23 PATCHES
09:57:23 URL: https://openmodelica.org/
09:57:23
09:57:23 %if 0%{?rhel} == 6
09:57:23 Autoreq: 0
09:57:23 Requires: readline
09:57:23 Requires: qt5-qtbase
09:57:23 Requires: qt5-qtsvg
09:57:23 Requires: qt5-qtwebkit
09:57:23 Requires: qt5-qtxmlpatterns
09:57:23 Requires: libffi
09:57:23 %endif
09:57:23 Autoprov: 0
09:57:23 Prefix: /opt/%{name}
09:57:23 Prefix: %{_bindir}
09:57:23
09:57:23 %global __requires_exclude ^(PRIVATELIBS)$
09:57:23
09:57:23 # Recommended (for the repo): git rpm-build rpmdevtools epel-release
09:57:23 %if 0%{?rhel} > 0
09:57:23 # CentOS / RHEL requires the EPEL repository (for omniORB, etc)
09:57:23 BuildRequires: epel-release
09:57:23 Requires: epel-release
09:57:23 %endif
09:57:23
09:57:23 Requires: lapack-devel
09:57:23 Requires: make
09:57:23 Requires: gcc
09:57:23 Requires: gcc-gfortran
09:57:23 Requires: gcc-c++
09:57:23
09:57:23 BuildRequires: automake
09:57:23 %if 0%{?rhel} >= 8
09:57:23 %define withomniorb --without-omniORB
09:57:23 %else
09:57:23 %define withomniorb --with-omniORB
09:57:23 BuildRequires: omniORB-devel
09:57:23 BuildRequires: lpsolve-devel
09:57:23 %endif
09:57:23 BuildRequires: expat-devel
09:57:23 BuildRequires: bison
09:57:23 BuildRequires: flex
09:57:23 BuildRequires: lapack-devel
09:57:23 BuildRequires: libtool
09:57:23 BuildRequires: uuid
09:57:23 BuildRequires: uuid-devel
09:57:23 BuildRequires: hdf5-devel
09:57:23 BuildRequires: boost-devel
09:57:23 BuildRequires: boost-static
09:57:23 BuildRequires: hwloc-devel
09:57:23 BuildRequires: readline-devel
09:57:23 BuildRequires: libffi-devel
09:57:23 BuildRequires: curl-devel
09:57:23 BuildRequires: gettext
09:57:23 BuildRequires: make
09:57:23 BuildRequires: java
09:57:23 BuildRequires: tar
09:57:23 BuildRequires: xz
09:57:23 BuildRequires: gcc
09:57:23 BuildRequires: gcc-c++
09:57:23 BuildRequires: gcc-gfortran
09:57:23 BuildRequires: qt5-qtwebkit-devel
09:57:23 BuildRequires: qt5-linguist
09:57:23 BuildRequires: qt5-qttools
09:57:23 BuildRequires: qt5-qtbase-devel
09:57:23 BuildRequires: qt5-qtsvg-devel
09:57:23 %if 0%{?rhel} >= 7
09:57:23 BuildRequires: qt5-qt3d-devel
09:57:23 %endif
09:57:23 BuildRequires: qt5-qtxmlpatterns-devel
09:57:23
09:57:23 # Use cmake versions > 3. On EL7 this is provided by cmake3 package.
09:57:23 # On EL > 7 it is just cmake.
09:57:23 %if 0%{?rhel} == 7
09:57:23 BuildRequires: cmake3
09:57:23 %define cmakecommand CMAKE=cmake3
09:57:23 %else
09:57:23 BuildRequires: cmake
09:57:23 %define cmakecommand CMAKE=cmake
09:57:23 %endif
09:57:23
09:57:23 # The base centos:8 image (we use for our build-deps:el8 image) comes with
09:57:23 # broken cmake package due to old libarchive (v3.3.2). v3.3.3 Seems to work.
09:57:23 # Once the base image is updated this can be removed.
09:57:23 %if 0%{?rhel} == 8
09:57:23 BuildRequires: libarchive >= 3.3.3
09:57:23 %endif
09:57:23
09:57:23 # Use gcc-11 on EL8 as well. devtoolset does not seem to be available on
09:57:23 # EL8. One is supposed to use gcc-toolset instead.
09:57:23 %{?el8:Requires: gcc-toolset-11-gcc gcc-toolset-11-gcc-c++ gcc-toolset-11-gcc-gfortran}
09:57:23 %if 0%{?rhel} == 8
09:57:23 BuildRequires: gcc-toolset-11-gcc gcc-toolset-11-gcc-c++ gcc-toolset-11-gcc-gfortran
09:57:23 %define devtoolsconfigureflags CC=/opt/rh/gcc-toolset-11/root/usr/bin/gcc CXX=/opt/rh/gcc-toolset-11/root/usr/bin/g++ FC=/opt/rh/gcc-toolset-11/root/usr/bin/gfortran AS=/opt/rh/gcc-toolset-11/root/usr/bin/as
09:57:23 %endif
09:57:23
09:57:23 # EL7 has -static-libstdc++ inside devtools (but the system g++ does not know the flag) -- adrpo: check this, also for el6
09:57:23 %{?el7:Requires: devtoolset-11-gcc}
09:57:23 %{?el7:Requires: devtoolset-11-gcc-c++}
09:57:23 %{?el7:Requires: devtoolset-11-gcc-gfortran}
09:57:23
09:57:23 %if 0%{?rhel} <= 7 && 0%{?rhel} >= 1
09:57:23 BuildRequires: devtoolset-11-gcc devtoolset-11-gcc-c++ devtoolset-11-gcc-gfortran
09:57:23 %define devtoolsconfigureflags CC=/opt/rh/devtoolset-11/root/usr/bin/gcc CXX=/opt/rh/devtoolset-11/root/usr/bin/g++ FC=/opt/rh/devtoolset-11/root/usr/bin/gfortran
09:57:23 %endif
09:57:23
09:57:23 %if 0%{?fedora} >= 25
09:57:23 BuildRequires: OpenSceneGraph-devel
09:57:23 %endif
09:57:23
09:57:23 # We should use clang, but OMEdit does not compile with it due to odd default qmake flags
09:57:23 Requires: gcc
09:57:23 Requires: gcc-c++
09:57:23 Requires: lapack-devel
09:57:23
09:57:23 Requires(post): %{_sbindir}/update-alternatives
09:57:23 Requires(postun): %{_sbindir}/update-alternatives
09:57:23
09:57:23 # CentOS does not have suggests
09:57:23 %if 0%{?fedora} >= 24 || 0%{?rhel} >= 8
09:57:23 Suggests: boost-devel
09:57:23 Suggests: boost-static
09:57:23 Suggests: lapack-static
09:57:23 Suggests: openblas-static
09:57:23 %else
09:57:23 Requires: boost-devel
09:57:23 Requires: boost-static
09:57:23 %endif
09:57:23
09:57:23 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
09:57:23
09:57:23 %description
09:57:23 %{summary}
09:57:23
09:57:23 %prep
09:57:23
09:57:23 %setup -q -n openmodelica_DEBVERSION
09:57:23 tar xJf %{_sourcedir}/openmodelica-doc-DOCUMENTATIONVERSION.tar.xz
09:57:23
09:57:23 PATCHCMDS
09:57:23
09:57:23 %if 0%{?rhel} <= 7 && 0%{?rhel} >= 1
09:57:23 source /opt/rh/devtoolset-11/enable
09:57:23 %endif
09:57:23
09:57:23 %if 0%{?rhel} == 8
09:57:23 source /opt/rh/gcc-toolset-11/enable
09:57:23 %endif
09:57:23
09:57:23 autoreconf --install
09:57:23 ./configure CFLAGS="-Os" CXXFLAGS="-Os" QTDIR=/usr/%{_lib}/qt5/ %{withomniorb} CONFIGUREFLAGS %{?devtoolsconfigureflags} --without-omc --prefix=/opt/%{name} --without-omlibrary %{cmakecommand}
09:57:23
09:57:23 %build
09:57:23
09:57:23 %if 0%{?rhel} <= 7 && 0%{?rhel} >= 1
09:57:23 source /opt/rh/devtoolset-11/enable
09:57:23 %endif
09:57:23
09:57:23 %if 0%{?rhel} == 8
09:57:23 source /opt/rh/gcc-toolset-11/enable
09:57:23 %endif
09:57:23
09:57:23 make -j8
09:57:23 test ! -f libraries/install-index.json || make -j8 omlibrary
09:57:23
09:57:23 %install
09:57:23 rm -rf %{buildroot}
09:57:23 make install DESTDIR="%{buildroot}"
09:57:23 mkdir -p %{buildroot}/opt/%{name}/lib/ %{buildroot}/opt/%{name}/share/doc/omc/ %{buildroot}%{_bindir}
09:57:23 ln -s /usr/lib/omlibrary %{buildroot}/opt/%{name}/lib/
09:57:23 ln -s /opt/%{name}/bin/omc %{buildroot}%{_bindir}/omc-BRANCH
09:57:23 ln -s /opt/%{name}/bin/OMEdit %{buildroot}%{_bindir}/OMEdit-BRANCH
09:57:23 ln -s /opt/%{name}/bin/OMShell %{buildroot}%{_bindir}/OMShell-BRANCH
09:57:23 ln -s /opt/%{name}/bin/OMShell-terminal %{buildroot}%{_bindir}/OMShell-terminal-BRANCH
09:57:23 ln -s /opt/%{name}/bin/OMNotebook %{buildroot}%{_bindir}/OMNotebook-BRANCH
09:57:23 ln -s /opt/%{name}/bin/OMPlot %{buildroot}%{_bindir}/OMPlot-BRANCH
09:57:23 touch %{buildroot}%{_bindir}/omc
09:57:23 touch %{buildroot}%{_bindir}/OMEdit
09:57:23 touch %{buildroot}%{_bindir}/OMShell
09:57:23 touch %{buildroot}%{_bindir}/OMShell-terminal
09:57:23 touch %{buildroot}%{_bindir}/OMNotebook
09:57:23 touch %{buildroot}%{_bindir}/OMPlot
09:57:23 cp -a openmodelica-doc*/* %{buildroot}/opt/%{name}/share/doc/omc/
09:57:23
09:57:23 %postun
09:57:23 if [ "$1" -ge "1" ]; then
09:57:23 if [ "`readlink %{_sysconfdir}/alternatives/openmodelica`" == "%{_bindir}/omc-BRANCH" ]; then
09:57:23 %{_sbindir}/alternatives --set openmodelica %{_bindir}/omc-BRANCH
09:57:23 fi
09:57:23 fi
09:57:23
09:57:23 %post
09:57:23 %{_sbindir}/update-alternatives --install %{_bindir}/omc openmodelica %{_bindir}/omc-BRANCH PRIORITY \
09:57:23 --slave %{_bindir}/OMEdit openmodelica-OMEdit %{_bindir}/OMEdit-BRANCH \
09:57:23 --slave %{_bindir}/OMShell openmodelica-OMShell %{_bindir}/OMShell-BRANCH \
09:57:23 --slave %{_bindir}/OMShell-terminal openmodelica-OMShell-terminal %{_bindir}/OMShell-terminal-BRANCH \
09:57:23 --slave %{_bindir}/OMNotebook openmodelica-OMNotebook %{_bindir}/OMNotebook-BRANCH \
09:57:23 --slave %{_bindir}/OMPlot openmodelica-OMPlot %{_bindir}/OMPlot-BRANCH
09:57:23
09:57:23 %preun
09:57:23 if [ $1 = 0 ]; then
09:57:23 %{_sbindir}/update-alternatives --remove openmodelica %{_bindir}/omc-BRANCH
09:57:23 fi
09:57:23
09:57:23 %clean
09:57:23 rm -rf %{buildroot}
09:57:23
09:57:23 %files
09:57:23 %defattr(-,root,root,-)
09:57:23 /opt/%{name}/*
09:57:23 %{_bindir}/*-BRANCH
09:57:23 %ghost %{_bindir}/omc
09:57:23 %ghost %{_bindir}/OMEdit
09:57:23 %ghost %{_bindir}/OMShell
09:57:23 %ghost %{_bindir}/OMShell-terminal
09:57:23 %ghost %{_bindir}/OMNotebook
09:57:23 %ghost %{_bindir}/OMPlot
09:57:23
09:57:23 %changelog
09:57:23 * DATE OpenModelica <openmodelica@ida.liu.se> ${version}-1
09:57:23 - First Build
[Pipeline] writeFile
[Pipeline] sh
09:57:23 + rm -f openmodelica.spec.tpl.el9
09:57:23 + wget -q -O openmodelica.spec.tpl.el9 https://raw.githubusercontent.com/OpenModelica/OpenModelicaBuildScripts/master/rpm/SPECS/openmodelica.spec.tpl
[Pipeline] sh
[Pipeline] {
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
[Pipeline] sh
[Pipeline] {
[Pipeline] {
[Pipeline] isUnix
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
[Pipeline] sh
09:57:23 + docker build -t docker.openmodelica.org/build-deps:bookworm.nightly.amd64 docker.openmodelica.org/build-deps:bookworm.nightly.amd64
09:57:23 DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
09:57:23 Install the buildx component to build images with BuildKit:
09:57:23 https://docs.docker.com/go/buildx/
09:57:23
09:57:23 Sending build context to Docker daemon 8.704kB
09:57:23
09:57:23 Step 1/3 : FROM debian:bookworm
09:57:23 ---> ff869c3288a4
09:57:23 Step 2/3 : COPY openmodelica.dsc openmodelica-build-deps libiomp-fake /var/lib/openmodelica-depends/
09:57:23 ---> Using cache
09:57:23 ---> d42e0beb19a9
09:57:23 Step 3/3 : RUN export DEBIAN_FRONTEND=noninteractive && sed -i -e 's,http://deb.debian.org/debian ,http://ftp.se.debian.org/debian ,' `ls /etc/apt/sources.list /etc/apt/sources.list.d/*.list` && apt-get update && apt-get install -qy build-essential devscripts equivs wget && (apt-get install -qy libiomp-dev || (apt-get install -qy libomp-dev && equivs-build /var/lib/openmodelica-depends/libiomp-fake && dpkg -i libiomp-fake_*.deb)) && mk-build-deps /var/lib/openmodelica-depends/openmodelica.dsc && (dpkg -i ./openmodelica-build-deps*.deb ; apt-get install -fqy) && rm -f *.deb && clang --version && rm -rf /var/lib/apt/lists/*
09:57:23 ---> Running in 26f642bdccb4
09:57:23 + docker build -t docker.openmodelica.org/build-deps:jammy.nightly.amd64 docker.openmodelica.org/build-deps:jammy.nightly.amd64
09:57:23 DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
09:57:23 Install the buildx component to build images with BuildKit:
09:57:23 https://docs.docker.com/go/buildx/
09:57:23
09:57:23 Sending build context to Docker daemon 8.704kB
09:57:23
09:57:23 Step 1/3 : FROM ubuntu:jammy
09:57:23 ---> 97271d29cb79
09:57:23 Step 2/3 : COPY openmodelica.dsc openmodelica-build-deps libiomp-fake /var/lib/openmodelica-depends/
09:57:23 ---> Using cache
09:57:23 ---> e95962290f1a
09:57:23 Step 3/3 : RUN export DEBIAN_FRONTEND=noninteractive && sed -i -e 's,http://deb.debian.org/debian ,http://ftp.se.debian.org/debian ,' `ls /etc/apt/sources.list /etc/apt/sources.list.d/*.list` && apt-get update && apt-get install -qy build-essential devscripts equivs wget && (apt-get install -qy libiomp-dev || (apt-get install -qy libomp-dev && equivs-build /var/lib/openmodelica-depends/libiomp-fake && dpkg -i libiomp-fake_*.deb)) && mk-build-deps /var/lib/openmodelica-depends/openmodelica.dsc && (dpkg -i ./openmodelica-build-deps*.deb ; apt-get install -fqy) && rm -f *.deb && clang --version && rm -rf /var/lib/apt/lists/*
09:57:23 ---> Using cache
09:57:23 ---> 97e007ab3e80
09:57:23 Successfully built 97e007ab3e80
09:57:23 Successfully tagged docker.openmodelica.org/build-deps:jammy.nightly.amd64
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
09:57:23 + docker build -t docker.openmodelica.org/build-deps:oracular.nightly.amd64 docker.openmodelica.org/build-deps:oracular.nightly.amd64
09:57:23 DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
09:57:23 Install the buildx component to build images with BuildKit:
09:57:23 https://docs.docker.com/go/buildx/
09:57:23
09:57:23 Sending build context to Docker daemon 8.704kB
09:57:23
09:57:23 Step 1/3 : FROM ubuntu:oracular
09:57:23 ---> e40b6e31bd8c
09:57:23 Step 2/3 : COPY openmodelica.dsc openmodelica-build-deps libiomp-fake /var/lib/openmodelica-depends/
09:57:23 ---> Using cache
09:57:23 ---> 9623b1fcd20a
09:57:23 Step 3/3 : RUN export DEBIAN_FRONTEND=noninteractive && sed -i -e 's,http://deb.debian.org/debian ,http://ftp.se.debian.org/debian ,' `ls /etc/apt/sources.list /etc/apt/sources.list.d/*.list` && apt-get update && apt-get install -qy build-essential devscripts equivs wget && (apt-get install -qy libiomp-dev || (apt-get install -qy libomp-dev && equivs-build /var/lib/openmodelica-depends/libiomp-fake && dpkg -i libiomp-fake_*.deb)) && mk-build-deps /var/lib/openmodelica-depends/openmodelica.dsc && (dpkg -i ./openmodelica-build-deps*.deb ; apt-get install -fqy) && rm -f *.deb && clang --version && rm -rf /var/lib/apt/lists/*
09:57:23 ---> Using cache
09:57:23 ---> d10360eed7e7
09:57:23 Successfully built d10360eed7e7
09:57:23 Successfully tagged docker.openmodelica.org/build-deps:oracular.nightly.amd64
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
09:57:23 + docker build -t docker.openmodelica.org/build-deps:noble.nightly.amd64 docker.openmodelica.org/build-deps:noble.nightly.amd64
09:57:23 DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
09:57:23 Install the buildx component to build images with BuildKit:
09:57:23 https://docs.docker.com/go/buildx/
09:57:23
09:57:23 Sending build context to Docker daemon 8.704kB
09:57:23
09:57:23 Step 1/3 : FROM ubuntu:noble
09:57:23 ---> b1d9df8ab815
09:57:23 Step 2/3 : COPY openmodelica.dsc openmodelica-build-deps libiomp-fake /var/lib/openmodelica-depends/
09:57:23 ---> Using cache
09:57:23 ---> 9c4c3f632d7a
09:57:23 Step 3/3 : RUN export DEBIAN_FRONTEND=noninteractive && sed -i -e 's,http://deb.debian.org/debian ,http://ftp.se.debian.org/debian ,' `ls /etc/apt/sources.list /etc/apt/sources.list.d/*.list` && apt-get update && apt-get install -qy build-essential devscripts equivs wget && (apt-get install -qy libiomp-dev || (apt-get install -qy libomp-dev && equivs-build /var/lib/openmodelica-depends/libiomp-fake && dpkg -i libiomp-fake_*.deb)) && mk-build-deps /var/lib/openmodelica-depends/openmodelica.dsc && (dpkg -i ./openmodelica-build-deps*.deb ; apt-get install -fqy) && rm -f *.deb && clang --version && rm -rf /var/lib/apt/lists/*
09:57:23 ---> Using cache
09:57:23 ---> f6a299f7e21c
09:57:23 Successfully built f6a299f7e21c
09:57:23 Successfully tagged docker.openmodelica.org/build-deps:noble.nightly.amd64
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
09:57:23 + diff -uw openmodelica.spec.tpl.old.el8 openmodelica.spec.tpl.el8
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
09:57:23 + test -s openmodelica.spec.tpl.el9
[Pipeline] // node
[Pipeline] }
[Pipeline] echo
09:57:23 # See also Jenkinsfile in apt-build repository for stuff that is installed BEFORE everything here
09:57:23 # Don't try fancy stuff like debuginfo, which is useless on binary-only
09:57:23 # packages. Don't strip binary too
09:57:23 # Be sure buildpolicy set to do nothing
09:57:23 %define __spec_install_post %{nil}
09:57:23 %define debug_package %{nil}
09:57:23 %define __os_install_post %{_dbpath}/brp-compress
09:57:23
09:57:23 Summary: OpenModelica
09:57:23 Name: NAME
09:57:23 Version: RPMVERSION
09:57:23 Release: RELEASENUM%{?dist}
09:57:23 License: OSMC-PL
09:57:23 Group: Development/Tools
09:57:23 # spectool -g -R SPECS/xxx.spec
09:57:23 # sudo yum-builddep SPECS/xxx.spec
09:57:23 SOURCE0 : https://build.openmodelica.org/apt/pool/contrib/openmodelica_DEBVERSION.orig.tar.xz
09:57:23 SOURCE1 : https://openmodelica.org/doc/openmodelica-doc-DOCUMENTATIONVERSION.tar.xz
09:57:23 PATCHES
09:57:23 URL: https://openmodelica.org/
09:57:23
09:57:23 %if 0%{?rhel} == 6
09:57:23 Autoreq: 0
09:57:23 Requires: readline
09:57:23 Requires: qt5-qtbase
09:57:23 Requires: qt5-qtsvg
09:57:23 Requires: qt5-qtwebkit
09:57:23 Requires: qt5-qtxmlpatterns
09:57:23 Requires: libffi
09:57:23 %endif
09:57:23 Autoprov: 0
09:57:23 Prefix: /opt/%{name}
09:57:23 Prefix: %{_bindir}
09:57:23
09:57:23 %global __requires_exclude ^(PRIVATELIBS)$
09:57:23
09:57:23 # Recommended (for the repo): git rpm-build rpmdevtools epel-release
09:57:23 %if 0%{?rhel} > 0
09:57:23 # CentOS / RHEL requires the EPEL repository (for omniORB, etc)
09:57:23 BuildRequires: epel-release
09:57:23 Requires: epel-release
09:57:23 %endif
09:57:23
09:57:23 Requires: lapack-devel
09:57:23 Requires: make
09:57:23 Requires: gcc
09:57:23 Requires: gcc-gfortran
09:57:23 Requires: gcc-c++
09:57:23
09:57:23 BuildRequires: automake
09:57:23 %if 0%{?rhel} >= 8
09:57:23 %define withomniorb --without-omniORB
09:57:23 %else
09:57:23 %define withomniorb --with-omniORB
09:57:23 BuildRequires: omniORB-devel
09:57:23 BuildRequires: lpsolve-devel
09:57:23 %endif
09:57:23 BuildRequires: expat-devel
09:57:23 BuildRequires: bison
09:57:23 BuildRequires: flex
09:57:23 BuildRequires: lapack-devel
09:57:23 BuildRequires: libtool
09:57:23 BuildRequires: uuid
09:57:23 BuildRequires: uuid-devel
09:57:23 BuildRequires: hdf5-devel
09:57:23 BuildRequires: boost-devel
09:57:23 BuildRequires: boost-static
09:57:23 BuildRequires: hwloc-devel
09:57:23 BuildRequires: readline-devel
09:57:23 BuildRequires: libffi-devel
09:57:23 BuildRequires: curl-devel
09:57:23 BuildRequires: gettext
09:57:23 BuildRequires: make
09:57:23 BuildRequires: java
09:57:23 BuildRequires: tar
09:57:23 BuildRequires: xz
09:57:23 BuildRequires: gcc
09:57:23 BuildRequires: gcc-c++
09:57:23 BuildRequires: gcc-gfortran
09:57:23 BuildRequires: qt5-qtwebkit-devel
09:57:23 BuildRequires: qt5-linguist
09:57:23 BuildRequires: qt5-qttools
09:57:23 BuildRequires: qt5-qtbase-devel
09:57:23 BuildRequires: qt5-qtsvg-devel
09:57:23 %if 0%{?rhel} >= 7
09:57:23 BuildRequires: qt5-qt3d-devel
09:57:23 %endif
09:57:23 BuildRequires: qt5-qtxmlpatterns-devel
09:57:23
09:57:23 # Use cmake versions > 3. On EL7 this is provided by cmake3 package.
09:57:23 # On EL > 7 it is just cmake.
09:57:23 %if 0%{?rhel} == 7
09:57:23 BuildRequires: cmake3
09:57:23 %define cmakecommand CMAKE=cmake3
09:57:23 %else
09:57:23 BuildRequires: cmake
09:57:23 %define cmakecommand CMAKE=cmake
09:57:23 %endif
09:57:23
09:57:23 # The base centos:8 image (we use for our build-deps:el8 image) comes with
09:57:23 # broken cmake package due to old libarchive (v3.3.2). v3.3.3 Seems to work.
09:57:23 # Once the base image is updated this can be removed.
09:57:23 %if 0%{?rhel} == 8
09:57:23 BuildRequires: libarchive >= 3.3.3
09:57:23 %endif
09:57:23
09:57:23 # Use gcc-11 on EL8 as well. devtoolset does not seem to be available on
09:57:23 # EL8. One is supposed to use gcc-toolset instead.
09:57:23 %{?el8:Requires: gcc-toolset-11-gcc gcc-toolset-11-gcc-c++ gcc-toolset-11-gcc-gfortran}
09:57:23 %if 0%{?rhel} == 8
09:57:23 BuildRequires: gcc-toolset-11-gcc gcc-toolset-11-gcc-c++ gcc-toolset-11-gcc-gfortran
09:57:23 %define devtoolsconfigureflags CC=/opt/rh/gcc-toolset-11/root/usr/bin/gcc CXX=/opt/rh/gcc-toolset-11/root/usr/bin/g++ FC=/opt/rh/gcc-toolset-11/root/usr/bin/gfortran AS=/opt/rh/gcc-toolset-11/root/usr/bin/as
09:57:23 %endif
09:57:23
09:57:23 # EL7 has -static-libstdc++ inside devtools (but the system g++ does not know the flag) -- adrpo: check this, also for el6
09:57:23 %{?el7:Requires: devtoolset-11-gcc}
09:57:23 %{?el7:Requires: devtoolset-11-gcc-c++}
09:57:23 %{?el7:Requires: devtoolset-11-gcc-gfortran}
09:57:23
09:57:23 %if 0%{?rhel} <= 7 && 0%{?rhel} >= 1
09:57:23 BuildRequires: devtoolset-11-gcc devtoolset-11-gcc-c++ devtoolset-11-gcc-gfortran
09:57:23 %define devtoolsconfigureflags CC=/opt/rh/devtoolset-11/root/usr/bin/gcc CXX=/opt/rh/devtoolset-11/root/usr/bin/g++ FC=/opt/rh/devtoolset-11/root/usr/bin/gfortran
09:57:23 %endif
09:57:23
09:57:23 %if 0%{?fedora} >= 25
09:57:23 BuildRequires: OpenSceneGraph-devel
09:57:23 %endif
09:57:23
09:57:23 # We should use clang, but OMEdit does not compile with it due to odd default qmake flags
09:57:23 Requires: gcc
09:57:23 Requires: gcc-c++
09:57:23 Requires: lapack-devel
09:57:23
09:57:23 Requires(post): %{_sbindir}/update-alternatives
09:57:23 Requires(postun): %{_sbindir}/update-alternatives
09:57:23
09:57:23 # CentOS does not have suggests
09:57:23 %if 0%{?fedora} >= 24 || 0%{?rhel} >= 8
09:57:23 Suggests: boost-devel
09:57:23 Suggests: boost-static
09:57:23 Suggests: lapack-static
09:57:23 Suggests: openblas-static
09:57:23 %else
09:57:23 Requires: boost-devel
09:57:23 Requires: boost-static
09:57:23 %endif
09:57:23
09:57:23 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
09:57:23
09:57:23 %description
09:57:23 %{summary}
09:57:23
09:57:23 %prep
09:57:23
09:57:23 %setup -q -n openmodelica_DEBVERSION
09:57:23 tar xJf %{_sourcedir}/openmodelica-doc-DOCUMENTATIONVERSION.tar.xz
09:57:23
09:57:23 PATCHCMDS
09:57:23
09:57:23 %if 0%{?rhel} <= 7 && 0%{?rhel} >= 1
09:57:23 source /opt/rh/devtoolset-11/enable
09:57:23 %endif
09:57:23
09:57:23 %if 0%{?rhel} == 8
09:57:23 source /opt/rh/gcc-toolset-11/enable
09:57:23 %endif
09:57:23
09:57:23 autoreconf --install
09:57:23 ./configure CFLAGS="-Os" CXXFLAGS="-Os" QTDIR=/usr/%{_lib}/qt5/ %{withomniorb} CONFIGUREFLAGS %{?devtoolsconfigureflags} --without-omc --prefix=/opt/%{name} --without-omlibrary %{cmakecommand}
09:57:23
09:57:23 %build
09:57:23
09:57:23 %if 0%{?rhel} <= 7 && 0%{?rhel} >= 1
09:57:23 source /opt/rh/devtoolset-11/enable
09:57:23 %endif
09:57:23
09:57:23 %if 0%{?rhel} == 8
09:57:23 source /opt/rh/gcc-toolset-11/enable
09:57:23 %endif
09:57:23
09:57:23 make -j8
09:57:23 test ! -f libraries/install-index.json || make -j8 omlibrary
09:57:23
09:57:23 %install
09:57:23 rm -rf %{buildroot}
09:57:23 make install DESTDIR="%{buildroot}"
09:57:23 mkdir -p %{buildroot}/opt/%{name}/lib/ %{buildroot}/opt/%{name}/share/doc/omc/ %{buildroot}%{_bindir}
09:57:23 ln -s /usr/lib/omlibrary %{buildroot}/opt/%{name}/lib/
09:57:23 ln -s /opt/%{name}/bin/omc %{buildroot}%{_bindir}/omc-BRANCH
09:57:23 ln -s /opt/%{name}/bin/OMEdit %{buildroot}%{_bindir}/OMEdit-BRANCH
09:57:23 ln -s /opt/%{name}/bin/OMShell %{buildroot}%{_bindir}/OMShell-BRANCH
09:57:23 ln -s /opt/%{name}/bin/OMShell-terminal %{buildroot}%{_bindir}/OMShell-terminal-BRANCH
09:57:23 ln -s /opt/%{name}/bin/OMNotebook %{buildroot}%{_bindir}/OMNotebook-BRANCH
09:57:23 ln -s /opt/%{name}/bin/OMPlot %{buildroot}%{_bindir}/OMPlot-BRANCH
09:57:23 touch %{buildroot}%{_bindir}/omc
09:57:23 touch %{buildroot}%{_bindir}/OMEdit
09:57:23 touch %{buildroot}%{_bindir}/OMShell
09:57:23 touch %{buildroot}%{_bindir}/OMShell-terminal
09:57:23 touch %{buildroot}%{_bindir}/OMNotebook
09:57:23 touch %{buildroot}%{_bindir}/OMPlot
09:57:23 cp -a openmodelica-doc*/* %{buildroot}/opt/%{name}/share/doc/omc/
09:57:23
09:57:23 %postun
09:57:23 if [ "$1" -ge "1" ]; then
09:57:23 if [ "`readlink %{_sysconfdir}/alternatives/openmodelica`" == "%{_bindir}/omc-BRANCH" ]; then
09:57:23 %{_sbindir}/alternatives --set openmodelica %{_bindir}/omc-BRANCH
09:57:23 fi
09:57:23 fi
09:57:23
09:57:23 %post
09:57:23 %{_sbindir}/update-alternatives --install %{_bindir}/omc openmodelica %{_bindir}/omc-BRANCH PRIORITY \
09:57:23 --slave %{_bindir}/OMEdit openmodelica-OMEdit %{_bindir}/OMEdit-BRANCH \
09:57:23 --slave %{_bindir}/OMShell openmodelica-OMShell %{_bindir}/OMShell-BRANCH \
09:57:23 --slave %{_bindir}/OMShell-terminal openmodelica-OMShell-terminal %{_bindir}/OMShell-terminal-BRANCH \
09:57:23 --slave %{_bindir}/OMNotebook openmodelica-OMNotebook %{_bindir}/OMNotebook-BRANCH \
09:57:23 --slave %{_bindir}/OMPlot openmodelica-OMPlot %{_bindir}/OMPlot-BRANCH
09:57:23
09:57:23 %preun
09:57:23 if [ $1 = 0 ]; then
09:57:23 %{_sbindir}/update-alternatives --remove openmodelica %{_bindir}/omc-BRANCH
09:57:23 fi
09:57:23
09:57:23 %clean
09:57:23 rm -rf %{buildroot}
09:57:23
09:57:23 %files
09:57:23 %defattr(-,root,root,-)
09:57:23 /opt/%{name}/*
09:57:23 %{_bindir}/*-BRANCH
09:57:23 %ghost %{_bindir}/omc
09:57:23 %ghost %{_bindir}/OMEdit
09:57:23 %ghost %{_bindir}/OMShell
09:57:23 %ghost %{_bindir}/OMShell-terminal
09:57:23 %ghost %{_bindir}/OMNotebook
09:57:23 %ghost %{_bindir}/OMPlot
09:57:23
09:57:23 %changelog
09:57:23 * DATE OpenModelica <openmodelica@ida.liu.se> ${version}-1
09:57:23 - First Build
[Pipeline] writeFile
[Pipeline] sh
09:57:23 + docker build -t docker.openmodelica.org/build-deps:bookworm.nightly.arm64 docker.openmodelica.org/build-deps:bookworm.nightly.arm64
09:57:23 DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
09:57:23 Install the buildx component to build images with BuildKit:
09:57:23 https://docs.docker.com/go/buildx/
09:57:23
09:57:23 Sending build context to Docker daemon 8.704kB
09:57:23
09:57:23 Step 1/3 : FROM arm64v8/debian:bookworm
09:57:23 ---> 995ceb661097
09:57:23 Step 2/3 : COPY openmodelica.dsc openmodelica-build-deps libiomp-fake /var/lib/openmodelica-depends/
09:57:23 ---> Using cache
09:57:23 ---> 2078466da0d9
09:57:23 Step 3/3 : RUN export DEBIAN_FRONTEND=noninteractive && sed -i -e 's,http://deb.debian.org/debian ,http://ftp.se.debian.org/debian ,' `ls /etc/apt/sources.list /etc/apt/sources.list.d/*.list` && apt-get update && apt-get install -qy build-essential devscripts equivs wget && (apt-get install -qy libiomp-dev || (apt-get install -qy libomp-dev && equivs-build /var/lib/openmodelica-depends/libiomp-fake && dpkg -i libiomp-fake_*.deb)) && mk-build-deps /var/lib/openmodelica-depends/openmodelica.dsc && (dpkg -i ./openmodelica-build-deps*.deb ; apt-get install -fqy) && rm -f *.deb && clang --version && rm -rf /var/lib/apt/lists/*
09:57:23 ---> Running in ef05f6224a23
09:57:23 + docker build -t docker.openmodelica.org/build-deps:noble.nightly.armhf docker.openmodelica.org/build-deps:noble.nightly.armhf
09:57:23 DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
09:57:23 Install the buildx component to build images with BuildKit:
09:57:23 https://docs.docker.com/go/buildx/
09:57:23
09:57:23 Sending build context to Docker daemon 8.704kB
09:57:23
09:57:23 Step 1/3 : FROM arm32v7/ubuntu:noble
09:57:23 ---> dbc74e6cb60b
09:57:23 Step 2/3 : COPY openmodelica.dsc openmodelica-build-deps libiomp-fake /var/lib/openmodelica-depends/
09:57:23 ---> Using cache
09:57:23 ---> f3480a75ee63
09:57:23 Step 3/3 : RUN export DEBIAN_FRONTEND=noninteractive && sed -i -e 's,http://deb.debian.org/debian ,http://ftp.se.debian.org/debian ,' `ls /etc/apt/sources.list /etc/apt/sources.list.d/*.list` && apt-get update && apt-get install -qy build-essential devscripts equivs wget && (apt-get install -qy libiomp-dev || (apt-get install -qy libomp-dev && equivs-build /var/lib/openmodelica-depends/libiomp-fake && dpkg -i libiomp-fake_*.deb)) && mk-build-deps /var/lib/openmodelica-depends/openmodelica.dsc && (dpkg -i ./openmodelica-build-deps*.deb ; apt-get install -fqy) && rm -f *.deb && clang --version && rm -rf /var/lib/apt/lists/*
09:57:23 ---> Using cache
09:57:23 ---> bf616f13bee2
09:57:23 Successfully built bf616f13bee2
09:57:23 Successfully tagged docker.openmodelica.org/build-deps:noble.nightly.armhf
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
09:57:23 + docker build -t docker.openmodelica.org/build-deps:bookworm.nightly.armhf docker.openmodelica.org/build-deps:bookworm.nightly.armhf
09:57:23 DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
09:57:23 Install the buildx component to build images with BuildKit:
09:57:23 https://docs.docker.com/go/buildx/
09:57:23
09:57:23 Sending build context to Docker daemon 8.704kB
09:57:23
09:57:23 Step 1/3 : FROM arm32v7/debian:bookworm
09:57:23 ---> 2c9a68c85f11
09:57:23 Step 2/3 : COPY openmodelica.dsc openmodelica-build-deps libiomp-fake /var/lib/openmodelica-depends/
09:57:23 ---> Using cache
09:57:23 ---> 853eca793be4
09:57:23 Step 3/3 : RUN export DEBIAN_FRONTEND=noninteractive && sed -i -e 's,http://deb.debian.org/debian ,http://ftp.se.debian.org/debian ,' `ls /etc/apt/sources.list /etc/apt/sources.list.d/*.list` && apt-get update && apt-get install -qy build-essential devscripts equivs wget && (apt-get install -qy libiomp-dev || (apt-get install -qy libomp-dev && equivs-build /var/lib/openmodelica-depends/libiomp-fake && dpkg -i libiomp-fake_*.deb)) && mk-build-deps /var/lib/openmodelica-depends/openmodelica.dsc && (dpkg -i ./openmodelica-build-deps*.deb ; apt-get install -fqy) && rm -f *.deb && clang --version && rm -rf /var/lib/apt/lists/*
09:57:23 ---> Running in f953b760c180
09:57:23 [91mls: cannot access '/etc/apt/sources.list': No such file or directory
09:57:23 ls: cannot access '/etc/apt/sources.list.d/*.list': No such file or directory
09:57:23 [0m[91msed: no input files
09:57:23 + docker build -t docker.openmodelica.org/build-deps:jammy.nightly.armhf docker.openmodelica.org/build-deps:jammy.nightly.armhf
09:57:23 DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
09:57:23 Install the buildx component to build images with BuildKit:
09:57:23 https://docs.docker.com/go/buildx/
09:57:23
09:57:23 Sending build context to Docker daemon 8.704kB
09:57:23
09:57:23 Step 1/3 : FROM arm32v7/ubuntu:jammy
09:57:23 ---> 961b5577e6c5
09:57:23 Step 2/3 : COPY openmodelica.dsc openmodelica-build-deps libiomp-fake /var/lib/openmodelica-depends/
09:57:23 ---> Using cache
09:57:23 ---> 1791df25ffbc
09:57:23 Step 3/3 : RUN export DEBIAN_FRONTEND=noninteractive && sed -i -e 's,http://deb.debian.org/debian ,http://ftp.se.debian.org/debian ,' `ls /etc/apt/sources.list /etc/apt/sources.list.d/*.list` && apt-get update && apt-get install -qy build-essential devscripts equivs wget && (apt-get install -qy libiomp-dev || (apt-get install -qy libomp-dev && equivs-build /var/lib/openmodelica-depends/libiomp-fake && dpkg -i libiomp-fake_*.deb)) && mk-build-deps /var/lib/openmodelica-depends/openmodelica.dsc && (dpkg -i ./openmodelica-build-deps*.deb ; apt-get install -fqy) && rm -f *.deb && clang --version && rm -rf /var/lib/apt/lists/*
09:57:23 ---> Using cache
09:57:23 ---> 33db348c9de2
09:57:23 Successfully built 33db348c9de2
09:57:23 Successfully tagged docker.openmodelica.org/build-deps:jammy.nightly.armhf
[Pipeline] }
[Pipeline] // withEnv
09:57:23 + docker tag docker.openmodelica.org/build-deps:jammy.nightly.amd64 docker.openmodelica.org/build-deps:jammy.nightly.amd64
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
09:57:23 + docker tag docker.openmodelica.org/build-deps:oracular.nightly.amd64 docker.openmodelica.org/build-deps:oracular.nightly.amd64
[Pipeline] sh
09:57:23 + docker tag docker.openmodelica.org/build-deps:noble.nightly.amd64 docker.openmodelica.org/build-deps:noble.nightly.amd64
[Pipeline] }
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] // withEnv
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
09:57:23 + diff -uw openmodelica.spec.tpl.old.el9 openmodelica.spec.tpl.el9
[Pipeline] sh
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // node
[Pipeline] }
$ docker rm -f --volumes b8593ce70a18eb3ca697d13577e45ab355794fdb2606ddc1d7542af0c70f0114
09:57:23 + docker tag docker.openmodelica.org/build-deps:noble.nightly.armhf docker.openmodelica.org/build-deps:noble.nightly.armhf
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
$ docker login -u jenkins-nexus -p ******** https://docker.openmodelica.org
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /var/lib/jenkins/ws/LINUX_BUILDS_tmp/5978b583-7212-453b-838d-5da7569740e2/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
$ docker login -u jenkins-nexus -p ******** https://docker.openmodelica.org
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /var/lib/jenkins1/ws/LINUX_BUILDS_tmp/1442acaf-8ab6-43e3-8be3-cac04a52a7c8/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
09:57:24 + docker tag docker.openmodelica.org/build-deps:jammy.nightly.armhf docker.openmodelica.org/build-deps:jammy.nightly.armhf
09:57:24 + docker push docker.openmodelica.org/build-deps:jammy.nightly.amd64
$ docker login -u jenkins-nexus -p ******** https://docker.openmodelica.org
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /var/lib/jenkins1/ws/LINUX_BUILDS_tmp/8fb607dd-be79-4637-b97f-3e0b6402b8a1/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
09:57:24 The push refers to repository [docker.openmodelica.org/build-deps]
09:57:24 e9a853b319f0: Preparing
09:57:24 540bc8a435c9: Preparing
09:57:24 2573e0d81582: Preparing
09:57:24 540bc8a435c9: Layer already exists
09:57:24 2573e0d81582: Layer already exists
09:57:24 e9a853b319f0: Layer already exists
09:57:24 jammy.nightly.amd64: digest: sha256:55be13dd1cb0e928bef128f44fd3f9b01980a5c6a779f054f34b6e5bf18ce80e size: 951
$ docker login -u jenkins-nexus -p ******** https://docker.openmodelica.org
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /var/lib/jenkins1/ws/LINUX_BUILDS_tmp/bd832cf3-dfc5-434f-935b-db1da9e58425/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] // wrap
[Pipeline] }
[Pipeline] sh
09:57:24 + docker push docker.openmodelica.org/build-deps:oracular.nightly.amd64
09:57:24 The push refers to repository [docker.openmodelica.org/build-deps]
09:57:24 791a9dc33a7b: Preparing
09:57:24 0773e7b52b97: Preparing
09:57:24 9c8b3e5cca67: Preparing
09:57:24 9c8b3e5cca67: Layer already exists
09:57:24 791a9dc33a7b: Layer already exists
09:57:24 0773e7b52b97: Layer already exists
09:57:24 oracular.nightly.amd64: digest: sha256:cccc25fc8e922cae78146b18f2e1705fef5f37d03d0a23bb02c3bbbff5ab465a size: 951
$ docker login -u jenkins-nexus -p ******** https://docker.openmodelica.org
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /var/lib/jenkins1/ws/LINUX_BUILDS_tmp/67c593ae-c3dc-45b6-bdf1-f6c017be6280/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
$ docker login -u jenkins-nexus -p ******** https://docker.openmodelica.org
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /var/lib/jenkins2/ws/LINUX_BUILDS_tmp/c5567b9e-a4e7-486c-aa44-1baa3a35f8de/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
$ docker login -u jenkins-nexus -p ******** https://docker.openmodelica.org
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /var/lib/jenkins/ws/LINUX_BUILDS_tmp/5a317264-8cc5-4fa1-9c68-cb330adbff80/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
09:57:24 + docker push docker.openmodelica.org/build-deps:noble.nightly.amd64
09:57:24 The push refers to repository [docker.openmodelica.org/build-deps]
09:57:24 641e7fc26498: Preparing
09:57:24 2b4ed2aeafcf: Preparing
09:57:24 687d50f2f6a6: Preparing
09:57:24 641e7fc26498: Layer already exists
09:57:24 687d50f2f6a6: Layer already exists
09:57:24 2b4ed2aeafcf: Layer already exists
09:57:24 noble.nightly.amd64: digest: sha256:17387ac6fd3f7720523becaff139b378f1f1190c935b32ca226f83c9b4963e51 size: 951
$ docker login -u jenkins-nexus -p ******** https://docker.openmodelica.org
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /var/lib/jenkins/ws/LINUX_BUILDS_tmp/831965db-2200-4303-91a4-fa1855ab40b1/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
[Pipeline] // node
[Pipeline] }
[Pipeline] }
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] // wrap
[Pipeline] }
[Pipeline] }
[Pipeline] // node
[Pipeline] // wrap
[Pipeline] }
[Pipeline] }
[Pipeline] // node
[Pipeline] }
09:57:24 [0mThe command '/bin/sh -c export DEBIAN_FRONTEND=noninteractive && sed -i -e 's,http://deb.debian.org/debian ,http://ftp.se.debian.org/debian ,' `ls /etc/apt/sources.list /etc/apt/sources.list.d/*.list` && apt-get update && apt-get install -qy build-essential devscripts equivs wget && (apt-get install -qy libiomp-dev || (apt-get install -qy libomp-dev && equivs-build /var/lib/openmodelica-depends/libiomp-fake && dpkg -i libiomp-fake_*.deb)) && mk-build-deps /var/lib/openmodelica-depends/openmodelica.dsc && (dpkg -i ./openmodelica-build-deps*.deb ; apt-get install -fqy) && rm -f *.deb && clang --version && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 4
[Pipeline] }
[Pipeline] // withEnv
09:57:24 [91mls: cannot access '/etc/apt/sources.list': No such file or directory
09:57:24 ls: cannot access '/etc/apt/sources.list.d/*.list': No such file or directory
09:57:24 [0m[91msed: no input files
09:57:24 [0mThe command '/bin/sh -c export DEBIAN_FRONTEND=noninteractive && sed -i -e 's,http://deb.debian.org/debian ,http://ftp.se.debian.org/debian ,' `ls /etc/apt/sources.list /etc/apt/sources.list.d/*.list` && apt-get update && apt-get install -qy build-essential devscripts equivs wget && (apt-get install -qy libiomp-dev || (apt-get install -qy libomp-dev && equivs-build /var/lib/openmodelica-depends/libiomp-fake && dpkg -i libiomp-fake_*.deb)) && mk-build-deps /var/lib/openmodelica-depends/openmodelica.dsc && (dpkg -i ./openmodelica-build-deps*.deb ; apt-get install -fqy) && rm -f *.deb && clang --version && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 4
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] }
[Pipeline] // node
[Pipeline] // withEnv
[Pipeline] }
Failed in branch bookworm nightly amd64
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
09:57:24 + docker push docker.openmodelica.org/build-deps:noble.nightly.armhf
09:57:24 The push refers to repository [docker.openmodelica.org/build-deps]
09:57:24 c203083c168b: Preparing
09:57:24 c55f4cc49d17: Preparing
09:57:24 ced9fee827ea: Preparing
09:57:24 ced9fee827ea: Layer already exists
09:57:24 c203083c168b: Layer already exists
09:57:24 c55f4cc49d17: Layer already exists
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch bookworm nightly armhf
Running on arm-opi-1 in /var/lib/jenkins/ws/LINUX_BUILDS
[Pipeline] {
[Pipeline] wrap
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
09:57:24 + docker push docker.openmodelica.org/build-deps:jammy.nightly.armhf
09:57:24 The push refers to repository [docker.openmodelica.org/build-deps]
09:57:24 2ca1639bb72f: Preparing
09:57:24 f58282a6047e: Preparing
09:57:24 89724f6f5a37: Preparing
09:57:24 2ca1639bb72f: Layer already exists
09:57:24 f58282a6047e: Layer already exists
09:57:24 89724f6f5a37: Layer already exists
09:57:24 noble.nightly.armhf: digest: sha256:8afd92053907123c30212fb71838f2869c7b27cb52cabb285fca29b002a82161 size: 950
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] // wrap
09:57:24 [91mls: cannot access '/etc/apt/sources.list': No such file or directory
09:57:24 ls: cannot access '/etc/apt/sources.list.d/*.list': No such file or directory
09:57:24 [0m[91msed: no input files
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Running on arm64-1-1 in /var/lib/jenkins1/ws/LINUX_BUILDS
[Pipeline] {
[Pipeline] wrap
09:57:24 + docker pull arm64v8/ubuntu:jammy
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
09:57:24 jammy.nightly.armhf: digest: sha256:d47424a6a6ae2bbc244a10aeb1cf659459ccf6a716517cbff46f8b62cc439536 size: 950
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // node
[Pipeline] }
09:57:24 [0mThe command '/bin/sh -c export DEBIAN_FRONTEND=noninteractive && sed -i -e 's,http://deb.debian.org/debian ,http://ftp.se.debian.org/debian ,' `ls /etc/apt/sources.list /etc/apt/sources.list.d/*.list` && apt-get update && apt-get install -qy build-essential devscripts equivs wget && (apt-get install -qy libiomp-dev || (apt-get install -qy libomp-dev && equivs-build /var/lib/openmodelica-depends/libiomp-fake && dpkg -i libiomp-fake_*.deb)) && mk-build-deps /var/lib/openmodelica-depends/openmodelica.dsc && (dpkg -i ./openmodelica-build-deps*.deb ; apt-get install -fqy) && rm -f *.deb && clang --version && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 4
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch bookworm nightly arm64
09:57:24 + docker pull arm64v8/ubuntu:noble
09:57:25 0c5a86865c5d: Pull complete
09:57:25 85122059be2c: Pull complete
09:57:25 jammy: Pulling from arm64v8/ubuntu
09:57:25 Digest: sha256:299378f154a199f1cbaedab607dd20b901f6824b26de4c33924ae7c9b6357d61
09:57:25 Status: Image is up to date for arm64v8/ubuntu:jammy
09:57:25 docker.io/arm64v8/ubuntu:jammy
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] dir
09:57:25 Running in /var/lib/jenkins/ws/LINUX_BUILDS/docker.openmodelica.org/build-deps:jammy.nightly.arm64
[Pipeline] {
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] }
[Pipeline] // dir
[Pipeline] withDockerRegistry
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
09:57:26 + docker build -t docker.openmodelica.org/build-deps:jammy.nightly.arm64 docker.openmodelica.org/build-deps:jammy.nightly.arm64
09:57:26 DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
09:57:26 Install the buildx component to build images with BuildKit:
09:57:26 https://docs.docker.com/go/buildx/
09:57:26
09:57:26 Sending build context to Docker daemon 8.704kB
09:57:26
09:57:26 Step 1/3 : FROM arm64v8/ubuntu:jammy
09:57:26 ---> 981912c48e9a
09:57:26 Step 2/3 : COPY openmodelica.dsc openmodelica-build-deps libiomp-fake /var/lib/openmodelica-depends/
09:57:26 ---> Using cache
09:57:26 ---> ff84004187f9
09:57:26 Step 3/3 : RUN export DEBIAN_FRONTEND=noninteractive && sed -i -e 's,http://deb.debian.org/debian ,http://ftp.se.debian.org/debian ,' `ls /etc/apt/sources.list /etc/apt/sources.list.d/*.list` && apt-get update && apt-get install -qy build-essential devscripts equivs wget && (apt-get install -qy libiomp-dev || (apt-get install -qy libomp-dev && equivs-build /var/lib/openmodelica-depends/libiomp-fake && dpkg -i libiomp-fake_*.deb)) && mk-build-deps /var/lib/openmodelica-depends/openmodelica.dsc && (dpkg -i ./openmodelica-build-deps*.deb ; apt-get install -fqy) && rm -f *.deb && clang --version && rm -rf /var/lib/apt/lists/*
09:57:26 ---> Using cache
09:57:26 ---> 140c11148787
09:57:26 Successfully built 140c11148787
09:57:26 Successfully tagged docker.openmodelica.org/build-deps:jammy.nightly.arm64
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
09:57:26 noble: Pulling from arm64v8/ubuntu
09:57:26 Digest: sha256:56667caaaa5a0d9c20d252fd4f7eda2cf63493ab8fcc0ea8d990a4cbfc118321
09:57:26 Status: Image is up to date for arm64v8/ubuntu:noble
09:57:26 docker.io/arm64v8/ubuntu:noble
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] dir
09:57:26 Running in /var/lib/jenkins1/ws/LINUX_BUILDS/docker.openmodelica.org/build-deps:noble.nightly.arm64
[Pipeline] {
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] }
[Pipeline] // dir
[Pipeline] withDockerRegistry
09:57:26 + docker tag docker.openmodelica.org/build-deps:jammy.nightly.arm64 docker.openmodelica.org/build-deps:jammy.nightly.arm64
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
$ docker login -u jenkins-nexus -p ******** https://docker.openmodelica.org
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /var/lib/jenkins/ws/LINUX_BUILDS_tmp/d47f89bb-56d7-44ba-a29f-1eb22349fb1b/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
09:57:26 + docker push docker.openmodelica.org/build-deps:jammy.nightly.arm64
09:57:26 The push refers to repository [docker.openmodelica.org/build-deps]
09:57:26 f6b0f130bcfe: Preparing
09:57:26 f784318dca22: Preparing
09:57:26 54cb91f3fa5e: Preparing
09:57:26 54cb91f3fa5e: Layer already exists
09:57:26 f6b0f130bcfe: Layer already exists
09:57:26 f784318dca22: Layer already exists
09:57:26 + docker build -t docker.openmodelica.org/build-deps:noble.nightly.arm64 docker.openmodelica.org/build-deps:noble.nightly.arm64
09:57:26 DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
09:57:26 Install the buildx component to build images with BuildKit:
09:57:26 https://docs.docker.com/go/buildx/
09:57:26
09:57:26 Sending build context to Docker daemon 8.704kB
09:57:26
09:57:26 Step 1/3 : FROM arm64v8/ubuntu:noble
09:57:26 ---> 20377134ad88
09:57:26 Step 2/3 : COPY openmodelica.dsc openmodelica-build-deps libiomp-fake /var/lib/openmodelica-depends/
09:57:26 ---> Using cache
09:57:26 ---> 3ebf9bef91d8
09:57:26 Step 3/3 : RUN export DEBIAN_FRONTEND=noninteractive && sed -i -e 's,http://deb.debian.org/debian ,http://ftp.se.debian.org/debian ,' `ls /etc/apt/sources.list /etc/apt/sources.list.d/*.list` && apt-get update && apt-get install -qy build-essential devscripts equivs wget && (apt-get install -qy libiomp-dev || (apt-get install -qy libomp-dev && equivs-build /var/lib/openmodelica-depends/libiomp-fake && dpkg -i libiomp-fake_*.deb)) && mk-build-deps /var/lib/openmodelica-depends/openmodelica.dsc && (dpkg -i ./openmodelica-build-deps*.deb ; apt-get install -fqy) && rm -f *.deb && clang --version && rm -rf /var/lib/apt/lists/*
09:57:26 ---> Using cache
09:57:26 ---> df03994dd834
09:57:26 Successfully built df03994dd834
09:57:26 Successfully tagged docker.openmodelica.org/build-deps:noble.nightly.arm64
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
09:57:26 jammy.nightly.arm64: digest: sha256:2158a50b510c8e7ed3cf3573dad56dcff0a13d3f008087aee1142b6ca4569d69 size: 950
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // node
[Pipeline] }
09:57:27 + docker tag docker.openmodelica.org/build-deps:noble.nightly.arm64 docker.openmodelica.org/build-deps:noble.nightly.arm64
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
$ docker login -u jenkins-nexus -p ******** https://docker.openmodelica.org
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /var/lib/jenkins1/ws/LINUX_BUILDS_tmp/9428a056-ef6e-4fff-97d2-910c546cfd0c/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
09:57:27 + docker push docker.openmodelica.org/build-deps:noble.nightly.arm64
09:57:27 The push refers to repository [docker.openmodelica.org/build-deps]
09:57:27 cbc51c659a37: Preparing
09:57:27 71adde6c9df2: Preparing
09:57:27 1575723d84b8: Preparing
09:57:27 1575723d84b8: Layer already exists
09:57:27 cbc51c659a37: Layer already exists
09:57:27 71adde6c9df2: Layer already exists
09:57:27 noble.nightly.arm64: digest: sha256:7031f8ff3a850354db1b985c35d7ffe31df967f0189b93232a277c9367cef158 size: 951
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // node
[Pipeline] }
09:57:37 6299667869c4: Pull complete
09:57:37 485923326c8a: Pull complete
09:57:47 f62e3f1fef56: Verifying Checksum
09:57:47 f62e3f1fef56: Download complete
09:57:59 d030384b984f: Verifying Checksum
09:57:59 d030384b984f: Download complete
09:58:43 f62e3f1fef56: Pull complete
09:58:43 Digest: sha256:fba202a7f60e3844955594f6bf8a006ac53669a00fe7abcf2fddec2db55298de
09:58:43 Status: Downloaded newer image for docker.openmodelica.org/build-deps:fc41.amd64
09:58:43 docker.openmodelica.org/build-deps:fc41.amd64
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
09:58:43 + docker inspect -f . docker.openmodelica.org/build-deps:fc41.amd64
09:58:43 .
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
09:58:43 dev.openmodelica.org does not seem to be running inside a container
$ docker run -t -d -u 1026:1026 -w /var/lib/jenkins/ws/LINUX_BUILDS -v /var/lib/jenkins/ws/LINUX_BUILDS:/var/lib/jenkins/ws/LINUX_BUILDS:rw,z -v /var/lib/jenkins/ws/LINUX_BUILDS_tmp:/var/lib/jenkins/ws/LINUX_BUILDS_tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** docker.openmodelica.org/build-deps:fc41.amd64 cat
[Pipeline] {
[Pipeline] sh
09:58:46 + cat /var/lib/openmodelica-depends/openmodelica.spec.tpl
[Pipeline] }
$ docker top 7f226d9390800d8ecb916aee10dca0abc70ad3cb7de85c94c2cec5db23ba096b -eo pid,comm
$ docker stop --time=1 7f226d9390800d8ecb916aee10dca0abc70ad3cb7de85c94c2cec5db23ba096b
[Pipeline] // withDockerContainer
[Pipeline] sh
09:58:48 + rm -f openmodelica.spec.tpl.fc41
09:58:48 + wget -q -O openmodelica.spec.tpl.fc41 https://raw.githubusercontent.com/OpenModelica/OpenModelicaBuildScripts/master/rpm/SPECS/openmodelica.spec.tpl
[Pipeline] sh
$ docker rm -f --volumes 7f226d9390800d8ecb916aee10dca0abc70ad3cb7de85c94c2cec5db23ba096b
09:58:48 + test -s openmodelica.spec.tpl.fc41
[Pipeline] echo
09:58:48 # See also Jenkinsfile in apt-build repository for stuff that is installed BEFORE everything here
09:58:48 # Don't try fancy stuff like debuginfo, which is useless on binary-only
09:58:48 # packages. Don't strip binary too
09:58:48 # Be sure buildpolicy set to do nothing
09:58:48 %define __spec_install_post %{nil}
09:58:48 %define debug_package %{nil}
09:58:48 %define __os_install_post %{_dbpath}/brp-compress
09:58:48
09:58:48 Summary: OpenModelica
09:58:48 Name: NAME
09:58:48 Version: RPMVERSION
09:58:48 Release: RELEASENUM%{?dist}
09:58:48 License: OSMC-PL
09:58:48 Group: Development/Tools
09:58:48 # spectool -g -R SPECS/xxx.spec
09:58:48 # sudo yum-builddep SPECS/xxx.spec
09:58:48 SOURCE0 : https://build.openmodelica.org/apt/pool/contrib/openmodelica_DEBVERSION.orig.tar.xz
09:58:48 SOURCE1 : https://openmodelica.org/doc/openmodelica-doc-DOCUMENTATIONVERSION.tar.xz
09:58:48 PATCHES
09:58:48 URL: https://openmodelica.org/
09:58:48
09:58:48 %if 0%{?rhel} == 6
09:58:48 Autoreq: 0
09:58:48 Requires: readline
09:58:48 Requires: qt5-qtbase
09:58:48 Requires: qt5-qtsvg
09:58:48 Requires: qt5-qtwebkit
09:58:48 Requires: qt5-qtxmlpatterns
09:58:48 Requires: libffi
09:58:48 %endif
09:58:48 Autoprov: 0
09:58:48 Prefix: /opt/%{name}
09:58:48 Prefix: %{_bindir}
09:58:48
09:58:48 %global __requires_exclude ^(PRIVATELIBS)$
09:58:48
09:58:48 # Recommended (for the repo): git rpm-build rpmdevtools epel-release
09:58:48 %if 0%{?rhel} > 0
09:58:48 # CentOS / RHEL requires the EPEL repository (for omniORB, etc)
09:58:48 BuildRequires: epel-release
09:58:48 Requires: epel-release
09:58:48 %endif
09:58:48
09:58:48 Requires: lapack-devel
09:58:48 Requires: make
09:58:48 Requires: gcc
09:58:48 Requires: gcc-gfortran
09:58:48 Requires: gcc-c++
09:58:48
09:58:48 BuildRequires: automake
09:58:48 %if 0%{?rhel} >= 8
09:58:48 %define withomniorb --without-omniORB
09:58:48 %else
09:58:48 %define withomniorb --with-omniORB
09:58:48 BuildRequires: omniORB-devel
09:58:48 BuildRequires: lpsolve-devel
09:58:48 %endif
09:58:48 BuildRequires: expat-devel
09:58:48 BuildRequires: bison
09:58:48 BuildRequires: flex
09:58:48 BuildRequires: lapack-devel
09:58:48 BuildRequires: libtool
09:58:48 BuildRequires: uuid
09:58:48 BuildRequires: uuid-devel
09:58:48 BuildRequires: hdf5-devel
09:58:48 BuildRequires: boost-devel
09:58:48 BuildRequires: boost-static
09:58:48 BuildRequires: hwloc-devel
09:58:48 BuildRequires: readline-devel
09:58:48 BuildRequires: libffi-devel
09:58:48 BuildRequires: curl-devel
09:58:48 BuildRequires: gettext
09:58:48 BuildRequires: make
09:58:48 BuildRequires: java
09:58:48 BuildRequires: tar
09:58:48 BuildRequires: xz
09:58:48 BuildRequires: gcc
09:58:48 BuildRequires: gcc-c++
09:58:48 BuildRequires: gcc-gfortran
09:58:48 BuildRequires: qt5-qtwebkit-devel
09:58:48 BuildRequires: qt5-linguist
09:58:48 BuildRequires: qt5-qttools
09:58:48 BuildRequires: qt5-qtbase-devel
09:58:48 BuildRequires: qt5-qtsvg-devel
09:58:48 %if 0%{?rhel} >= 7
09:58:48 BuildRequires: qt5-qt3d-devel
09:58:48 %endif
09:58:48 BuildRequires: qt5-qtxmlpatterns-devel
09:58:48
09:58:48 # Use cmake versions > 3. On EL7 this is provided by cmake3 package.
09:58:48 # On EL > 7 it is just cmake.
09:58:48 %if 0%{?rhel} == 7
09:58:48 BuildRequires: cmake3
09:58:48 %define cmakecommand CMAKE=cmake3
09:58:48 %else
09:58:48 BuildRequires: cmake
09:58:48 %define cmakecommand CMAKE=cmake
09:58:48 %endif
09:58:48
09:58:48 # The base centos:8 image (we use for our build-deps:el8 image) comes with
09:58:48 # broken cmake package due to old libarchive (v3.3.2). v3.3.3 Seems to work.
09:58:48 # Once the base image is updated this can be removed.
09:58:48 %if 0%{?rhel} == 8
09:58:48 BuildRequires: libarchive >= 3.3.3
09:58:48 %endif
09:58:48
09:58:48 # Use gcc-11 on EL8 as well. devtoolset does not seem to be available on
09:58:48 # EL8. One is supposed to use gcc-toolset instead.
09:58:48 %{?el8:Requires: gcc-toolset-11-gcc gcc-toolset-11-gcc-c++ gcc-toolset-11-gcc-gfortran}
09:58:48 %if 0%{?rhel} == 8
09:58:48 BuildRequires: gcc-toolset-11-gcc gcc-toolset-11-gcc-c++ gcc-toolset-11-gcc-gfortran
09:58:48 %define devtoolsconfigureflags CC=/opt/rh/gcc-toolset-11/root/usr/bin/gcc CXX=/opt/rh/gcc-toolset-11/root/usr/bin/g++ FC=/opt/rh/gcc-toolset-11/root/usr/bin/gfortran AS=/opt/rh/gcc-toolset-11/root/usr/bin/as
09:58:48 %endif
09:58:48
09:58:48 # EL7 has -static-libstdc++ inside devtools (but the system g++ does not know the flag) -- adrpo: check this, also for el6
09:58:48 %{?el7:Requires: devtoolset-11-gcc}
09:58:48 %{?el7:Requires: devtoolset-11-gcc-c++}
09:58:48 %{?el7:Requires: devtoolset-11-gcc-gfortran}
09:58:48
09:58:48 %if 0%{?rhel} <= 7 && 0%{?rhel} >= 1
09:58:48 BuildRequires: devtoolset-11-gcc devtoolset-11-gcc-c++ devtoolset-11-gcc-gfortran
09:58:48 %define devtoolsconfigureflags CC=/opt/rh/devtoolset-11/root/usr/bin/gcc CXX=/opt/rh/devtoolset-11/root/usr/bin/g++ FC=/opt/rh/devtoolset-11/root/usr/bin/gfortran
09:58:48 %endif
09:58:48
09:58:48 %if 0%{?fedora} >= 25
09:58:48 BuildRequires: OpenSceneGraph-devel
09:58:48 %endif
09:58:48
09:58:48 # We should use clang, but OMEdit does not compile with it due to odd default qmake flags
09:58:48 Requires: gcc
09:58:48 Requires: gcc-c++
09:58:48 Requires: lapack-devel
09:58:48
09:58:48 Requires(post): %{_sbindir}/update-alternatives
09:58:48 Requires(postun): %{_sbindir}/update-alternatives
09:58:48
09:58:48 # CentOS does not have suggests
09:58:48 %if 0%{?fedora} >= 24 || 0%{?rhel} >= 8
09:58:48 Suggests: boost-devel
09:58:48 Suggests: boost-static
09:58:48 Suggests: lapack-static
09:58:48 Suggests: openblas-static
09:58:48 %else
09:58:48 Requires: boost-devel
09:58:48 Requires: boost-static
09:58:48 %endif
09:58:48
09:58:48 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
09:58:48
09:58:48 %description
09:58:48 %{summary}
09:58:48
09:58:48 %prep
09:58:48
09:58:48 %setup -q -n openmodelica_DEBVERSION
09:58:48 tar xJf %{_sourcedir}/openmodelica-doc-DOCUMENTATIONVERSION.tar.xz
09:58:48
09:58:48 PATCHCMDS
09:58:48
09:58:48 %if 0%{?rhel} <= 7 && 0%{?rhel} >= 1
09:58:48 source /opt/rh/devtoolset-11/enable
09:58:48 %endif
09:58:48
09:58:48 %if 0%{?rhel} == 8
09:58:48 source /opt/rh/gcc-toolset-11/enable
09:58:48 %endif
09:58:48
09:58:48 autoreconf --install
09:58:48 ./configure CFLAGS="-Os" CXXFLAGS="-Os" QTDIR=/usr/%{_lib}/qt5/ %{withomniorb} CONFIGUREFLAGS %{?devtoolsconfigureflags} --without-omc --prefix=/opt/%{name} --without-omlibrary %{cmakecommand}
09:58:48
09:58:48 %build
09:58:48
09:58:48 %if 0%{?rhel} <= 7 && 0%{?rhel} >= 1
09:58:48 source /opt/rh/devtoolset-11/enable
09:58:48 %endif
09:58:48
09:58:48 %if 0%{?rhel} == 8
09:58:48 source /opt/rh/gcc-toolset-11/enable
09:58:48 %endif
09:58:48
09:58:48 make -j8
09:58:48 test ! -f libraries/install-index.json || make -j8 omlibrary
09:58:48
09:58:48 %install
09:58:48 rm -rf %{buildroot}
09:58:48 make install DESTDIR="%{buildroot}"
09:58:48 mkdir -p %{buildroot}/opt/%{name}/lib/ %{buildroot}/opt/%{name}/share/doc/omc/ %{buildroot}%{_bindir}
09:58:48 ln -s /usr/lib/omlibrary %{buildroot}/opt/%{name}/lib/
09:58:48 ln -s /opt/%{name}/bin/omc %{buildroot}%{_bindir}/omc-BRANCH
09:58:48 ln -s /opt/%{name}/bin/OMEdit %{buildroot}%{_bindir}/OMEdit-BRANCH
09:58:48 ln -s /opt/%{name}/bin/OMShell %{buildroot}%{_bindir}/OMShell-BRANCH
09:58:48 ln -s /opt/%{name}/bin/OMShell-terminal %{buildroot}%{_bindir}/OMShell-terminal-BRANCH
09:58:48 ln -s /opt/%{name}/bin/OMNotebook %{buildroot}%{_bindir}/OMNotebook-BRANCH
09:58:48 ln -s /opt/%{name}/bin/OMPlot %{buildroot}%{_bindir}/OMPlot-BRANCH
09:58:48 touch %{buildroot}%{_bindir}/omc
09:58:48 touch %{buildroot}%{_bindir}/OMEdit
09:58:48 touch %{buildroot}%{_bindir}/OMShell
09:58:48 touch %{buildroot}%{_bindir}/OMShell-terminal
09:58:48 touch %{buildroot}%{_bindir}/OMNotebook
09:58:48 touch %{buildroot}%{_bindir}/OMPlot
09:58:48 cp -a openmodelica-doc*/* %{buildroot}/opt/%{name}/share/doc/omc/
09:58:48
09:58:48 %postun
09:58:48 if [ "$1" -ge "1" ]; then
09:58:48 if [ "`readlink %{_sysconfdir}/alternatives/openmodelica`" == "%{_bindir}/omc-BRANCH" ]; then
09:58:48 %{_sbindir}/alternatives --set openmodelica %{_bindir}/omc-BRANCH
09:58:48 fi
09:58:48 fi
09:58:48
09:58:48 %post
09:58:48 %{_sbindir}/update-alternatives --install %{_bindir}/omc openmodelica %{_bindir}/omc-BRANCH PRIORITY \
09:58:48 --slave %{_bindir}/OMEdit openmodelica-OMEdit %{_bindir}/OMEdit-BRANCH \
09:58:48 --slave %{_bindir}/OMShell openmodelica-OMShell %{_bindir}/OMShell-BRANCH \
09:58:48 --slave %{_bindir}/OMShell-terminal openmodelica-OMShell-terminal %{_bindir}/OMShell-terminal-BRANCH \
09:58:48 --slave %{_bindir}/OMNotebook openmodelica-OMNotebook %{_bindir}/OMNotebook-BRANCH \
09:58:48 --slave %{_bindir}/OMPlot openmodelica-OMPlot %{_bindir}/OMPlot-BRANCH
09:58:48
09:58:48 %preun
09:58:48 if [ $1 = 0 ]; then
09:58:48 %{_sbindir}/update-alternatives --remove openmodelica %{_bindir}/omc-BRANCH
09:58:48 fi
09:58:48
09:58:48 %clean
09:58:48 rm -rf %{buildroot}
09:58:48
09:58:48 %files
09:58:48 %defattr(-,root,root,-)
09:58:48 /opt/%{name}/*
09:58:48 %{_bindir}/*-BRANCH
09:58:48 %ghost %{_bindir}/omc
09:58:48 %ghost %{_bindir}/OMEdit
09:58:48 %ghost %{_bindir}/OMShell
09:58:48 %ghost %{_bindir}/OMShell-terminal
09:58:48 %ghost %{_bindir}/OMNotebook
09:58:48 %ghost %{_bindir}/OMPlot
09:58:48
09:58:48 %changelog
09:58:48 * DATE OpenModelica <openmodelica@ida.liu.se> ${version}-1
09:58:48 - First Build
[Pipeline] writeFile
[Pipeline] sh
09:58:48 + diff -uw openmodelica.spec.tpl.old.fc41 openmodelica.spec.tpl.fc41
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // node
[Pipeline] }
10:00:20 d030384b984f: Pull complete
10:00:20 Digest: sha256:bf759011c9f0a87cc6ffc995e12c3d0d5327c1b12394f13dd79997965043cb59
10:00:20 Status: Downloaded newer image for docker.openmodelica.org/build-deps:fc40.amd64
10:00:20 docker.openmodelica.org/build-deps:fc40.amd64
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
10:00:20 + docker inspect -f . docker.openmodelica.org/build-deps:fc40.amd64
10:00:20 .
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
10:00:20 intel-4930k-1 does not seem to be running inside a container
$ docker run -t -d -u 1001:1001 -w /var/lib/jenkins/ws/LINUX_BUILDS -v /var/lib/jenkins/ws/LINUX_BUILDS:/var/lib/jenkins/ws/LINUX_BUILDS:rw,z -v /var/lib/jenkins/ws/LINUX_BUILDS_tmp:/var/lib/jenkins/ws/LINUX_BUILDS_tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** docker.openmodelica.org/build-deps:fc40.amd64 cat
[Pipeline] {
[Pipeline] sh
10:00:26 + cat /var/lib/openmodelica-depends/openmodelica.spec.tpl
[Pipeline] }
$ docker top 847ab704b0238ba0ba3c267ed21dcf9053aaeb03097873ad892376cc3454f7e7 -eo pid,comm
$ docker stop --time=1 847ab704b0238ba0ba3c267ed21dcf9053aaeb03097873ad892376cc3454f7e7
[Pipeline] // withDockerContainer
[Pipeline] sh
10:00:28 + rm -f openmodelica.spec.tpl.fc40
10:00:28 + wget -q -O openmodelica.spec.tpl.fc40 https://raw.githubusercontent.com/OpenModelica/OpenModelicaBuildScripts/master/rpm/SPECS/openmodelica.spec.tpl
[Pipeline] sh
10:00:28 + test -s openmodelica.spec.tpl.fc40
[Pipeline] echo
10:00:28 # See also Jenkinsfile in apt-build repository for stuff that is installed BEFORE everything here
10:00:28 # Don't try fancy stuff like debuginfo, which is useless on binary-only
10:00:28 # packages. Don't strip binary too
10:00:28 # Be sure buildpolicy set to do nothing
10:00:28 %define __spec_install_post %{nil}
10:00:28 %define debug_package %{nil}
10:00:28 %define __os_install_post %{_dbpath}/brp-compress
10:00:28
10:00:28 Summary: OpenModelica
10:00:28 Name: NAME
10:00:28 Version: RPMVERSION
10:00:28 Release: RELEASENUM%{?dist}
10:00:28 License: OSMC-PL
10:00:28 Group: Development/Tools
10:00:28 # spectool -g -R SPECS/xxx.spec
10:00:28 # sudo yum-builddep SPECS/xxx.spec
10:00:28 SOURCE0 : https://build.openmodelica.org/apt/pool/contrib/openmodelica_DEBVERSION.orig.tar.xz
10:00:28 SOURCE1 : https://openmodelica.org/doc/openmodelica-doc-DOCUMENTATIONVERSION.tar.xz
10:00:28 PATCHES
10:00:28 URL: https://openmodelica.org/
10:00:28
10:00:28 %if 0%{?rhel} == 6
10:00:28 Autoreq: 0
10:00:28 Requires: readline
10:00:28 Requires: qt5-qtbase
10:00:28 Requires: qt5-qtsvg
10:00:28 Requires: qt5-qtwebkit
10:00:28 Requires: qt5-qtxmlpatterns
10:00:28 Requires: libffi
10:00:28 %endif
10:00:28 Autoprov: 0
10:00:28 Prefix: /opt/%{name}
10:00:28 Prefix: %{_bindir}
10:00:28
10:00:28 %global __requires_exclude ^(PRIVATELIBS)$
10:00:28
10:00:28 # Recommended (for the repo): git rpm-build rpmdevtools epel-release
10:00:28 %if 0%{?rhel} > 0
10:00:28 # CentOS / RHEL requires the EPEL repository (for omniORB, etc)
10:00:28 BuildRequires: epel-release
10:00:28 Requires: epel-release
10:00:28 %endif
10:00:28
10:00:28 Requires: lapack-devel
10:00:28 Requires: make
10:00:28 Requires: gcc
10:00:28 Requires: gcc-gfortran
10:00:28 Requires: gcc-c++
10:00:28
10:00:28 BuildRequires: automake
10:00:28 %if 0%{?rhel} >= 8
10:00:28 %define withomniorb --without-omniORB
10:00:28 %else
10:00:28 %define withomniorb --with-omniORB
10:00:28 BuildRequires: omniORB-devel
10:00:28 BuildRequires: lpsolve-devel
10:00:28 %endif
10:00:28 BuildRequires: expat-devel
10:00:28 BuildRequires: bison
10:00:28 BuildRequires: flex
10:00:28 BuildRequires: lapack-devel
10:00:28 BuildRequires: libtool
10:00:28 BuildRequires: uuid
10:00:28 BuildRequires: uuid-devel
10:00:28 BuildRequires: hdf5-devel
10:00:28 BuildRequires: boost-devel
10:00:28 BuildRequires: boost-static
10:00:28 BuildRequires: hwloc-devel
10:00:28 BuildRequires: readline-devel
10:00:28 BuildRequires: libffi-devel
10:00:28 BuildRequires: curl-devel
10:00:28 BuildRequires: gettext
10:00:28 BuildRequires: make
10:00:28 BuildRequires: java
10:00:28 BuildRequires: tar
10:00:28 BuildRequires: xz
10:00:28 BuildRequires: gcc
10:00:28 BuildRequires: gcc-c++
10:00:28 BuildRequires: gcc-gfortran
10:00:28 BuildRequires: qt5-qtwebkit-devel
10:00:28 BuildRequires: qt5-linguist
10:00:28 BuildRequires: qt5-qttools
10:00:28 BuildRequires: qt5-qtbase-devel
10:00:28 BuildRequires: qt5-qtsvg-devel
10:00:28 %if 0%{?rhel} >= 7
10:00:28 BuildRequires: qt5-qt3d-devel
10:00:28 %endif
10:00:28 BuildRequires: qt5-qtxmlpatterns-devel
10:00:28
10:00:28 # Use cmake versions > 3. On EL7 this is provided by cmake3 package.
10:00:28 # On EL > 7 it is just cmake.
10:00:28 %if 0%{?rhel} == 7
10:00:28 BuildRequires: cmake3
10:00:28 %define cmakecommand CMAKE=cmake3
10:00:28 %else
10:00:28 BuildRequires: cmake
10:00:28 %define cmakecommand CMAKE=cmake
10:00:28 %endif
10:00:28
10:00:28 # The base centos:8 image (we use for our build-deps:el8 image) comes with
10:00:28 # broken cmake package due to old libarchive (v3.3.2). v3.3.3 Seems to work.
10:00:28 # Once the base image is updated this can be removed.
10:00:28 %if 0%{?rhel} == 8
10:00:28 BuildRequires: libarchive >= 3.3.3
10:00:28 %endif
10:00:28
10:00:28 # Use gcc-11 on EL8 as well. devtoolset does not seem to be available on
10:00:28 # EL8. One is supposed to use gcc-toolset instead.
10:00:28 %{?el8:Requires: gcc-toolset-11-gcc gcc-toolset-11-gcc-c++ gcc-toolset-11-gcc-gfortran}
10:00:28 %if 0%{?rhel} == 8
10:00:28 BuildRequires: gcc-toolset-11-gcc gcc-toolset-11-gcc-c++ gcc-toolset-11-gcc-gfortran
10:00:28 %define devtoolsconfigureflags CC=/opt/rh/gcc-toolset-11/root/usr/bin/gcc CXX=/opt/rh/gcc-toolset-11/root/usr/bin/g++ FC=/opt/rh/gcc-toolset-11/root/usr/bin/gfortran AS=/opt/rh/gcc-toolset-11/root/usr/bin/as
10:00:28 %endif
10:00:28
10:00:28 # EL7 has -static-libstdc++ inside devtools (but the system g++ does not know the flag) -- adrpo: check this, also for el6
10:00:28 %{?el7:Requires: devtoolset-11-gcc}
10:00:28 %{?el7:Requires: devtoolset-11-gcc-c++}
10:00:28 %{?el7:Requires: devtoolset-11-gcc-gfortran}
10:00:28
10:00:28 %if 0%{?rhel} <= 7 && 0%{?rhel} >= 1
10:00:28 BuildRequires: devtoolset-11-gcc devtoolset-11-gcc-c++ devtoolset-11-gcc-gfortran
10:00:28 %define devtoolsconfigureflags CC=/opt/rh/devtoolset-11/root/usr/bin/gcc CXX=/opt/rh/devtoolset-11/root/usr/bin/g++ FC=/opt/rh/devtoolset-11/root/usr/bin/gfortran
10:00:28 %endif
10:00:28
10:00:28 %if 0%{?fedora} >= 25
10:00:28 BuildRequires: OpenSceneGraph-devel
10:00:28 %endif
10:00:28
10:00:28 # We should use clang, but OMEdit does not compile with it due to odd default qmake flags
10:00:28 Requires: gcc
10:00:28 Requires: gcc-c++
10:00:28 Requires: lapack-devel
10:00:28
10:00:28 Requires(post): %{_sbindir}/update-alternatives
10:00:28 Requires(postun): %{_sbindir}/update-alternatives
10:00:28
10:00:28 # CentOS does not have suggests
10:00:28 %if 0%{?fedora} >= 24 || 0%{?rhel} >= 8
10:00:28 Suggests: boost-devel
10:00:28 Suggests: boost-static
10:00:28 Suggests: lapack-static
10:00:28 Suggests: openblas-static
10:00:28 %else
10:00:28 Requires: boost-devel
10:00:28 Requires: boost-static
10:00:28 %endif
10:00:28
10:00:28 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
10:00:28
10:00:28 %description
10:00:28 %{summary}
10:00:28
10:00:28 %prep
10:00:28
10:00:28 %setup -q -n openmodelica_DEBVERSION
10:00:28 tar xJf %{_sourcedir}/openmodelica-doc-DOCUMENTATIONVERSION.tar.xz
10:00:28
10:00:28 PATCHCMDS
10:00:28
10:00:28 %if 0%{?rhel} <= 7 && 0%{?rhel} >= 1
10:00:28 source /opt/rh/devtoolset-11/enable
10:00:28 %endif
10:00:28
10:00:28 %if 0%{?rhel} == 8
10:00:28 source /opt/rh/gcc-toolset-11/enable
10:00:28 %endif
10:00:28
10:00:28 autoreconf --install
10:00:28 ./configure CFLAGS="-Os" CXXFLAGS="-Os" QTDIR=/usr/%{_lib}/qt5/ %{withomniorb} CONFIGUREFLAGS %{?devtoolsconfigureflags} --without-omc --prefix=/opt/%{name} --without-omlibrary %{cmakecommand}
10:00:28
10:00:28 %build
10:00:28
10:00:28 %if 0%{?rhel} <= 7 && 0%{?rhel} >= 1
10:00:28 source /opt/rh/devtoolset-11/enable
10:00:28 %endif
10:00:28
10:00:28 %if 0%{?rhel} == 8
10:00:28 source /opt/rh/gcc-toolset-11/enable
10:00:28 %endif
10:00:28
10:00:28 make -j8
10:00:28 test ! -f libraries/install-index.json || make -j8 omlibrary
10:00:28
10:00:28 %install
10:00:28 rm -rf %{buildroot}
10:00:28 make install DESTDIR="%{buildroot}"
10:00:28 mkdir -p %{buildroot}/opt/%{name}/lib/ %{buildroot}/opt/%{name}/share/doc/omc/ %{buildroot}%{_bindir}
10:00:28 ln -s /usr/lib/omlibrary %{buildroot}/opt/%{name}/lib/
10:00:28 ln -s /opt/%{name}/bin/omc %{buildroot}%{_bindir}/omc-BRANCH
10:00:28 ln -s /opt/%{name}/bin/OMEdit %{buildroot}%{_bindir}/OMEdit-BRANCH
10:00:28 ln -s /opt/%{name}/bin/OMShell %{buildroot}%{_bindir}/OMShell-BRANCH
10:00:28 ln -s /opt/%{name}/bin/OMShell-terminal %{buildroot}%{_bindir}/OMShell-terminal-BRANCH
10:00:28 ln -s /opt/%{name}/bin/OMNotebook %{buildroot}%{_bindir}/OMNotebook-BRANCH
10:00:28 ln -s /opt/%{name}/bin/OMPlot %{buildroot}%{_bindir}/OMPlot-BRANCH
10:00:28 touch %{buildroot}%{_bindir}/omc
10:00:28 touch %{buildroot}%{_bindir}/OMEdit
10:00:28 touch %{buildroot}%{_bindir}/OMShell
10:00:28 touch %{buildroot}%{_bindir}/OMShell-terminal
10:00:28 touch %{buildroot}%{_bindir}/OMNotebook
10:00:28 touch %{buildroot}%{_bindir}/OMPlot
10:00:28 cp -a openmodelica-doc*/* %{buildroot}/opt/%{name}/share/doc/omc/
10:00:28
10:00:28 %postun
10:00:28 if [ "$1" -ge "1" ]; then
10:00:28 if [ "`readlink %{_sysconfdir}/alternatives/openmodelica`" == "%{_bindir}/omc-BRANCH" ]; then
10:00:28 %{_sbindir}/alternatives --set openmodelica %{_bindir}/omc-BRANCH
10:00:28 fi
10:00:28 fi
10:00:28
10:00:28 %post
10:00:28 %{_sbindir}/update-alternatives --install %{_bindir}/omc openmodelica %{_bindir}/omc-BRANCH PRIORITY \
10:00:28 --slave %{_bindir}/OMEdit openmodelica-OMEdit %{_bindir}/OMEdit-BRANCH \
10:00:28 --slave %{_bindir}/OMShell openmodelica-OMShell %{_bindir}/OMShell-BRANCH \
10:00:28 --slave %{_bindir}/OMShell-terminal openmodelica-OMShell-terminal %{_bindir}/OMShell-terminal-BRANCH \
10:00:28 --slave %{_bindir}/OMNotebook openmodelica-OMNotebook %{_bindir}/OMNotebook-BRANCH \
10:00:28 --slave %{_bindir}/OMPlot openmodelica-OMPlot %{_bindir}/OMPlot-BRANCH
10:00:28
10:00:28 %preun
10:00:28 if [ $1 = 0 ]; then
10:00:28 %{_sbindir}/update-alternatives --remove openmodelica %{_bindir}/omc-BRANCH
10:00:28 fi
10:00:28
10:00:28 %clean
10:00:28 rm -rf %{buildroot}
10:00:28
10:00:28 %files
10:00:28 %defattr(-,root,root,-)
10:00:28 /opt/%{name}/*
10:00:28 %{_bindir}/*-BRANCH
10:00:28 %ghost %{_bindir}/omc
10:00:28 %ghost %{_bindir}/OMEdit
10:00:28 %ghost %{_bindir}/OMShell
10:00:28 %ghost %{_bindir}/OMShell-terminal
10:00:28 %ghost %{_bindir}/OMNotebook
10:00:28 %ghost %{_bindir}/OMPlot
10:00:28
10:00:28 %changelog
10:00:28 * DATE OpenModelica <openmodelica@ida.liu.se> ${version}-1
10:00:28 - First Build
[Pipeline] writeFile
[Pipeline] sh
10:00:29 + diff -uw openmodelica.spec.tpl.old.fc40 openmodelica.spec.tpl.fc40
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] End of Pipeline
ERROR: script returned exit code 4
Finished: FAILURE