Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 836833

Summary: sci-physics/pythia-6.4.28-r2 libpythia6.so: underfined reference to «pyuppr_
Product: Gentoo Linux Reporter: MeatShooter <universe.government>
Component: Current packagesAssignee: Gentoo Science Physics related packages <sci-physics>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=766306
Whiteboard:
Package list:
Runtime testing required: ---

Description MeatShooter 2022-04-05 12:32:50 UTC
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.
Comment 1 Larry the Git Cow gentoo-dev 2022-06-02 14:30:32 UTC
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(-)