18 Oct 2024 |
Charles | i mean i currently just use gitlab ci and am not in any real rush to switch to something else, but i was curious | 20:51:13 |
Charles | i kinda want to try making my own build automation thingy at some point | 20:51:29 |
raitobezarius | In reply to @charles:computer.surgery i kinda want to try making my own build automation thingy at some point Everyone pursues the holy grail | 21:22:54 |
Dusk | Is there a way to run Lix's clang-tidy on just a single file? | 21:24:59 |
Dusk | If Lix automatically does so in a Git hook, I didn't realize Lix had hooks until after all my commits were written because I was using nix develop ".#nix" instead of nix develop "." . | 21:26:03 |
Dusk | I'm seeing
/nix/store/izzwvk6cbbhsg3x5aqn33q9gnf3nbh2r-clang-tools-17.0.6/bin/clang-tidy -header-filter=src/[^/]+/.*\.hh -p=/var/home/bb010g/Sources/Nix/lix/build/meson/clang-tidy -quiet -load=/var/home/bb010g/Sources/Nix/lix/build/subprojects/lix-clang-tidy/liblix-clang-tidy.so --warnings-as-errors=* /var/home/bb010g/Sources/Nix/lix/src/libstore/local-store.cc
38387 warnings generated.
but no information about what those warnings are.
| 21:27:33 |
Dusk | * For the file I changed in my most recent commit, I'm seeing
/nix/store/izzwvk6cbbhsg3x5aqn33q9gnf3nbh2r-clang-tools-17.0.6/bin/clang-tidy -header-filter=src/[^/]+/.*\.hh -p=/var/home/bb010g/Sources/Nix/lix/build/meson/clang-tidy -quiet -load=/var/home/bb010g/Sources/Nix/lix/build/subprojects/lix-clang-tidy/liblix-clang-tidy.so --warnings-as-errors=* /var/home/bb010g/Sources/Nix/lix/src/libstore/local-store.cc
38387 warnings generated.
but no information about what those warnings are.
| 21:27:58 |
Dusk | Are those from system headers? | 21:31:19 |
Dusk | In reply to @aloisw:kde.org Do you have error messages for these failures? just realized, should I document the error messages I was getting in the message of the commit that fixes them? | 22:04:15 |
9999years | In reply to @bb010g:matrix.org just realized, should I document the error messages I was getting in the message of the commit that fixes them? yeah if you can that's nice | 22:19:00 |
jade_ | In reply to @bb010g:matrix.org
For the file I changed in my most recent commit, I'm seeing
/nix/store/izzwvk6cbbhsg3x5aqn33q9gnf3nbh2r-clang-tools-17.0.6/bin/clang-tidy -header-filter=src/[^/]+/.*\.hh -p=/var/home/bb010g/Sources/Nix/lix/build/meson/clang-tidy -quiet -load=/var/home/bb010g/Sources/Nix/lix/build/subprojects/lix-clang-tidy/liblix-clang-tidy.so --warnings-as-errors=* /var/home/bb010g/Sources/Nix/lix/src/libstore/local-store.cc
38387 warnings generated.
but no information about what those warnings are.
normal, and yeah system headers indeed | 22:20:04 |
jade_ | In reply to @bb010g:matrix.org Is there a way to run Lix's clang-tidy on just a single file? uhhhhhhhhh digging in my shell history i have: run-clang-tidy -checks='-*,lix-*' -load=build/subprojects/lix-clang-tidy/liblix-clang-tidy.so -p build/meson/clang-tidy tests/unit/libexpr/error_traces.cc
this really sucks as devx and i am sorry about it; we could probably put something in the justfile to fix it
| 22:21:16 |
jade_ | hi raitobezarius it looks like there are unsound assumptions in buildbot about gcroots
argv: [b'nix', b'store', b'sign', b'--store', b'ssh-ng://nix@build01.aarch64.lix.systems?ssh-key=/run/agenix/buildbot-remote-builder-key&base64-ssh-public-host-key=c3NoLWVkMjU1MTkgQUFBQUMzTnphQzFsWkRJMU5URTVBQUFBSUNDNjlOWkQvemhJQi93VWI1b2RnNDZic3M1ZzhoSDJmRGwyMmJrNHFlU1c=', b'--key-file', b'/run/agenix/buildbot-signing-key', b'/nix/store/3nkf8bihgf76w0qxgbzqprn9pbl5sfkc-lix-2.91.1pre20241017_dcdeefd.drv^*']
environment:
BUILDBOT_DIR=/var/lib/buildbot-worker/worker
CREDENTIALS_DIRECTORY=/run/credentials/buildbot-worker.service
HOME=/var/lib/buildbot-worker
INVOCATION_ID=c6072ec4d4b84054b8d7966ed7fc5a16
JOURNAL_STREAM=8:7746687
LANG=en_US.UTF-8
LOCALE_ARCHIVE=/nix/store/wdrnjaw2sgqpp1w7kbd1jv5whcah0v5q-glibc-locales-2.39-52/lib/locale/locale-archive
LOGNAME=buildbot-worker
MASTER_URL=tcp:host=localhost:port=9989
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/system.slice/buildbot-worker.service/memory.pressure
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
PATH=/nix/store/h3i0acpmr8mrjx07519xxmidv8mpax4y-python3-3.12.5/bin:/nix/store/dj1489kq00csdvxh1lzyr3kgj6f1ahc8-python3.12-twisted-24.7.0/bin:/nix/store/g0rr15zdsdbnbbcli08x3zx170j1kc68-python3.12-automat-22.10.0/bin:/nix/store/0l63mqr7qx1asjxfz86j4zbs4758gn98-git-2.46.0/bin:/nix/store/2wwfdill3872xircv1vwmlj8gxghg5f9-openssh-9.8p1/bin:/nix/store/cpad9d9fdvn1fazzmk9q3a06hlmwamx6-lix-2.92.0-devpre20241005_ed9b7f4/bin:/nix/store/w5fz6climh0a26k4vjkdm8l5ggzjbqm3-nix-eval-jobs-2.24.0/bin:/nix/store/izpf49b74i15pcr9708s3xdwyqs4jxwl-bash-5.2p32/bin:/nix/store/0kg70swgpg45ipcz3pr2siidq9fn6d77-coreutils-9.5/bin:/nix/store/fnq94lw19pnwdl9p8zhfrad4jmlgxlbr-findutils-4.10.0/bin:/nix/store/vsyc8jhsr4d9lm2r8yqq9n3j4i66inlj-gnugrep-3.11/bin:/nix/store/gjlh1zvckhz0qv795lnzgw2zciklbzj2-gnused-4.9/bin:/nix/store/1lbc6v5p1a3rn4rjaqnz0694xfbq8dxq-systemd-256.4/bin:/nix/store/0l63mqr7qx1asjxfz86j4zbs4758gn98-git-2.46.0/sbin:/nix/store/2wwfdill3872xircv1vwmlj8gxghg5f9-openssh-9.8p1/sbin:/nix/store/cpad9d9fdvn1fazzmk9q3a06hlmwamx6-lix-2.92.0-devpre20241005_ed9b7f4/sbin:/nix/store/w5fz6climh0a26k4vjkdm8l5ggzjbqm3-nix-eval-jobs-2.24.0/sbin:/nix/store/izpf49b74i15pcr9708s3xdwyqs4jxwl-bash-5.2p32/sbin:/nix/store/0kg70swgpg45ipcz3pr2siidq9fn6d77-coreutils-9.5/sbin:/nix/store/fnq94lw19pnwdl9p8zhfrad4jmlgxlbr-findutils-4.10.0/sbin:/nix/store/vsyc8jhsr4d9lm2r8yqq9n3j4i66inlj-gnugrep-3.11/sbin:/nix/store/gjlh1zvckhz0qv795lnzgw2zciklbzj2-gnused-4.9/sbin:/nix/store/1lbc6v5p1a3rn4rjaqnz0694xfbq8dxq-systemd-256.4/sbin
PWD=/var/lib/buildbot-worker/worker-004/aarch64-linux/lix_nix-build_aarch64-linux/build
PYTHONNOUSERSITE=true
PYTHONPATH=/nix/store/p93sqnkspfkg3vn24xbm62ivmnr6qhy6-python3-3.12.5-env/lib/python3.12/site-packages
SHELL=/run/current-system/sw/bin/zsh
SHLVL=0
SYSTEMD_EXEC_PID=4047704
TZDIR=/nix/store/897xqnq52vw76991r5m80h9j91370vj9-tzdata-2024a/share/zoneinfo
USER=buildbot-worker
WORKER_ARCH_LIST=aarch64-darwin=2,aarch64-linux=6,other=8,x86_64-linux=16
WORKER_PASSWORD_FILE=/run/credentials/buildbot-worker.service/worker-password-file
using PTY: False
don't know how to build these paths:
/nix/store/3nkf8bihgf76w0qxgbzqprn9pbl5sfkc-lix-2.91.1pre20241017_dcdeefd.drv
error: unexpected EOF from daemon socket
error: Nix daemon disconnected unexpectedly (maybe it crashed?)
| 22:23:59 |
jade_ | https://git.lix.systems/lix-project/buildbot-nix/issues/28 filed a bug | 22:25:33 |
raitobezarius | Ack, could you lend me a hand @yuka:yuka.dev: if you have some time someday, as you have knowledge of this area as well, right? | 22:32:54 |
Yureka (she/her) | I think I just noticed that they were broken | 22:33:56 |
jade_ | to a degree there are also lix bugs involved in a few of these ones, but we are working on those | 22:34:06 |
jade_ | * to a degree there are also lix bugs involved in a few of the ci issues, but we are working on those | 22:34:13 |
Yureka (she/her) | as in conceptually broken, the order in which the buildbot creates gcroots and builds stuff did not make any sense | 22:34:39 |
jade_ | mhmm | 22:34:48 |
jade_ | yeah i noticed that too | 22:34:55 |
jade_ | and the gcroots notably have to be on the remote store | 22:35:01 |
jade_ | rather than the local one | 22:35:06 |
jade_ | but this is all actually silliness because ideally it would be bound to a protocol session :/ | 22:35:32 |
jade_ | also, raitobezarius can you get the state of what is actually running in prod buildbot-nix wise clarified?
I want to go fix the eval errors not causing buildbot failures rectified.
| 22:47:14 |
jade_ | * also, raitobezarius can you get the state of what is actually running in prod buildbot-nix wise clarified?
I want to go fix the eval errors not causing buildbot failures
| 22:47:22 |
jade_ | if it's a dev branch, that's okay, we can merge it or whatever, i just want to be able to deploy to the box without exploding everything | 22:54:03 |
raitobezarius | The main branch on the infra repo is the state of truth | 23:14:39 |
raitobezarius | I can remerge the PR in the ForkOS branch and remerge this in the main branch and tag a checkpoint so that it's clarified, yep | 23:15:09 |
jade_ | ah, okay. cool. if that's so, i can get the state into order! | 23:18:25 |