FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 04-04-2008, 12:19 PM
Michael Schwendt
 
Default BuildError: Error building SRPM curl: (22) The requested URL returned error: 404

On Fri, 4 Apr 2008 13:05:11 +0100, Richard W.M. Jones wrote:

> Upstream renamed their tarball and I uploaded a new spec file and
> sources with the renamed (but otherwise identical) source:
>
> -d2d52bf536c1a8f4397b4c64794d9322 cduce-0.5.2-1.tar.gz
> +d2d52bf536c1a8f4397b4c64794d9322 cduce-0.5.2.1.tar.gz
> 15a8c603b34d466329881285438349ef ocaml-3.10.1.tar.bz2
>
> (I used ../common/cvs-import.sh to do the import).
>
> During 'make build' it can't find the new tarball:
>
> $ cvs -d server:anonymous@cvs.fedoraproject.org:/cvs/pkgs checkout -r cduce-0_5_2_1-5_fc9 rpms/cduce/devel
> cvs checkout: Updating rpms/cduce/devel
> U rpms/cduce/devel/.cvsignore
> U rpms/cduce/devel/Makefile
> U rpms/cduce/devel/cduce.spec
> U rpms/cduce/devel/sources
> $ cvs -d server:anonymous@cvs.fedoraproject.org:/cvs/pkgs checkout common
> cvs checkout: Updating common
> U common/Makefile
> U common/Makefile.common
> U common/branches
> U common/cvs-import.sh
> $ make srpm
> Downloading cduce-0.5.2.1.tar.gz...
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
>
> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
> curl: (22) The requested URL returned error: 404
> make: *** [cduce-0.5.2.1.tar.gz] Error 22
>
> http://koji.fedoraproject.org/koji/getfile?taskID=548163&name=srpm.log
> http://koji.fedoraproject.org/koji/taskinfo?taskID=548162
>
> Is this something to do with the MD5 sum being the same?

Seems so. Skimming over cvs-import.sh it greps the "sources" file
for the md5 checksum when deciding whether a file is new or not.
Try to manually upload the tarball, e.g.
"make upload FILES=cduce-0.5.2.1.tar.gz", and don't commit the
changed "sources" file.

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-04-2008, 12:53 PM
Michael Schwendt
 
Default BuildError: Error building SRPM curl: (22) The requested URL returned error: 404

On Fri, 4 Apr 2008 13:33:00 +0100, Richard W.M. Jones wrote:

> On Fri, Apr 04, 2008 at 02:19:40PM +0200, Michael Schwendt wrote:
> > On Fri, 4 Apr 2008 13:05:11 +0100, Richard W.M. Jones wrote:
> > > Is this something to do with the MD5 sum being the same?
> >
> > Seems so. Skimming over cvs-import.sh it greps the "sources" file
> > for the md5 checksum when deciding whether a file is new or not.
> > Try to manually upload the tarball, e.g.
> > "make upload FILES=cduce-0.5.2.1.tar.gz", and don't commit the
> > changed "sources" file.
>
> I think I'm a bit stuck here. That 'make upload FILES=...' doesn't
> work, giving this very peculiar error:
>
> Downloading cduce-0.5.2.1.tar.gz...
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
> curl: (22) The requested URL returned error: 404
> make: *** [cduce-0.5.2.1.tar.gz] Error 22
>
> (Unfortunately I committed the new sources file earlier because
> cvs-import.sh does that).
>
> Makefile.common contains a very complex 'make upload' rule, and as far
> as I can see it seems to depend on the contents of a CGI script
> (upload.cgi) on the servers.
>
> If anyone can take a look, it's the fedora/pkgs/cduce/devel directory.

Is your certificate expired?

$ mv cduce-0.5.2-1.tar.gz cduce-0.5.2.1.tar.gz
$ make upload FILES=cduce-0.5.2.1.tar.gz

Checking : cduce-0.5.2.1.tar.gz on https://cvs.fedoraproject.org/repo/pkgs/upload.cgi...
winscard_clnt.c:3349:SCardCheckDaemonAvailability( ) PCSC Not Running
Uploading: cduce-0.5.2.1.tar.gz to https://cvs.fedoraproject.org/repo/pkgs/upload.cgi...
winscard_clnt.c:3349:SCardCheckDaemonAvailability( ) PCSC Not Running
File cduce-0.5.2.1.tar.gz size 595196 MD5 d2d52bf536c1a8f4397b4c64794d9322 stored OK

Source upload succeeded. Don't forget to commit the new ./sources file
M sources
$

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

Thread Tools




All times are GMT. The time now is 06:11 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org