#68114 closed defect (invalid)

librsvg @2.56.3: fails to compile due to uncaught exception 'NSInvalidArgumentException'

Reported by: ciniglio (Alejandro Ciniglio) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: mascguy (Christopher Nielsen), jmroot (Joshua Root)
Port: librsvg

Description (last modified by ryandesign (Ryan Carsten Schmidt))

On macos sonoma, running sudo port install librsvg fails with

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString stringByStandardizingPath]: unrecognized selector sent to instance 0x60000182c0c0'

MacOS Sonoma 14.0 Beta 23A5337a
XCode Version 15.0 beta 8 (15A5229m)

Attachments (1)

main.log (163.5 KB) - added by ciniglio (Alejandro Ciniglio) 15 months ago.

Download all attachments as: .zip

Change History (5)

Changed 15 months ago by ciniglio (Alejandro Ciniglio)

Attachment: main.log added

comment:1 Changed 15 months ago by mascguy (Christopher Nielsen)

Cc: jmroot added

I'm not sure whether discussion of macOS/XCode betas is allowed by the developer agreement.

@jmroot?

comment:2 Changed 15 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: mascguy added; mascguy@… removed
Description: modified (diff)
Summary: librsvg @ 2.56.3 - fails to compile due to uncaught exception 'NSInvalidArgumentException'librsvg @2.56.3: fails to compile due to uncaught exception 'NSInvalidArgumentException'

See wiki:FAQ#prerelease.

Also, observe the part of the log where it says:

:debug:sysinfo macOS 14.0 (darwin/23.0.0) arch i386
:debug:sysinfo MacPorts 2.8.1
:debug:sysinfo Xcode 14.3.1, CLT none
:debug:sysinfo SDK 14
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 14.0
:warn:main The macOS 14 SDK does not appear to be installed. Ports may not build correctly.
:warn:main You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.
:warn:main If already installed, update with Software Update, or manually: <https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt>

You said you were running Xcode 15.0 beta 8, but MacPorts is detecting that you have Xcode 14.3.1. You'll need Xcode 15 and its version of the command line tools for macOS 14.

comment:3 Changed 15 months ago by ciniglio (Alejandro Ciniglio)

Sorry for not seeing that notice before. I read the 'filing a new ticket' guide but didn't think to look for pre-release info specifically. I don't think I can delete the ticket, but please do so if you deem it appropriate. Thanks.

comment:4 Changed 15 months ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.