Opened 3 years ago

Closed 3 years ago

#61978 closed defect (duplicate)

samba3 @3.6.25_3: Build error

Reported by: eschnett (Erik Schnetter) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: samba3

Description

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

Attachments (1)

main.log (1.9 MB) - added by eschnett (Erik Schnetter) 3 years ago.
Log file

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by eschnett (Erik Schnetter)

Attachment: main.log added

Log file

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

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.