Having trouble with fetch phase in new port

David Bruce davidstuartbruce at gmail.com
Mon May 2 20:06:01 PDT 2011


Hi,

I'm the upstream maintainer for tuxmath and tuxtype, and I've
previously submitted portfiles for these apps.

The two programs have informally shared a lot of code, so we decided
to factor that out into a common library, t4k_common, which is used by
the latest version of tuxmath.

I am trying to prepare a portfile for t4k_common, but for the life of
me I can't get the fetch phase to work - I always get an error:

Portfile changed since last build; discarding previous state.
--->  Computing dependencies for t4k_common
--->  Fetching t4k_common
--->  Verifying checksum(s) for t4k_common
Error: Checksum (md5) mismatch for t4k_common-0.1.1.tar.gz
Error: Checksum (sha1) mismatch for t4k_common-0.1.1.tar.gz
Error: Checksum (rmd160) mismatch for t4k_common-0.1.1.tar.gz
***
The non-matching file appears to be HTML. See this page for possible reasons
for the checksum mismatch:
<http://trac.macports.org/wiki/MisbehavingServers>
***

The portfile is below.  I've modeled it closely after the portfile for
tuxmath (which still works), particularly the master_sites variable,
and I can't see what I am doing wrong.  It's really baffling, as I had
no trouble doing this for tuxmath and tuxtype in the past.

Thanks for any help,

David Bruce



(attempted Portfile for t4k_common) ----------------------------------------

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; \
c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id$

PortSystem          1.0

name                t4k_common
version             0.1.1
revision            0
categories          games education
platforms           darwin
maintainers         gmail.com:davidstuartbruce

description         Shared code for Tux4Kids apps "TuxMath" and "Tux Typing"
long_description    Common library for routines used in TuxMath and Tux Typing.

distname            ${name}-${version}

homepage            http://tux4kids.debian.alioth.org
master_sites        http://alioth.debian.org/frs/download.php/3540/

checksums           md5 e3d5da74971f427e8deb1e904dfcf8ab \
                            sha1 626eddedee86059ccab593a226c8d98571018b46 \
                            rmd160 6c0332ea44e4a44021c645e5b4329c2efd377fed

depends_lib   port:libsdl \
                    port:libsdl_image \
                    port:libsdl_mixer \
                    port:libsdl_net \
                    port:libsdl_ttf \
                    port:libsdl_pango \
                    port:libxml2 \
                    port:librsvg \
                    port:libpng \
                    port:gettext


More information about the macports-dev mailing list