Skip to content

build-newest-gcc has been RED on main since 5702d8f83: test_qwen3_dflash2_gguf calls ::getpid() with no <unistd.h> #1565

Description

@localai-bot

build-newest-gcc fails at the Build step on main and therefore on every pull request based on it. The whole lane reports nothing about the code under review while this stands, which is the blind spot #1503 was opened about for the other two.

Measured

Job 96672393266, the scheduled run 32448496119 on main at 5702d8f83:

/__w/vllm.cpp/vllm.cpp/tests/vllm/models/test_qwen3_dflash2_gguf.cpp:547:53:
error: '::getpid' has not been declared; did you mean 'getpt'?

ScratchSafetensors builds its temporary directory name from ::getpid()
(test_qwen3_dflash2_gguf.cpp:547) and the file's include list carries no
<unistd.h>. Older libstdc++ headers pull it in transitively; the newest GCC
this lane installs does not, so the call has no declaration.

It is not the newest compiler being stricter about this project's own code in
any interesting way. It is one missing include, and the same file's sibling
tests/vllm/multimodal/test_ltx2_video.cpp already includes <unistd.h>
unguarded for the same ::getpid() call.

Owner

Fixed in flow by LTX25-PHASE-RESIDUE (#1536), which found it while reading
its own pull request's CI. It is that row's pull request rather than its own
because it is one line and because the lane it unblocks is the one that reports
on that pull request.

FOLLOWING_AGENTS_PROTOCOL

Following-Agents-Protocol: true
AI-Assisted: true
Assisted-by: AGENT:claude-opus-5 [claude-code]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions