NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.09k stars 14.08k forks source link

Build failure: mailhog #350878

Open DanielSiepmann opened 1 week ago

DanielSiepmann commented 1 week ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. build mailhog

Build log

Running phase: unpackPhase
unpacking source archive /nix/store/qi7b0yvqmy4xxvf0a2hhbwam3c9y85r3-source
source root is source
Running phase: patchPhase
go: creating new go.mod: module github.com/mailhog/MailHog
go: to add module requirements and sums:
        go mod tidy
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
Running phase: buildPhase
Building subPackage .
go: ignoring package github.com/mailhog/MailHog-Server/smtp which exists in the vendor directory but is missing from vendor/modules.txt. To sync the vendor directory run go mod vendor.
go: ignoring package github.com/gorilla/pat which exists in the vendor directory but is missing from vendor/modules.txt. To sync the vendor directory run go mod vendor.
go: ignoring package github.com/mailhog/MailHog-Server/api which exists in the vendor directory but is missing from vendor/modules.txt. To sync the vendor directory run go mod vendor.
go: ignoring package github.com/ian-kent/go-log/log which exists in the vendor directory but is missing from vendor/modules.txt. To sync the vendor directory run go mod vendor.
go: ignoring package github.com/mailhog/MailHog-UI/assets which exists in the vendor directory but is missing from vendor/modules.txt. To sync the vendor directory run go mod vendor.
go: ignoring package github.com/mailhog/MailHog-UI/config which exists in the vendor directory but is missing from vendor/modules.txt. To sync the vendor directory run go mod vendor.
go: ignoring package github.com/mailhog/MailHog-UI/web which exists in the vendor directory but is missing from vendor/modules.txt. To sync the vendor directory run go mod vendor.
go: ignoring package github.com/mailhog/mhsendmail/cmd which exists in the vendor directory but is missing from vendor/modules.txt. To sync the vendor directory run go mod vendor.
go: ignoring package github.com/mailhog/http which exists in the vendor directory but is missing from vendor/modules.txt. To sync the vendor directory run go mod vendor.
go: ignoring package golang.org/x/crypto/bcrypt which exists in the vendor directory but is missing from vendor/modules.txt. To sync the vendor directory run go mod vendor.
go: ignoring package github.com/ian-kent/envconf which exists in the vendor directory but is missing from vendor/modules.txt. To sync the vendor directory run go mod vendor.
go: ignoring package github.com/mailhog/MailHog-Server/config which exists in the vendor directory but is missing from vendor/modules.txt. To sync the vendor directory run go mod vendor.
main.go:10:2: cannot find module providing package github.com/gorilla/pat: import lookup disabled by -mod=vendor
main.go:11:2: cannot find module providing package github.com/ian-kent/go-log/log: import lookup disabled by -mod=vendor
main.go:12:2: cannot find module providing package github.com/mailhog/MailHog-Server/api: import lookup disabled by -mod=vendor
main.go:13:2: cannot find module providing package github.com/mailhog/MailHog-Server/config: import lookup disabled by -mod=vendor
main.go:14:2: cannot find module providing package github.com/mailhog/MailHog-Server/smtp: import lookup disabled by -mod=vendor
main.go:15:2: cannot find module providing package github.com/mailhog/MailHog-UI/assets: import lookup disabled by -mod=vendor
main.go:16:2: cannot find module providing package github.com/mailhog/MailHog-UI/config: import lookup disabled by -mod=vendor
main.go:17:2: cannot find module providing package github.com/mailhog/MailHog-UI/web: import lookup disabled by -mod=vendor
config/config.go:6:2: cannot find module providing package github.com/ian-kent/envconf: import lookup disabled by -mod=vendor
main.go:19:2: cannot find module providing package github.com/mailhog/http: import lookup disabled by -mod=vendor
main.go:20:2: cannot find module providing package github.com/mailhog/mhsendmail/cmd: import lookup disabled by -mod=vendor
main.go:21:2: cannot find module providing package golang.org/x/crypto/bcrypt: import lookup disabled by -mod=vendor

Additional context

https://hydra.nixos.org/build/274895337

Last successful build: https://hydra.nixos.org/build/271792127

Notify maintainers

@disassembler @jojosch

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
this path will be fetched (0.00 MiB download, 0.00 MiB unpacked):
  /nix/store/ldh87xl0dsnypb36455czrznip41znzf-nix-info
copying path '/nix/store/ldh87xl0dsnypb36455czrznip41znzf-nix-info' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.54, NixOS, 24.11 (Vicuna), 24.11pre690827.5633bcff0c61`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.8`
 - channels(root): `"nixos, nixos-hardware, phps"`
 - channels(daniels): `"home-manager, nixpkgs, phps"`
 - nixpkgs: `/home/daniels/.nix-defexpr/channels/nixpkgs`

Add a :+1: reaction to issues you find important.

oneingan commented 1 week ago

After a nix-bisect this was the result:

First bad found! Here it is: 350a819a36b585257d7ed19f07ab6169e4a0cd35

https://github.com/NixOS/nixpkgs/commit/350a819a36b585257d7ed19f07ab6169e4a0cd35