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

rtl8192eu: init at 4.4.1 #35356

Merged
merged 1 commit into from Feb 22, 2018
Merged

rtl8192eu: init at 4.4.1 #35356

merged 1 commit into from Feb 22, 2018

Conversation

troydm
Copy link
Contributor

@troydm troydm commented Feb 22, 2018

Motivation for this change

lack of rtl8192eu package that is must have for all using that Realtek Wi-Fi chipset

Things done
  • Tested using nix-build and insmod, works fine with D-Link DWA-131 (which uses rtl8192eu), heck it's the only stable way to use wireless network on my laptop unfortunetly
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@fpletz
Copy link
Member

fpletz commented Feb 22, 2018

@GrahamcOfBorg build linuxPackages.rtl8192eu

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

error: while evaluating 'callPackageWith' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:113:35, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:13260:17:
while evaluating 'makeOverridable' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:72:24, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:117:8:
while evaluating anonymous function at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/rtl8192eu/default.nix:1:1, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:74:12:
while evaluating the attribute 'linux_4_14' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:13111:3:
while evaluating 'callPackageWith' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:113:35, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:13111:16:
while evaluating 'makeOverridable' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:72:24, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:117:8:
while evaluating anonymous function at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/linux-4.14.nix:1:1, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:74:12:
while evaluating 'makeOverridable' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:72:24, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/linux-4.14.nix:5:1:
while evaluating anonymous function at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/generic.nix:9:1, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:74:12:
assertion failed at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/generic.nix:41:1

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

make ARCH=aarch64 CROSS_COMPILE= -C /nix/store/nbjdljzarffv4l0h44ryc6vid472bzxc-linux-4.14.20-dev/lib/modules/4.14.20/build M=/build/source  modules
make[1]: Entering directory '/nix/store/nbjdljzarffv4l0h44ryc6vid472bzxc-linux-4.14.20-dev/lib/modules/4.14.20/build'
/nix/store/nbjdljzarffv4l0h44ryc6vid472bzxc-linux-4.14.20-dev/lib/modules/4.14.20/source/Makefile:632: arch/aarch64/Makefile: No such file or directory
make[3]: *** No rule to make target 'arch/aarch64/Makefile'.  Stop.
make[2]: *** [Makefile:146: sub-make] Error 2
make[1]: *** [Makefile:24: __sub-make] Error 2
make[1]: Leaving directory '/nix/store/nbjdljzarffv4l0h44ryc6vid472bzxc-linux-4.14.20-dev/lib/modules/4.14.20/build'
make: *** [Makefile:1700: modules] Error 2
builder for '/nix/store/brszy7yksyl0qakp2n46jlb816cr9fq5-rtl8192eu-4.14.20-4.4.1.drv' failed with exit code 2
�[31;1merror:�[0m build of '/nix/store/brszy7yksyl0qakp2n46jlb816cr9fq5-rtl8192eu-4.14.20-4.4.1.drv' failed

@fpletz
Copy link
Member

fpletz commented Feb 22, 2018

@GrahamcOfBorg build linuxPackages_latest.rtl8192eu

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

error: while evaluating 'callPackageWith' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:113:35, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:13260:17:
while evaluating 'makeOverridable' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:72:24, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:117:8:
while evaluating anonymous function at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/rtl8192eu/default.nix:1:1, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:74:12:
while evaluating the attribute 'linux_4_15' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:13126:3:
while evaluating 'callPackageWith' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:113:35, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:13126:16:
while evaluating 'makeOverridable' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:72:24, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:117:8:
while evaluating anonymous function at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/linux-4.15.nix:1:1, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:74:12:
while evaluating 'makeOverridable' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:72:24, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/linux-4.15.nix:5:1:
while evaluating anonymous function at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/generic.nix:9:1, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:74:12:
assertion failed at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/generic.nix:41:1

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

make ARCH=aarch64 CROSS_COMPILE= -C /nix/store/8a48zc6adr6q2rmh61j9wnk5pb3f68wd-linux-4.15.4-dev/lib/modules/4.15.4/build M=/build/source  modules
make[1]: Entering directory '/nix/store/8a48zc6adr6q2rmh61j9wnk5pb3f68wd-linux-4.15.4-dev/lib/modules/4.15.4/build'
/nix/store/8a48zc6adr6q2rmh61j9wnk5pb3f68wd-linux-4.15.4-dev/lib/modules/4.15.4/source/Makefile:630: arch/aarch64/Makefile: No such file or directory
make[3]: *** No rule to make target 'arch/aarch64/Makefile'.  Stop.
make[2]: *** [Makefile:146: sub-make] Error 2
make[1]: *** [Makefile:24: __sub-make] Error 2
make[1]: Leaving directory '/nix/store/8a48zc6adr6q2rmh61j9wnk5pb3f68wd-linux-4.15.4-dev/lib/modules/4.15.4/build'
make: *** [Makefile:1700: modules] Error 2
builder for '/nix/store/pkfg95596g57igs7rwgcfshvb8yjqc2b-rtl8192eu-4.15.4-4.4.1.drv' failed with exit code 2
�[31;1merror:�[0m build of '/nix/store/pkfg95596g57igs7rwgcfshvb8yjqc2b-rtl8192eu-4.15.4-4.4.1.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

  LD [M]  /tmp/nix-build-rtl8192eu-4.14.20-4.4.1.drv-0/source/8192eu.ko
make[1]: Leaving directory '/nix/store/9bi9n8b4w3lw7741nav2ln5svmv61lpr-linux-4.14.20-dev/lib/modules/4.14.20/build'
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/1gvvvbgjz5xbz853yfis7drwpmm6sm35-rtl8192eu-4.14.20-4.4.1
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/1gvvvbgjz5xbz853yfis7drwpmm6sm35-rtl8192eu-4.14.20-4.4.1/lib 
patching script interpreter paths in /nix/store/1gvvvbgjz5xbz853yfis7drwpmm6sm35-rtl8192eu-4.14.20-4.4.1
checking for references to /tmp/nix-build-rtl8192eu-4.14.20-4.4.1.drv-0 in /nix/store/1gvvvbgjz5xbz853yfis7drwpmm6sm35-rtl8192eu-4.14.20-4.4.1...
/nix/store/1gvvvbgjz5xbz853yfis7drwpmm6sm35-rtl8192eu-4.14.20-4.4.1

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

  LD [M]  /tmp/nix-build-rtl8192eu-4.15.4-4.4.1.drv-0/source/8192eu.ko
make[1]: Leaving directory '/nix/store/lzr649sqp37j5dm38828zg34x7xyll5y-linux-4.15.4-dev/lib/modules/4.15.4/build'
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/8459pzwslrd10yrcgnp96diyh7vi4jxx-rtl8192eu-4.15.4-4.4.1
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/8459pzwslrd10yrcgnp96diyh7vi4jxx-rtl8192eu-4.15.4-4.4.1/lib 
patching script interpreter paths in /nix/store/8459pzwslrd10yrcgnp96diyh7vi4jxx-rtl8192eu-4.15.4-4.4.1
checking for references to /tmp/nix-build-rtl8192eu-4.15.4-4.4.1.drv-0 in /nix/store/8459pzwslrd10yrcgnp96diyh7vi4jxx-rtl8192eu-4.15.4-4.4.1...
/nix/store/8459pzwslrd10yrcgnp96diyh7vi4jxx-rtl8192eu-4.15.4-4.4.1

@fpletz fpletz merged commit 512fb52 into NixOS:master Feb 22, 2018
@fpletz
Copy link
Member

fpletz commented Feb 22, 2018

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants