[Bug]: NetBSD 10.0 compilation issues then conky crashes "attempting to use more CPUs than you have! #2097
Labels
bug
related to incorrect existing implementation of some functionality
os: netbsd
related to NetBSD
triage
issue that hasn't been verified, categorized or acknowledged yet
What happened?
I had a similar issue with OpenBSD.
Downloaded latest version. Had compilation issues due to path to ncurses /usr/pkg/include/ncurses/ncurses.h not being in the following files
conky.cc line 92,
nc.h line32,
display-ncursed.cc line 39.
I replaced #<includeNcurses.h> with #include </usr/pkg/include/ncurses/ncurses.h>.
After making those changes compilation completes. However, conky crashes
with the following terminal output
NetBSD-10$ ./conky -d
conky: desktop window (0x1200028) is subwindow of root window (0x111)
conky: window type - normal
conky: drawing to created window (0x2e00002)
conky: drawing to double buffer
conky: forked to background, pid is 2479
NetBSD-10$
conky: FOUND: console
conky: FOUND: ncurses
conky: FOUND: file
conky: FOUND: x11
conky: cannot kvm_openfiles: /dev/mem: Permission denied
conky: maybe you need to setgid kmem this program?
conky: obj->data.i 2 info.cpu_count 1
conky: attempting to use more CPUs than you have!
After commenting out the CPU lines I ran conky and it ran but displayed no top information.
The terminal output was
NetBSD-10$ ./conky -d
conky: desktop window (0x1200028) is subwindow of root window (0x111)
conky: window type - normal
conky: drawing to created window (0x2e00002)
conky: drawing to double buffer
conky: forked to background, pid is 3332
NetBSD-10$
conky: FOUND: console
conky: FOUND: ncurses
conky: FOUND: file
conky: FOUND: x11
conky: cannot kvm_openfiles: /dev/mem: Permission denied
conky: maybe you need to setgid kmem this program?
Version
1.21.9
Which OS/distro are you seeing the problem on?
Linux (other)
Conky config
Stack trace
Relevant log output
No response
The text was updated successfully, but these errors were encountered: