Skip to content

error: StreamTooLong when recompiling; duplicate source files in cache manifest #16149

@rupurt

Description

@rupurt

Zig Version

0.11.0-dev.3771+128fd7dd0

Steps to Reproduce and Observed Behavior

https://github.com/rupurt/record-duckdb-extension

Steps to reproduce

nix develop -c $SHELL
nix run .#build-fast
nix run .#build-fast

Observed behavior

build.zig options:
- openssl-include-dir=/nix/store/4a0x3z29dhwid9w3wpc1vl05ykm5pqgs-openssl-3.0.9-dev/include
zig build-lib duckdb_static ReleaseFast native: error: error: StreamTooLong

zig build-lib duckdb_static ReleaseFast native: error: the following command exited with error code 1:
/nix/store/213vknkrkc5izl27z7xzs67rm8m6pvfx-zig-0.11.0-dev.3771+128fd7dd0/bin/zig build-lib @/home/alex/workspace/rupurt/record-duckdb-extension/zig-cache/args/12e63fc7cee3d195fbfe9ad73681e58c0e9a44720a0f0886f19d2df986096ddb
Build Summary: 35/38 steps succeeded; 1 failed (disable with --summary none)
install transitive failure
└─ install duckdb_static transitive failure
   └─ zig build-lib duckdb_static ReleaseFast native failure
error: the following build command failed with exit code 1:
/home/alex/workspace/rupurt/record-duckdb-extension/zig-cache/o/78b16d4b1e14050816deef8c0e0e9dee/build /nix/store/213vknkrkc5izl27z7xzs67rm8m6pvfx-zig-0.11.0-dev.3771+128fd7dd0/bin/zig /home/alex/workspace/rupurt/record-duckdb-extension /home/alex/workspace/rupurt/record-duckdb-extension/zig-cache /home/alex/.cache/zig -Dopenssl-include-dir=/nix/store/4a0x3z29dhwid9w3wpc1vl05ykm5pqgs-openssl-3.0.9-dev/include -Doptimize=ReleaseFast

Expected Behavior

I should be able to compile subsequent runs successfully

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions