Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Last active June 25, 2016 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dogbert17/7b3fc5bfe95fb3926fc82cabc3f8bbd9 to your computer and use it in GitHub Desktop.
Save dogbert17/7b3fc5bfe95fb3926fc82cabc3f8bbd9 to your computer and use it in GitHub Desktop.
Trying to debug precomp problem with htmlify.p6
# I have made changes to Map.pod which are not shown on doc.perl6.org nor locally after having run htmlify.doc
# here's the timestamp for my copy of doc/Type/Map.pod
Cdogbert@dogbert-VirtualBox ~/repos/doc $ ls -l doc/Type/Map.pod
-rw-r--r-- 1 dogbert dogbert 4599 Jun 25 13:54 doc/Type/Map.pod
# running htmlify.p6 with the env var RAKUDO_MODULE_DEBUG=1 yields interesting results
46/240: doc/Type/Map.pod => type/Map
extract-pod: doc/Type/Map.pod which was modified 2016-06-25T11:54:25.455538Z # this printout added by dogbert17
186 13241 RMD: Trying to load 69583AD8E53D9CF465B73370C0D07EC97B3BC303 from /home/dogbert/repos/doc/precompiled
8 13241 RMD: Outdated precompiled /home/dogbert/repos/doc/precompiled/CDEE83467C766AD77716F9A8271C70D974FCC3FC.1466841879.09569/69/69583AD8E53D9CF465B73370C0D07EC97B3BC303
mtime: Instant:1466849438.727390
since: Instant:1466855701.455538
Precompiling doc/Type/Map.pod with id 69583AD8E53D9CF465B73370C0D07EC97B3BC303
13 13241 RMD: doc/Type/Map.pod
already precompiled into
/home/dogbert/repos/doc/precompiled/CDEE83467C766AD77716F9A8271C70D974FCC3FC.1466841879.09569/69/69583AD8E53D9CF465B73370C0D07EC97B3BC303
3 13241 RMD: Trying to load 69583AD8E53D9CF465B73370C0D07EC97B3BC303 from /home/dogbert/repos/doc/precompiled
10 13241 RMD: Trying to load 69583AD8E53D9CF465B73370C0D07EC97B3BC303.repo-id from /home/dogbert/repos/doc/precompiled
8 13241 RMD: Loading precompiled
/home/dogbert/repos/doc/precompiled/CDEE83467C766AD77716F9A8271C70D974FCC3FC.1466841879.09569/69/69583AD8E53D9CF465B73370C0D07EC97B3BC303
# this piece of code in src/core/CompUnit/PrecompilationRepository.pm seems to imply that one should possible $force to True
if not $force and $io.e and $io.s {
$RMD("$source-name\nalready precompiled into\n$io") if $RMD;
self.store.unlock;
return True;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment