Public bug reported:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -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 -pthread 
-I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -isystem 
/usr/include/mit-krb5 -I/usr/include/p11-kit-1 -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=/tmp/autopkgtest.z4X4Wm/build.sjf/real-tree=. -flto=auto 
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection 
-fdebug-prefix-map=/tmp/autopkgtest.z4X4Wm/build.sjf/real-tree=/usr/src/rsyslog-8.2512.0-1ubuntu3
 -c omelasticsearch.c  -fPIC -DPIC -o .libs/omelasticsearch_la-omelasticsearch.o
In file included from omelasticsearch.c:33:
In function 'curlPostSetup',
    inlined from 'curlSetup' at omelasticsearch.c:2128:5,
    inlined from 'createWrkrInstance' at omelasticsearch.c:296:12:
omelasticsearch.c:2105:5: error: call to 'Wcurl_easy_setopt_err_long' declared 
with attribute warning: curl_easy_setopt expects a long argument 
[-Werror=attribute-warning]
 2105 |     curl_easy_setopt(pWrkrData->curlPostHandle, CURLOPT_POST, 1);
      |     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

** Affects: rsyslog
     Importance: Unknown
         Status: Unknown

** Affects: rsyslog (Ubuntu)
     Importance: High
     Assignee: Andreas Hasenack (ahasenack)
         Status: In Progress

** Affects: rsyslog (Ubuntu Resolute)
     Importance: High
     Assignee: Andreas Hasenack (ahasenack)
         Status: In Progress


** Tags: ftbfs

** Bug watch added: github.com/rsyslog/rsyslog/issues #6516
   https://github.com/rsyslog/rsyslog/issues/6516

** Also affects: rsyslog via
   https://github.com/rsyslog/rsyslog/issues/6516
   Importance: Unknown
       Status: Unknown

** Also affects: rsyslog (Ubuntu Resolute)
   Importance: High
     Assignee: Andreas Hasenack (ahasenack)
       Status: In Progress

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

Title:
  FTBFS:  error: call to 'Wcurl_easy_setopt_err_long' declared with
  attribute warning

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


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

Reply via email to