[Bug 251073] sysutils/plasma5-kinfocenter: show up FreeBSD 12.1 on FreeBSD 12.2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 13 16:42:53 GMT 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251073

--- Comment #8 from Adriaan de Groot <adridg at freebsd.org> ---
For @marshall, you could try the following program, just to see if the
`uname()` function which **presumably** is being called by kinfocenter, is
returning the thing that you think it is (or what it should be):

```
#include <sys/utsname.h>
#include <stdio.h>
int main(int argc, char** argv) {
        struct utsname u;
        int r = uname(&u);
        printf("%d: %s\n", r, r ? "<error>" : u.release);
        return 0;
}
```

After that, check if the environment variable affects this program, and also
kinfocenter:

```
UNAME_r="derpderp" kinfocenter
UNAME_r="derpderp" ./a.out
```

(Both of those should show "derpderp" as kernel version, because the
environment variable takes precedence).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list