Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355939 - sys-apps/portage-2.2.0_alpha24 breaks compilation under python3
Summary: sys-apps/portage-2.2.0_alpha24 breaks compilation under python3
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-22 00:21 UTC by Blu3
Modified: 2011-02-22 18:37 UTC (History)
2 users (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 Blu3 2011-02-22 00:21:22 UTC
>>> Installing (1 of 88) sys-apps/portage-2.2.0_alpha24
 * Compilation and optimization of Python modules placed outside of site-packages directories for CPython 3.1 ...
*** Error compiling /usr/lib64/portage/pym/portage_db_anydbm.py ...
  File "/usr/lib64/portage/pym/portage_db_anydbm.py", line 24
    self.db = anydbm.open(self.filename, "c", 0664)
                                                 ^
SyntaxError: invalid token

*** Error compiling /usr/lib64/portage/pym/portage_db_cpickle.py ...
  File "/usr/lib64/portage/pym/portage_db_cpickle.py", line 18
    os.makedirs(self.path, 02775)
                               ^
SyntaxError: invalid token

*** Error compiling /usr/lib64/portage/pym/portage_db_flat.py ...
  File "/usr/lib64/portage/pym/portage_db_flat.py", line 25
    os.makedirs(self.fullpath, 02775)
                                   ^
SyntaxError: invalid token

*** Error compiling /usr/lib64/portage/pym/portage_db_template.py ...
  File "/usr/lib64/portage/pym/portage_db_template.py", line 37
    except SystemExit, e:
                     ^
SyntaxError: invalid syntax
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2011-02-22 15:05:21 UTC
@portage:

Is this a portage or python bug?
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-02-22 16:06:45 UTC
Portage hasn't been installing these files for a long time. Most likely VDB and/or Portage of user was broken and he tried to repair system in insufficiently correct way.
Comment 3 Blu3 2011-02-22 18:37:01 UTC
or perhaps portage installed them a long time ago and just left them there.  there's A LOT of files that get abandoned as time goes by that portage should clean up.  my actions were "emerge -u portage"