[Rpm-maint] [rpm-software-management/rpm] Modified %{_smp_mflags} breaks find-debuginfo.sh (#630)

Miroslav Suchý notifications at github.com
Thu Feb 14 15:11:57 UTC 2019


On my system I have user defined:
```
rpm --eval '%{?_smp_mflags}'
-l4
```
which for Makefile has semantics:
```
       -l [load], --load-average[=load]
            Specifies  that  no  new jobs (commands) should be started if there are others jobs running and the load average is at least load (a floating-point
            number).  With no argument, removes a previous load limit.
```
But find-debuginfo.sh does not recognize it and interpret it differently (as BUILDDIR)

`rpmbuild` will then fail with:

```
Processing files: enum-debugsource-1.1-15.fc29.x86_64
error: Could not open %files file /home/msuchy/rpmbuild/BUILD/enum-1.1/debugsourcefiles.list: No such file or directory
```

Reproducer is easy. Put in your `~/.rpmmacros` this definition:

```
%_smp_mflags -l4
```


-- 
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/630
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190214/7f0a7d0a/attachment-0001.html>


More information about the Rpm-maint mailing list