Public bug reported:

https://launchpad.net/ubuntu/+source/liboauth2/2.2.0-2

gcc -DPACKAGE_NAME=\"liboauth2\" -DPACKAGE_TARNAME=\"liboauth2\" 
-DPACKAGE_VERSION=\"2.2.0\" -DPACKAGE_STRING=\"liboauth2\ 2.2.0\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.  
-Wall -Werror -Wno-error=deprecated-declarations -I./include -I./src    
-DHAVE_LIBMEMCACHE -DHAVE_LIBHIREDIS -Wall -Werror 
-Wno-error=deprecated-declarations -I./include -I./src    -DHAVE_APACHE  
-Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/x86_64-linux-gnu -isystem 
/usr/include/mit-krb5 -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 
-pthread -pipe -g -O2 -Werror=implicit-function-declaration 
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto 
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection  -DLINUX -D_REENTRANT -D_GNU_SOURCE  
-I/usr/include/apache2 -I/usr/include/apr-1.0 -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -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/liboauth2-2.2.0-2 -c -o 
test/check_liboauth2-check_oauth2.o `test -f 'test/check_oauth2.c' || echo 
'./'`test/check_oauth2.c
test/check_proto.c: In function ‘oauth2_check_proto_serve_post’:
test/check_proto.c:335:22: error: assignment discards ‘const’ qualifier from 
pointer target type [-Werror=discarded-qualifiers]
  335 |                 data = strstr(request, sep);
      |                      ^
test/check_oauth2.c: In function ‘oauth2_check_oauth2_serve_post’:
test/check_oauth2.c:552:22: error: assignment discards ‘const’ qualifier from 
pointer target type [-Werror=discarded-qualifiers]
  552 |                 data = strstr(request, sep);
      |                      ^
gcc -DPACKAGE_NAME=\"liboauth2\" -DPACKAGE_TARNAME=\"liboauth2\" 
-DPACKAGE_VERSION=\"2.2.0\" -DPACKAGE_STRING=\"liboauth2\ 2.2.0\" 
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" 
-DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.  
-Wall -Werror -Wno-error=deprecated-declarations -I./include -I./src    
-DHAVE_LIBMEMCACHE -DHAVE_LIBHIREDIS -Wall -Werror 
-Wno-error=deprecated-declarations -I./include -I./src    -DHAVE_APACHE  
-Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/x86_64-linux-gnu -isystem 
/usr/include/mit-krb5 -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 
-pthread -pipe -g -O2 -Werror=implicit-function-declaration 
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto 
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection  -DLINUX -D_REENTRANT -D_GNU_SOURCE  
-I/usr/include/apache2 -I/usr/include/apr-1.0 -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -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/liboauth2-2.2.0-2 -c -o 
test/check_liboauth2-check_openidc.o `test -f 'test/check_openidc.c' || echo 
'./'`test/check_openidc.c
cc1: all warnings being treated as errors
make[2]: *** [Makefile:1646: test/check_liboauth2-check_proto.o] Error 1
make[2]: *** Waiting for unfinished jobs....
test/check_openidc.c: In function ‘oauth2_check_openidc_serve_post’:
test/check_openidc.c:238:22: error: assignment discards ‘const’ qualifier from 
pointer target type [-Werror=discarded-qualifiers]
  238 |                 data = strstr(request, sep);
      |                      ^
cc1: all warnings being treated as errors
make[2]: *** [Makefile:1660: test/check_liboauth2-check_oauth2.o] Error 1
cc1: all warnings being treated as errors
make[2]: *** [Makefile:1674: test/check_liboauth2-check_openidc.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'

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


** Tags: update-excuse

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

Title:
  FTBFS in resolute-proposed

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


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

Reply via email to