public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] /usr/local/bin/python???
@ 2012-04-15  2:46 meino.cramer
  2012-04-15  3:23 ` Pandu Poluan
  2012-04-15 15:18 ` [gentoo-user] /usr/local/bin/python??? walt
  0 siblings, 2 replies; 9+ messages in thread
From: meino.cramer @ 2012-04-15  2:46 UTC (permalink / raw
  To: Gentoo

Hi,

I installed app-portage/gentoolkit-0.3.0.5.

After installing it says:
 * Another alternative to equery is app-portage/portage-utils
 * 
 * glsa-check since gentoolkit 0.3 has modified some output,
 * options and default behavior. The list of injected GLSAs
 * has moved to /var/lib/portage/glsa_injected, please
 * run 'glsa-check -p affected' before copying the existing checkfile.


Running 

    glsa-check -p affected


produces:

    solfire:/root>glsa-check -p affected
    zsh: /usr/bin/glsa-check: bad interpreter: /usr/local/bin/python: no such file or directory
    [1]    28461 exit 127   glsa-check -p affected
    

to figure out the package, glsa-check is part of:

    solfire:/root>emerge -vp /usr/bin/glsa-check

    These are the packages that would be merged, in order:

    Calculating dependencies... done!
    [ebuild   R    ] app-portage/gentoolkit-0.3.0.5  0 kB

    Total: 1 package (1 reinstall), Size of downloads: 0 kB

Why do I need an installation of Python for this under /usr/locl/.... ?

Best regards,
mcc

PS: Other tools of gentoolkit are also effected...








^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] /usr/local/bin/python???
  2012-04-15  2:46 [gentoo-user] /usr/local/bin/python??? meino.cramer
@ 2012-04-15  3:23 ` Pandu Poluan
  2012-04-15  3:30   ` meino.cramer
  2012-04-15 15:18 ` [gentoo-user] /usr/local/bin/python??? walt
  1 sibling, 1 reply; 9+ messages in thread
From: Pandu Poluan @ 2012-04-15  3:23 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1237 bytes --]

On Apr 15, 2012 9:50 AM, <meino.cramer@gmx.de> wrote:
>
> Hi,
>
> I installed app-portage/gentoolkit-0.3.0.5.
>
> After installing it says:
>  * Another alternative to equery is app-portage/portage-utils
>  *
>  * glsa-check since gentoolkit 0.3 has modified some output,
>  * options and default behavior. The list of injected GLSAs
>  * has moved to /var/lib/portage/glsa_injected, please
>  * run 'glsa-check -p affected' before copying the existing checkfile.
>
>
> Running
>
>    glsa-check -p affected
>
>
> produces:
>
>    solfire:/root>glsa-check -p affected
>    zsh: /usr/bin/glsa-check: bad interpreter: /usr/local/bin/python: no
such file or directory
>    [1]    28461 exit 127   glsa-check -p affected
>
>
> to figure out the package, glsa-check is part of:
>
>    solfire:/root>emerge -vp /usr/bin/glsa-check
>
>    These are the packages that would be merged, in order:
>
>    Calculating dependencies... done!
>    [ebuild   R    ] app-portage/gentoolkit-0.3.0.5  0 kB
>
>    Total: 1 package (1 reinstall), Size of downloads: 0 kB
>
> Why do I need an installation of Python for this under /usr/locl/.... ?
>
> Best regards,
> mcc
>
> PS: Other tools of gentoolkit are also effected...
>

eselect python list ?

Rgds,

[-- Attachment #2: Type: text/html, Size: 1716 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] /usr/local/bin/python???
  2012-04-15  3:23 ` Pandu Poluan
