Public bug reported:

libtool: compile:  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. 
-DSD_EXPORT_SYMBOLS -D_PATH_MODDIR=\"/usr/lib/x86_64-linux-gnu/rsyslog/\" -I.. 
-I../grammar -pthread -I../runtime -I.. -I../grammar -I/usr/include/libfastjson 
-W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith 
-Wmissing-format-attribute -Werror=implicit-function-declaration -g -Werror 
-I/usr/include/uuid -I/usr/include/libfastjson -I../tools -Wdate-time 
-D_FORTIFY_SOURCE=3 -DPATH_PIDFILE=\"/run/rsyslogd.pid\" -g -O2 
-Werror=implicit-function-declaration -fno-omit-frame-pointer 
-mno-omit-leaf-frame-pointer 
-ffile-prefix-map=/home/ubuntu/git/packages/rsyslog/rsyslog=. -flto=auto 
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection 
-fdebug-prefix-map=/home/ubuntu/git/packages/rsyslog/rsyslog=/usr/src/rsyslog-8.2512.0-1ubuntu6
 -c msg.c  -fPIC -DPIC -o .libs/librsyslog_la-msg.o
msg.c: In function 'jsonVarExtract':
msg.c:4584:29: error: initialization discards 'const' qualifier from pointer 
target type [-Werror=discarded-qualifiers]
 4584 |     char *array_idx_start = strstr(key, "[");
      |                             ^~~~~~
cc1: all warnings being treated as errors

** Affects: rsyslog (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2163685

Title:
  FTBFS: initialization discards 'const' qualifier from pointer target
  type

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/2163685/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to