Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 2014 11:30:03 +0000
From:      John <freebsd-lists@potato.growveg.org>
To:        gerald@FreeBSD.org
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/186480: astro/wmmoonclock fails to build
Message-ID:  <20140305113003.GA1258@potato.growveg.org>
In-Reply-To: <201403020033.s220XSKG023890@freefall.freebsd.org>
References:  <201403020033.s220XSKG023890@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 02, 2014 at 12:33:28AM +0000, gerald@FreeBSD.org wrote:
> Synopsis: astro/wmmoonclock fails to build
> 
> State-Changed-From-To: open->closed
> State-Changed-By: gerald
> State-Changed-When: Sun Mar 2 00:28:42 UTC 2014
> State-Changed-Why: 
> Thanks you for your report.
> 
> It seems something went wrong with your download of the source for
> this port.  I could not find any such problem reported by FreeBSD's
> regular builders nor reproduce this myself.
> 
> Removing $PORTSDIR/distfiles/wmMoonClock*.tar.gz and starting the
> build again should fix this for you.  If it does not, perhaps there
> is some web proxy/cache in between you and the download server?
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=186480

Hello,

I have tried this from a selection of workstations and even, to make
sure, two servers located in different datacentres. These connections
are not proxied. The problem appearsto be that the primary site
www.dockapps.org redirects to a holding page. When the proper distfile
is fetched from ftp.freebsd.org is downloaded, it fails to compile.

Here is the output from a 10-R machine, about half an hour ago:


t@dev-0:/usr/ports/astro # rm -rf wmmoonclock/
root@dev-0:/usr/ports/astro # rm -rf
/usr/ports/distfiles/wmMoonClock-1.27.tar.gz
root@dev-0:/usr/ports/astro # svnlite co https://svn0.eu.FreeBSD.org/ports/head /usr/ports
Restored 'wmmoonclock'
Restored 'wmmoonclock/Makefile'
Restored 'wmmoonclock/distinfo'
Restored 'wmmoonclock/pkg-descr'
Restored 'wmmoonclock/files'
Restored 'wmmoonclock/files/patch-aa'
Restored 'wmmoonclock/files/patch-wmMoonClock.c'

[...other svn update output...]

Checked out revision 347105.
root@dev-0:/usr/ports/astro # cd wmmoonclock/
root@dev-0:/usr/ports/astro/wmmoonclock # make

root@dev-0:/usr/ports/astro # cd wmmoonclock/
root@dev-0:/usr/ports/astro/wmmoonclock # make
===>   wmMoonClock-1.27_3 depends on file: /usr/local/sbin/pkg - found
=> wmMoonClock-1.27.tar.gz doesn't seem to exist in
/usr/ports/distfiles/.
=> Attempting to fetch
http://www.dockapps.org/files/14/21/wmMoonClock-1.27.tar.gz
fetch: http://www.dockapps.org/files/14/21/wmMoonClock-1.27.tar.gz: size
unknown
fetch: http://www.dockapps.org/files/14/21/wmMoonClock-1.27.tar.gz: size
of remote file is not known
wmMoonClock-1.27.tar.gz                               7462  B   13 MBps
00m00s
=> Fetched file size mismatch (expected 829440, actual 7462)
=> Attempting to fetch
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/wmMoonClock-1.27.tar.gz
wmMoonClock-1.27.tar.gz                       100% of  810 kB 2338 kBps
00m00s
===> Fetching all distfiles required by wmMoonClock-1.27_3 for building
===>  Extracting for wmMoonClock-1.27_3
=> SHA256 Checksum mismatch for wmMoonClock-1.27.tar.gz.
===>  Refetch for 1 more times files: wmMoonClock-1.27.tar.gz
===>   wmMoonClock-1.27_3 depends on file: /usr/local/sbin/pkg - found
=> wmMoonClock-1.27.tar.gz doesn't seem to exist in
/usr/ports/distfiles/.
=> Attempting to fetch
http://www.dockapps.org/files/14/21/wmMoonClock-1.27.tar.gz
fetch: http://www.dockapps.org/files/14/21/wmMoonClock-1.27.tar.gz: size
unknown
fetch: http://www.dockapps.org/files/14/21/wmMoonClock-1.27.tar.gz: size
of remote file is not known
wmMoonClock-1.27.tar.gz                               7462  B   15 MBps
00m00s
=> Fetched file size mismatch (expected 829440, actual 7462)
=> Attempting to fetch
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/wmMoonClock-1.27.tar.gz
wmMoonClock-1.27.tar.gz                       100% of  810 kB 2626 kBps
00m01s
===> Fetching all distfiles required by wmMoonClock-1.27_3 for building
===>   wmMoonClock-1.27_3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by wmMoonClock-1.27_3 for building
=> SHA256 Checksum mismatch for wmMoonClock-1.27.tar.gz.
===>  Giving up on fetching files: wmMoonClock-1.27.tar.gz
Make sure the Makefile and distinfo file
(/usr/ports/astro/wmmoonclock/distinfo)
are up to date.  If you are absolutely sure you want to override this
check, type "make NO_CHECKSUM=yes [other args]".
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/astro/wmmoonclock
*** Error code 1

Stop.
make: stopped in /usr/ports/astro/wmmoonclock

If we try with the suggested "make NO_CHECKSUM=yes" we get the
following:

root@dev-0:/usr/ports/astro/wmmoonclock # make NO_CHECKSUM=yes
===>   wmMoonClock-1.27_3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by wmMoonClock-1.27_3 for building
===>  Extracting for wmMoonClock-1.27_3
tar: Error opening archive: Unrecognized archive format
*** Error code 1

Stop.
make: stopped in /usr/ports/astro/wmmoonclock

Let's look at the downloaded file from ftp.freebsd.org:

root@dev-0:/usr/ports/astro/wmmoonclock # ls -la
/usr/ports/distfiles/wmMoonClock-1.27.tar.gz
-rw-r--r--  1 root  wheel  829440 Jul 28  2002
/usr/ports/distfiles/wmMoonClock-1.27.tar.gz

root@dev-0:/usr/ports/astro/wmmoonclock # file
/usr/ports/distfiles/wmMoonClock-1.27.tar.gz
/usr/ports/distfiles/wmMoonClock-1.27.tar.gz: data

# gzip -t /usr/ports/distfiles/wmMoonClock-1.27.tar.gz
gzip: /usr/ports/distfiles/wmMoonClock-1.27.tar.gz: not in gzip format

as far as I can tell, the problem remains. How were you able to install
it and what was the file size and type that you downloaded?
-- 
John



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