Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 606588 - sys-apps/portage-9999 - emerge --sync: TypeError: 'int' object is not subscriptable
Summary: sys-apps/portage-9999 - emerge --sync: TypeError: 'int' object is not subscri...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2017-01-20 10:02 UTC by Coacher
Modified: 2017-03-03 04:58 UTC (History)
0 users

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


Attachments
emerge --info portage (info,7.11 KB, text/plain)
2017-01-20 10:02 UTC, Coacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Coacher 2017-01-20 10:02:31 UTC
Created attachment 460718 [details]
emerge --info portage

Hello.

I have portage-9999 @ aa0cf0c993759f559988c8d0d6ea50be8cf716ce.
Every time I do emerge --sync I get:

# emerge --sync --debug
myaction sync
myopts {'--debug': True, '--with-bdeps': 'y', '--jobs': 1, '--quiet-build': 'y', '--load-average': 4.0}
>>> Syncing repository 'gentoo' into '/var/portage'...
/usr/bin/git pull
Already up-to-date.
=== Sync completed for gentoo
q: Updating ebuild cache in /var/portage ...
q: Finished 39002 entries in 0.567610 seconds
>>> Syncing repository 'bonespirit-private' into '/var/overlays/bonespirit-private'...
/usr/bin/git pull
Already up-to-date.
=== Sync completed for bonespirit-private
>>> Updating profiles/use.local.desc file for bonespirit-private
q: Updating ebuild cache in /var/overlays/bonespirit-private ...
q: Finished 9 entries in 0.000498 seconds
>>> Syncing repository 'bonespirit' into '/var/overlays/bonespirit'...
/usr/bin/git pull
Already up-to-date.
=== Sync completed for bonespirit
>>> Updating profiles/use.local.desc file for bonespirit
q: Updating ebuild cache in /var/overlays/bonespirit ...
q: Finished 82 entries in 0.001698 seconds
>>> Syncing repository 'science' into '/var/overlays/science'...
/usr/bin/git pull
Already up-to-date.
=== Sync completed for science
>>> Updating profiles/use.local.desc file for science
q: Updating ebuild cache in /var/overlays/science ...
q: Finished 1166 entries in 0.031877 seconds
>>> Syncing repository 'sage-on-gentoo' into '/var/overlays/sage-on-gentoo'...
/usr/bin/git pull
Already up-to-date.
=== Sync completed for sage-on-gentoo
>>> Updating profiles/use.local.desc file for sage-on-gentoo
q: Updating ebuild cache in /var/overlays/sage-on-gentoo ...
q: Finished 147 entries in 0.004413 seconds
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.4/emerge", line 50, in <module>
    retval = emerge_main()
  File "/usr/lib64/python3.4/site-packages/_emerge/main.py", line 1224, in emerge_main
    return run_action(emerge_config)
  File "/usr/lib64/python3.4/site-packages/_emerge/actions.py", line 3137, in run_action
    return action_sync(emerge_config)
  File "/usr/lib64/python3.4/site-packages/_emerge/actions.py", line 2006, in action_sync
    return retvals[0][1]
TypeError: 'int' object is not subscriptable

This was not the case with portage-9999 @ c4d6482f1869a7a06e41dd2a95eee700b82fe027.
No configuration was changed on my system.

Please fix.
Comment 1 Alexandru Elisei 2017-01-21 17:51:21 UTC
Thank you for the report, I have submitted a patch for review.

In the meantime you can use emaint sync -a to sync your repositories.
Comment 2 Coacher 2017-01-22 11:22:56 UTC
(In reply to Alexandru Elisei from comment #1)
> Thank you for the report, I have submitted a patch for review.
URL please.
Comment 3 Alexandru Elisei 2017-01-22 12:22:33 UTC
(In reply to Coacher from comment #2)
> (In reply to Alexandru Elisei from comment #1)
> > Thank you for the report, I have submitted a patch for review.
> URL please.

https://github.com/alexandru-elisei/portage/commit/bc2a6b88b339f149a17d49ad0d428bd4b169810b
Comment 4 Zac Medico gentoo-dev 2017-01-23 01:12:40 UTC
I've pushed this minimal fix to the master branch:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=23f239134b0290cbe0435e13d8f1b1757c6d8524