Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Dec 2011 08:24:19 GMT
From:      bob frazier <bobf@mrp3.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/163400: devel/apr1 apr-util downloaded source file is incorrect
Message-ID:  <201112170824.pBH8OJGu008632@red.freebsd.org>
Resent-Message-ID: <201112170830.pBH8UAMb031654@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         163400
>Category:       ports
>Synopsis:       devel/apr1 apr-util downloaded source file is incorrect
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 17 08:30:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     bob frazier
>Release:        7.4-STABLE amd64
>Organization:
S.F.T. Inc.
>Environment:
FreeBSD BSDSilver.SFT.local 7.4-STABLE FreeBSD 7.4-STABLE #15: Thu Dec 15 19:14:22 PST 2011     root@BSDSilver.SFT.local:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
when attempting to download devel/apr1 for upgrade via 'make fetch' the ports system attempts to repeatedly download a version of apr-util-1.3.12.tar.gz that is nearly twice as large as the actual file.

when I tested the 'as downloaded' file, it could not even be uncompressed.

When I manually obtain the file from
http://apr.apache.org/download.cgi

the SHA256 and size are correct as specified in 'distinfo' for devel/apr1

output during portupgrade:

--->  Fetching the distfile(s) for 'apr-devrandom-gdbm-db42-1.4.5.1.3.12_1' (devel/apr1)
--->  Fetching '/usr/ports/devel/apr1'
===>  License check disabled, port has not defined LICENSE
===>  Found saved configuration for apr-devrandom-gdbm-db42-1.4.2.1.3.10
=> SHA256 Checksum OK for apr-1.4.5.tar.gz.
=> SHA256 Checksum mismatch for apr-util-1.3.12.tar.gz.
===>  Refetch for 1 more times files: apr-util-1.3.12.tar.gz 
===>  License check disabled, port has not defined LICENSE
===>  Found saved configuration for apr-devrandom-gdbm-db42-1.4.2.1.3.10
=> apr-util-1.3.12.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://www.apache.org/dist/apr/apr-util-1.3.12.tar.gz
fetch: apr-util-1.3.12.tar.gz: local file (1418507 bytes) is longer than remote file (769076 bytes)
=> Attempting to fetch http://archive.apache.org/dist/apr/apr-util-1.3.12.tar.gz
fetch: apr-util-1.3.12.tar.gz: local file (1418507 bytes) is longer than remote file (769076 bytes)
=> Attempting to fetch ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.apache.org/dist/apr/apr-util-1.3.12.tar.gz
fetch: apr-util-1.3.12.tar.gz: local file (1418507 bytes) is longer than remote file (769076 bytes)
=> Attempting to fetch ftp://mir1.ovh.net/ftp.apache.org/dist/apr/apr-util-1.3.12.tar.gz
fetch: apr-util-1.3.12.tar.gz: local file (1418507 bytes) is longer than remote file (769076 bytes)
=> Attempting to fetch ftp://ftp.forthnet.gr/pub/www/apache/apr/apr-util-1.3.12.tar.gz
fetch: apr-util-1.3.12.tar.gz: local file (1418507 bytes) is longer than remote file (769076 bytes)
=> Attempting to fetch ftp://xenia.sote.hu/pub/mirrors/www.apache.org/apr/apr-util-1.3.12.tar.gz
fetch: apr-util-1.3.12.tar.gz: local file (1418507 bytes) is longer than remote file (769076 bytes)
=> Attempting to fetch ftp://ftp.esat.net/mirrors/ftp.apache.org/apr/apr-util-1.3.12.tar.gz
fetch: ftp://ftp.esat.net/mirrors/ftp.apache.org/apr/apr-util-1.3.12.tar.gz: File unavailable (e.g., file not found, no access)
=> Attempting to fetch ftp://ftp.heanet.ie/mirrors/www.apache.org/dist/apr/apr-util-1.3.12.tar.gz
fetch: ftp://ftp.heanet.ie/mirrors/www.apache.org/dist/apr/apr-util-1.3.12.tar.gz: Unknown FTP error
=> Attempting to fetch ftp://ftp.rhnet.is/pub/apache/apr/apr-util-1.3.12.tar.gz
fetch: apr-util-1.3.12.tar.gz: local file (1418507 bytes) is longer than remote file (769076 bytes)
=> Attempting to fetch http://ring.nict.go.jp/archives/net/apache/apr/apr-util-1.3.12.tar.gz
fetch: http://ring.nict.go.jp/archives/net/apache/apr/apr-util-1.3.12.tar.gz: Requested Range Not Satisfiable
=> Attempting to fetch ftp://ftp.task.gda.pl/pub/www/apache/dist/apr/apr-util-1.3.12.tar.gz
fetch: ftp://ftp.task.gda.pl/pub/www/apache/dist/apr/apr-util-1.3.12.tar.gz: Unknown FTP error
=> Attempting to fetch ftp://sunsite.icm.edu.pl/pub/www/apache/dist/apr/apr-util-1.3.12.tar.gz
fetch: apr-util-1.3.12.tar.gz: local file (1418507 bytes) is longer than remote file (769076 bytes)
=> Attempting to fetch ftp://apache.rinet.ru/pub/mirror/apache.org/dist/apr/apr-util-1.3.12.tar.gz
fetch: apr-util-1.3.12.tar.gz: local file (1418507 bytes) is longer than remote file (769076 bytes)
=> Attempting to fetch ftp://ftp.sunet.se/pub/www/servers/apache/dist/apr/apr-util-1.3.12.tar.gz
fetch: ftp://ftp.sunet.se/pub/www/servers/apache/dist/apr/apr-util-1.3.12.tar.gz: Unknown FTP error
=> Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/apr-util-1.3.12.tar.gz
fetch: apr-util-1.3.12.tar.gz: local file (1418507 bytes) is longer than remote file (769076 bytes)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

>How-To-Repeat:
perform 'make distclean' and then 'make extract' for devel/apr1 (excluding dependencies in the 'distclean')


>Fix:
manually fetch apr-util-1.3.12.tar.gz from
  http://apr.apache.org/download.cgi



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112170824.pBH8OJGu008632>