Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113386 - gentoolkit-0.2.1_rc2 requires python-config
Summary: gentoolkit-0.2.1_rc2 requires python-config
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: PPC OS X
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 112364
  Show dependency tree
 
Reported: 2005-11-23 11:58 UTC by Fabian Groffen
Modified: 2005-12-07 16:32 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 Fabian Groffen gentoo-dev 2005-11-23 11:58:20 UTC
The python provided by OSX doesn't install python-config (obviously).  The
result is:

>>> md5 src_uri ;-) gentoolkit-0.2.1_rc2.tar.gz
>>> Unpacking source...
>>> Unpacking gentoolkit-0.2.1_rc2.tar.gz to
/var/tmp/portage/gentoolkit-0.2.1_rc2/work
>>> Source unpacked.
echo "YARMOUTH (vb.) To shout at foreigners in the belief that the louder you
speak, the better they'll understand you." 
YARMOUTH (vb.) To shout at foreigners in the belief that the louder you speak,
the better they'll understand you.
echo "`python-config | sed 's/-l//' | sed 's/ -lm.*//'`"
/bin/sh: line 1: python-config: command not found

gentoolkit, however, does appear to be fully functional despite of this problem.
 Each alternative arch that currently has no way (yet) to install a portage
provided python will stumble upon this problem.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Paul Varner (RETIRED) gentoo-dev 2005-12-02 09:43:16 UTC
Does the following command work on OSX?

ver=`LC_COLLATE=C; python -V 2>&1 | tr '[:upper:]' '[:lower:]' | sed 's/
//g;s/\([0-9]\.[0-9]\)\.[0-9]/\1/'`
echo $ver

It should return the string python<major>.<minor> i.e python2.4
Comment 2 Fabian Groffen gentoo-dev 2005-12-02 10:38:30 UTC
bash-3.00$ ver=`LC_COLLATE=C; python -V 2>&1 | tr '[:upper:]' '[:lower:]' | sed
's///g;s/\([0-9]\.[0-9]\)\.[0-9]/\1/'`
sed: -e expression #1, char 0: no previous regular expression

I editted to this:
bash-3.00$ ver=`LC_COLLATE=C; python -V 2>&1 | tr '[:upper:]' '[:lower:]' | sed
-e 's/ //g;s/\([0-9]\.[0-9]\)\.[0-9]/\1/'`
bash-3.00$ echo $ver
python2.4

does that do what you want?
Comment 3 Paul Varner (RETIRED) gentoo-dev 2005-12-02 11:27:00 UTC
That is what I was looking for. Do you mind bumping rc2 to rc3 in your overlay
and placing  dev.g.o/~fuzzyray/distfiles/gentoolkit-0.2.1_rc3.tar.gz in your
distfiles directory and testing the install. On my system, I am getting no
errors at all with that version.
Comment 4 Paul Varner (RETIRED) gentoo-dev 2005-12-02 11:29:03 UTC
I forgot to add, when done testing, you should probably remove it from your
overlay as that tarball is most likely not going to be the final rc3 tarball
Comment 5 Fabian Groffen gentoo-dev 2005-12-02 12:30:29 UTC
the error/warning at compile time is now gone.  I already used rc2 with no
problems.  I'm not a heavy user of the tools, but they appear to work fine for me.
Comment 6 Paul Varner (RETIRED) gentoo-dev 2005-12-07 16:32:24 UTC
Fixed with gentoolkit-0.2.1_rc3