Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Hm, so your build is failing with the

HiRes.xs:945:15: error: use of undeclared identifier 'darwin_time_mute +x' MUTEX_INIT(&darwin_time_mutex);
failure?

There's no way that I know of to upgrade a module before building Perl. That doesn't make sense to me. What I did most recently (bear in mind I am on Sierra):

$ perlbrew install perl-5.26.2 ... $ perlbrew use 5.26.2 $ perl -MTime::HiRes -E 'say $Time::HiRes::VERSION' 1.9741 $ cpanm https://cpan.metacpan.org/authors/id/J/JH/JHI/Time-HiRes-1.975 +8.tar.gz ... Looking for stat() subsecond timestamps... Trying struct stat st_atimespec.tv_nsec...found. Trying struct stat st_atimensec...NOT found. Trying struct stat st_atime_n...NOT found. Trying struct stat st_atim.tv_nsec...NOT found. Trying struct stat st_uatime...NOT found. You seem to have subsecond timestamp reading. (Your struct stat has them, but the filesystems must help.) ... # Failed test at t/stat.t line 35. # Structures begin differing at: # $got->[8] = '1525293104' # $expected->[8] = '1525293103' # Failed test at t/stat.t line 35. # Structures begin differing at: # $got->[8] = '1525293105' # $expected->[8] = '1525293104' # Looks like you failed 2 tests of 43. t/stat.t .......... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/43 subtests (less 1 skipped subtest: 40 okay) ... Test Summary Report ------------------- t/stat.t (Wstat: 512 Tests: 43 Failed: 2) Failed tests: 13, 34 Non-zero exit status: 2 Files=12, Tests=107, 27 wallclock secs ( 0.06 usr 0.03 sys + 14.64 cu +sr 0.18 csys = 14.91 CPU) Result: FAIL Failed 1/12 test programs. 2/107 subtests failed. make: *** [test_dynamic] Error 255


The way forward always starts with a minimal test.

In reply to Re^5: Polite way to ask status of bug regarding Time::HiRes and newer versions of Perl by 1nickt
in thread Polite way to ask status of bug regarding Time::HiRes and newer versions of Perl by jimhallsun

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others having an uproarious good time at the Monastery: (4)
    As of 2020-06-07 10:30 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      Do you really want to know if there is extraterrestrial life?



      Results (42 votes). Check out past polls.

      Notices?