Package Details: adscript 0.6-1

Git Clone URL: https://aur.archlinux.org/adscript.git (read-only, click to copy)
Package Base: adscript
Description: A high-performance, s-expressions based programming language that is natively compiled.
Upstream URL: https://github.com/Amplus2/Adscript
Licenses: MPL2
Submitter: Luddifee
Maintainer: None
Last Packager: Luddifee
Votes: 0
Popularity: 0.000000
First Submitted: 2021-06-01 22:35 (UTC)
Last Updated: 2021-06-06 14:42 (UTC)

Latest Comments

a821 commented on 2024-09-24 20:38 (UTC)

Fails to build, it probably needs an older llvm

clang++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/adscript/src=/usr/src/debug/adscript -flto=auto `llvm-config --cxxflags` -DHT_LLVM11=1 -c src/ast.cc -o src/ast.o
In file included from src/ast.cc:3:
src/compiler.hh:45:13: error: no member named 'OptimizationLevel' in 'llvm::PassBuilder'; did you mean 'llvm::OptimizationLevel'?
   45 |             llvm::PassBuilder::OptimizationLevel::O3,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |             llvm::OptimizationLevel
/usr/include/llvm/Passes/OptimizationLevel.h:22:7: note: 'llvm::OptimizationLevel' declared here
   22 | class OptimizationLevel final {
[...snip...]

kleintux commented on 2022-12-15 06:14 (UTC)

Don't use SUDO in PKGBUILDS. it's forbidden. Don't install something direct to the System. It's a security risk and the files will not be deleted if the package gets deleted. You need to add the files to the pkgdir folder.

see https://wiki.archlinux.org/title/Creating_packages#package()

and name custom varibales with a leading _ like _upname . https://wiki.archlinux.org/title/Arch_package_guidelines#Package_etiquette

thank you for fixing and maintaining