This package still have some issues:
1. You need to copy the COMPATIBILITY file to /usr so it can proceed to build.
2. The build fails unfortunately, I am not sure but I think that when it starts to build, it is looking for "Pythia" and not "pythia"
If you can offer help comments and suggestions, please reply below.
EDIT: Highly likely that this package does not support 8.3 version of pythia8 yet too but not sure.
Here is the output of the error:
==> Starting build()...
------------------------------------------------
MG5aMC_PY8_interface compilation output log:
b'/usr/bin/g++ main89.cc -o main89 -I/usr/include -I/usr/include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIC -DGZIP -I/usr/include -fopenmp -DOPENMP -I/usr/include -L/usr/lib -Wl,-rpath,/usr/lib -lz -L/usr/lib -Wl,-rpath,/usr/lib -lpythia8 -ldl -L/usr/lib -Wl,-rpath,/usr/lib -lHepMC3 -DHEPMC3\nmain89.cc: In function \xe2\x80\x98int main(int, char**)\xe2\x80\x99:\nmain89.cc:185:28: error: cannot convert \xe2\x80\x98Pythia8::amcnlo_unitarised_interface*\xe2\x80\x99 to \xe2\x80\x98Pythia8::UserHooksPtr\xe2\x80\x99 {aka \xe2\x80\x98std::shared_ptr<Pythia8::UserHooks>\xe2\x80\x99}\n 185 | pythia.setUserHooksPtr(setting);\n | ^~~~~~~\n | |\n | Pythia8::amcnlo_unitarised_interface*\nIn file included from /usr/include/Pythia8Plugins/HepMC2.h:21,\n from main89.cc:11:\n/usr/include/Pythia8/Pythia.h:136:37: note: initializing argument 1 of \xe2\x80\x98bool Pythia8::Pythia::setUserHooksPtr(Pythia8::UserHooksPtr)\xe2\x80\x99\n 136 | bool setUserHooksPtr(UserHooksPtr userHooksPtrIn) {\n | ~~~~~~~~~~~~~^~~~~~~~~~~~~~\nmain89.cc:203:28: error: cannot convert \xe2\x80\x98Pythia8::JetMatchingMadgraph*\xe2\x80\x99 to \xe2\x80\x98Pythia8::UserHooksPtr\xe2\x80\x99 {aka \xe2\x80\x98std::shared_ptr<Pythia8::UserHooks>\xe2\x80\x99}\n 203 | pythia.setUserHooksPtr(matching);\n | ^~~~~~~~\n | |\n | Pythia8::JetMatchingMadgraph*\nIn file included from /usr/include/Pythia8Plugins/HepMC2.h:21,\n from main89.cc:11:\n/usr/include/Pythia8/Pythia.h:136:37: note: initializing argument 1 of \xe2\x80\x98bool Pythia8::Pythia::setUserHooksPtr(Pythia8::UserHooksPtr)\xe2\x80\x99\n 136 | bool setUserHooksPtr(UserHooksPtr userHooksPtrIn) {\n | ~~~~~~~~~~~~~^~~~~~~~~~~~~~\nmake: *** [Makefile:76: main89] Error 1\n'
------------------------------------------------
Error during the compilation of MG5aMC_PY8_interface:
b'/usr/bin/g++ main89.cc -o main89 -I/usr/include -I/usr/include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIC -DGZIP -I/usr/include -fopenmp -DOPENMP -I/usr/include -L/usr/lib -Wl,-rpath,/usr/lib -lz -L/usr/lib -Wl,-rpath,/usr/lib -lpythia8 -ldl -L/usr/lib -Wl,-rpath,/usr/lib -lHepMC3 -DHEPMC3\nmain89.cc: In function \xe2\x80\x98int main(int, char**)\xe2\x80\x99:\nmain89.cc:185:28: error: cannot convert \xe2\x80\x98Pythia8::amcnlo_unitarised_interface*\xe2\x80\x99 to \xe2\x80\x98Pythia8::UserHooksPtr\xe2\x80\x99 {aka \xe2\x80\x98std::shared_ptr<Pythia8::UserHooks>\xe2\x80\x99}\n 185 | pythia.setUserHooksPtr(setting);\n | ^~~~~~~\n | |\n | Pythia8::amcnlo_unitarised_interface*\nIn file included from /usr/include/Pythia8Plugins/HepMC2.h:21,\n from main89.cc:11:\n/usr/include/Pythia8/Pythia.h:136:37: note: initializing argument 1 of \xe2\x80\x98bool Pythia8::Pythia::setUserHooksPtr(Pythia8::UserHooksPtr)\xe2\x80\x99\n 136 | bool setUserHooksPtr(UserHooksPtr userHooksPtrIn) {\n | ~~~~~~~~~~~~~^~~~~~~~~~~~~~\nmain89.cc:203:28: error: cannot convert \xe2\x80\x98Pythia8::JetMatchingMadgraph*\xe2\x80\x99 to \xe2\x80\x98Pythia8::UserHooksPtr\xe2\x80\x99 {aka \xe2\x80\x98std::shared_ptr<Pythia8::UserHooks>\xe2\x80\x99}\n 203 | pythia.setUserHooksPtr(matching);\n | ^~~~~~~~\n | |\n | Pythia8::JetMatchingMadgraph*\nIn file included from /usr/include/Pythia8Plugins/HepMC2.h:21,\n from main89.cc:11:\n/usr/include/Pythia8/Pythia.h:136:37: note: initializing argument 1 of \xe2\x80\x98bool Pythia8::Pythia::setUserHooksPtr(Pythia8::UserHooksPtr)\xe2\x80\x99\n 136 | bool setUserHooksPtr(UserHooksPtr userHooksPtrIn) {\n | ~~~~~~~~~~~~~^~~~~~~~~~~~~~\nmake: *** [Makefile:76: main89] Error 1\n'
==> ERROR: A failure occurred in build().
Pinned Comments
ronin commented on 2021-04-08 05:55 (UTC) (edited on 2021-04-08 06:02 (UTC) by ronin)
This package still have some issues:
If you can offer help comments and suggestions, please reply below.
EDIT: Highly likely that this package does not support 8.3 version of pythia8 yet too but not sure.
Here is the output of the error: