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

Can't compile/make oxbar #9

Open
jbjoeB opened this issue Oct 24, 2024 · 1 comment
Open

Can't compile/make oxbar #9

jbjoeB opened this issue Oct 24, 2024 · 1 comment

Comments

@jbjoeB
Copy link

jbjoeB commented Oct 24, 2024

Hello,

Just installed openbsd today and trying to get a statusbar.. When running make after cloning the repo i get this error


openbsd$ git clone https://github.com/ryanflannery/oxbar.git
Cloning into 'oxbar'...
remote: Enumerating objects: 2453, done.
remote: Total 2453 (delta 0), reused 0 (delta 0), pack-reused 2453 (from 1)
Receiving objects: 100% (2453/2453), 10.93 MiB | 2.91 MiB/s, done.
Resolving deltas: 100% (1805/1805), done.
openbsd$ cd oxbar/
openbsd$ ls
CONTRIBUTING.md gui sample.oxbar.conf testruns.sh
LICENSE images screenshots.sh widgets
Makefile loc settings.c widgets.c
README.md man settings.h widgets.h
TODO oxbar.c stats
openbsd$ make
cc -O2 -pipe -c -std=c89 -Wall -Wextra -Werror -O2 pkg-config --cflags pangocairo settings.c
settings.c:659:49: error: 'sscanf' may overflow; destination buffer in argument 3 has size 100, but the corresponding specifier may require size 101 [-Werror,-Wfortify-source]
if (1 == sscanf(line, " [%100[-a-zA-Z0-9]] ", theme_name)) {
^
1 error generated.
*** Error 1 in /home/joe/oxbar (Makefile:38 'settings.o')

Any ideas ?

Joe

@MikeR984
Copy link

Did you have any luck? I've run into the same issue and I don't know how to go about fixing it.

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

No branches or pull requests

2 participants