[MacPorts] #31504: canna @3.7p3_3: fails to install if xmkmf is built by clang
#31504: canna @3.7p3_3: fails to install if xmkmf is built by clang -----------------------------------+---------------------------------------- Reporter: takanori@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: -----------------------------------+---------------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/31504> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31504: canna @3.7p3_3: fails to install if xmkmf is built by clang -----------------------------------+---------------------------------------- Reporter: takanori@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: -----------------------------------+---------------------------------------- Comment(by takanori@…): This is because clang cannot interpret Concat3() macro properly which is declared in Imake.rules. -- Ticket URL: <https://trac.macports.org/ticket/31504#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31504: canna @3.7p3_3: fails to install if xmkmf is built by clang -----------------------------------+---------------------------------------- Reporter: takanori@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: imake -----------------------------------+---------------------------------------- Changes (by takanori@…): * owner: macports-tickets@… => mcalhoun@… * port: => imake -- Ticket URL: <https://trac.macports.org/ticket/31504#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31504: canna @3.7p3_3: fails to install if xmkmf is built by clang ------------------------------------+--------------------------------------- Reporter: takanori@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: imake | ------------------------------------+--------------------------------------- Changes (by takanori@…): * status: new => closed * resolution: => fixed Comment: Committed in r84946. -- Ticket URL: <https://trac.macports.org/ticket/31504#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31504: canna @3.7p3_3: fails to install if xmkmf is built by clang ------------------------------------+--------------------------------------- Reporter: takanori@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: imake | ------------------------------------+--------------------------------------- Comment(by jmr@…): Have you filed a radar about this? -- Ticket URL: <https://trac.macports.org/ticket/31504#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31504: canna @3.7p3_3: fails to install if xmkmf is built by clang ------------------------------------+--------------------------------------- Reporter: takanori@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: imake | ------------------------------------+--------------------------------------- Comment(by takanori@…): No, not yet. I cannot tell whether this is a bug that should be reported or an expected behavior since I know next to nothing about llvm clang.. ;-( -- Ticket URL: <https://trac.macports.org/ticket/31504#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31504: canna @3.7p3_3: fails to install if xmkmf is built by clang ------------------------------------+--------------------------------------- Reporter: takanori@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: imake | ------------------------------------+--------------------------------------- Comment(by jeremyhu@…): I'm just hearing about this now as a result of https://bugs.freedesktop.org/show_bug.cgi?id=45509 PLEASE file radars or tell me about issues like this, so I can look into them and file radars if you don't want to. Switching compilers and ignoring the problem won't fix it if it's really a compiler issue. -- Ticket URL: <https://trac.macports.org/ticket/31504#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31504: canna @3.7p3_3: fails to install if xmkmf is built by clang ------------------------------------+--------------------------------------- Reporter: takanori@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: imake | ------------------------------------+--------------------------------------- Comment(by jeremyhu@…): imake itself is fine, so reverting this in r89535 The real fix lies outside imake (probably in xorg-cf-files), and if you want to work around it, do so in the ports that are using imake and failing because if this fixe them, then they're broken already in that they're not honoring ${configure.cc} properly. -- Ticket URL: <https://trac.macports.org/ticket/31504#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31504: canna @3.7p3_3: fails to install if xmkmf is built by clang ------------------------------------+--------------------------------------- Reporter: takanori@… | Owner: mcalhoun@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: xorg-cf-files | ------------------------------------+--------------------------------------- Changes (by jeremyhu@…): * status: closed => reopened * resolution: fixed => * port: imake => xorg-cf-files Comment: These will actually work around the issue in canna: r89536 r89537 xorg-cf-files needs to be fixed -- Ticket URL: <https://trac.macports.org/ticket/31504#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31504: xorg-cf-files has a bad Concat3 macro (somehow gcc doesn't trip on it) ------------------------------------+--------------------------------------- Reporter: takanori@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: xorg-cf-files | ------------------------------------+--------------------------------------- Changes (by jeremyhu@…): * owner: mcalhoun@… => jeremyhu@… * status: reopened => new Old description: New description: gcc doesn't like the Concat3 macro either, but it looks like it doesn't actually use it, probably because it's never called in gcc's cpp-path -- -- Ticket URL: <https://trac.macports.org/ticket/31504#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31504: xorg-cf-files has a bad Concat3 macro (somehow gcc doesn't trip on it) ------------------------------------+--------------------------------------- Reporter: takanori@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: xorg-cf-files | ------------------------------------+--------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: Partial fix and partial workaround committed in r93825. This at least allows imake-using stuff to build for me with Xcode 4.3.2. The patches should be OK to send upstream. The reinplaces that put ${configure.cc} and friends into darwin.cf weren't really correct anyway, since the dependent ports may change the compiler and need to specify it individually. I'm still not sure why clang ever hit the problem with Concat3, since it does define __STDC__ and so should have been taking the first branch. -- Ticket URL: <https://trac.macports.org/ticket/31504#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31504: xorg-cf-files has a bad Concat3 macro (somehow gcc doesn't trip on it) ------------------------------------+--------------------------------------- Reporter: takanori@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: xorg-cf-files | ------------------------------------+--------------------------------------- Comment(by jmr@…): Looks like imake really needs -traditional-cpp for those macros so the whitespace comes out right. Since clang doesn't support that option, I've fixed it to use cpp instead of $CC -E in r93865. -- Ticket URL: <https://trac.macports.org/ticket/31504#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31504: xorg-cf-files has a bad Concat3 macro (somehow gcc doesn't trip on it) ----------------------------+------------------------ Reporter: takanori@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: xorg-cf-files | ----------------------------+------------------------ Comment (by jmr@…): This will probably pop up again when llvm-gcc is removed from Xcode, since /usr/bin/cpp will presumably have to start using clang. -- Ticket URL: <https://trac.macports.org/ticket/31504#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31504: xorg-cf-files has a bad Concat3 macro (somehow gcc doesn't trip on it) ----------------------------+------------------------ Reporter: takanori@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: xorg-cf-files | ----------------------------+------------------------ Comment (by howarth@…): Note that upstream clang appears uninterested in enhancing their -traditional-cpp support and expects this to be fixed in the imake instead.[[BR]] http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-February/058970.html -- Ticket URL: <https://trac.macports.org/ticket/31504#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31504: xorg-cf-files has a bad Concat3 macro (somehow gcc doesn't trip on it) ----------------------------+------------------------ Reporter: takanori@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: xorg-cf-files | ----------------------------+------------------------ Comment (by jeremyhu@…): I am very much on top of this issue. -- Ticket URL: <https://trac.macports.org/ticket/31504#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31504: xorg-cf-files has a bad Concat3 macro (somehow gcc doesn't trip on it) ----------------------------+------------------------ Reporter: takanori@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: xorg-cf-files | ----------------------------+------------------------ Changes (by ionic@…): * status: closed => reopened * resolution: fixed => Comment: This problem is now prevalent on Mavericks, as llvm-gcc has been removed. Hit it when rebuilding xcb. -- Ticket URL: <https://trac.macports.org/ticket/31504#comment:18> MacPorts <http://www.macports.org/> Ports system for OS X
#31504: xorg-cf-files has a bad Concat3 macro (somehow gcc doesn't trip on it) ----------------------------+------------------------ Reporter: takanori@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: xorg-cf-files | ----------------------------+------------------------ Changes (by jeremyhu@…): * status: reopened => closed * resolution: => fixed Comment: Please open a new ticket for your new issue. -- Ticket URL: <https://trac.macports.org/ticket/31504#comment:20> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts