| 1 Nov 2025 |
fzakaria | Still says scheduled to be built ? O.o | 02:56:52 |
lovesegfault |  Download image.png | 15:09:15 |
lovesegfault | We have our first Coverity scan! (h/t Mic92 for all the help) | 15:09:19 |
Mic92 | I was running in on macOS this time, next scan we may want to run on Linux? | 15:14:18 |
lovesegfault | Ahhh | 15:14:34 |
Mic92 | Assuming there is some deadcode at the moment. | 15:14:34 |
lovesegfault | yes, indeed | 15:14:36 |
lovesegfault | Do you have steps for how you did it? | 15:14:51 |
lovesegfault | I can submit a build right now and we can see what happens in a few days :P | 15:15:07 |
Mic92 |
- mounted the installer dmg
- unpacked the tar from the self-extracting installer
- untar
- /private/tmp/codcov2/bin/cov-configure --clang
- /private/tmp/codcov2/bin/cov-build --dir cov-int ninja -C build
- creating a tar. The tar should look like this:
nix-util-env % tar -tvf ./cov-int.tgz drwxr-xr-x joerg/staff 0 2025-10-31 13:36 cov-int/ -rw-r--r-- joerg/staff 191 2025-10-31 13:36 cov-int/security-da-log.txt -rw-r--r-- joerg/staff 21 2025-10-31 13:36 cov-int/build-cwd.txt -rw-r--r-- joerg/staff 398 2025-10-31 13:36 cov-int/security-da-timings.txt drwxr-xr-x joerg/staff 0 2025-10-31 13:36 cov-int/output/
coverity is looking for a cov-int directory with all the files from the directory and will fail very late if it doesn't match up.
| 15:21:37 |
Mic92 | *
- mounted the installer dmg
- extraced the tar from the self-extracting installer
- untar
- /private/tmp/codcov2/bin/cov-configure --clang
- /private/tmp/codcov2/bin/cov-build --dir cov-int ninja -C build
- creating a tar. The tar should look like this:
nix-util-env % tar -tvf ./cov-int.tgz drwxr-xr-x joerg/staff 0 2025-10-31 13:36 cov-int/ -rw-r--r-- joerg/staff 191 2025-10-31 13:36 cov-int/security-da-log.txt -rw-r--r-- joerg/staff 21 2025-10-31 13:36 cov-int/build-cwd.txt -rw-r--r-- joerg/staff 398 2025-10-31 13:36 cov-int/security-da-timings.txt drwxr-xr-x joerg/staff 0 2025-10-31 13:36 cov-int/output/
coverity is looking for a cov-int directory with all the files from the directory and will fail very late if it doesn't match up.
| 15:22:02 |
Mic92 | *
- mounted the installer dmg
- extraced the tar from the self-extracting installer
- untar the coverity toolchain
- /private/tmp/codcov2/bin/cov-configure --clang
- /private/tmp/codcov2/bin/cov-build --dir cov-int ninja -C build
- creating a tar. The tar should look like this:
nix-util-env % tar -tvf ./cov-int.tgz drwxr-xr-x joerg/staff 0 2025-10-31 13:36 cov-int/ -rw-r--r-- joerg/staff 191 2025-10-31 13:36 cov-int/security-da-log.txt -rw-r--r-- joerg/staff 21 2025-10-31 13:36 cov-int/build-cwd.txt -rw-r--r-- joerg/staff 398 2025-10-31 13:36 cov-int/security-da-timings.txt drwxr-xr-x joerg/staff 0 2025-10-31 13:36 cov-int/output/
coverity is looking for a cov-int directory with all the files from the directory and will fail very late if it doesn't match up.
| 15:22:13 |
lovesegfault | This inside a nix develop shell? | 15:23:22 |
Mic92 | yes. | 15:23:33 |
Mic92 | I did run meson configure before. | 15:23:40 |
| * lovesegfault nods | 15:24:51 |
lovesegfault | let me try from Linux | 15:24:58 |
lovesegfault | it's going! | 15:49:54 |
lovesegfault | Last Build Status: In-queue. Your build is in the queue to be analyzed. There are 99 builds ahead of it. | 16:12:51 |
lovesegfault | From past experience, it will take a long while :P | 16:13:11 |
John Ericson | Sergei Zimmerman (xokdvium): do you think instead of doing <"....."> we can use custom string literals? | 19:33:01 |
John Ericson | that seems a little bit less stressful on the templating :) | 19:33:16 |
John Ericson | hmm, seems to be working! | 19:47:38 |
John Ericson | ah it was because auto not auto & | 20:00:02 |
John Ericson | OK got it! | 20:15:42 |
John Ericson | and I found that deleting the destructor will make auto instead of auto & a compile failure, yay! | 20:16:03 |
dramforever | i've never been quite sure - what's the support status of statically linked nix? it's something i've found genuinely incredibly convenient... but the only i know to way to download one is to dig from hydra which seems not ideal | 20:50:57 |
dramforever | * i've never been quite sure - what's the support status of statically linked nix? it's something i've found genuinely incredibly convenient... but the only way i know to download one is to dig from hydra which seems not ideal | 20:51:11 |
dramforever | curl -o nix https://hydra.nixos.org/job/nix/master/buildStatic.nix-cli.x86_64-linux/latest/download/1 feels like something i should not be "shipping to prod" so to speak | 20:51:55 |
emily | it regularly fails to build on Hydra fwiw | 20:52:00 |