Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2007 06:46:29 GMT
From:      Dierk Sacher<usenet01@blaxxtarz.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/110317: port mail/exim: distfile download for FAQ.txt.bz2 broken (only html returned)
Message-ID:  <200703150646.l2F6kTGw059708@www.freebsd.org>
Resent-Message-ID: <200703150650.l2F6o6ae088846@freefall.freebsd.org>

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

>Number:         110317
>Category:       misc
>Synopsis:       port mail/exim: distfile download for FAQ.txt.bz2 broken (only html returned)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 15 06:50:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dierk Sacher
>Release:        6.2-RELEASE
>Organization:
DSITC
>Environment:
FreeBSD blaxxtarz.evangelion.free 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #0: Sat Mar 10 19:30:14 CET 2007     root@blaxxtarz.evangelion.free:/usr/obj/usr/src/sys/BLAXXTARZ61  i386
>Description:
Building the port mail/exim fails with

-----------------------

blaxxtarz# make fetch
=> exim-4.66.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/exim.
=> Attempting to fetch from ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/.
exim-4.66.tar.bz2                             100% of 1547 kB  347 kBps
=> FAQ.txt.bz2 doesn't seem to exist in /usr/ports/distfiles/exim.
=> Attempting to fetch from ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/.
fetch: ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/FAQ.txt.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.exim.org/pub/exim/exim4/.
fetch: ftp://ftp.exim.org/pub/exim/exim4/FAQ.txt.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from http://public.planetmirror.com/pub/exim/exim/exim4/.
fetch: http://public.planetmirror.com/pub/exim/exim/exim4/FAQ.txt.bz2: size of remote file is not known
FAQ.txt.bz2                                             25 kB   21 kBps
blaxxtarz# make
===>  Extracting for exim-4.66
=> MD5 Checksum OK for exim/exim-4.66.tar.bz2.
=> SHA256 Checksum OK for exim/exim-4.66.tar.bz2.
===>   exim-4.66 depends on file: /usr/local/bin/perl5.8.8 - found
bzcat: /usr/ports/distfiles/exim/FAQ.txt.bz2 is not a bzip2 file.
*** Error code 2
------------------------

The reason is, that 
  a) distfile for FAQ.txt.bz2 is gone and 
  b) planetmirror.com is returning crap instead of a correct http error condition so the html output got saved as FAQ.txt.bz2.
>How-To-Repeat:
rm -rf /usr/ports/distfiles/exim
cd /usr/ports/mail/exim
make
>Fix:
1) remove FAQ.txt.bz2 from port (or update location if you find out what happend to it, I've not been able to, it seems its just gone)
2) remove planetmirror.com from mastersites, because its violating http with pseudo error responses and will lead to bogus files every time the other mirrors will fail for some reason.
>Release-Note:
>Audit-Trail:
>Unformatted:



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