Package AxeSMTP #8

Open
opened 2026-07-22 12:49:46 +02:00 by toonn · 2 comments
Member
[AxeSMTP](https://gitlab.com/arpa2/AxeSMTP)
Author
Member

WIP in PR #544544.

Requires Pavlov for tests, #12.

WIP in [PR #544544](https://github.com/NixOS/nixpkgs/pull/544544). Requires Pavlov for tests, #12.
toonn added this to the Packaging project 2026-07-22 14:57:13 +02:00
Author
Member

✅ Implicit declaration of printf

Implicit `printf` `src/command.rl` should include `stdio.h` to avoid the implicit declaration of `printf` warning, I'm currently patching this by invoking `sed` but it's better handled upstream. The warnings that are promoted to error:
command.rl:480:1: error: implicit declaration of function 'printf' [-Wimplicit-f
unction-declaration]
command.rl:21:1: note: include '<stdio.h>' or provide a declaration of 'printf'
command.rl:480:1: warning: incompatible implicit declaration of built-in functio
n 'printf' [-Wbuiltin-declaration-mismatch]
command.rl:480:1: note: include '<stdio.h>' or provide a declaration of 'printf'

Test 17 "t-ingroup-john2cook-group-john-mary"

After tests 1 through 16 pass, in varying orders because of concurrency,
the build hangs. If I'm not mistaken the culprit is test 17
"t-ingroup-john2cook-group-john-mary". I gave it some time but after a couple
minutes I gave up, since none of the other tests take more than 0.1 s.

With PYPELINE_TIMEOUT=10 it takes about 10 s to fail, updated the log
so you have the failure output.

If I enable strace with STRACE='' only tests 1-3 pass and then it
hangs, with or without PYPELINE_TIMEOUT.

# ✅ Implicit declaration of `printf` <details> <summary>Implicit `printf`</summary> `src/command.rl` should include `stdio.h` to avoid the implicit declaration of `printf` warning, I'm currently patching this by invoking `sed` but it's better handled upstream. The warnings that are promoted to error: ``` command.rl:480:1: error: implicit declaration of function 'printf' [-Wimplicit-f unction-declaration] command.rl:21:1: note: include '<stdio.h>' or provide a declaration of 'printf' command.rl:480:1: warning: incompatible implicit declaration of built-in functio n 'printf' [-Wbuiltin-declaration-mismatch] command.rl:480:1: note: include '<stdio.h>' or provide a declaration of 'printf' ``` </details> # Test 17 "t-ingroup-john2cook-group-john-mary" After tests 1 through 16 pass, in varying orders because of concurrency, the build hangs. If I'm not mistaken the culprit is test 17 "t-ingroup-john2cook-group-john-mary". I gave it some time but after a couple minutes I gave up, since none of the other tests take more than 0.1 s. With `PYPELINE_TIMEOUT=10` it takes about 10 s to fail, updated the log so you have the failure output. If I enable strace with `STRACE=''` only tests 1-3 pass and then it hangs, with or without `PYPELINE_TIMEOUT`.
toonn self-assigned this 2026-07-22 15:52:37 +02:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
fediversity/ARPA2-Packaging#8
No description provided.