Package Details: odin-git r16294.94cc5d9e6-1

Git Clone URL: https://aur.archlinux.org/odin-git.git (read-only, click to copy)
Package Base: odin-git
Description: A fast, concise, readable, pragmatic and open sourced programming language.
Upstream URL: https://github.com/odin-lang/odin
Licenses: BSD
Conflicts: odin
Provides: odin
Submitter: guyinjeans
Maintainer: jkercher
Last Packager: jkercher
Votes: 6
Popularity: 0.040177
First Submitted: 2018-02-04 03:06 (UTC)
Last Updated: 2026-01-06 20:33 (UTC)

Dependencies (9)

Required by (4)

Sources (1)

Latest Comments

1 2 Next › Last »

nathanchere commented on 2026-03-24 13:39 (UTC)

Disregard last comment, it now supports LLVM 22

nathanchere commented on 2026-03-17 12:51 (UTC)

Until odin is updated to support LLVM 22 (which is now live in Arch), the dependencies for this package should be changed to include llvm21 and llvm21-libs (instead of llvm and llvm-libs)

Emerold commented on 2025-12-11 03:22 (UTC)

Could you please change the version string format to RELEASE.rREV.gSHA, e.g. dev_2025_12a.r46.g6aedcf9? This way you can require a specific minimum version of Odin as a dependency.

You'd have to replace the printf command with the following in the pkgver() function:

git describe --long --tags --abbrev=7 | sed 's/-\([^-]*\)-g/.r\1.g/;s/-/_/g'

FabioLolix commented on 2025-05-06 20:02 (UTC)

I'm not seeing the os2 failure on my end.

Yes, has been fixed in the meantime

jkercher commented on 2025-05-06 10:55 (UTC)

@FabioLolix, I had a look at this. I'm not seeing the os2 failure on my end. It is possible it has been fixed upstream already because the os2 core package is a replacement for the os package and is under very active development.

Looking into the timezone issue, the code looks for the $TZ environment variable to be present or /etc/timezone. In the devtools environment, neither exist. I manually set $TZ for that test now, and it passes.

FabioLolix commented on 2025-05-02 15:10 (UTC)

Just for testing, when building with devtools it fails 2 tests, all fine with makepkg

[ERROR] --- [2025-05-02 14:54:11] [test_core_time.odin:367:test_convert_timezone_roundtrip()] Failed to load local timezone
[INFO ] --- [2025-05-02 14:54:11] [test_core_unicode.odin:29:test_official_gcb_cases()]    0/1187 test cases failed.
[INFO ] --- [2025-05-02 14:54:11] [path.odin:13:test_executable()] executable path: "/build/odin-git/src/odin/normal.bin"
[INFO ] --- [2025-05-02 14:54:11] [test_core_unicode.odin:34:test_official_emoji_cases()]    0/3648 test cases failed.
[ERROR] --- [2025-05-02 14:54:11] [dir.odin:102:test_walker_internal()] expected len(seen) to be 3, got 4
[WARN ] --- [2025-05-02 14:54:11] <       52B/      467B> <      467B> (    8/    9) :: tests_core_os_os2.test_walker
        +++ leak        52B @ 0x758C65F7D1B0 [dir.odin:93:test_walker_internal()]

Finished 418 tests in 4.402719814s. 2 tests failed.
 - test_core_time.test_convert_timezone_roundtrip                                   Failed to load local timezone
 - tests_core_os_os2.test_walker                                                    expected len(seen) to be 3, got 4

jkercher commented on 2024-06-09 03:10 (UTC)

Hello! As already stated, this needs some updating. I can help maintain this if you guys don't have the time for it =]

RaphGL commented on 2024-02-02 13:37 (UTC)

With dev-2024-02 Odin adds a new base library that is required by the compiler. Inability to find it on the system will result in a crash with this message: "Syntax Error: Path does not exist:".

The fix is to add cp -r base "${pkgdir}/usr/lib/${_pkgname}/base"

To the package() function of PKGBUILD.

dmitsuki commented on 2023-05-06 07:21 (UTC)

This doesn't build because the current version of LLVM is 15, and this uses system llvm instead of llvm 13.

FabioLolix commented on 2022-06-02 14:55 (UTC)

@nuc that was fixed with https://aur.archlinux.org/cgit/aur.git/commit/?h=odin-git&id=79efd47fc9772db4ccd873703a57bcc351cb46db