problem with livecheck

Marko Käning MK-MacPorts at techno.ms
Sat Nov 13 03:23:24 PST 2010


Hi,

I am experiencing a problem with port aqbanking5's livecheck if I call "port -d livecheck aqbanking5":
---
DEBUG: livecheck phase started at Sat Nov 13 12:19:04 CET 2010
DEBUG: Executing org.macports.livecheck (aqbanking5)
DEBUG: Portfile modification date is Fri Nov 12 00:30:52 CET 2010
DEBUG: Port (livecheck) version is 5.0.1
DEBUG: Loading the defaults from '/opt/macports-test/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/livecheck/fallback.tcl'
DEBUG: Fetching http://freshmeat.net/projects/aqbanking5/releases.atom
Error: cannot check if aqbanking5 was updated (The requested URL returned error: 406)
---

aqbanking5's port file works fine if I use "port -d livecheck" locally:
---
DEBUG: livecheck phase started at Sat Nov 13 12:20:58 CET 2010
DEBUG: Executing org.macports.livecheck (aqbanking5)
DEBUG: Portfile modification date is Sat Nov 13 12:20:50 CET 2010
DEBUG: Port (livecheck) version is 5.0.1
DEBUG: Fetching http://www2.aquamaniac.de/sites/download/packages.php?package=03&showall=1
DEBUG: The regex is "aqbanking-([0-9.]*)\.tar"
DEBUG: The regex matched "aqbanking-5.0.1.tar", extracted "5.0.1"
DEBUG: The regex matched "aqbanking-5.0.0.tar", extracted "5.0.0"
DEBUG: The regex matched "aqbanking-4.2.4.tar", extracted "4.2.4"
DEBUG: The regex matched "aqbanking-4.2.3.tar", extracted "4.2.3"
aqbanking5 seems to be up to date
---

Here is the Portfile's livecheck section:
---
livecheck.type    regex
livecheck.url     http://www2.aquamaniac.de/sites/download/packages.php?package=03&showall=1
livecheck.regex   aqbanking-(\[0-9.\]*)\\.tar
---

I am flabberghasted, since I can understand why it locally works, but wouldn't if you use the version committed to MacPorts.
(Yes, I did selfupdate too.)


More information about the macports-dev mailing list