bpftrace ships *.bt replacement scripts for the original bcc programs
but still installs their manual pages as *.8 rather than *.bt.8 which
conflicts with the original manual pages.
Rename them to recover the original manuals and avoid conflict spam:
```
building '/nix/store/jspx13hyfi2m9vlnbj5iywk6rxpxp7y0-system-path.drv'...
warning: collision between `/nix/store/dv7x07rmd2m7596f38kl9d5bnv545qz7-bpftrace-0.14.1-man/share/man/man8/biolatency.8.gz' and `/nix/store/lw1kw7077wk3j6cnvjrm904rs2w7785p-bcc-0.24.0/share/man/man8/biolatency.8.gz'
[... 28 more duplicate manuals ...]
```
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: acpi/xsdt.o:/build/syslinux-b404870/com32/gpllib/../gplinclude/memory.h:40: multiple definition of
`e820_types'; memory.o:/build/syslinux-b404870/com32/gpllib/../gplinclude/memory.h:40: first defined here
Without the change builds fails on upstream gcc-10 as:
ld: mactel/nv8600mgt_backlight.o:/build/pommed-light/pommed/mactel/nv8600mgt_backlight.c:50: multiple definition of
`lcd_bck_info'; sysfs_backlight.o:/build/pommed-light/pommed/sysfs_backlight.c:124: first defined here
Without the change build fails on upstream gcc-10 as:
ld: src/util.c.1.o:/build/pflask/build/../src/printf.h:42: multiple definition of
`use_syslog'; src/cgroup.c.1.o:/build/pflask/build/../src/printf.h:42: first defined here
sysstat compresses manual pages using the `ZIP` environment variable
unless `COMPRESS_MANPG` is set.
`ZIP` seems to default to xz(1) and is for more than just compressing
manuals.
At least with `documentation.man.mandoc.enable = true;` this renders
them unreadable:
```
$ man -w mpstat
man: outdated mandoc.db lacks mpstat(1) entry, run makewhatis /nix/store/lk0r6ibvkrvaq96gp8h4rqgrd2q0c8q5-system-path/share/man
/nix/store/lk0r6ibvkrvaq96gp8h4rqgrd2q0c8q5-system-path/share/man/man1/mpstat.1.xz
```
(followed by `PAGER` showing compressed mpstat.1.xz content.)
Disable manual page compression during build and thus defer it to Nix:
```
gzipping man pages under /nix/store/wl2dwl1lhs9g5w2d5dhr0pcskp78nz42-sysstat-12.4.5/share/man/
```
This also avoids potential runtime incompatibilites in sysstat
(I am not a `services.systat` user).
* linuxPackages.rtw88: 2021-04-19 to 2022-05-08
added myself to the maintainers
* linuxPackages.rtw88: removing upper version limit for the broken mark
Very confusingly, the `isPowerPC` predicate in
`lib/systems/inspect.nix` does *not* match `powerpc64le`!
This is because `isPowerPC` is defined as
isPowerPC = { cpu = cpuTypes.powerpc; };
Where `cpuTypes.powerpc` is:
{ bits = 32; significantByte = bigEndian; family = "power"; };
This means that the `isPowerPC` predicate actually only matches the
subset of machines marketed under this name which happen to be 32-bit
and running in big-endian mode which is equivalent to:
with stdenv.hostPlatform; isPower && isBigEndian && is32bit
This seems like a sharp edge that people could easily cut themselves
on. In fact, that has already happened: in
`linux/kernel/common-config.nix` there is a test which will always
fail:
(stdenv.hostPlatform.isPowerPC && stdenv.hostPlatform.is64bit)
A more subtle case of the strict isPowerPC being used instead of the
moreg general isPower accidentally are the GHC expressions:
Update pkgs/development/compilers/ghc/8.10.7.nix
Update pkgs/development/compilers/ghc/8.8.4.nix
Update pkgs/development/compilers/ghc/9.2.2.nix
Update pkgs/development/compilers/ghc/9.0.2.nix
Update pkgs/development/compilers/ghc/head.nix
Since the remaining legitimate use sites of isPowerPC are so few, remove
the isPowerPC predicate completely. The alternative expression above is
noted in the release notes as an alternative.
Co-authored-by: sternenseemann <sternenseemann@systemli.org>
This version was last touched in February 2022, as opposed to the
version we were using before, which hasn't been touched since January
2019.
I've reviewed the diff, and it all seems reasonable. We need a newer
version of this package, because hannesha's version doesn't build with
Linux 5.18.