Package Details: glsl_analyzer 1.4.2-1

Git Clone URL: https://aur.archlinux.org/glsl_analyzer.git (read-only, click to copy)
Package Base: glsl_analyzer
Description: Language server for GLSL (autocomplete, goto-definition, formatter, and more)
Upstream URL: https://github.com/nolanderc/glsl_analyzer
Licenses: GPL3
Submitter: otreblan
Maintainer: otreblan
Last Packager: otreblan
Votes: 1
Popularity: 0.135793
First Submitted: 2023-10-08 14:21 (UTC)
Last Updated: 2023-11-01 20:32 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

cowmoo commented on 2024-02-07 06:07 (UTC)

I am running into a different issue when using zig-dev-bin (installed from the AUR, version 0.12.0-dev.2631+3069669bc)

==> Starting build()...
L/home/me/.cache/yay/glsl_analyzer/src/glsl_analyzer-1.4.2/build.zig:75:15: error: root struct of file 'Build' has no member named 'CompileStep'
}) !*std.Build.CompileStep {
     ~~~~~~~~~^~~~~~~~~~~~
/usr/lib/zig/lib/std/Build.zig:1:1: note: struct declared here
const std = @import("std.zig");
^~~~~
referenced by:
    build: /home/me/.cache/yay/glsl_analyzer/src/glsl_analyzer-1.4.2/build.zig:9:25
    runBuild__anon_8960: /usr/lib/zig/lib/std/Build.zig:1983:37
    remaining reference traces hidden; use '-freference-trace' to see all reference traces
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: glsl_analyzer-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
glsl_analyzer - exit status 4

moses commented on 2023-10-09 20:25 (UTC)

@otreblan thanks for your help, installing zig-dev-bin fixed the build failure.

otreblan commented on 2023-10-09 18:52 (UTC)

@moses glsl_analyzer can only be built by zig >= 0.12. You can install zig-dev-bin.

moses commented on 2023-10-09 18:26 (UTC)

Failed to build for me, unfortunately:

==> Making package: glsl_analyzer 1.0.4-1 (Mon 09 Oct 2023 08:19:55 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found glsl_analyzer-1.0.4.tar.gz
==> Validating source files with sha256sums...
    glsl_analyzer-1.0.4.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting glsl_analyzer-1.0.4.tar.gz with bsdtar
==> Starting prepare()...
==> Sources are ready.
==> Making package: glsl_analyzer 1.0.4-1 (Mon 09 Oct 2023 08:19:59 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
zig build-exe glsl_analyzer ReleaseSafe native-linux.5.15-gnu: error: the following command failed with 1 compilation errors:
/usr/bin/zig build-exe /home/moses/.cache/yay/glsl_analyzer/src/glsl_analyzer-1.0.4/src/main.zig -lc -OReleaseSafe --cache-dir /home/moses/.cache/yay/glsl_analyzer/src/glsl_analyzer-1.0.4/zig-cache --global-cache-dir /home/moses/.cache/zig --name glsl_analyzer -target native-linux.5.15-gnu -mcpu x86_64 --mod glsl_spec.json.zlib::/home/moses/.cache/yay/glsl_analyzer/src/glsl_analyzer-1.0.4/zig-cache/o/36b90919fee600d53f4dbdd58ed6f48a/spec.json.zlib --mod build_options::/home/moses/.cache/yay/glsl_analyzer/src/glsl_analyzer-1.0.4/zig-cache/c/72a05d2251002bbb364fdf6772ee7724/options.zig --deps glsl_spec.json.zlib,build_options -L /usr/lib -I /usr/include --listen=- 
Build Summary: 2/5 steps succeeded; 1 failed (disable with --summary none)
install transitive failure
└─ install glsl_analyzer transitive failure
   └─ zig build-exe glsl_analyzer ReleaseSafe native-linux.5.15-gnu 1 errors
src/parse.zig:233:65: error: @intCast must have a known result type
            @memset(nodes.items(.parent)[span.start..span.end], @intCast(index));
                                                                ^~~~~~~~~~~~~~~
src/parse.zig:233:65: note: use @as to provide explicit result type
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: glsl_analyzer-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
glsl_analyzer - exit status 4