Bug 2099177

Summary: F37FailsToInstall: sugar -- fails to build due to missing sources
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: sugarAssignee: Alex Perez <aperez>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: aperez, ibiam, simon, smparrish
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-21 16:54:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2016048, 2045102, 2045109    

Description Miro Hrončok 2022-06-20 09:44:14 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

Your package (sugar) Fails To Install in Fedora 37:

can't install sugar:
  - nothing provides python(abi) = 3.10 needed by sugar-0.118-6.fc36.noarch
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-37-x86_64 --disablerepo='*' --enablerepo=local install sugar


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Miro Hrončok 2022-06-20 10:10:42 UTC
This bugzilla is likely a fallout from the Python 3.11 rebuild.

If your package (or some of the dependencies it has) failed to rebuild during the Python 3.11 rebuild, they now fail to install. To fix this, packages need to be rebuilt in Rawhide.

We will slowly triage the bugzillas, but we'd appreciate your help.

If you know this is blocked by an existing reported build failure or another package not yet rebuilt with Python 3.11, please mark it as such by using the "Depends On"/"Blocks" bugzilla fields. That will help us determine what failures to prioritize.

If this is not Python 3.11 related, please remove the PYTHON3.11 blocking tracker.

Thank you and sorry for the inconvenience. Let me know if you need any help.

Comment 2 Ibiam Chihurumnaya 2022-06-21 16:05:28 UTC
I'd run a koji build and that passes[1] but a fedpkg build fails and the logs aren't helpful.

[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=88553719

Comment 3 Miro Hrončok 2022-06-21 16:27:01 UTC
The error is:

DEBUG util.py:540:  Executing command: ['fedpkg', 'sources'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
DEBUG util.py:443:    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
DEBUG util.py:443:                                   Dload  Upload   Total   Spent    Left  Speed
DEBUG util.py:443:  
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0   196    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
DEBUG util.py:443:  curl: (22) The requested URL returned error: 404
DEBUG util.py:596:  Child return code was: 22



And indeed:


[sugar (rawhide)]$ fedpkg sources
Downloading sugar-0.119.tar.xz
######################################################################## 100.0%
Remove downloaded invalid file ./sugar-0.119.tar.xz
Could not execute sources: Server returned status code 404



If you look closely at the list of commits in https://src.fedoraproject.org/rpms/sugar/commits/rawhide you can see that since *New Release 0.119* nothing was ever built -- I suppose whoever updated the sources file have not actually uploaded the sources with `fedpkg new-sources`.

Comment 4 Ibiam Chihurumnaya 2022-06-21 16:54:54 UTC
Yeah I thought I'd uploaded them but it turns out I didn't and i noticed it while testing another package. Issue fixed. Thanks