Opened 3 years ago

Closed 3 years ago

#56531 closed defect (fixed)

tk: can't activate tk +quartz if xorg-xproto activated

Reported by: chrstphrchvz (Christopher Chavez) Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: Veence (Vincent), lpagani91
Port: tk

Description

It looks like the tk +quartz variant is being built with a number of X11 header files to be installed to ./opt/local/include, some of which conflict with those used by xorg-proto, meaning I can't activate tk +quartz if xorg-proto is already activated.

(from log file:)

version:1
:msg:main --->  Computing dependencies for tk:info:main .:debug:main tk has no conflicts
:debug:main Searching for dependency: tcl
:debug:main Found Dependency: receipt exists for tcl
:debug:activate activate phase started at Fri May 25 03:07:45 CDT 2018
:debug:activate Executing org.macports.activate (tk)
:msg:activate --->  Activating tk @8.6.8_0+quartz
:debug:activate Using /usr/bin/tar
:debug:activate Using /opt/local/bin/lbzip2
:debug:activate system: /opt/local/bin/lbzip2 -d -c /opt/local/var/macports/software/tk/tk-8.6.8_0+quartz.darwin_17.x86_64.tbz2 | ( /usr/bin/tar -xvpf - )

[…]

:info:activate x ./opt/local/include/X11/
:info:activate x ./opt/local/include/tkDecls.h
:info:activate x ./opt/local/include/X11/Xutil.h
:info:activate x ./opt/local/include/X11/Xatom.h
:info:activate x ./opt/local/include/X11/Xlib.h
:info:activate x ./opt/local/include/X11/cursorfont.h
:info:activate x ./opt/local/include/X11/Xfuncproto.h
:info:activate x ./opt/local/include/X11/keysymdef.h
:info:activate x ./opt/local/include/X11/keysym.h
:info:activate x ./opt/local/include/X11/X.h
:info:activate x ./opt/local/include/X11/xbytes.h

[…]

:error:activate Failed to activate tk: Image error: /opt/local/include/X11/X.h is being used by the active xorg-xproto port.  Please deactivate this port first, or use 'port -f activate tk' to force the activation.

Are these header files necessary for the +quartz variant? N.b. the +x11 variant doesn't try to install these files.

Change History (2)

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

Cc: Veence lpagani91 added
Owner: set to ryandesign
Status: newaccepted
Summary: can't activate tk +quartz if xorg-xproto activatedtk: can't activate tk +quartz if xorg-xproto activated

comment:2 Changed 3 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: acceptedclosed

In a11b15ca0f34af6272ed560aba505e08da45e360/macports-ports (master):

tk: Fix conflict with xorg-xproto

Reverts unintentional change in e3710d6800e803ebaa9528d3bdb38fb2fcade513

Closes: #56531

Note: See TracTickets for help on using tickets.