@ 2012-04-15  3:30   ` meino.cramer
  0 siblings, 0 replies; 9+ messages in thread
From: meino.cramer @ 2012-04-15  3:30 UTC (permalink / raw
  To: gentoo-user

Pandu Poluan <pandu@poluan.info> [12-04-15 05:28]:
> On Apr 15, 2012 9:50 AM, <meino.cramer@gmx.de> wrote:
> >
> > Hi,
> >
> > I installed app-portage/gentoolkit-0.3.0.5.
> >
> > After installing it says:
> >  * Another alternative to equery is app-portage/portage-utils
> >  *
> >  * glsa-check since gentoolkit 0.3 has modified some output,
> >  * options and default behavior. The list of injected GLSAs
> >  * has moved to /var/lib/portage/glsa_injected, please
> >  * run 'glsa-check -p affected' before copying the existing checkfile.
> >
> >
> > Running
> >
> >    glsa-check -p affected
> >
> >
> > produces:
> >
> >    solfire:/root>glsa-check -p affected
> >    zsh: /usr/bin/glsa-check: bad interpreter: /usr/local/bin/python: no
> such file or directory
> >    [1]    28461 exit 127   glsa-check -p affected
> >
> >
> > to figure out the package, glsa-check is part of:
> >
> >    solfire:/root>emerge -vp /usr/bin/glsa-check
> >
> >    These are the packages that would be merged, in order:
> >
> >    Calculating dependencies... done!
> >    [ebuild   R    ] app-portage/gentoolkit-0.3.0.5  0 kB
> >
> >    Total: 1 package (1 reinstall), Size of downloads: 0 kB
> >
> > Why do I need an installation of Python for this under /usr/locl/.... ?
> >
> > Best regards,
> > mcc
> >
> > PS: Other tools of gentoolkit are also effected...
> >
> 
> eselect python list ?
> 
> Rgds,


Available Python interpreters:
  [1]   python2.7 *
  [2]   python3.2

Rgds,





^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: /usr/local/bin/python???
  2012-04-15  2:46 [gentoo-user] /usr/local/bin/python??? meino.cramer
  2012-04-15  3:23 ` Pandu Poluan
@ 2012-04-15 15:18 ` walt
  2012-04-15 16:11   ` meino.cramer
  1 sibling, 1 reply; 9+ messages in thread
