Discussion:
[MacPorts] #57167: poppler-qt5: CMake-related build failure on 10.8
MacPorts
2018-09-26 03:07:04 UTC
Permalink
#57167: poppler-qt5: CMake-related build failure on 10.8
--------------------+-------------------------
Reporter: mojca | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: poppler-qt5
--------------------+-------------------------
Build of poppler on 10.8 fails in a pretty absurd way:
{{{
-- Configuring done
CMake Error in qt5/src/CMakeLists.txt:
No known features for CXX compiler

"Clang"

version 5.0.2.
}}}
https://build.macports.org/builders/ports-10.8_x86_64_legacy-
builder/builds/71069

Weird enough it works on 10.7.
--
Ticket URL: <https://trac.macports.org/ticket/57167>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-10-01 13:19:59 UTC
Permalink
#57167: poppler-qt5: CMake-related build failure on 10.8
--------------------------+----------------------
Reporter: mojca | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: poppler-qt5 |
--------------------------+----------------------

Comment (by ryandesign):

It's easy enough to reproduce this on a newer system such as High Sierra
with:
{{{
sudo port configure poppler-qt5 configure.compiler=macports-clang-6.0
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57167#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-30 03:36:54 UTC
Permalink
#57167: poppler-qt5: CMake-related build failure on 10.8
--------------------------+----------------------
Reporter: mojca | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: poppler-qt5 |
--------------------------+----------------------

Comment (by kencu):

Looks like a known issue. See:

<https://stackoverflow.com/questions/38027292/configure-a-qt5-5-7
-application-for-android-with-cmake/40256862#40256862>

and

<https://bugreports.qt.io/browse/QTBUG-54666>

and in particular

<https://bugreports.qt.io/browse/QTBUG-57886>

I tried the suggested workaround, it it got past the initial issue, but
then it died later with unrecognized compiler characteristics.

This issue seems to be happening in a number of different tickets, and we
should probably condense it into one to follow it along.
--
Ticket URL: <https://trac.macports.org/ticket/57167#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-30 03:42:02 UTC
Permalink
#57167: poppler-qt5: CMake-related build failure on 10.8
--------------------------+----------------------
Reporter: mojca | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: poppler-qt5 |
--------------------------+----------------------

Comment (by yan12125):

This should be fixed with a simple patch for poppler:

https://github.com/macports/macports-
ports/pull/3098#issuecomment-443080512
--
Ticket URL: <https://trac.macports.org/ticket/57167#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-30 09:04:20 UTC
Permalink
#57167: poppler-qt5: CMake-related build failure on 10.8
--------------------------+----------------------
Reporter: mojca | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: poppler-qt5 |
--------------------------+----------------------

Comment (by kencu):

Ah, just came down to improperly-written CMakeLists.txt files in the end.
Seems a common enough problem out there that I'm surprised to see it still
on the qt bug tracker. The cmake docs are clear enough that the
requirements have to come first...good job nailing it.
--
Ticket URL: <https://trac.macports.org/ticket/57167#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-07 01:31:15 UTC
Permalink
#57167: poppler-qt5: CMake-related build failure on 10.8
--------------------------+---------------------
Reporter: mojca | Owner: dbevans
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords:
Port: poppler-qt5 |
--------------------------+---------------------
Changes (by dbevans):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"652319c36aed7b50ae11beef623b0f1cb66a914c/macports-ports"
652319c36aed7b50ae11beef623b0f1cb66a914c/macports-ports] (master):
{{{
#!ConfigurableCommitTicketReference repository="macports-ports"
revision="652319c36aed7b50ae11beef623b0f1cb66a914c"
poppler-qt5: fix cmake/qt5 configuration failures with non-Apple clang

Closes https://trac.macports.org/ticket/57167
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57167#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...