Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356177 - app-portage/esearch-0.7.1-r7 - "eupdatedb" fails with python 3.x
Summary: app-portage/esearch-0.7.1-r7 - "eupdatedb" fails with python 3.x
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2011-02-23 08:14 UTC by Steffen Bergner
Modified: 2011-02-24 15:23 UTC (History)
0 users

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 Steffen Bergner 2011-02-23 08:14:08 UTC
-----NON-working python version----->

linux01 ~ # eselect python list
Available Python interpreters:
  [1]   python2.6
  [2]   python2.7 
  [3]   python3.1 *

linux01 ~ # eupdatedb
  File "/usr/sbin/eupdatedb", line 41
    print "eupdatedb (0.7.1) - Update the search-index for esearch"
                                                                  ^
SyntaxError: invalid syntax

-----working python version----->

linux01 ~ # eselect python set 2

linux01 ~ # eselect python list
Available Python interpreters:
  [1]   python2.6
  [2]   python2.7 *
  [3]   python3.1

linux01 ~ # eupdatedb
 * indexing: 9336 ebuilds to go...
Comment 1 Zac Medico gentoo-dev 2011-02-23 16:43:26 UTC
I've added a new esearch-0.7.1-r8 ebuild with python2 specified in the shebangs.
Comment 2 Steffen Bergner 2011-02-24 06:37:18 UTC
Thanks a lot. It solved the issue. Now I can get rid of python < 3.x ;)
Comment 3 Zac Medico gentoo-dev 2011-02-24 15:13:28 UTC
(In reply to comment #2)
> Thanks a lot. It solved the issue. Now I can get rid of python < 3.x ;)

You still need python2 if you want to use esearch. However, it won't be much work to make esearch python3 compatible.
Comment 4 Steffen Bergner 2011-02-24 15:23:30 UTC
--> ;) <-- sure. I have still some other "depclean python2"-breaker. Thanks for the clarification, will sure helpful for others too.