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

[CXXMODULE] new build rules to allow building lcgdict for selected packages #6027

Merged
merged 4 commits into from Jul 10, 2020

Conversation

smuzaffar
Copy link
Contributor

No description provided.

@smuzaffar
Copy link
Contributor Author

test parameters

  • full_cmssw = true

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 3, 2020

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

@cmsbuild, @smuzaffar, @mrodozov, @tulamor can you please review it and eventually sign? Thanks.
cms-bot commands are listed here

@smuzaffar
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 3, 2020

The tests are being triggered in jenkins.
Test Parameters:

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 3, 2020

-1

Tested at: 8e42d49

  • Build:

I found compilation error when building:

+ chmod -Rf a+rX,u+w,g-w,o-w .
+ cd /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/slc7_amd64_gcc820/cms/coral/CORAL_2_3_21-a1a882
+ echo V05-10-20
+ /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/slc7_amd64_gcc820/cms/coral/CORAL_2_3_21-a1a882/config/updateConfig.pl -p CORAL -v CORAL_2_3_21-a1a882 -s V2_2_9_pre07 -t /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc7_amd64_gcc820/cms/coral-tool-conf/2.1-a1a882 -a slc7_amd64_gcc820 --keys SCRAM_COMPILER=gcc --keys PROJECT_GIT_HASH=CORAL_2_3_21
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.H1d8zq: line 58: /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/slc7_amd64_gcc820/cms/coral/CORAL_2_3_21-a1a882/config/updateConfig.pl: No such file or directory
error: Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.H1d8zq (%prep)


RPM build errors:
Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.H1d8zq (%prep)



You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a1a882/7641/summary.html

@smuzaffar
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 3, 2020

The tests are being triggered in jenkins.
Test Parameters:

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 3, 2020

-1

Tested at: 8e42d49

CMSSW: CMSSW_11_2_CXXMODULE_X_2020-07-02-2300
SCRAM_ARCH: slc7_amd64_gcc820
You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a1a882/7645/summary.html

I found follow errors while testing this PR

Failed tests: Build

  • Build:

I found compilation error when building:

>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_CXXMODULE_X_2020-07-02-2300/src/Fireworks/TableWidget/src/FWTextTableCellRenderer.cc
>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_CXXMODULE_X_2020-07-02-2300/src/Fireworks/TableWidget/src/GlobalContexts.cc
>> Building CXX Module LCG reflex dict from header file tmp/slc7_amd64_gcc820/src/Fireworks/TableWidget/src/FireworksTableWidget/a/FireworksTableWidget_xr.h
In file included from input_line_13:33:
In file included from ./tmp/slc7_amd64_gcc820/src/Fireworks/TableWidget/src/FireworksTableWidget/a/FireworksTableWidget_xr.h:9:
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_CXXMODULE_X_2020-07-02-2300/src/Fireworks/TableWidget/interface/FWTextTreeCellRenderer.h:81:7: error: use of undeclared identifier 'gVirtualX'
      gVirtualX->FillRectangle(iID,
      ^
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_CXXMODULE_X_2020-07-02-2300/src/Fireworks/TableWidget/interface/FWTextTreeCellRenderer.h:108:7: error: use of undeclared identifier 'gVirtualX'
      gVirtualX->FillRectangle(iID,
      ^


@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 3, 2020

Comparison not run due to Build errors (RelVals and Igprof tests were also skipped)

@davidlange6
Copy link
Contributor

hi @smuzaffar - this error is in the IB. Great news. We are hoping to get a clean build tonight, so I'd prefer to leave this out and do a test on the slide so that we can include this on Monday. I'll report any problems here

@mrodozov
Copy link
Contributor

mrodozov commented Jul 3, 2020

this looks like a missing header (TVirtualX.h)
Or it's something else ?

@davidlange6
Copy link
Contributor

davidlange6 commented Jul 3, 2020 via email

@davidlange6
Copy link
Contributor

hi @smuzaffar - I guess rpm is sensitive to ones choice of shell. Mine is happy with

echo '<flags LCGDICT_PACKAGE="$p"/>'  >> config/BuildFile.xml ;\

but is not with what's proposed in this pr

echo "<flags LCGDICT_PACKAGE=\"$p\"/>"  >> config/BuildFile.xml ;\

(I checked the changed syntax on bash and tcsh - both are happy)

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 4, 2020

Pull request #6027 was updated.

@smuzaffar
Copy link
Contributor Author

smuzaffar commented Jul 4, 2020 via email

@davidlange6
Copy link
Contributor

thanks -Indeed, that makes a difference - @vgvassilev

so I get some errors when compiling now.. perhaps the lowest one is

>> Building CXX Module LCG reflex dict from header file tmp/slc7_amd64_gcc820/src/FWCore/ParameterSet/src/FWCoreParameterSet/a/FWCoreParameterSet_xr.h
/build/dlange/200704/slc7_amd64_gcc820/lcg/root/6.23.01-cms/bin/rootcling -reflex -f tmp/slc7_amd64_gcc820/src/FWCore/ParameterSet/src/FWCoreParameterSet/a/FWCoreParameterSet_xr.cc -s tmp/slc7_am\
d64_gcc820/src/FWCore/ParameterSet/src/FWCoreParameterSet/a/libFWCoreParameterSet.so -cxxmodule -failOnWarnings -DCMS_DICT_IMPL -D_REENTRANT -DGNUSOURCE -D__STRICT_ANSI__ -moduleMapFile=/build/dl\
ange/200704/tmp/BUILDROOT/d078707410853c011ddfd317e2416c2b/opt/cmssw/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_CXXMODULE_X_2020-07-03-2300-cms/include/slc7_amd64_gcc820/cxxmodules/module.modulemap -\
DGNU_GCC -D_GNU_SOURCE -DTBB_USE_GLIBCXX_VERSION=80400 -DTBB_SUPPRESS_DEPRECATED_MESSAGES -DBOOST_SPIRIT_THREADSAFE -DPHOENIX_THREADSAFE -DBOOST_MATH_DISABLE_STD_FPCLASSIFY -DBOOST_UUID_RANDOM_PR\
OVIDER_FORCE_POSIX -DCMSSW_GIT_HASH="CMSSW_11_2_CXXMODULE_X_2020-07-03-2300" -DPROJECT_NAME="CMSSW" -DPROJECT_VERSION="CMSSW_11_2_CXXMODULE_X_2020-07-03-2300-cms" -I/build/dlange/200704/tmp/BUILD\
ROOT/d078707410853c011ddfd317e2416c2b/opt/cmssw/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_CXXMODULE_X_2020-07-03-2300-cms/src -I/build/dlange/200704/slc7_amd64_gcc820/external/pcre/8.43-bcolbf/inclu\
de -isystem/build/dlange/200704/slc7_amd64_gcc820/external/boost/1.72.0-ghbfee/include -I/build/dlange/200704/slc7_amd64_gcc820/external/bz2lib/1.0.6-bcolbf2/include -I/build/dlange/200704/slc7_a\
md64_gcc820/external/libuuid/2.34-bcolbf2/include -isystem/build/dlange/200704/slc7_amd64_gcc820/lcg/root/6.23.01-cms/include -isystem/build/dlange/200704/slc7_amd64_gcc820/external/tbb/2020_U2/i\
nclude -I/build/dlange/200704/slc7_amd64_gcc820/external/xz/5.2.4-bcolbf2/include -I/build/dlange/200704/slc7_amd64_gcc820/external/zlib/1.2.11-bcolbf/include -I/build/dlange/200704/slc7_amd64_gc\
c820/external/md5/1.0.0-bcolbf2/include -I/build/dlange/200704/slc7_amd64_gcc820/external/tinyxml2/6.2.0-ghbfee/include -DCMSSW_REFLEX_DICT tmp/slc7_amd64_gcc820/src/FWCore/ParameterSet/src/FWCor\
eParameterSet/a/FWCoreParameterSet_xr.h tmp/slc7_amd64_gcc820/classes/classes_def.xml
In module 'DataFormatsProvenance' imported from /build/dlange/200704/tmp/BUILDROOT/d078707410853c011ddfd317e2416c2b/opt/cmssw/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_CXXMODULE_X_2020-07-03-2300-cm\
s/src/FWCore/ParameterSet/interface/ParameterSet.h:14:
/build/dlange/200704/slc7_amd64_gcc820/external/tbb/2020_U2/include/tbb/machine/gcc_ia32_common.h:25:24: warning: function '__TBB_machine_lg<unsigned long>' has internal linkage but is not define\
d [-Wundefined-internal]
static inline intptr_t __TBB_machine_lg( T x ) {
                       ^
/build/dlange/200704/slc7_amd64_gcc820/external/tbb/2020_U2/include/tbb/internal/_concurrent_unordered_impl.h:772:46: note: used here
        my_number_of_buckets = size_type(1)<<__TBB_Log2((uintptr_t)n_of_buckets*2-1); // round up to power of 2
                                             ^
/build/dlange/200704/slc7_amd64_gcc820/external/tbb/2020_U2/include/tbb/machine/gcc_ia32_common.h:31:24: note: expanded from macro '__TBB_Log2'
#define __TBB_Log2(V)  __TBB_machine_lg(V)
                       ^

@davidlange6
Copy link
Contributor

@vgvassilev points out that these are warnings - perhaps the error is

'''
/opt/cmssw/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_CXXMODULE_X_2020-07-03-2300-cms/src/FWCore/ParameterSet/interface/defaultModuleLabel.h:8: multiple definition of `edm::defaultModuleLabel(std::__
cxx11::basic_string<char, std::char_traits, std::allocator >)'; tmp/slc7_amd64_gcc820/src/FWCore/ParameterSet/src/FWCoreParameterSet/a/FWCoreParameterSet_xr.cc.o:/opt/cmssw/slc7_amd64
_gcc820/cms/cmssw/CMSSW_11_2_CXXMODULE_X_2020-07-03-2300-cms/src/FWCore/ParameterSet/interface/defaultModuleLabel.h:8: first defined here
collect2: error: ld returned 1 exit status
gmake: *** [tmp/slc7_amd64_gcc820/src/FWCore/ParameterSet/src/FWCoreParameterSet/libFWCoreParameterSet.so] Error 1
Leaving library rule at FWCore/ParameterSet
'''

@makortel
Copy link
Contributor

makortel commented Jul 5, 2020

Whoops,
https://github.com/cms-sw/cmssw/blob/ecf8a20bd598298e6d3877c5fc3da0e267502897/FWCore/ParameterSet/interface/defaultModuleLabel.h#L8
should have been inline. I'll fix that shortly (actually making the body out-of-line).

@makortel
Copy link
Contributor

makortel commented Jul 5, 2020

Should be fixed by cms-sw/cmssw#30543.

@davidlange6
Copy link
Contributor

I've redone the check after Matti's PR has been integrated. The error above is gone. There are more (perhaps not many) - I'll report them if they can be reproduced

@makortel
Copy link
Contributor

makortel commented Jul 7, 2020

Thanks David for checking.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 7, 2020

Pull request #6027 was updated.

@cmsbuild
Copy link
Contributor

Pull request #6027 was updated.

@davidlange6
Copy link
Contributor

merging as this all technically works as it should. I will update the list of packages in a followup PR

@davidlange6 davidlange6 merged commit cb3937e into IB/CMSSW_11_2_X/rootmodule Jul 10, 2020
@smuzaffar smuzaffar deleted the extra-cxx-packs branch July 27, 2020 14:43
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.

None yet

5 participants