[MacPorts] #41408: xorg-cf-files/imake/xcb: Concat3() macro failure w/ clang on 10.9
#41408: xorg-cf-files/imake/xcb: Concat3() macro failure w/ clang on 10.9 -----------------------------------------------+--------------------------- Reporter: ionic@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Keywords: xcb xorg-cf-files imake Mavericks | Version: 2.2.1 | Port: xorg-cf-files -----------------------------------------------+--------------------------- Now that Mavericks dropped llvm-gcc support, we're left with clang not supporting "traditional CPP", thus making the Concat3 macro fail. This bug came by when compiling xcb, but is actually triggered by xorg-cf- files, thus setting port to that value. Also see #31504 -- Ticket URL: <https://trac.macports.org/ticket/41408> MacPorts <http://www.macports.org/> Ports system for OS X
#41408: xorg-cf-files/imake/xcb: Concat3() macro failure w/ clang with Xcode 5 ----------------------------+-------------------------------- Reporter: ionic@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: xorg-cf-files | ----------------------------+-------------------------------- Changes (by larryv@…): * keywords: xcb xorg-cf-files imake Mavericks => Comment: This is technically because of Xcode 5, not Mavericks //per se//. I suspect you’d also see it on a Mountain Lion system with a fresh Xcode 5 installation. -- Ticket URL: <https://trac.macports.org/ticket/41408#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41408: xorg-cf-files/imake/xcb: Concat3() macro failure w/ clang with Xcode 5 ----------------------------+-------------------------------- Reporter: ionic@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: xorg-cf-files | ----------------------------+-------------------------------- Comment (by ionic@…): True. I've been probably rebuilding xcb for the first time with Xcode 5. -- Ticket URL: <https://trac.macports.org/ticket/41408#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41408: xorg-cf-files/imake/xcb: Concat3() macro failure w/ clang with Xcode 5 ----------------------------+-------------------------------- Reporter: ionic@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: xorg-cf-files | ----------------------------+-------------------------------- Comment (by qbarnes@…): Can someone apply the patch for me? -- Ticket URL: <https://trac.macports.org/ticket/41408#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#41408: xorg-cf-files/imake/xcb: Concat3() macro failure w/ clang with Xcode 5 ----------------------------+-------------------------------- Reporter: ionic@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: xorg-cf-files | ----------------------------+-------------------------------- Comment (by ryandesign@…): I don't think the solution we want is to blacklist clang. -- Ticket URL: <https://trac.macports.org/ticket/41408#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#41408: xorg-cf-files/imake/xcb: Concat3() macro failure w/ clang with Xcode 5 ----------------------------------+-------------------------------- Reporter: ionic@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: xorg-cf-files imake | ----------------------------------+-------------------------------- Changes (by jmr@…): * cc: jeremyhu@… (added) * port: xorg-cf-files => xorg-cf-files imake Comment: I think this should do it. -- Ticket URL: <https://trac.macports.org/ticket/41408#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#41408: xorg-cf-files/imake/xcb: Concat3() macro failure w/ clang with Xcode 5 ----------------------------------+------------------- Reporter: ionic@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: xorg-cf-files imake | ----------------------------------+------------------- Changes (by jeremyhu@…): * owner: macports-tickets@… => jmr@… Comment: Looks fine to me. Go ahead and push. -- Ticket URL: <https://trac.macports.org/ticket/41408#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#41408: xorg-cf-files/imake/xcb: Concat3() macro failure w/ clang with Xcode 5 ----------------------------------+------------------- Reporter: ionic@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: xorg-cf-files imake | ----------------------------------+------------------- Comment (by jmr@…): Unfortunately this also requires a change to base: r125859 -- Ticket URL: <https://trac.macports.org/ticket/41408#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#41408: xorg-cf-files/imake/xcb: Concat3() macro failure w/ clang with Xcode 5 ----------------------------------+------------------- Reporter: ionic@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: xorg-cf-files imake | ----------------------------------+------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Not if we move imake/xmkmf support to a portgroup as I'm proposing on the mailing list: https://lists.macosforge.org/pipermail/macports- dev/2014-September/028142.html . I suggest that the llvm-gcc42 or gcc49 dependency belongs in such a portgroup instead of in the imake port, since the installed version of Xcode, and thus the necessity for a gcc dependency, might change after imake is installed, and/or the user might get a binary of imake from our packages server built using a different version of Xcode than the user has. -- Ticket URL: <https://trac.macports.org/ticket/41408#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#41408: xorg-cf-files/imake/xcb: Concat3() macro failure w/ clang with Xcode 5 ----------------------------------+------------------- Reporter: ionic@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: xorg-cf-files imake | ----------------------------------+------------------- Comment (by jeremyhu@…): Note that I'm in favor of removing all ports in question. If a port is still using imake, it is seriously under-maintained and doesn't really belong in a modern distribution. -- Ticket URL: <https://trac.macports.org/ticket/41408#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#41408: xorg-cf-files/imake/xcb: Concat3() macro failure w/ clang with Xcode 5 ----------------------------------+-------------------- Reporter: ionic@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: xorg-cf-files imake | ----------------------------------+-------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r126419 (using the much more lightweight tradcpp instead). -- Ticket URL: <https://trac.macports.org/ticket/41408#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#41408: xorg-cf-files/imake/xcb: Concat3() macro failure w/ clang with Xcode 5 ----------------------------------+-------------------- Reporter: ionic@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: xorg-cf-files imake | ----------------------------------+-------------------- Comment (by ryandesign@…): I love it! I can go fix the ports that use imake. I'll remove the clang blacklist and add this block: {{{ # Can remove after MacPorts 2.3.2 is released if {${os.platform} eq "darwin" && ${os.major} >= 12} { configure.cpp ${prefix}/bin/tradcpp } }}} -- Ticket URL: <https://trac.macports.org/ticket/41408#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts