Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2013 23:29:04 GMT
From:      Jeff Kletsky <freebsd@wagsky.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/183667: x11/swt-devel -- Checksum build failure - Likely wrong source tarball at URL
Message-ID:  <201311042329.rA4NT4H9090684@oldred.freebsd.org>
Resent-Message-ID: <201311042330.rA4NU0Um015609@freefall.freebsd.org>

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

>Number:         183667
>Category:       ports
>Synopsis:       x11/swt-devel -- Checksum build failure - Likely wrong source tarball at URL
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 04 23:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jeff Kletsky
>Release:        amd64: 9-STABLE, 10-STABLE
>Organization:
>Environment:
FreeBSD port19.pn.wagsky.com 9.2-BETA2 FreeBSD 9.2-BETA2 #1 r253755: Fri Aug 23 15:28:03 PDT 2013     root@port19.pn.wagsky.com:/usr/obj/usr/src/sys/VIMAGE-2013-08-04  amd64

FreeBSD freebsd10.vm.allycomm.com 10.0-BETA1 FreeBSD 10.0-BETA1 #0 r257085: Fri Oct 25 07:53:24 PDT 2013     jeff@freebsd10.vm.allycomm.com:/usr/obj/usr/src/sys/LESSDEBUG  amd64

>Description:
Build of x11-toolkits/swt-devel for x86_64 fails when trying to fetch valid source. It appears that the URLs supplied are either not functioning, or not providing the proper source tarball. A tarball matching the distfile's sha256 is available from the Eclipse website.

>From "make extract" in x11-toolkits/swt-devel

===>  License EPL accepted by the user
===>  Found saved configuration for swt-devel-3.7.1_1,1
===>   swt-devel-3.7.1_1,1 depends on file: /usr/local/sbin/pkg - found
=> swt-3.7.1-gtk-linux-x86_64.zip doesn't seem to exist in /var/ports/distfiles/.
=> Attempting to fetch ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/eclipse.org/R-3.7.1-201109091335/swt-3.7.1-gtk-linux-x86_64.zip
fetch: ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/eclipse.org/R-3.7.1-201109091335/swt-3.7.1-gtk-linux-x86_64.zip: File unavailable (e.g., file not found, no access)
=> Attempting to fetch ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/eclipse/R-3.7.1-201109091335/swt-3.7.1-gtk-linux-x86_64.zip
fetch: ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/eclipse/R-3.7.1-201109091335/swt-3.7.1-gtk-linux-x86_64.zip: File unavailable (e.g., file not found, no access)
=> Attempting to fetch http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/R-3.7.1-201109091335/swt-3.7.1-gtk-linux-x86_64.zip
fetch: http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/R-3.7.1-201109091335/swt-3.7.1-gtk-linux-x86_64.zip: Not Found
=> Attempting to fetch ftp://sunsite.cnlab-switch.ch/mirror/eclipse/R-3.7.1-201109091335/swt-3.7.1-gtk-linux-x86_64.zip
fetch: ftp://sunsite.cnlab-switch.ch/mirror/eclipse/R-3.7.1-201109091335/swt-3.7.1-gtk-linux-x86_64.zip: File unavailable (e.g., file not found, no access)
=> Attempting to fetch ftp://sunsite.cnlab-switch.ch/mirror/eclipse/eclipse/downloads/drops/R-3.7.1-201109091335/swt-3.7.1-gtk-linux-x86_64.zip
fetch: ftp://sunsite.cnlab-switch.ch/mirror/eclipse/eclipse/downloads/drops/R-3.7.1-201109091335/swt-3.7.1-gtk-linux-x86_64.zip: File unavailable (e.g., file not found, no access)
=> Attempting to fetch ftp://sunsite.cnlab-switch.ch/mirror/eclipse/eclipse/downloads/drops4/R-3.7.1-201109091335/swt-3.7.1-gtk-linux-x86_64.zip
fetch: ftp://sunsite.cnlab-switch.ch/mirror/eclipse/eclipse/downloads/drops4/R-3.7.1-201109091335/swt-3.7.1-gtk-linux-x86_64.zip: File unavailable (e.g., file not found, no access)
=> Attempting to fetch http://eclipse.org/downloads/download.php?mirror_id=96&r=1&file=/R-3.7.1-201109091335/swt-3.7.1-gtk-linux-x86_64.zip
fetch: http://eclipse.org/downloads/download.php?mirror_id=96&r=1&file=/R-3.7.1-201109091335/swt-3.7.1-gtk-linux-x86_64.zip: size unknown
fetch: http://eclipse.org/downloads/download.php?mirror_id=96&r=1&file=/R-3.7.1-201109091335/swt-3.7.1-gtk-linux-x86_64.zip: size of remote file is not known
swt-3.7.1-gtk-linux-x86_64.zip                        8758  B  103 kBps 00m00s
=> Fetched file size mismatch (expected 5671004, actual 8758)
=> Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/swt-3.7.1-gtk-linux-x86_64.zip
swt-3.7.1-gtk-linux-x86_64.zip                100% of 5538 kB  969 kBps 00m05s
===> Fetching all distfiles required by swt-devel-3.7.1_1,1 for building
===>  License EPL accepted by the user
===>  Found saved configuration for swt-devel-3.7.1_1,1
===>   swt-devel-3.7.1_1,1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by swt-devel-3.7.1_1,1 for building
=> SHA256 Checksum mismatch for swt-3.7.1-gtk-linux-x86_64.zip.
===>  Giving up on fetching files: swt-3.7.1-gtk-linux-x86_64.zip 



[x11-toolkits/swt-devel]$ cat distinfo 
SHA256 (swt-3.7.1-gtk-linux-x86_64.zip) = dd11d29a95391afed42ac3883c45a2bda7e4597c72c4b7b1291316e006139b75
SIZE (swt-3.7.1-gtk-linux-x86_64.zip) = 5671004

This is, in fact, the sha256 of the file that I get when I download directly from the human-readable page, <http://archive.eclipse.org/eclipse/downloads/drops/R-3.7.1-201109091335/>, which gives the direct-download URL as <http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.7.1-201109091335/swt-3.7.1-gtk-linux-x86_64.zip>;
>How-To-Repeat:
cd /usr/ports/x11-toolkits/swt-devel
make extract
>Fix:
As appropriate, change source URLs, contents delivered, or distfile's sha256 signature.

(Updating to a later version of SWT would likely obsolete this problem.)

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



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