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

Use k4EDM4hep2LcioConv as separate lib #77

Merged
merged 4 commits into from
Jun 15, 2022

Conversation

fdplacido
Copy link
Contributor

BEGINRELEASENOTES

  • Use k4EDM4hep2LcioConv as separate lib
  • Remove conversion from MarlinWrapper

ENDRELEASENOTES

@fdplacido
Copy link
Contributor Author

fdplacido commented Jun 1, 2022

The test seems to be failing due to a symbol mismatch between the k4edm4hep2lcioconv library and what is looking for.

The library in CVMFS contains the following:

$ nm /cvmfs/sw-nightlies.hsf.org/spackages5/k4edm4hep2lcioconv/00-01/x86_64-centos7-gcc11.2.0-opt/zaozb/lib64/libk4EDM4hep2LcioConv.so | rg collection | c++filt
0000000000010580 T collectionExist(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, IMPL::LCEventImpl const*)

But the error is looking for:

python: symbol lookup error: /k4MW/install/lib64/libEDM4hep2Lcio.so: undefined symbol: _Z15collectionExistRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4IMPL11LCEventImplE

which is:

$ c++filt _Z15collectionExistRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4IMPL11LCEventImplE
collectionExist(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, IMPL::LCEventImpl*)

So there is a difference in the signature for the last argument: IMPL::LCEventImpl const* vs IMPL::LCEventImpl*

@fdplacido fdplacido force-pushed the external_conv_lib branch from 80afb1b to 6883abd Compare June 1, 2022 11:50
@fdplacido
Copy link
Contributor Author

@vvolkl
Copy link
Contributor

vvolkl commented Jun 10, 2022

Works with the nightlies now. I'd suggest to make a patch release for the converter library.

@fdplacido
Copy link
Contributor Author

Works with the nightlies now. I'd suggest to make a patch release for the converter library.

yeah, I will create a new release and then we can merge this.

@fdplacido fdplacido merged commit caf898f into key4hep:master Jun 15, 2022
@fdplacido fdplacido deleted the external_conv_lib branch June 15, 2022 09:44
@vvolkl vvolkl changed the title [WIP] Use k4EDM4hep2LcioConv as separate lib Use k4EDM4hep2LcioConv as separate lib Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants