Bug ID | 1213555 |
---|---|
Summary | obs-service-tar fails on Rawhide (python 3.12 problems) |
Classification | openSUSE |
Product | openSUSE.org |
Version | unspecified |
Hardware | All |
OS | Fedora |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | BuildService |
Assignee | screening-team-bugs@suse.de |
Reporter | brunopitrus@hotmail.com |
QA Contact | adrian.schroeter@suse.com |
Target Milestone | --- |
Found By | --- |
Blocker | --- |
Packages which use tar service set to buildtime cannot be built for Fedora rawhide. Example log (from devel:languages:nodejs/bitwarden) [ 36s] Unpacking bitwarden-2023.5.1.obscpio ... [ 37s] 37175 blocks [ 37s] Running build time source services... [ 37s] Traceback (most recent call last): [ 37s] File "/usr/lib/obs/service/tar", line 30, in <module> [ 37s] main() [ 37s] File "/usr/lib/obs/service/tar", line 26, in main [ 37s] TarSCM.run() [ 37s] File "/usr/lib/obs/service/TarSCM/__init__.py", line 39, in run [ 37s] task_list.process_list() [ 37s] File "/usr/lib/obs/service/TarSCM/tasks.py", line 131, in process_list [ 37s] self.process_single_task(task) [ 37s] File "/usr/lib/obs/service/TarSCM/tasks.py", line 211, in process_single_task [ 37s] self.scm_object = scm_object = scm_class(args, self) [ 37s] ^^^^^^^^^^^^^^^^^^^^^ [ 37s] File "/usr/lib/obs/service/TarSCM/scm/base.py", line 82, in __init__ [ 37s] self._calc_repocachedir() [ 37s] File "/usr/lib/obs/service/TarSCM/scm/base.py", line 234, in _calc_repocachedir [ 37s] repocachedir = Config().get('tar_scm', 'CACHEDIRECTORY') [ 37s] ^^^^^^^^ [ 37s] File "/usr/lib/obs/service/TarSCM/config.py", line 47, in __init__ [ 37s] self.configs.append(self._init_config(fname)) [ 37s] ^^^^^^^^^^^^^^^^^^^^^^^^ [ 37s] File "/usr/lib/obs/service/TarSCM/config.py", line 73, in _init_config [ 37s] config.readfp(tmp_fp) [ 37s] ^^^^^^^^^^^^^ [ 37s] AttributeError: 'RawConfigParser' object has no attribute 'readfp'. Did you mean: 'read'? [ 37s] service run failed for service 'tar'