Package Details: verso-git 20250324.052031.d567c169-1

Git Clone URL: https://aur.archlinux.org/verso-git.git (read-only, click to copy)
Package Base: verso-git
Description: A web browser that plays old world blues to build new world hope
Upstream URL: https://github.com/versotile-org/verso
Licenses: MIT, Apache-2.0
Submitter: L.J
Maintainer: L.J
Last Packager: L.J
Votes: 1
Popularity: 0.20
First Submitted: 2025-01-14 15:19 (UTC)
Last Updated: 2025-03-24 19:17 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

xuiqzy commented on 2025-03-25 19:38 (UTC) (edited on 2025-03-26 15:02 (UTC) by xuiqzy)

OK, I'm trying to build in a clean chroot (using paru -S verso-git --chroot) to debug the issue. There are a few makedepends missing that are not in base-devel: git (for the VCS source and pkgver), python3 (needed for building stylo, it tries to execute python3), libx11 (to build x11 it needs the file x11.pc), fontconfig (file fontconfig.pc needed to build yeslogic-fontconfig-sys). After adding these in my local PKGBUILD, I got back to my original error, which didn't clearly list what library was missing compared to the previous errors.

By looking at which library it could be, I added gambas3-gb-opengl-glsl to the makedepends, but that resulted in the same error. Could you tell me which glsl related libraries you have installed on your system?

Probably needs to adapt and list all the Arch equivalents for the dependencies here: https://github.com/versotile-org/verso/blob/main/shell.nix But haven't tried any more than mentioned above yet.

Btw, are you sure both cargo build commands are needed?

L.J commented on 2025-03-24 19:16 (UTC)

Gotta need to go with "works on my machine"TM, patches are welcome though if you figure out how to improve the situation :)

xuiqzy commented on 2025-03-23 23:50 (UTC) (edited on 2025-03-24 11:53 (UTC) by xuiqzy)

Failed to compile because failed to compile the webrender dependency, maybe a missing native dependency of this AUR package that should be added? Same or very similar error in comment to emacs-ng package: https://aur.archlinux.org/packages/emacs-ng#comment-918387

End of error (cut off beginning) here, full error output in: https://pastebin.com/2jWG1tCZ

  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: /usr/bin/ld: /tmp/makepkg/verso-git/src/verso/target/release/deps/libglslopt-b9d021bffb3ee8bd.rlib(glslopt-b9d021bffb3ee8bd.glslopt.646ecbc58c3efad0-cgu.0.rcgu.o): in function `glslopt::Context::new':
          /home/xuiqzy/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/glslopt-0.1.11/src/lib.rs:34:(.text._ZN7glslopt7Context3new17hbe8d2d4646e4c94aE+0x19): undefined reference to `glslopt_initialize'
          /usr/bin/ld: /tmp/makepkg/verso-git/src/verso/target/release/deps/libglslopt-b9d021bffb3ee8bd.rlib(glslopt-b9d021bffb3ee8bd.glslopt.646ecbc58c3efad0-cgu.0.rcgu.o): in function `glslopt::Context::optimize':
          /home/xuiqzy/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/glslopt-0.1.11/src/lib.rs:48:(.text._ZN7glslopt7Context8optimize17ha2f10f83d580aa73E+0x17e): undefined reference to `glslopt_optimize'
          /usr/bin/ld: /tmp/makepkg/verso-git/src/verso/target/release/deps/libglslopt-b9d021bffb3ee8bd.rlib(glslopt-b9d021bffb3ee8bd.glslopt.646ecbc58c3efad0-cgu.0.rcgu.o): in function `<glslopt::Context as core::ops::drop::Drop>::drop':
          /home/xuiqzy/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/glslopt-0.1.11/src/lib.rs:59:(.text._ZN58_$LT$glslopt..Context$u20$as$u20$core..ops..drop..Drop$GT$4drop17hf7ebbd451868df39E+0x11): undefined reference to `glslopt_cleanup'
          /usr/bin/ld: /tmp/makepkg/verso-git/src/verso/target/release/deps/libglslopt-b9d021bffb3ee8bd.rlib(glslopt-b9d021bffb3ee8bd.glslopt.646ecbc58c3efad0-cgu.0.rcgu.o): in function `glslopt::Shader::get_status':
          /home/xuiqzy/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/glslopt-0.1.11/src/lib.rs:70:(.text._ZN7glslopt6Shader10get_status17hae1d8572c1e0e2b1E+0x11): undefined reference to `glslopt_get_status'
          /usr/bin/ld: /tmp/makepkg/verso-git/src/verso/target/release/deps/libglslopt-b9d021bffb3ee8bd.rlib(glslopt-b9d021bffb3ee8bd.glslopt.646ecbc58c3efad0-cgu.0.rcgu.o): in function `glslopt::Shader::get_output':
          /home/xuiqzy/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/glslopt-0.1.11/src/lib.rs:75:(.text._ZN7glslopt6Shader10get_output17h860d7817cf136e0cE+0x11): undefined reference to `glslopt_get_output'
          /usr/bin/ld: /tmp/makepkg/verso-git/src/verso/target/release/deps/libglslopt-b9d021bffb3ee8bd.rlib(glslopt-b9d021bffb3ee8bd.glslopt.646ecbc58c3efad0-cgu.0.rcgu.o): in function `glslopt::Shader::get_log':
          /home/xuiqzy/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/glslopt-0.1.11/src/lib.rs:86:(.text._ZN7glslopt6Shader7get_log17h39f62dc8eb6afebcE+0x11): undefined reference to `glslopt_get_log'
          /usr/bin/ld: /tmp/makepkg/verso-git/src/verso/target/release/deps/libglslopt-b9d021bffb3ee8bd.rlib(glslopt-b9d021bffb3ee8bd.glslopt.646ecbc58c3efad0-cgu.0.rcgu.o): in function `<glslopt::Shader as core::ops::drop::Drop>::drop':
          /home/xuiqzy/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/glslopt-0.1.11/src/lib.rs:99:(.text._ZN57_$LT$glslopt..Shader$u20$as$u20$core..ops..drop..Drop$GT$4drop17h82ca6bb6c0996957E+0x11): undefined reference to `glslopt_shader_delete'
          collect2: error: ld returned 1 exit status

  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)

error: could not compile `webrender` (build script) due to 1 previous error