Skip to content

Conversation

@fwyzard
Copy link
Contributor

@fwyzard fwyzard commented Nov 1, 2025

ROOT comes with Nlohmann Json v3.10, while other CMS externals use v3.11.
This may cause conflicts when building an external or CMS package that use both ROOT and Json, because the version being used depend on the order of the -I flags passed to the compiler.

@fwyzard fwyzard changed the title Build ROOT with the external version of nlohmann json Build ROOT with the external version of Nlohmann Json Nov 1, 2025
@fwyzard
Copy link
Contributor Author

fwyzard commented Nov 1, 2025

type bugfix

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 1, 2025

A new Pull Request was created by @fwyzard for branch IB/CMSSW_16_0_X/master.

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

@fwyzard
Copy link
Contributor Author

fwyzard commented Nov 1, 2025

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 1, 2025

cms-bot internal usage

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 1, 2025

-1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ff801b/49133/summary.html
COMMIT: 5694103
CMSSW: CMSSW_16_0_X_2025-10-31-2300/el8_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/10161/49133/install.sh to create a dev area with all the needed externals and cmssw changes.

Failed External Build

I found compilation error when building:

cmake/modules/SearchInstalledSoftware.cmake:74 (find_package)
CMakeLists.txt:298 (include)


-- Configuring incomplete, errors occurred!
error: Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.Ik644z (%build)

RPM build warnings:
Macro expanded in comment on line 404: %{pkginstroot}/lib

Macro expanded in comment on line 405: %{pkginstroot}


@fwyzard fwyzard force-pushed the IB/CMSSW_16_0_X/master_root_external_json branch from 5694103 to 6377187 Compare November 1, 2025 09:28
@fwyzard
Copy link
Contributor Author

fwyzard commented Nov 1, 2025

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 1, 2025

Pull request #10161 was updated.

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 1, 2025

-1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ff801b/49134/summary.html
COMMIT: 6377187
CMSSW: CMSSW_16_0_X_2025-10-31-2300/el8_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/10161/49134/install.sh to create a dev area with all the needed externals and cmssw changes.

Failed External Build

I found compilation error when building:

-- Executables will be linked against CepGen
-- Utilities will be built
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.14") found components: doxygen missing components: dot
-- Doxygen found
-- Configuring incomplete, errors occurred!
error: Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.pGNBdO (%build)

RPM build errors:
Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.pGNBdO (%build)

* The action "install-external+cepgen+1.2.5-af3160cde41b6bbb1883205b9ad3f450" was not completed successfully because The following dependencies could not complete:


@fwyzard fwyzard force-pushed the IB/CMSSW_16_0_X/master_root_external_json branch from 6377187 to acc0945 Compare November 1, 2025 12:56
@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 1, 2025

Pull request #10161 was updated.

@fwyzard
Copy link
Contributor Author

fwyzard commented Nov 1, 2025

please test

@fwyzard
Copy link
Contributor Author

fwyzard commented Nov 1, 2025

please test with cms-sw/cmssw#49278

@fwyzard
Copy link
Contributor Author

fwyzard commented Nov 1, 2025

please test with cms-sw/cmssw#49278 for el9_amd64_gcc13

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 2, 2025

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ff801b/49152/summary.html
COMMIT: 2c5c499
CMSSW: CMSSW_16_0_X_2025-11-01-1100/el8_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/10161/49152/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 19 lines to the logs
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 51
  • DQMHistoTests: Total histograms compared: 3939953
  • DQMHistoTests: Total failures: 8
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3939925
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 50 files compared)
  • Checked 218 log files, 188 edm output root files, 51 DQM output files
  • TriggerResults: no differences found

@smuzaffar
Copy link
Contributor

looks good but this should only go in after cms-sw/cmssw#49278 has been integrated.

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 2, 2025

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ff801b/49153/summary.html
COMMIT: 2c5c499
CMSSW: CMSSW_16_0_X_2025-10-31-2300/el9_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/10161/49153/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 190 lines to the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 68340 differences found in the comparisons
  • DQMHistoTests: Total files compared: 51
  • DQMHistoTests: Total histograms compared: 3939953
  • DQMHistoTests: Total failures: 520588
  • DQMHistoTests: Total nulls: 330
  • DQMHistoTests: Total successes: 3419015
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -10.084 KiB( 50 files compared)
  • DQMHistoSizes: changed ( 10224.0 ): -0.544 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 13034.0 ): -7.492 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 17034.0 ): 3.184 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 2024.0040001 ): 0.012 KiB JetMET/SUSYDQM
  • DQMHistoSizes: changed ( 250202.181 ): 0.293 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 25202.0 ): 0.063 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 7.3 ): -5.600 KiB SiStrip/MechanicalView
  • Checked 218 log files, 188 edm output root files, 51 DQM output files

@fwyzard
Copy link
Contributor Author

fwyzard commented Nov 4, 2025

@smuzaffar now that cms-sw/cmssw#49278 is merged, could we go ahead with this too ?

@smuzaffar
Copy link
Contributor

please test

lets build without cms-sw/cmssw#49278 to sure every thing works

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 5, 2025

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ff801b/49256/summary.html
COMMIT: 2c5c499
CMSSW: CMSSW_16_0_X_2025-11-04-1100/el8_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmsdist/10161/49256/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-ff801b/49256/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ff801b/49256/git-merge-result

Comparison Summary

Summary:

@smuzaffar
Copy link
Contributor

+externals

@smuzaffar smuzaffar merged commit 632b166 into cms-sw:IB/CMSSW_16_0_X/master Nov 5, 2025
15 checks passed
@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 5, 2025

This pull request is fully signed and it will be integrated in one of the next IB/CMSSW_16_0_X/master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @ftenchini, @mandrenguyen (and backports should be raised in the release meeting by the corresponding L2)

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