[MacPorts] #40513: codeblocks: universal variant fails
#40513: codeblocks: universal variant fails --------------------------+------------------------ Reporter: ryandesign@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: codeblocks --------------------------+------------------------ {{{ clang: error: cannot use 'precompiled-header' output with multiple -arch options }}} -- Ticket URL: <https://trac.macports.org/ticket/40513> MacPorts <http://www.macports.org/> Ports system for OS X
#40513: codeblocks: universal variant fails ---------------------------+--------------------- Reporter: ryandesign@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: codeblocks | ---------------------------+--------------------- Comment (by mojca@…): I would be grateful for hints about how to disable precompiled headers. Maybe this is something that could/should go to FAQ. -- Ticket URL: <https://trac.macports.org/ticket/40513#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40513: codeblocks: universal variant fails ---------------------------+--------------------- Reporter: ryandesign@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: codeblocks | ---------------------------+--------------------- Changes (by mojca@…): * cc: jeremyhu@… (added) * version: 2.2.0 => -- Ticket URL: <https://trac.macports.org/ticket/40513#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40513: codeblocks: universal variant fails ---------------------------+--------------------- Reporter: ryandesign@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: codeblocks | ---------------------------+--------------------- Comment (by egall@…): Replying to [comment:1 mojca@…]:
I would be grateful for hints about how to disable precompiled headers. Maybe this is something that could/should go to FAQ.
A tiny bit is written here: http://gcc.gnu.org/onlinedocs/gcc /Precompiled-Headers.html
There should be a `configure` flag for it, if not, there should be some Autoconf macros to handle that, which could be used in a patch for the `configure.ac` file. I know that bakefile's `bakefile.m4` macro file has stuff relating to precompiled headers in it, for example... -- Ticket URL: <https://trac.macports.org/ticket/40513#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40513: codeblocks: universal variant fails ---------------------------+--------------------- Reporter: ryandesign@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: codeblocks | ---------------------------+--------------------- Comment (by jeremyhu@…): Why not just use muniversal? -- Ticket URL: <https://trac.macports.org/ticket/40513#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40513: codeblocks: universal variant fails ---------------------------+--------------------- Reporter: ryandesign@… | Owner: mojca@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: codeblocks | ---------------------------+--------------------- Changes (by mojca@…): * status: new => closed * resolution: => fixed Comment: I have found {{{ --enable-pch=no }}} and committed it in r111287. This seems like a weird way, I would expect a flag `--disable-pch`, but well ... -- Ticket URL: <https://trac.macports.org/ticket/40513#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40513: codeblocks: universal variant fails ---------------------------+--------------------- Reporter: ryandesign@… | Owner: mojca@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: codeblocks | ---------------------------+--------------------- Comment (by ryandesign@…): Replying to [comment:6 mojca@…]:
I have found {{{ --enable-pch=no }}} and committed it in r111287.
This seems like a weird way, I would expect a flag `--disable-pch`, but well ...
codeblocks uses an autotools-based configure script, therefore "--enable- foo=no" is the same as "--disable-foo", just as "--enable-foo=yes" is the same as "--enable-foo". -- Ticket URL: <https://trac.macports.org/ticket/40513#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#40513: codeblocks: universal variant fails ---------------------------+--------------------- Reporter: ryandesign@… | Owner: mojca@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: codeblocks | ---------------------------+--------------------- Comment (by mojca@…): OK, I was expecting an explicit `--disable-pch` to appear somewhere in `configure` script, but I see now that there is an option wildcard at the beginning of the file. I knew that `--disable-foo` was supposed to be the same as `--enable-foo=no`, but I thought that implementation for this particular option was lacking something. But I hope that universal build works for you now? -- Ticket URL: <https://trac.macports.org/ticket/40513#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#40513: codeblocks: universal variant fails ---------------------------+--------------------- Reporter: ryandesign@… | Owner: mojca@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: codeblocks | ---------------------------+--------------------- Comment (by ryandesign@…): Replying to [comment:8 mojca@…]:
But I hope that universal build works for you now?
Yes! Thanks. -- Ticket URL: <https://trac.macports.org/ticket/40513#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts