Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 481518

Summary: /usr/sbin/archive-conf is not compatible with python3
Product: Portage Development Reporter: Yichao Zhou <broken.zhou>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 472632    

Description Yichao Zhou 2013-08-18 06:40:01 UTC
In archive-conf, it has

try:
    import fchksum
    def perform_checksum(filename): return fchksum.fmd5t(filename)
except ImportError:
    import md5
....

But either fchksum and md6 does not support python3.

Reproducible: Always

Actual Results:  
Traceback (most recent call last):
  File "/usr/sbin/archive-conf", line 30, in <module>
    import fchksum
ImportError: No module named fchksum

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/sbin/archive-conf", line 33, in <module>
    import md5
ImportError: No module named md5


Expected Results:  
Works
Comment 2 Zac Medico gentoo-dev 2013-08-22 04:51:07 UTC
This is fixed in 2.2.1.