Opened 13 years ago
Last modified 13 years ago
#29523 closed defect
Strange definition of "future" — at Initial Version
Reported by: | mattalbright@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 2.0.0 |
Component: | base | Version: | 1.9.2 |
Keywords: | Cc: | ||
Port: |
Description
Future: "You keep using that word. I do not think it means what you think it means."
From http://svn.macports.org/repository/macports/trunk/base/src/port1.0/portutil.tcl :
if {[file mtime ${portpath}/Portfile] >= [clock seconds]} {
return -code error "Portfile is from the future - check date and time of your system"
}
I'm pretty sure "future" means mtime > now, not >=. I'm syncing a Portfile from an RCS and building it in a script, and apparently my computer is too fast, cause it's getting this error about the future.
Yes, a sleep 1
works, but c'mon! :-)
Note: See
TracTickets for help on using
tickets.