Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549594 - sys-apps/portage-2.2.19: squashdelta does not work
Summary: sys-apps/portage-2.2.19: squashdelta does not work
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2015-05-15 21:16 UTC by Martin Väth
Modified: 2015-05-18 23:32 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 Martin Väth 2015-05-15 21:16:53 UTC
I have setup repos.conf according to the suggested news item and removed the previous portage directory.
However, emerge --sync only trigger the error

>>> Syncing repository 'gentoo' into '/srv/portage/gentoo'...
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 1154, in emerge_main
    return run_action(emerge_config)
  File "/usr/lib64/python3.4/site-packages/_emerge/actions.py", line 3064, in run_action
    return action_sync(emerge_config)
  File "/usr/lib64/python3.4/site-packages/_emerge/actions.py", line 1939, in action_sync
    retvals = syncer.auto_sync(options={'return-messages': False})
  File "/usr/lib64/python3.4/site-packages/portage/emaint/modules/sync/sync.py", line 94, in auto_sync
    emaint_opts=options)
  File "/usr/lib64/python3.4/site-packages/portage/emaint/modules/sync/sync.py", line 219, in _sync
    returncode, message = sync_manager.sync(self.emerge_config, repo)
  File "/usr/lib64/python3.4/site-packages/portage/sync/controller.py", line 148, in sync
    taskmaster.run_tasks(tasks, func, status, options=task_opts)
  File "/usr/lib64/python3.4/site-packages/portage/sync/controller.py", line 47, in run_tasks
    inst = task()
  File "/usr/lib64/python3.4/site-packages/portage/sync/modules/squashdelta/squashdelta.py", line 38, in __init__
    self.repo_re = re.compile(self.repo.name + '-(.*)$')
AttributeError: 'NoneType' object has no attribute 'name'


When commenting the offending line in squashdelta.py, a checksum file is fetched but no squashfs file.
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2015-05-16 04:46:32 UTC
Fixed along with a few more in commit: 3ea4713d895cc1b341277c5b4db0f9d4b671b9cd

It is in git, and available in portage-9999.
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2015-05-18 23:32:47 UTC
This version of portage has been removed from the tree and the faulty sync module has been removed from the portage code base.

Look for an independent installable portage module hopefully soon.