Bug 1626879

Summary: [abrt] mock: _execute_child(): subprocess.py:1344:_execute_child:FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/yum-builddep': '/usr/bin/yum-builddep'
Product: [Fedora] Fedora Reporter: Robin Lee <robinlee.sysu>
Component: mockAssignee: Miroslav Suchý <msuchy>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: jdisnard, jkeating, mebrown, msuchy, praiskup, williams
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/31a3d55bdf05e18fd712492e4665a3bb176b5876
Whiteboard: abrt_hash:833576c7df5f5790f823e889472f55f220c75a86;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-28 22:25:36 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:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Robin Lee 2018-09-10 01:51:15 UTC
Description of problem:
mock build with epel7 root. mock should requires dnf-utils.

Version-Release number of selected component:
mock-1.4.13-1.fc28

Additional info:
reporter:       libreport-2.9.5
cmdline:        /usr/bin/python3 -tt /usr/libexec/mock/mock --no-clean --no-cleanup-after -r epel-7-x86_64 --resultdir /run/media/cheese/cheesenotes/pkgdb/dpkg/results_dpkg/1.18.25/3.fc30 --rebuild /run/media/cheese/cheesenotes/pkgdb/dpkg/dpkg-1.18.25-3.fc30.src.rpm
crash_function: _execute_child
exception_type: FileNotFoundError
executable:     /usr/libexec/mock/mock
interpreter:    python3-3.6.6-1.fc28.x86_64
kernel:         4.17.14-202.fc28.x86_64
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
#1 _execute_child in /usr/lib64/python3.6/subprocess.py:1344
#2 __init__ in /usr/lib64/python3.6/subprocess.py:709
#3 do in /usr/lib/python3.6/site-packages/mockbuild/util.py:589
#4 trace in /usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py:96
#5 execute in /usr/lib/python3.6/site-packages/mockbuild/package_manager.py:129
#6 trace in /usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py:96
#7 builddep in /usr/lib/python3.6/site-packages/mockbuild/package_manager.py:159
#8 trace in /usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py:96
#9 installSrpmDeps in /usr/lib/python3.6/site-packages/mockbuild/backend.py:203
#10 trace in /usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py:96

Comment 1 Robin Lee 2018-09-10 01:51:54 UTC
Created attachment 1481952 [details]
File: backtrace

Comment 2 Robin Lee 2018-09-10 01:51:56 UTC
Created attachment 1481953 [details]
File: cgroup

Comment 3 Robin Lee 2018-09-10 01:51:58 UTC
Created attachment 1481954 [details]
File: cpuinfo

Comment 4 Robin Lee 2018-09-10 01:52:00 UTC
Created attachment 1481955 [details]
File: environ

Comment 5 Robin Lee 2018-09-10 01:52:02 UTC
Created attachment 1481956 [details]
File: mountinfo

Comment 6 Robin Lee 2018-09-10 01:52:03 UTC
Created attachment 1481957 [details]
File: namespaces

Comment 7 Robin Lee 2018-09-10 01:52:37 UTC
Created attachment 1481958 [details]
File: open_fds

Comment 8 Miroslav Suchý 2018-09-10 10:09:53 UTC
Note that dnf-utils is weak dependency as most operations can be done without dnf-utils.

I will leave it open as Mock should not end with the traceback, instead it should print a nice error message.

Comment 9 Miroslav Suchý 2018-09-14 11:12:25 UTC
Fixed in:
https://github.com/rpm-software-management/mock/pull/221

Now mock print user-friendly error.

Comment 10 Ben Cotton 2019-05-02 20:56:12 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 11 Ben Cotton 2019-05-28 22:25:36 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.