Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#58447 closed defect (fixed)

tk @8.6.9_2 +quartz -x11 fails to build due to duplicate headers in /opt/local/include/X11{,tk}

Reported by: michaellass (Michael Lass) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: iEFdev, dbl001 (dbl)
Port: tk

Description

tk @8.6.9_2 +quartz -x11 fails to build on my system. First error message is:

:info:build In file included from /opt/local/include/tkMacOSXPort.h:50:
:info:build /opt/local/include/X11_tk/Xlib.h:128:16: error: redefinition of '_XExtData'
:info:build typedef struct _XExtData {
:info:build                ^
:info:build /opt/local/include/X11/Xlib.h:148:16: note: previous definition is here
:info:build typedef struct _XExtData {
:info:build                ^

Many similar messages follow.

/opt/local/include/X11_tk/Xlib.h is provided by tk, /opt/local/include/X11/Xlib.h is provided by xorg-libX11.

Attachments (1)

main.log (235.3 KB) - added by michaellass (Michael Lass) 5 years ago.
Full build log

Download all attachments as: .zip

Change History (6)

Changed 5 years ago by michaellass (Michael Lass)

Attachment: main.log added

Full build log

comment:1 Changed 5 years ago by iEFdev

Cc: iEFdev added

comment:2 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez removed
Owner: set to MarcusCalhoun-Lopez
Status: newaccepted

comment:3 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

This problem was inadvertently created by a recent change.
Removing configure.cppflags -I${workpath}/tcl${version}/generic was correct in the senes that ${workpath}/tcl${version}/generic no longer exists.
However, the default configure.cppflags is now causing this problem.

comment:4 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: acceptedclosed

In c1a8ce29ed06466962a3c49ab087808239458869/macports-ports (master):

tk: fix build with +quartz variant

No revbump since port either builds correctly or not at all.
Fixes #58447

comment:5 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: dbl001 added

Has duplicate (#58448).

Note: See TracTickets for help on using tickets.