Gentoo applied patch pythia-6.4.28-fno-common.patch replaces >int pyuppr[1+7*20+1+2*10+2*5*20+2*11]; /* PYUPPR DOES NOT EXIST IN PYTHIA6 AT ALL!!! */ with >extern int pyuppr[1+7*20+1+2*10+2*5*20+2*11]; /* PYUPPR DOES NOT EXIST IN PYTHIA6 AT ALL!!! */ As a result, packages that depend on pythia and use pyuppr would not compile, for example, I was not be able to complile https://github.com/GENIE-MC, see this gentoo forum thread for details: https://forums.gentoo.org/viewtopic-t-1147845.html When I removed the "extern" keyword (reverted the patch back), both pythia and GENIE-MC compiled fine.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0ad7e052bcb1de5e5464ebeb36d4af5920d43f4 commit f0ad7e052bcb1de5e5464ebeb36d4af5920d43f4 Author: Guilherme Amadio <amadio@gentoo.org> AuthorDate: 2022-06-02 14:27:11 +0000 Commit: Guilherme Amadio <amadio@gentoo.org> CommitDate: 2022-06-02 14:30:14 +0000 sci-physics/pythia: fix bug 836833 Closes: https://bugs.gentoo.org/836833 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Guilherme Amadio <amadio@gentoo.org> .../pythia/files/pythia-6.4.28-fno-common.patch | 44 +++++++++++----------- 1 file changed, 22 insertions(+), 22 deletions(-)