Opened 5 years ago

Last modified 4 months ago

#60085 new defect

viking @1.7: error: initializing 'time_t' (aka 'long') with an expression of incompatible type 'timespec_t' (aka 'struct timespec')

Reported by: bludvigs Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: nevisnoel, coeotic (Chris Hoffman)
Port: viking

Description (last modified by jmroot (Joshua Root))

From the log (see attached log):

version:1
:debug:sysinfo macOS 10.14 (darwin/18.7.0) arch i386
:debug:sysinfo MacPorts 2.6.2
:debug:sysinfo Xcode 11.3.1
:debug:sysinfo SDK 10.14
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.14
:debug:main epoch: in tree: 0 installed: 0
:debug:main gnutar 1.32_0 exists in the ports tree
:debug:main gnutar 1.32_0  is the latest installed
:debug:main gnutar 1.32_0  is active

.....

:error:build Failed to build viking: command execution failed
:debug:build Error code: CHILDSTATUS 67968 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.ma\
cports.org_macports_release_tarballs_ports_science_viking/viking/main.log for details.

Attachments (4)

viking.log (925.0 KB) - added by bludvigs 5 years ago.
Port's error log for failed build og viking
VikingInstallVerbose20200401160000_Main.log (518.2 KB) - added by benoitdepreux (Benoit Depreux) 5 years ago.
VikingInstallDebug20200401160000.rtf (486.2 KB) - added by benoitdepreux (Benoit Depreux) 5 years ago.
VikingInstallTrace20200401160000.rtf (2.5 KB) - added by benoitdepreux (Benoit Depreux) 5 years ago.

Download all attachments as: .zip

Change History (11)

Changed 5 years ago by bludvigs

Attachment: viking.log added

Port's error log for failed build og viking

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: Viking build failed removed
Milestone: MacPorts 2.7.0
Summary: Viking failed to build on MojaveViking @1.7 failed to build on Mojave
:info:build vikgpslayer.c:1717:12: error: initializing 'time_t' (aka 'long') with an expression of incompatible type 'timespec_t' (aka 'struct timespec')
:info:build     time_t cur_timestamp = vgl->realtime_fix.fix.time;
:info:build            ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~

Changed 5 years ago by benoitdepreux (Benoit Depreux)

Changed 5 years ago by benoitdepreux (Benoit Depreux)

Changed 5 years ago by benoitdepreux (Benoit Depreux)

comment:2 Changed 5 years ago by benoitdepreux (Benoit Depreux)

Exactly the same bug on El Capitan when installing Viking with MacPort 2.6.2

comment:3 Changed 5 years ago by mf2k (Frank Schima)

Port: viking added; Viking removed

comment:4 Changed 18 months ago by martenjacobs (Marten Jacobs)

3 years later, this build is still failing on Mojave. Apparently, updating viking to 1.8 or later should fix the problem: https://bugs.gentoo.org/756379

comment:5 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: nevisnoel added
Summary: Viking @1.7 failed to build on Mojaveviking @1.7: error: initializing 'time_t' (aka 'long') with an expression of incompatible type 'timespec_t' (aka 'struct timespec')

Has duplicate #69615.

comment:6 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: coeotic added

Has duplicate #70415.

comment:7 Changed 4 months ago by pietvo (Pieter van Oostrum)

In 3b4878eee4e16cf77aa1b4d514f16852eb199d9f/macports-ports (master):

viking: update to 1.10

This solves #60085

Note: See TracTickets for help on using tickets.