Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#63553 closed defect (fixed)

dvisvgm @2.12_0: fail to build on macOS 10.11.6

Reported by: nortcele Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: michaelld (Michael Dickens)
Port: dvisvgm

Description

dvisvgm @2.12_0: fail to build on macOS 10.11.6

In the log file there are many alerts but the error seem to be:

:info:build PSPattern.cpp:111:9: error: no viable conversion from returned value of type 'unique_ptr<SVGElement, default_delete<SVGElement>>' to function return type 'unique_ptr<XMLElement, default_delete<XMLElement>>'

Configuration macOS 10.11.6 15G22010 Xcode 8.2.1 8C1002 MacPorts 2.7.1

Attachments (1)

main.log.zip (13.9 KB) - added by nortcele 3 years ago.

Download all attachments as: .zip

Change History (10)

Changed 3 years ago by nortcele

Attachment: main.log.zip added

comment:1 Changed 3 years ago by nortcele

I have the same problem with macOS 10.10.5 14F2511, Xcode 7.2.1 7C1002 and MacPorts 2.7.1.

comment:2 Changed 3 years ago by nortcele

The problem is also available with macOS 10.9.5 13F1911, Xcode 6.2 6C131e and MacPorts 2.7.1.

comment:3 Changed 3 years ago by michaelld (Michael Dickens)

Yup I see this on 10.9 as well. Thinking this is a compiler selection issue; will try to verify.

comment:4 Changed 3 years ago by michaelld (Michael Dickens)

What compiler version does Xcode install for those macOS / OSX versions (clang++ -v)?

On 10.9, I can add

PortGroup        compiler_blacklist_versions 1.0
compiler.blacklist-append {clang < 700}

and that solves the issue (uses MacPorts clang 9). I'm guessing we'll need to bump this to maybe < 900 ... or something more? Hence my question at the top.

comment:5 Changed 3 years ago by nortcele

  • 10.9.5
clang++ -v
Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
  • 10.10.5
clang++ -v
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
  • 10.11.6
clang++ -v
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

comment:6 Changed 3 years ago by nortcele

I have no such problem on 11.6, 10.15.7 and 10.14.6.

I will also test on 10.12 and 10.13.

comment:7 Changed 3 years ago by michaelld (Michael Dickens)

OK thanks. My guess is that blocking {clang < 900} will work. I'll add that & we'll see how it goes.

comment:8 Changed 3 years ago by michaelld (Michael Dickens)

Owner: set to michaelld
Resolution: fixed
Status: newclosed

In bd39d37cd92e7f638bb37eda0519f70ba78b171e/macports-ports (master):

dvisvgm: block clang < 900

Closes: #63553

comment:9 Changed 3 years ago by nortcele

Fine. The installation went fine on macOS 10.10.5.

Last edited 3 years ago by nortcele (previous) (diff)
Note: See TracTickets for help on using tickets.