[Rpm-maint] [rpm-software-management/rpm] Is "not create a %_sourcedir / %_specdir" really necessary? (#1408)
falu0
notifications at github.com
Thu Oct 22 09:03:30 UTC 2020
Refers to :
https://github.com/rpm-software-management/rpm/commit/a55cb376fa9d9f785081fa13802edc3743a879ca , https://github.com/rpm-software-management/rpm/commit/ca26c221e5d92b4908c5a07d2bba36f80379b43b (the latter not really, but they come together)
This triggers a change of behavior in rpmbuild which will break many long-existing workflow as soon as rpmbuild v4.16.0-release is adopted. Such change is already out in the fedora-33 rpm provided package (from which we have been bitten).
I understand the ratio behind it, but, if not reverted, I'd advise to communicate it better to the users, both in
the changelog https://rpm.org/wiki/Releases/4.16.0 and/or through some significant error message.
Currently (in both 4.16.0-release and master branch), if no `%_sourcedir` path is pre-existing, you only see a `__CURL` error which doesn't really add any information from the rpm(build) POV.
```
# rpmbuild -v -ba --undefine=_disable_source_fetch my.spec
warning: Downloading <https://some.tar.gz> to {%_topdir}/SOURCES/<some.tar.gz>
curl: (23) Failure writing output to destination
error: Couldn't download <https://some.tar.gz>
```
Reverting https://github.com/rpm-software-management/rpm/commit/a55cb376fa9d9f785081fa13802edc3743a879ca in 4.16.0-release (or the equivalent https://github.com/rpm-software-management/rpm/commit/acf5e00281d73a2f8034091241c7b0e2ba00e383 in master), looks to be sufficient (I just recompiled-installed-run the above command tho), but you may want to consider a better solution.
--
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/1408
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201022/5a2edd43/attachment.html>
More information about the Rpm-maint
mailing list