BuildError: Error building SRPM curl: (22) The requested URL returned error: 404

Michael Schwendt mschwendt at gmail.com
Fri Apr 4 12:19:40 UTC 2008


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 :pserver:anonymous at 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 :pserver:anonymous at 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.




More information about the fedora-devel-list mailing list