From: walt @ 2012-04-15 15:18 UTC (permalink / raw
  To: gentoo-user

On 04/14/2012 07:46 PM, meino.cramer@gmx.de wrote:
> Running 
> 
>     glsa-check -p affected
> 
> 
> produces:
> 
>     solfire:/root>glsa-check -p affected
>     zsh: /usr/bin/glsa-check: bad interpreter: /usr/local/bin/python: no such file or directory

On my machines glsa-check returns nothing, but I don't have zsh installed.
Maybe zsh installs its own config files that set a hard-coded path for the
python interpreter?  Dunno.  What happens if you run glsa-check from a bash
prompt instead of zsh?




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: /usr/local/bin/python???
  2012-04-15 15:18 ` [gentoo-user] /usr/local/bin/python??? walt
@ 2012-04-15 16:11   ` meino.cramer
  2012-04-15 22:28     ` Sebastian Pipping
  0 siblings, 1 reply; 9+ messages in thread
From: meino.cramer @ 2012-04-15 16:11 UTC (permalink / raw
  To: gentoo-user

walt <w41ter@gmail.com> [12-04-15 17:24]:
> On 04/14/2012 07:46 PM, meino.cramer@gmx.de wrote:
> > Running 
> > 
> >     glsa-check -p affected
> > 
> > 
> > produces:
> > 
> >     solfire:/root>glsa-check -p affected
> >     zsh: /usr/bin/glsa-check: bad interpreter: /usr/local/bin/python: no such file or directory
> 
> On my machines glsa-check returns nothing, but I don't have zsh installed.
> Maybe zsh installs its own config files that set a hard-coded path for the
> python interpreter?  Dunno.  What happens if you run glsa-check from a bash
> prompt instead of zsh?
> 
>
In the meanwhile I found:

The reason was the first lines in the effected scripts:
#! /usr/local/bin/python

Fixing this to
#! /usr/bin/python

fixed that problem.

Best regards,
mcc





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: /usr/local/bin/python???
  2012-04-15 16:11   ` meino.cramer
@ 2012-04-15 22:28     ` Sebastian Pipping
  2012-04-16  2:31       ` meino.cramer
  0 siblings, 1 reply; 9+ messages in thread
From: Sebastian Pipping @ 2012-04-15 22:28 UTC (permalink / raw
  To: gentoo-user

On 04/15/2012 06:11 PM, meino.cramer@gmx.de wrote:
> In the meanwhile I found:
> 
> The reason was the first lines in the effected scripts:
> #! /usr/local/bin/python
> 
> Fixing this to
> #! /usr/bin/python
> 
> fixed that problem.

I which script of which package did you fix this?

Best,




Sebastian



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: /usr/local/bin/python???
  2012-04-15 22:28     ` Sebastian Pipping
@ 2012-04-16  2:31       ` meino.cramer
  2012-04-16  3:14         ` Sebastian Pipping
  0 siblings, 1 reply; 9+ messages in thread
From: meino.cramer @ 2012-04-16  2:31 UTC (permalink / raw
  To: gentoo-user

Sebastian Pipping <sping@gentoo.org> [12-04-16 04:05]:
> On 04/15/2012 06:11 PM, meino.cramer@gmx.de wrote:
> > In the meanwhile I found:
> > 
> > The reason was the first lines in the effected scripts:
> > #! /usr/local/bin/python
> > 
> > Fixing this to
> > #! /usr/bin/python
> > 
> > fixed that problem.
> 
> I which script of which package did you fix this?
> 
> Best,
> 
> 
> 
> 
> Sebastian
> 
As already mentioned in a previous mail of mine,
the package is app-portage/gentoolkit-0.3.0.5. The
effected scripts are:
-rwxr-xr-x   1 root  root          1032 2012-04-15 11:27 eclean
-rwxr-xr-x   1 root  root          1370 2012-04-15 11:27 revdep-rebuild.py
-rwxr-xr-x   1 root  root          1470 2012-04-15 11:27 epkginfo
-rwxr-xr-x   1 root  root          1280 2012-04-15 11:27 enalyze
-rwxr-xr-x   1 root  root         13100 2012-04-15 11:27 glsa-check
-rwxr-xr-x   1 root  root          1296 2012-04-15 11:27 equery
-rwxr-xr-x   1 root  root           232 2012-04-15 11:27 eshowkw

Best regards




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: /usr/local/bin/python???
  2012-04-16  2:31       ` meino.cramer
@ 2012-04-16  3:14         ` Sebastian Pipping
  2012-04-16 23:10           ` »Q«
  0 siblings, 1 reply; 9+ messages in thread
From: Sebastian Pipping @ 2012-04-16  3:14 UTC (permalink / raw
  To: gentoo-user

On 04/16/2012 04:31 AM, meino.cramer@gmx.de wrote:
> As already mentioned in a previous mail of mine,
> the package is app-portage/gentoolkit-0.3.0.5. The
> effected scripts are:
> -rwxr-xr-x   1 root  root          1032 2012-04-15 11:27 eclean
> -rwxr-xr-x   1 root  root          1370 2012-04-15 11:27 revdep-rebuild.py
> -rwxr-xr-x   1 root  root          1470 2012-04-15 11:27 epkginfo
> -rwxr-xr-x   1 root  root          1280 2012-04-15 11:27 enalyze
> -rwxr-xr-x   1 root  root         13100 2012-04-15 11:27 glsa-check
> -rwxr-xr-x   1 root  root          1296 2012-04-15 11:27 equery
> -rwxr-xr-x   1 root  root           232 2012-04-15 11:27 eshowkw

I have checked mine, same version, no /usr/local/ in these files over
here.  I have no idea what would have caused such a change.

Best,


Sebastian



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: /usr/local/bin/python???
  2012-04-16  3:14         ` Sebastian Pipping
@ 2012-04-16 23:10           ` »Q«
  0 siblings, 0 replies; 9+ messages in thread
From: »Q« @ 2012-04-16 23:10 UTC (permalink / raw
  To: gentoo-user

On Mon, 16 Apr 2012 05:14:07 +0200
Sebastian Pipping <sping@gentoo.org> wrote:

> On 04/16/2012 04:31 AM, meino.cramer@gmx.de wrote:
> > As already mentioned in a previous mail of mine,
> > the package is app-portage/gentoolkit-0.3.0.5. The
> > -rwxr-xr-x   1 root  root          1032 2012-04-15 11:27 eclean
> > -rwxr-xr-x   1 root  root          1370 2012-04-15 11:27 revdep-rebuild.py
> > -rwxr-xr-x   1 root  root          1470 2012-04-15 11:27 epkginfo
> > -rwxr-xr-x   1 root  root          1280 2012-04-15 11:27 enalyze
> > -rwxr-xr-x   1 root  root         13100 2012-04-15 11:27 glsa-check
> > -rwxr-xr-x   1 root  root          1296 2012-04-15 11:27 equery
> > -rwxr-xr-x   1 root  root           232 2012-04-15 11:27 eshowkw  
> 
> I have checked mine, same version, no /usr/local/ in these files over
> here.  I have no idea what would have caused such a change.

I don't know either.  gentoolkit-0.3.0.5.ebuild calls
python_convert_shebangs in python.eclass, but I can't follow the
algorithm well enough to tell is something is screwy there.




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-04-16 23:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-15  2:46 [gentoo-user] /usr/local/bin/python??? meino.cramer
2012-04-15  3:23 ` Pandu Poluan
2012-04-15  3:30   ` meino.cramer
2012-04-15 15:18 ` [gentoo-user] /usr/local/bin/python??? walt
2012-04-15 16:11   ` meino.cramer
2012-04-15 22:28     ` Sebastian Pipping
2012-04-16  2:31       ` meino.cramer
2012-04-16  3:14         ` Sebastian Pipping
2012-04-16 23:10           ` »Q«

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox