[Rpm-maint] [rpm-software-management/rpm] 4.15 Regression: (#728)

Igor Gnatenko notifications at github.com
Sun Jun 2 15:09:49 UTC 2019


76c429c3178c965c6517629957a633768132904c is the first bad commit
```
commit 76c429c3178c965c6517629957a633768132904c
Author: Andreas Scherer <andreas_github at 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(-)
```

## Before

```
⋊> ~/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
```

## After

```
⋊> ~/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)
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/728
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190602/c88d3768/attachment-0001.html>


More information about the Rpm-maint mailing list