Opened 8 months ago
Closed 8 months ago
#69615 closed defect (duplicate)
viking @1.7: error: initializing 'time_t' (aka 'long') with an expression of incompatible type 'timespec_t' (aka 'struct timespec')
Reported by: | nevisnoel | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.1 |
Keywords: | ventura | Cc: | |
Port: | viking |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I attempted to install viking on my Mac Mini M2 Pro running Ventura using Macports (2.9.1-13), but it failed with this message:
Error: Failed to build viking: command execution failed.
The full error details are shown in the attached text file.
Attachments (2)
Change History (4)
Changed 8 months ago by nevisnoel
Attachment: | Viking fail.txt added |
---|
comment:1 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | ventura added; viking install removed |
Port: | viking added |
As it says in the file you attached:
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_viking/viking/main.log for details.
That's the file we need to see to be able to diagnose it.
comment:2 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Summary: | viking fails to build on Ventura (Mac Mini M2) → viking @1.7: error: initializing 'time_t' (aka 'long') with an expression of incompatible type 'timespec_t' (aka 'struct timespec') |
Ok, that log says the problem is:
vikgpslayer.c:1717:12: error: initializing 'time_t' (aka 'long') with an expression of incompatible type 'timespec_t' (aka 'struct timespec') time_t cur_timestamp = vgl->realtime_fix.fix.time; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ vikgpslayer.c:1718:12: error: initializing 'time_t' (aka 'long') with an expression of incompatible type 'timespec_t' (aka 'struct timespec') time_t last_timestamp = vgl->last_fix.fix.time; ^ ~~~~~~~~~~~~~~~~~~~~~~ vikgpslayer.c:1748:23: error: assigning to 'time_t' (aka 'long') from incompatible type 'timespec_t' (aka 'struct timespec') tp->timestamp = vgl->realtime_fix.fix.time; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
Which was already filed as #60085.
Note: See
TracTickets for help on using
tickets.
Error log from failed viking install