Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275997 - sci-physics/root-5.20.00-r3 - Checking for python2.5, libpython2.5, libpython, python, or Python ... no
Summary: sci-physics/root-5.20.00-r3 - Checking for python2.5, libpython2.5, libpython...
Status: RESOLVED DUPLICATE of bug 275284
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 245875 277645
  Show dependency tree
 
Reported: 2009-06-30 20:35 UTC by Jeroen Roovers (RETIRED)
Modified: 2009-07-20 02:20 UTC (History)
1 user (show)

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


Attachments
Patch to make configure look for .o files as well (root-5.20.00-python.o.patch,397 bytes, patch)
2009-06-30 20:36 UTC, Jeroen Roovers (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2009-06-30 20:35:49 UTC
configure:Checking for python2.5, libpython2.5, libpython, python, or Python ... no


It's looking for python.a or python.so but we have python.o. Patch to follow.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-06-30 20:36:40 UTC
Created attachment 196202 [details, diff]
Patch to make configure look for .o files as well
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-06-30 20:37:37 UTC
Index: root-5.20.00-r3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.20.00-r3.ebuild,v
retrieving revision 1.10
diff -u -B -r1.10 root-5.20.00-r3.ebuild
--- root-5.20.00-r3.ebuild      23 Jun 2009 16:35:48 -0000      1.10
+++ root-5.20.00-r3.ebuild      30 Jun 2009 20:37:17 -0000
@@ -114,6 +114,9 @@
        # fix spelling errors (bug #275205)
        epatch "${FILESDIR}/${P}-defind.patch"

+       # find python.o:
+       epatch "${FILESDIR}/${P}-python.o.patch"
+
        # use system cfortran
        rm montecarlo/eg/inc/cfortran.h README/cfortran.doc

Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-06-30 21:32:28 UTC
Comment on attachment 196202 [details, diff]
Patch to make configure look for .o files as well

Of course that's just a superficial fix. Instead, configure should use python-config --libs (et cetera) instead of pretending to know where to find libpython*.so
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2009-06-30 21:34:00 UTC
(In reply to comment #3)
> (From update of attachment 196202 [details, diff] [edit])
> Of course that's just a superficial fix. Instead, configure should use
> python-config --libs (et cetera) instead of pretending to know where to find
> libpython*.so

Oh, and it fails to actually fix the problem later on in the build process.

Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2009-07-15 09:44:04 UTC
jer, this goes away with 5.22 for you?
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-07-16 02:45:53 UTC
Please stabilize sci-physics/root-5.22.00-r2. It is required for compatibility with Python 2.6.*.
Comment 7 Ferris McCormick (RETIRED) gentoo-dev 2009-07-16 03:12:03 UTC
root-5.22.00-r2 stable on sparc.
Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2009-07-16 07:01:15 UTC
x86 stable
Comment 9 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-07-19 22:56:18 UTC
amd64 stable, closing
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2009-07-20 02:07:55 UTC
Why does everybody keep hijacking bug reports?

No, I don't recall establishing that this issue is indeed fixed, fauli.
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2009-07-20 02:20:20 UTC

*** This bug has been marked as a duplicate of bug 275284 ***