Public bug reported:

mcds/1.9-4 fails to build from source on some architectures, such as
amd64:

https://launchpad.net/ubuntu/+source/mcds/1.9-4/+build/31494387

gcc  -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer 
-mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto 
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/mcds-1.9-4 -Wall -Wextra -pedantic 
-Werror -Wno-error=date-time  -Wl,-Bsymbolic-functions 
-Wl,--package-metadata={%22type%22:%22deb%22%2C%22os%22:%22ubuntu%22%2C%22name%22:%22mcds%22%2C%22version%22:%221.9-4%22%2C%22architecture%22:%22amd64%22}
 -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o mcds mcds-main.o 
mcds-mem.o mcds-curl.o mcds-carddav.o mcds-xml.o mcds-vcard.o mcds-rc.o 
mcds-prompt.o mcds-decrypt.o mcds-secret.o  -lcurl  -lxml2  -lsecret-1 
-lgio-2.0 -lgobject-2.0 -lglib-2.0  -L/usr/lib/x86_64-linux-gnu -lgpgme 
In function ‘cinit’,
    inlined from ‘main’ at main.c:138:6:
curl.c:69:13: error: call to ‘Wcurl_easy_setopt_err_long’ declared with 
attribute warning: curl_easy_setopt expects a long argument 
[-Werror=attribute-warning]
   69 |         if (curl_easy_setopt(*hdl, CURLOPT_VERBOSE, options.verbose)) {
      |             ^
curl.c:77:13: error: call to ‘Wcurl_easy_setopt_err_long’ declared with 
attribute warning: curl_easy_setopt expects a long argument 
[-Werror=attribute-warning]
   77 |         if (curl_easy_setopt(*hdl, CURLOPT_SSL_VERIFYPEER, 
options.verify)) {
      |             ^
curl.c:91:21: error: call to ‘Wcurl_easy_setopt_err_long’ declared with 
attribute warning: curl_easy_setopt expects a long argument 
[-Werror=attribute-warning]
   91 |                 if (curl_easy_setopt(*hdl, CURLOPT_NETRC, 
options.netrc)) {
      |                     ^
lto1: all warnings being treated as errors

** Affects: mcds (Ubuntu)
     Importance: Undecided
     Assignee: Andrew Bower (ajb85)
         Status: New


** Tags: ftbfs

** Summary changed:

- ftbfs: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: 
curl_easy_setopt expects a long argument
+ mcds: ftbfs: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute 
warning: curl_easy_setopt expects a long argument

** Changed in: mcds (Ubuntu)
     Assignee: (unassigned) => Andrew Bower (ajb85)

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

Title:
  mcds: ftbfs: call to ‘Wcurl_easy_setopt_err_long’ declared with
  attribute warning: curl_easy_setopt expects a long argument

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


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

Reply via email to