Skip to content

Ubuntu hardening patch - #75

Closed
vgrechin wants to merge 1 commit into
KxSystems:masterfrom
vgrechin:master
Closed

vgrechin wants to merge 1 commit into
KxSystems:masterfrom
vgrechin:master

Conversation

@vgrechin

Copy link
Copy Markdown

Fixes the error on Ubuntu 22.04

gcc -I"/usr/share/R/include" -DNDEBUG      -D_GNU_SOURCE -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-Kaw86j/r-base-4.4.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c rkdb.c -o rkdb.o
rkdb.c: In function ‘kx_r_open_connection’:
rkdb.c:84:5: error: format not a string literal and no format arguments [-Werror=format-security]
   84 |     error(strerror(errno));
      |     ^~~~~
cc1: some warnings being treated as errors
make: *** [/usr/lib/R/etc/Makeconf:195: rkdb.o] Error 1
ERROR: compilation failed for package ‘rkdb’

@sshanks-kx

Copy link
Copy Markdown
Contributor

fixed as part of cfc0948. thanks

@sshanks-kx sshanks-kx closed this Apr 16, 2026
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

Successfully merging this pull request may close these issues.

2 participants