Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836833 - sci-physics/pythia-6.4.28-r2 libpythia6.so: underfined reference to «pyuppr_
Summary: sci-physics/pythia-6.4.28-r2 libpythia6.so: underfined reference to «pyuppr_
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-05 12:32 UTC by MeatShooter
Modified: 2022-06-02 14:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)