<p><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rpm-software-management/rpm/commit/76c429c3178c965c6517629957a633768132904c/hovercard" href="https://github.com/rpm-software-management/rpm/commit/76c429c3178c965c6517629957a633768132904c"><tt>76c429c</tt></a> is the first bad commit</p>
<pre><code>commit 76c429c3178c965c6517629957a633768132904c
Author: Andreas Scherer <andreas_github@freenet.de>
Date:   Mon Nov 26 15:50:15 2018 +0200

    Handle %setup archive unpack exit code centrally and consistently
    
    Previously the exit code handling was missing from uncompressed tar-case.

 build/parsePrep.c | 25 +++++++++----------------
 1 file changed, 9 insertions(+), 16 deletions(-)
</code></pre>
<h2>Before</h2>
<pre><code>⋊> ~/t/p/rust-heck on master ⨯ ~/Projects/upstream/rpm/rpmbuild -ba ./rust-heck.spec -D "_sourcedir $PWD"                                                                   17:05:06
error: Bad source: /home/brain/tmp/playground/rust-heck/heck-0.3.1x1.crate: No such file or directory
</code></pre>
<h2>After</h2>
<pre><code>⋊> ~/t/p/rust-heck on master ⨯ ~/Projects/upstream/rpm/rpmbuild -ba ./rust-heck.spec -D "_sourcedir $PWD"                                                                   17:05:42
error: Bad source: /home/brain/tmp/playground/rust-heck/heck-0.3.1x1.crate: No such file or directory
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KIKFls
+ umask 022
+ cd /home/brain/rpmbuild/BUILD
+ cd /home/brain/rpmbuild/BUILD
+ rm -rf heck-0.3.1x1
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd heck-0.3.1x1
/var/tmp/rpm-tmp.KIKFls: line 38: cd: heck-0.3.1x1: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.KIKFls (%prep)


RPM build errors:
    Bad source: /home/brain/tmp/playground/rust-heck/heck-0.3.1x1.crate: No such file or directory
    Bad exit status from /var/tmp/rpm-tmp.KIKFls (%prep)
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/issues/728?email_source=notifications&email_token=ADLPZU7FIDQAT6A3TZQW47DPYPPD3A5CNFSM4HSC3EDKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GXEZO4A">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU7PDYQMXRGXKAFLPUDPYPPD3ANCNFSM4HSC3EDA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ADLPZU2TESGHKPQT7VLWIB3PYPPD3A5CNFSM4HSC3EDKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GXEZO4A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/issues/728?email_source=notifications\u0026email_token=ADLPZU7FIDQAT6A3TZQW47DPYPPD3A5CNFSM4HSC3EDKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GXEZO4A",
"url": "https://github.com/rpm-software-management/rpm/issues/728?email_source=notifications\u0026email_token=ADLPZU7FIDQAT6A3TZQW47DPYPPD3A5CNFSM4HSC3EDKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GXEZO4A",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>