Re: source file "already there" but "not found" ? Was: Prep Error (Job 3879)fetchlog-1_0-4_fc5 on fedora-development-extras

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 20 Feb 2006 21:41:25 +0100 (CET), Paul Wouters wrote:

> On Tue, 14 Feb 2006, Michael Schwendt wrote:
> 
> > > -rw-rw-rw-  1 root root 339 Feb  6 14:59 fetchlog-build.patch
> > > rpmbuild --define "_sourcedir /tmp/3879-fetchlog-1_0-4_fc5-1139445759/fetchlog/devel" --define "_builddir /tmp/3879-fetchlog-1_0-4_fc5-1139445759/fetchlog/devel" --define "_srcrpmdir /tmp/3879-fetchlog-1_0-4_fc5-1139445759/fetchlog/devel" --define "_rpmdir /tmp/3879-fetchlog-1_0-4_fc5-1139445759/fetchlog/devel" --define "dist .fc5" --define "fedora 5" --nodeps -bs fetchlog.spec
> > > error: File /tmp/3879-fetchlog-1_0-4_fc5-1139445759/fetchlog/devel/fetchlog-1.0.tar.gz: No such file or directory
> > > make: *** [srpm] Error 1
> > >
> > > I am not sure why fetchlog-1.0.tar.gz vanished, since it did not change between releases. And
> > > the system things it is still there:
> > >
> > > [paul@bofh devel]$ make new-sources "FILES=/usr/src/redhat/SOURCES/fetchlog-1.0.tar.gz "
> > >
> > > Checking : fetchlog-1.0.tar.gz on https://cvs.fedora.redhat.com/repo/extras/upload.cgi...
> > > This file (e2ef0a076d1901c489c953fe48e1b2a9  fetchlog-1.0.tar.gz) is already uploaded
> > >
> > > Source upload succeeded. Don't forget to commit the new ./sources file
> > > For more information on using the Fedora CVS repositories, please visit http://fedoraproject.org/wiki/UsingCvs
> > > M sources
> > > M .cvsignore
> >
> > The lookaside cache mechanism also takes into account the file's MD5
> > checksum when retrieving a file. So make sure your local "sources"
> > file is up-to-date and correct. Currently it is marked as 'M'
> > (modified), so possibly contains a wrong checksum. Check out a
> > fresh copy, try again. "make srpm" for fetchlog-1.0-4.fc5 works here.
> 
> I commited the sources file and re-issued the build, but that did not seem
> to be the real issue. Also, the sourcefile contents did not change between
> builds, so I'm not sure how the previous built would have worked if the
> checksum was wrong.
> "make srpm" works fine. But "make plague" still fails with the above error.

You still face an incorrectly tagged revision of fetchlog in CVS, in which
your "sources" file is broken/incomplete and doesn't match the files you
want in the .spec file.

"make build" (don't use make plague any longer) retrieves the version of
fetchlog from CVS, which is tagged as "fetchlog-1_0-4_fc5". It does this
when fetchlog.spec in your working-copy contains that version-release
1.0-4%{?dist} in the devel branch. Try it:

  $ cvs co -r fetchlog-1_0-4_fc5 fetchlog
  $ cat fetchlog/devel/sources 
  99228569b122b994b1ab83148a3bd261  fetchlog-build.patch

In this version, the tarball is missing, so it is not downloaded. In the
untagged fresh checkout, the tarball is present in the "sources" file, but
the patch is missing. You modified the files on Feb 21st, but didn't tag
them correctly.

-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux