Opened 5 years ago

Closed 3 years ago

#60088 closed defect (fixed)

tuntaposx @20150118: error: too few arguments provided to function-like macro invocation

Reported by: kentj (John K) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: catalina Cc: a3igner, cooljeanius (Eric Gallager)
Port: tuntaposx

Description (last modified by ryandesign (Ryan Carsten Schmidt))

--->  Attempting to fetch tuntaposx-20150118_0.darwin_19.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/tuntaposx
--->  Fetching distfiles for tuntaposx
--->  Verifying checksums for tuntaposx
--->  Extracting tuntaposx
--->  Applying patches to tuntaposx
--->  Configuring tuntaposx
--->  Building tuntaposx
Error: Failed to build tuntaposx: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_tuntaposx/tuntaposx/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port tinc failed

Attachments (1)

main.log (26.3 KB) - added by kentj (John K) 5 years ago.
build main.log

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by kentj (John K)

Attachment: main.log added

build main.log

comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: catalina added; build fails removed
Port: tuntaposx added; TunTapOSX removed
Summary: TunTapOSX build fails on 10.15.3tuntaposx @20150118: error: too few arguments provided to function-like macro invocation

Please remember to use WikiFormatting when writing in Trac.

The log shows the error is:

:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
:info:build                 bool enqueue(mbuf_t mb);
:info:build                                       ^
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:214:9: note: macro 'enqueue' defined here
:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)

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

Cc: a3igner added

Has duplicate #60362.

comment:3 Changed 3 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

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

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In 1318937ee7047c5a62ca426fe5c0f4786b18036f/macports-ports (master):

tuntaposx: fix build on newer OS versions

Closes: #60088

Note: See TracTickets for help on using tickets.