Discussion:
[MacPorts] #57742: cairo @1.16.0 +quartz+universal+x11: cannot upgrade from @1.14.12 to @1.16.0
MacPorts
2018-12-07 15:49:37 UTC
Permalink
#57742: cairo @1.16.0 +quartz+universal+x11: cannot upgrade from @1.14.12 to
@1.16.0
--------------------------+--------------------
Reporter: hugo-ribeiro | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Keywords: | Port: cairo
--------------------------+--------------------
Here's what I believe to be the problem

{{{
./cairo-mutex-impl-private.h:262:3: error: "XXX: No mutex implementation
found. Cairo will not work with multiple threads. Define CAIRO_NO_MUTEX
to 1 to acknowledge and accept this limitation and compile cairo without
thread-safety support."
# error "XXX: No mutex implementation found. Cairo will not work with
multiple threads. Define CAIRO_NO_MUTEX to 1 to acknowledge and accept
this limitation and compile cairo without thread-safety support."
}}}

"main.log" attached.
--
Ticket URL: <https://trac.macports.org/ticket/57742>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-07 15:49:52 UTC
Permalink
#57742: cairo @1.16.0 +quartz+universal+x11: cannot upgrade from @1.14.12 to
@1.16.0
---------------------------+--------------------
Reporter: hugo-ribeiro | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: cairo |
---------------------------+--------------------
Changes (by hugo-ribeiro):

* Attachment "main.log" added.
--
Ticket URL: <https://trac.macports.org/ticket/57742>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-07 16:37:30 UTC
Permalink
#57742: cairo @1.16.0 +quartz+universal+x11: cannot upgrade from @1.14.12 to
@1.16.0
---------------------------+------------------------
Reporter: hugo-ribeiro | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: xcode10
Port: cairo |
---------------------------+------------------------
Changes (by ryandesign):

* keywords: => xcode10
* owner: (none) => ryandesign
* status: new => assigned
* cc: ryandesign (removed)


Comment:

I didn't see this problem on my High Sierra system nor did the buildbot
builder, but they're both using Xcode 9 and I see you're using Xcode 10.

This error message occurs when unexpected warnings are emitted while
trying to detect pthread support. See
https://gitlab.freedesktop.org/cairo/cairo/issues/121. Maybe Xcode 10's
clang includes new warnings.

I see you're building universal and the problem is only occurring in the
i386 part. Could you attach the config.log from the i386 build directory?

Xcode 10 only includes the 10.14 SDK, which removes support for building
32-bit. I don't see the SDK being used in the log, but maybe that's still
somehow relevant. Do you have the command line tools installed? If not, do
that.
--
Ticket URL: <https://trac.macports.org/ticket/57742#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-07 16:44:29 UTC
Permalink
#57742: cairo @1.16.0 +quartz+universal+x11: cannot upgrade from @1.14.12 to
@1.16.0
---------------------------+------------------------
Reporter: hugo-ribeiro | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: xcode10
Port: cairo |
---------------------------+------------------------
Changes (by hugo-ribeiro):

* Attachment "config.log" added.
--
Ticket URL: <https://trac.macports.org/ticket/57742>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-07 16:45:06 UTC
Permalink
#57742: cairo @1.16.0 +quartz+universal+x11: cannot upgrade from @1.14.12 to
@1.16.0
---------------------------+------------------------
Reporter: hugo-ribeiro | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: xcode10
Port: cairo |
---------------------------+------------------------

Comment (by hugo-ribeiro):

Here's the config.log file for the i386 build.

command line tools are installed on my system.
--
Ticket URL: <https://trac.macports.org/ticket/57742#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-07 17:05:26 UTC
Permalink
#57742: cairo @1.16.0 +quartz+universal+x11: cannot upgrade from @1.14.12 to
@1.16.0
---------------------------+------------------------
Reporter: hugo-ribeiro | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: xcode10
Port: cairo |
---------------------------+------------------------

Comment (by ryandesign):

Ok, the config.log shows that indeed there is a new warning emitted:

{{{
ld: warning: The i386 architecture is deprecated for macOS (remove from
the Xcode build setting: ARCHS)
}}}

So we may need to apply the workaround mentioned in the upstream ticket.
--
Ticket URL: <https://trac.macports.org/ticket/57742#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-07 17:56:18 UTC
Permalink
#57742: cairo @1.16.0 +quartz+universal+x11: cannot upgrade from @1.14.12 to
@1.16.0
---------------------------+------------------------
Reporter: hugo-ribeiro | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: xcode10
Port: cairo |
---------------------------+------------------------

Comment (by kencu):

See [ticket:50800#comment:4].
--
Ticket URL: <https://trac.macports.org/ticket/57742#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...