dunglas / frankenphp

🧟 The modern PHP app server
https://frankenphp.dev
MIT License
6.67k stars 220 forks source link

Missing `brotli/decode.h` #553

Closed drupol closed 7 months ago

drupol commented 7 months ago

What happened?

Hello,

I'm trying to update FrankenPHP (see related PR) in Nix, and I got a new issue.

Build Type

Custom (tell us more in the description)

Worker Mode

Yes

Operating System

GNU/Linux

CPU Architecture

x86_64

Relevant log output

frankenphp> go: downloading github.com/mattn/go-isatty v0.0.20
frankenphp> go: downloading github.com/go-logfmt/logfmt v0.6.0
frankenphp> go: downloading github.com/bits-and-blooms/bitset v1.13.0
frankenphp> # github.com/google/brotli/go/cbrotli
frankenphp> ../../go/pkg/mod/github.com/google/brotli/go/cbrotli@v0.0.0-20240116120200-adbc354d23af/reader.go:13:10: fatal error: brotli/decode.h: No such file or directory
frankenphp>    13 | #include <brotli/decode.h>
frankenphp>       |          ^~~~~~~~~~~~~~~~~
frankenphp> compilation terminated.
error: builder for '/nix/store/yldc3x6w8jbyavdwqpnz35s9m5m7wq93-frankenphp-1.1.0.drv' failed with exit code 1;
       last 25 log lines:
       > go: downloading github.com/golang/protobuf v1.5.3
       > go: downloading github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13
       > go: downloading github.com/jackc/pgconn v1.14.1
       > go: downloading github.com/jackc/pgio v1.0.0
       > go: downloading github.com/jackc/pgproto3/v2 v2.3.2
       > go: downloading github.com/jackc/pgtype v1.14.1
       > go: downloading github.com/go-kit/kit v0.13.0
       > go: downloading github.com/google/certificate-transparency-go v1.1.7
       > go: downloading github.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96
       > go: downloading github.com/golang/snappy v0.0.4
       > go: downloading github.com/jackc/chunkreader/v2 v2.0.1
       > go: downloading github.com/jackc/pgpassfile v1.0.0
       > go: downloading github.com/jackc/pgservicefile v0.0.0-20231201235250-de7065d80cb9
       > go: downloading github.com/go-kit/log v0.2.1
       > go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d
       > go: downloading github.com/mattn/go-colorable v0.1.13
       > go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
       > go: downloading github.com/mattn/go-isatty v0.0.20
       > go: downloading github.com/go-logfmt/logfmt v0.6.0
       > go: downloading github.com/bits-and-blooms/bitset v1.13.0
       > # github.com/google/brotli/go/cbrotli
       > ../../go/pkg/mod/github.com/google/brotli/go/cbrotli@v0.0.0-20240116120200-adbc354d23af/reader.go:13:10: fatal error: brotli/decode.h: No such file or directory
       >    13 | #include <brotli/decode.h>
       >       |          ^~~~~~~~~~~~~~~~~
       > compilation terminated.
       For full logs, run 'nix log /nix/store/yldc3x6w8jbyavdwqpnz35s9m5m7wq93-frankenphp-1.1.0.drv'.
~/C/N/nixpkgs > bump/frankenphp-1.1 +7 -7 [!] ✘
drupol commented 7 months ago

Sorry for the noise, it was fixed in https://github.com/NixOS/nixpkgs/pull/286457 !