Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

added rust 1.57.0 #7538

Merged
merged 3 commits into from
Jan 14, 2022
Merged

added rust 1.57.0 #7538

merged 3 commits into from
Jan 14, 2022

Conversation

smuzaffar
Copy link
Contributor

@smuzaffar smuzaffar commented Jan 11, 2022

This is needed to build cryptography python package from sources

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for branch IB/CMSSW_12_3_X/master.

@cmsbuild, @smuzaffar, @iarspider can you please review it and eventually sign? Thanks.
@perrotta, @dpiparo, @qliphy you are the release manager for this.
cms-bot commands are listed here

@smuzaffar
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

Pull request #7538 was updated.

@smuzaffar
Copy link
Contributor Author

please test for slc7_aarch64_gcc11

@smuzaffar
Copy link
Contributor Author

please test for slc7_ppc64le_gcc11

@smuzaffar
Copy link
Contributor Author

please test for cs8_amd64_gcc11

@cmsbuild
Copy link
Contributor

-1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-39fcb7/21625/summary.html
COMMIT: 9b78386
CMSSW: CMSSW_12_3_X_2022-01-10-2300/slc7_ppc64le_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/7538/21625/install.sh to create a dev area with all the needed externals and cmssw changes.

External Build

I found compilation error when building:

File "/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/BUILD/slc7_ppc64le_gcc11/external/rust/1.57.0-aeeb9dfdb9733f352f204464201e487f/rust-1.57.0/src/bootstrap/bootstrap.py", line 532, in _download_component_helper
get(
File "/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/BUILD/slc7_ppc64le_gcc11/external/rust/1.57.0-aeeb9dfdb9733f352f204464201e487f/rust-1.57.0/src/bootstrap/bootstrap.py", line 35, in get
raise RuntimeError("src/stage0.json doesn't contain a checksum for {}".format(url))
RuntimeError: src/stage0.json doesn't contain a checksum for dist/2021-11-01/rust-std-1.56.1-ppc64le-unknown-linux-gnu.tar.xz
error: Bad exit status from /scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.Jr0fqs (%build)


RPM build errors:
line 37: It's not recommended to have unversioned Obsoletes: Obsoletes: external+rust+1.57.0-aeeb9dfdb9733f352f204464201e487f
Bad exit status from /scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.Jr0fqs (%build)


@cmsbuild
Copy link
Contributor

Pull request #7538 was updated.

@smuzaffar
Copy link
Contributor Author

please test for slc7_ppc64le_gcc11

@smuzaffar
Copy link
Contributor Author

please test

@makortel
Copy link
Contributor

Just curious, what requires rust?

@smuzaffar
Copy link
Contributor Author

smuzaffar commented Jan 11, 2022

python package cryptography requires it when build from sources ( see #7537 ) . Although cryptography prebuild wheels are available but they are for newer version of OpenSSL and also there is no wheel for powerPC. So we have to build it from sources and this requires rust.

@cmsbuild
Copy link
Contributor

-1

Failed Tests: Build
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-39fcb7/21630/summary.html
COMMIT: 70a8564
CMSSW: CMSSW_12_3_X_2022-01-10-2300/slc7_ppc64le_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/7538/21630/install.sh to create a dev area with all the needed externals and cmssw changes.

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-39fcb7/21630/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-39fcb7/21630/git-merge-result

Build

I found compilation error when building:

>> Compiling  /scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-01-10-2300/src/Utilities/XrdAdaptor/src/XrdRequest.cc
>> Compiling  /scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-01-10-2300/src/Utilities/XrdAdaptor/src/XrdRequestManager.cc
>> Compiling  /scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-01-10-2300/src/Utilities/XrdAdaptor/src/XrdSource.cc
>> Compiling  /scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-01-10-2300/src/Utilities/XrdAdaptor/src/XrdStatistics.cc
In file included from /scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-01-10-2300/src/Utilities/XrdAdaptor/src/XrdRequestManager.cc:23:
/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-01-10-2300/src/Utilities/XrdAdaptor/src/XrdHostHandler.hh:9:10: fatal error: XrdSys/XrdSysLinuxSemaphore.hh: No such file or directory
    9 | #include "XrdSys/XrdSysLinuxSemaphore.hh"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-01-10-2300/src/Utilities/XrdAdaptor/src/XrdRequestManager.cc:23:
/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-01-10-2300/src/Utilities/XrdAdaptor/src/XrdHostHandler.hh:9:10: fatal error: XrdSys/XrdSysLinuxSemaphore.hh: No such file or directory


@cmsbuild
Copy link
Contributor

-1

Failed Tests: Build
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-39fcb7/21631/summary.html
COMMIT: 70a8564
CMSSW: CMSSW_12_3_X_2022-01-10-2300/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/7538/21631/install.sh to create a dev area with all the needed externals and cmssw changes.

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-39fcb7/21631/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-39fcb7/21631/git-merge-result

Build

I found compilation error when building:

>> Compiling  /pool/condor/dir_120519/jenkins/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-01-10-2300/src/Utilities/XrdAdaptor/src/XrdRequestManager.cc
>> Compiling  /pool/condor/dir_120519/jenkins/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-01-10-2300/src/Utilities/XrdAdaptor/src/XrdSource.cc
>> Compiling  /pool/condor/dir_120519/jenkins/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-01-10-2300/src/Utilities/XrdAdaptor/src/XrdStatistics.cc
>> Compiling  /pool/condor/dir_120519/jenkins/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-01-10-2300/src/Utilities/XrdAdaptor/src/XrdRequest.cc
In file included from /pool/condor/dir_120519/jenkins/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-01-10-2300/src/Utilities/XrdAdaptor/src/XrdRequestManager.cc:23:
/pool/condor/dir_120519/jenkins/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-01-10-2300/src/Utilities/XrdAdaptor/src/XrdHostHandler.hh:9:10: fatal error: XrdSys/XrdSysLinuxSemaphore.hh: No such file or directory
    9 | #include "XrdSys/XrdSysLinuxSemaphore.hh"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /pool/condor/dir_120519/jenkins/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-01-10-2300/src/Utilities/XrdAdaptor/src/XrdRequestManager.cc:23:
/pool/condor/dir_120519/jenkins/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-01-10-2300/src/Utilities/XrdAdaptor/src/XrdHostHandler.hh:9:10: fatal error: XrdSys/XrdSysLinuxSemaphore.hh: No such file or directory


@smuzaffar smuzaffar merged commit 8f916d4 into IB/CMSSW_12_3_X/master Jan 14, 2022
@smuzaffar smuzaffar deleted the rust-1.57 branch January 20, 2022 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants