[MacPorts] #61978: samba3 @3.6.25_3: Build error

MacPorts noreply at macports.org
Sun Jan 3 00:17:34 UTC 2021


#61978: samba3 @3.6.25_3: Build error
----------------------+--------------------
 Reporter:  eschnett  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.6.4
 Keywords:            |       Port:  samba3
----------------------+--------------------
 I want to install `port install ffmpeg +gpl2 +gpl3 +nonfree`, which wants
 to install `samba3` in turn. This fails with a compile error:
 {{{
 :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 ^
 }}}

 The complete build output is here
 [https://gist.github.com/eschnett/f524ec2d18f2a0fafc2db1b097a49587].

 I am using
 {{{
 $ uname -a
 Darwin redshift.local 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec  2
 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 x86_64 i386
 MacBookPro15,1 Darwin
 }}}

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


More information about the macports-tickets mailing list