Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: linuxPackages_testing.broadcom-sta #392949

Open
3 tasks done
theoparis opened this issue Mar 25, 2025 · 2 comments
Open
3 tasks done

Build failure: linuxPackages_testing.broadcom-sta #392949

theoparis opened this issue Mar 25, 2025 · 2 comments
Labels
0.kind: build failure A package fails to build

Comments

@theoparis
Copy link
Contributor

Nixpkgs version

Please select a version.

Steps to reproduce

Build linuxPackages_testing (linux 6.14) with broadcom-sta and the wl kernel module

Can Hydra reproduce this build failure?

No, Hydra cannot reproduce this build failure.

Link to Hydra build job

No response

Relevant log output

brush$ sudo nixos-rebuild switch --flake .#macbookair71 --upgrade
warning: Git tree '/etc/nixos' is dirty
building the system configuration...
warning: Git tree '/etc/nixos' is dirty
error: builder for '/nix/store/3iync2n1kdkbhrkw6ac8lz34vrmp4hhc-broadcom-sta-6.30.223.271-6.14.drv' failed with exit code 2;
       last 25 log lines:
       >                  from /nix/store/1v70gd12v5chh69vqb0ld3xaqaz298sn-linux-6.14-dev/lib/modules/6.14.0/source/include/linux/umh.h:4,
       >                  from /nix/store/1v70gd12v5chh69vqb0ld3xaqaz298sn-linux-6.14-dev/lib/modules/6.14.0/source/include/linux/kmod.h:9,
       >                  from /nix/store/1v70gd12v5chh69vqb0ld3xaqaz298sn-linux-6.14-dev/lib/modules/6.14.0/source/include/linux/module.h:17,
       >                  from ././src/include/linuxver.h:40,
       >                  from src/wl/sys/wl_linux.c:27:
       > src/wl/sys/wl_linux.c: In function 'wl_down':
       > /nix/store/1v70gd12v5chh69vqb0ld3xaqaz298sn-linux-6.14-dev/lib/modules/6.14.0/source/include/linux/workqueue.h:765:9: warning: call to '__warn_flushing_systemwide_wq' declared with attribute warning: Please avoid flushing system-wide workqueues. []
       >   765 |         __warn_flushing_systemwide_wq();                                \
       >       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       > src/wl/sys/wl_linux.c:1499:25: note: in expansion of macro 'flush_scheduled_work'
       >  1499 |                         flush_scheduled_work();
       >       |                         ^~~~~~~~~~~~~~~~~~~~
       >   CC [M]  src/wl/sys/wl_iw.o
       >   CC [M]  src/wl/sys/wl_cfg80211_hybrid.o
       > src/wl/sys/wl_cfg80211_hybrid.c:1898:25: error: initialization of 'int (*)(struct wiphy *, struct wireless_dev *, unsigned int,  int *)' from incompatible pointer type 's32 (*)(struct wiphy *, struct wireless_dev *, s32 *)' {aka 'int (*)(struct wiphy *, struct wireless_dev *, int *)'} []
       >  1898 |         .get_tx_power = wl_cfg80211_get_tx_power,
       >       |                         ^~~~~~~~~~~~~~~~~~~~~~~~
       > src/wl/sys/wl_cfg80211_hybrid.c:1898:25: note: (near initialization for 'wl_cfg80211_ops.get_tx_power')
       > make[4]: *** [/nix/store/1v70gd12v5chh69vqb0ld3xaqaz298sn-linux-6.14-dev/lib/modules/6.14.0/source/scripts/Makefile.build:207: src/wl/sys/wl_cfg80211_hybrid.o] Error 1
       > make[3]: *** [/nix/store/1v70gd12v5chh69vqb0ld3xaqaz298sn-linux-6.14-dev/lib/modules/6.14.0/source/Makefile:1994: .] Error 2
       > make[2]: *** [/nix/store/1v70gd12v5chh69vqb0ld3xaqaz298sn-linux-6.14-dev/lib/modules/6.14.0/source/Makefile:251: __sub-make] Error 2
       > make[2]: Leaving directory '/build/broadcom-sta'
       > make[1]: *** [/nix/store/1v70gd12v5chh69vqb0ld3xaqaz298sn-linux-6.14-dev/lib/modules/6.14.0/source/Makefile:251: __sub-make] Error 2
       > make[1]: Leaving directory '/nix/store/1v70gd12v5chh69vqb0ld3xaqaz298sn-linux-6.14-dev/lib/modules/6.14.0/build'
       > make: *** [Makefile:173: all] Error 2
       For full logs, run 'nix log /nix/store/3iync2n1kdkbhrkw6ac8lz34vrmp4hhc-broadcom-sta-6.30.223.271-6.14.drv'.
error: 1 dependencies of derivation '/nix/store/ihnndb83vyr6qbbc9dml4jvg4mbh88dm-linux-6.14-modules.drv' failed to build
error: 1 dependencies of derivation '/nix/store/2fcrdmcc8917cjcn2n938l6hnnm9shb8-nixos-system-nixos-25.05.20250325.33319c3.drv' failed to buil

Additional context

I'm not sure if hydra can reproduce this build failure as the search bar gives a database timeout error:

DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::Pg::st execute failed: ERROR: canceling statement due to statement timeout [for Statement "SELECT me.id, me.finished, me.timestamp, me.jobset_id, me.job, me.nixname, me.description, me.drvpath, me.system, me.license, me.homepage, me.maintainers, me.maxsilent, me.timeout, me.ischannel, me.iscurrent, me.priority, me.globalpriority, me.starttime, me.stoptime, me.iscachedbuild, me.buildstatus, me.size, me.closuresize, me.releasename, me.keep, me.notificationpendingsince FROM builds me LEFT JOIN buildoutputs buildoutputs ON buildoutputs.build = me.id WHERE ( buildoutputs.path ILIKE ? ) ORDER BY id desc LIMIT ?" with ParamValues: 1='%broadcom-sta%', 2='10'] at /nix/store/dcdf80y3y6f1pa4l3r1y0asmy04bgl6m-hydra-0.1.20250216.c3b6e7b/libexec/hydra/lib/Hydra/Controller/Root.pm line 518

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.13.5, NixOS, 25.05 (Warbler), 25.05.20250325.33319c3
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.12
  • nixpkgs: /nix/store/vsdijys7qrif2rg7i5cb63yqf6k9vgp7-source

Notify maintainers

@j0hax


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

@theoparis theoparis added the 0.kind: build failure A package fails to build label Mar 25, 2025
@theoparis
Copy link
Contributor Author

I have found relevant patches that were applied in Ubuntu, however I can't seem to find a way to override broadcom-sta from my nixos configuration with these patches...

@j0hax
Copy link
Member

j0hax commented Mar 25, 2025

Hi, please take a look at #379913. I've been waiting for the PR to be merged a couple weeks now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

No branches or pull requests

2 participants