[MacPorts] #61687: samba3 @3.6.25_3: build failure (gettimeofday)

MacPorts noreply at macports.org
Fri Nov 27 21:18:36 UTC 2020


#61687: samba3 @3.6.25_3: build failure (gettimeofday)
----------------------+--------------------
 Reporter:  eschnett  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.6.4
 Keywords:            |       Port:  samba3
----------------------+--------------------
 Building "samba3" on Big Sur fails for me. The relevant lines of the log
 file are:

 {{{
 :info:build ../lib/util/time.c:56:19: error: too few arguments to function
 call, expected 2, have 1
 :info:build         gettimeofday(tval);
 :info:build         ~~~~~~~~~~~~     ^
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include/sys/time.h:197:1:
 note: 'gettimeofday' declared here
 :info:build int     gettimeofday(struct timeval * __restrict, void *
 __restrict);
 :info:build ^
 }}}

 This is likely caused by a problem in the configure state earlier:

 {{{
 :info:configure checking if gettimeofday takes TZ argument... no
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61687>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list