Opened 12 years ago

Closed 12 years ago

#34880 closed defect (fixed)

Error: org.macports.archivefetch for port clamav-server returned: Failed to fetch signature for archive: The requested URL returned error: 404

Reported by: dritz+macports@… Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: server/hosting Version: 2.1.1
Keywords: Cc: pixilla (Bradley Giesbrecht), jmroot (Joshua Root)
Port: clamav-server

Description

version:1
:msg:main --->  Computing dependencies for clamav-server:info:main .:debug:main clamav-server has no conflicts
:debug:main Searching for dependency: clamav
:debug:main Found Dependency: receipt exists for clamav
:msg:main 
:debug:main Executing org.macports.main (clamav-server)
:debug:archivefetch archivefetch phase started at Fri Jun 15 17:04:29 CDT 2012
:msg:archivefetch --->  Fetching archive for clamav-server
:debug:archivefetch Executing org.macports.archivefetch (clamav-server)
:info:archivefetch --->  clamav-server-0.97.4_0.darwin_11.noarch.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch clamav-server-0.97.4_0.darwin_11.noarch.tbz2 from http://packages.macports.org/clamav-server
:msg:archivefetch --->  Attempting to fetch clamav-server-0.97.4_0.darwin_11.noarch.tbz2.rmd160 from http://packages.macports.org/clamav-server
:debug:archivefetch The requested URL returned error: 404
    while executing
"curl fetch --effective-url effectiveURL --disable-epsv ${file_url}.rmd160 $signature"
    ("eval" body line 1)
    invoked from within
"eval curl fetch --effective-url effectiveURL $fetch_options {${file_url}.rmd160} {$signature}"
:error:archivefetch org.macports.archivefetch for port clamav-server returned: Failed to fetch signature for archive: The requested URL returned error: 404
:debug:archivefetch Error code: NONE
:debug:archivefetch Backtrace: Failed to fetch signature for archive: The requested URL returned error: 404
    while executing
"portarchivefetch::fetchfiles"
    (procedure "portarchivefetch::archivefetch_main" line 5)
    invoked from within
"$procedure $targetname"
:info:archivefetch Warning: targets not executed for clamav-server: org.macports.install org.macports.archivefetch org.macports.fetch org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot
:notice:archivefetch Please see the log file for port clamav-server for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_clamav-server/clamav-server/main.log

Change History (6)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: pixilla@… jmr@… added
Component: portsbase
Port: clamav-server added; clamav-server-0.97.4_0 removed

Interesting... the packages server has the package but not the rmd160 checksum of it. That should not have happened; our package upload script should be fixed to ensure that doesn't happen. And MacPorts base appears not to have error checking for that situation. Although this should never happen, perhaps MacPorts base should get some additional error checking.

comment:2 in reply to:  1 Changed 12 years ago by dritz+macports@…

Replying to ryandesign@…:

Interesting... the packages server has the package but not the rmd160 checksum of it. That should not have happened; our package upload script should be fixed to ensure that doesn't happen. And MacPorts base appears not to have error checking for that situation. Although this should never happen, perhaps MacPorts base should get some additional error checking.

It sure would be sweet, where the rmd160 checksum place in the directory.

$ sudo port upgrade amavisd-new ; date -u
--->  Computing dependencies for clamav-server
--->  Fetching archive for clamav-server
--->  Attempting to fetch clamav-server-0.97.4_0.darwin_11.noarch.tbz2 from http://packages.macports.org/clamav-server
--->  Attempting to fetch clamav-server-0.97.4_0.darwin_11.noarch.tbz2.rmd160 from http://packages.macports.org/clamav-server
Error: org.macports.archivefetch for port clamav-server returned: Failed to fetch signature for archive: The requested URL returned error: 404
Please see the log file for port clamav-server for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_clamav-server/clamav-server/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Tue Jun 19 19:45:00 UTC 2012

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Component: baseserver/hosting
Owner: changed from macports-tickets@… to wsiegrist@…

Well there's your problem: http://build.macports.org/builders/buildports-lion-x86_64/builds/1704/steps/deploy%20archives/logs/stdio

Bill, could you please delete the .rmd160-less archive from the server? And do you have any idea what broke on the buildmaster?

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Looks like it was a race, which should be fixed by r94461. Please update deploy_archives.sh on the buildmaster.

comment:5 Changed 12 years ago by wsiegrist@…

Owner: changed from wsiegrist@… to jmr@…

I removed clamav-server-0.97.4_0.darwin_11.noarch.tbz2 and updated the buildmaster.

comment:6 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.