On Thu, Jan 29, 2015 at 9:30 PM, Dave Johansen <davejohansen(a)gmail.com> wrote:
I'm trying to build llvm after applying a patch and I keep
getting an error
about lldb-3.4.src.tar.gz not being found, but that file has been there for
previous builds and fedpkg says it has already been uploaded. Any ideas on
what's wrong?
The build.log can be found at:
https://kojipkgs.fedoraproject.org//work/tasks/8365/8778365/build.log
It's probably because you have:
%if %{with lldb}
Source3: %{downloadurl_base}/lldb-%{version_base}%{?prerel}.src.tar.gz
%endif
and %{with lldb} evaluates to false during SRPM creation time, so the
tarball is not included in the SRPM and therefore isn't available to
the binary build later on.
Just remove this conditional. You should always include all sources
in the SRPM regardless of what's actually enabled in the build, so
other people who just have the SRPM can turn on options if they want
without having to download extra sources.
-T.C.