Bug 1412294 - [abrt] mock: scm.py:172:prepare_sources:FileNotFoundError: [Errno 2] No such file or directory: '<package name>' -> '<package name>-<version>'
Summary: [abrt] mock: scm.py:172:prepare_sources:FileNotFoundError: [Errno 2] No such ...
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: 25
Hardware: x86_64
OS: Unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:e826470effeb047dcdd5629742a...
Depends On:
TreeView+ depends on / blocked
Reported: 2017-01-11 17:01 UTC by Gwendal
Modified: 2017-12-12 10:07 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2017-12-12 10:07:57 UTC
Type: ---

Attachments (Terms of Use)
File: backtrace (23.83 KB, text/plain)
2017-01-11 17:01 UTC, Gwendal
no flags Details
File: environ (157 bytes, text/plain)
2017-01-11 17:01 UTC, Gwendal
no flags Details

Description Gwendal 2017-01-11 17:01:10 UTC
Description of problem:
This error happened because the name of the folder contained in the tar was not the one expected by mock.

Version-Release number of selected component:

Additional info:
reporter:       libreport-2.8.0
cmdline:        /usr/bin/python3 -tt /usr/libexec/mock/mock -r fedora-24-x86_64 --uniqueext 495625-f25 --scm-enable --scm-option method=git --scm-option package=aseprite --scm-option branch= --scm-option write_tar=True --scm-option spec=aseprite.spec --scm-option 'git_get=git clone --depth 1 https://github.com/Gwend4l/aseprite.git' aseprite --buildsrpm --resultdir=/tmp/tmphK6WDR
executable:     /usr/libexec/mock/mock
kernel:         4.8.15-300.fc25.x86_64
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
#1 prepare_sources in /usr/lib/python3.5/site-packages/mockbuild/scm.py:172
#2 trace in /usr/lib/python3.5/site-packages/mockbuild/trace_decorator.py:89
#3 run_command in /usr/libexec/mock/mock:718
#4 trace in /usr/lib/python3.5/site-packages/mockbuild/trace_decorator.py:89
#5 main in /usr/libexec/mock/mock:698
#6 trace in /usr/lib/python3.5/site-packages/mockbuild/trace_decorator.py:89
#7 <module> in /usr/libexec/mock/mock:882

Comment 1 Gwendal 2017-01-11 17:01:19 UTC
Created attachment 1239539 [details]
File: backtrace

Comment 2 Gwendal 2017-01-11 17:01:20 UTC
Created attachment 1239540 [details]
File: environ

Comment 3 Gwendal 2017-01-11 17:04:10 UTC
I have renamed the bug title to be more generic, with "No such file or directory: '<package name>' -> '<package name>-<version>'" instead of the package and version I had in my case.

Comment 4 Fedora End Of Life 2017-11-16 15:01:04 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. 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 '25'.

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 25 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 5 Fedora End Of Life 2017-12-12 10:07:57 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 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

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

Note You need to log in before you can comment on or make changes to this bug.