Package Details: swift-mesonlsp 3.1.3-1

Git Clone URL: https://aur.archlinux.org/swift-mesonlsp.git (read-only, click to copy)
Package Base: swift-mesonlsp
Description: A language server for meson
Upstream URL: https://github.com/JCWasmx86/Swift-MesonLSP
Keywords: language-server meson swift
Licenses: GPL3
Submitter: JCWasmx86
Maintainer: JCWasmx86
Last Packager: JCWasmx86
Votes: 0
Popularity: 0.000000
First Submitted: 2023-04-06 06:49 (UTC)
Last Updated: 2023-11-19 14:10 (UTC)

Required by (0)

Sources (1)

Latest Comments

cdrozak commented on 2023-09-25 10:05 (UTC)

Thank you, I can confirm that it builds at my computer too

JCWasmx86 commented on 2023-09-22 16:08 (UTC)

2.4.3 is working now

JCWasmx86 commented on 2023-09-22 10:09 (UTC)

Sadly this is not a Swift 5.9 failure, but somewhere else in the stack,as Fedora 39 fails with it, too: https://download.copr.fedorainfracloud.org/results/jcwasmx86/Swift-MesonLSP/fedora-39-x86_64/06420355-Swift-MesonLSP/builder-live.log.gz And it has Swift 5.8.1

Fedora 38 works, to I assume this is maybe due to an updated glibc or something like that.

cdrozak commented on 2023-09-22 09:48 (UTC)

Fails to build with Swift 5.9:

Building for production...
/home/cezdro/.cache/paru/clone/swift-mesonlsp/src/Swift-MesonLSP-2.4.2/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1392:64: error: value of optional type 'UnsafeMutablePointer<tm>?' must be unwrapped to a value of type 'UnsafeMutablePointer<tm>'
        strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
                                                               ^
/home/cezdro/.cache/paru/clone/swift-mesonlsp/src/Swift-MesonLSP-2.4.2/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1391:13: note: short-circuit using 'guard' to exit this function early if the optional value contains 'nil'
        let localTime = localtime(&timestamp)
            ^
        guard                                 else { return <#default value#> }
/home/cezdro/.cache/paru/clone/swift-mesonlsp/src/Swift-MesonLSP-2.4.2/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1391:25: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        let localTime = localtime(&timestamp)
                        ^
                                              ?? <#default value#>
/home/cezdro/.cache/paru/clone/swift-mesonlsp/src/Swift-MesonLSP-2.4.2/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1391:25: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        let localTime = localtime(&timestamp)
                        ^
                                             !
/home/cezdro/.cache/paru/clone/swift-mesonlsp/src/Swift-MesonLSP-2.4.2/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1392:64: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
                                                               ^
                                                                         ?? <#default value#>
/home/cezdro/.cache/paru/clone/swift-mesonlsp/src/Swift-MesonLSP-2.4.2/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1392:64: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
                                                               ^
                                                                        !
error: fatalError
[13/424] Compiling lib.c
==> ERROR: A failure occurred in package().
    Aborting...
error: failed to build 'swift-mesonlsp-2.4.2-1': 
error: packages failed to build: swift-mesonlsp-2.4.2-1