Oh, yep:

> [pmatilai🎩︎localhost _build]$ make package_source
Run CPack packaging tool for source...
CPack: Create package using TBZ2
CPack: Install projects
CPack: - Install directory: /home/pmatilai/repos/rpm
CPack Error: Problem copying file: 
/home/pmatilai/repos/rpm/_build/tests/testing/usr/ -> 
/home/pmatilai/repos/rpm/_build/_CPack_Packages/Linux-Source/TBZ2/rpm-4.18.90-Source////_build/tests/testing/usr
CPack Error: Error when generating package: rpm
make: *** [Makefile:81: package_source] Error 1

Source tarball creation has no business taking anything from the binary build 
directory unless explicitly told to do so. I certainly have not.
FWIW, https://jtanx.github.io/2019/08/22/cmake-dist-customisation/ confirms 
what it looks like to me: "Note that CPack blindly copies anything in that 
folder, so you should generate dist packages from a clean checkout."

Ugh. I much, much rather trust git than myself :laughing: 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/commit/61bb33e593c0fa56aaca935da2007fe9bb848fd2#commitcomment-87692786
You are receiving this because you are subscribed to this thread.

Message ID: 
<rpm-software-management/rpm/commit/61bb33e593c0fa56aaca935da2007fe9bb848fd2/[email protected]>
_______________________________________________
Rpm-maint mailing list
[email protected]
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to