ambs / Config-AutoConf

Config::AutoConf Perl Module
Other
2 stars 7 forks source link

Files shipped from the future #3

Closed dagolden closed 10 years ago

dagolden commented 10 years ago

I'm not sure what happened but the files packaged in the tarball unpacked with timestamps in the future.

$ date
Wed Apr  9 08:49:24 UTC 2014
$ ls -l
total 116
-rw-r--r--  1 vagrant  vagrant   4043 Apr  9 16:42 Changes
-rw-r--r--  1 vagrant  vagrant    182 Apr  9 17:37 MANIFEST
-rw-r--r--  1 vagrant  vagrant    329 Apr  9 16:42 MANIFEST.SKIP
-rw-r--r--  1 vagrant  vagrant   1669 Apr  9 17:38 META.json
-rw-r--r--  1 vagrant  vagrant    760 Apr  9 17:38 META.yml
-rw-r--r--  1 vagrant  vagrant   1739 Apr  9 08:49 MYMETA.json
-rw-r--r--  1 vagrant  vagrant    804 Apr  9 08:49 MYMETA.yml
-rw-r--r--  1 vagrant  vagrant  30317 Apr  9 08:49 Makefile
-rw-r--r--  1 vagrant  vagrant   4335 Apr  9 16:42 Makefile.PL
-rw-r--r--  1 vagrant  vagrant    559 Apr  7 17:14 README
drwxr-xr-x  3 vagrant  vagrant    512 Apr  9 08:49 lib
drwxr-xr-x  3 vagrant  vagrant    512 Apr  9 08:49 t

This causes problems when running make:

$ perl Makefile.PL
Generating a Unix-style Makefile
Writing Makefile for Config::AutoConf
Writing MYMETA.yml and MYMETA.json
$ make
Makefile out-of-date with respect to Makefile.PL
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
/home/vagrant/perl5/perlbrew/perls/perl-5.16.1/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Config::AutoConf
Writing MYMETA.yml and MYMETA.json
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
*** Error 1 in /home/vagrant/.cpan/build/Config-AutoConf-0.23-GhUuPp (Makefile:825 'Makefile')
dagolden commented 10 years ago

This won't be a problem after some hours, but it will mean test failures right after shipping. It would be good to find a way to make sure it doesn't happen the next time it's shipped.

rehsack commented 10 years ago

Seems my system clock runs wild yesterday evening. Seems settled now - I watch it before doing another release. Thanks for pointing it out.