Public bug reported: Rebuilding with the new glibc fails
[ 80%] Linking C shared library libulfius.so /usr/bin/cmake -E cmake_link_script CMakeFiles/ulfius.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -Wall -Werror -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/root/build/ulfius-2.7.15=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/root/build/ulfius-2.7.15=/usr/src/ulfius-2.7.15-2.2build1 -Wdate-time -D_FORTIFY_SOURCE=3 -shared -Wl,-Bsymbolic-functions -Wl,--package-metadata=%7B%22type%22:%22deb%22%2C%22os%22:%22ubuntu%22%2C%22name%22:%22ulfius%22%2C%22version%22:%222.7.15-2.2build1%22%2C%22architecture%22:%22amd64%22%7D -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--dependency-file=CMakeFiles/ulfius.dir/link.d -Wl,-soname,libulfius.so.2.7 -o libulfius.so.2.7.15 CMakeFiles/ulfius.dir/src/u_map.c.o CMakeFiles/ulfius.dir/src/u_request.c.o CMakeFiles/ulfius.dir/src/u_response.c.o CMakeFiles/ulfius.dir/src/u_send_request.c.o CMakeFiles/ulfius.dir/src/u_websocket.c.o CMakeFiles/ulfius.dir/src/yuarel.c.o CMakeFiles/ulfius.dir/src/ulfius.c.o /usr/lib/x86_64-linux-gnu/libgnutls.so /usr/lib/x86_64-linux-gnu/libmicrohttpd.so /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libcurl.so /usr/lib/x86_64-linux-gnu/libjansson.so /usr/lib/x86_64-linux-gnu/libyder.so.2.0.13 /usr/lib/x86_64-linux-gnu/libcurl.so /usr/lib/x86_64-linux-gnu/liborcania.so.2.3.3 /usr/src/ulfius-2.7.15-2.2build1/src/u_send_request.c: In function ‘ulfius_send_http_streaming_request_max_header’: /usr/src/ulfius-2.7.15-2.2build1/src/u_send_request.c:389:17: error: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Werror=attribute-warning] /usr/src/ulfius-2.7.15-2.2build1/src/u_send_request.c:625:17: error: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Werror=attribute-warning] /usr/src/ulfius-2.7.15-2.2build1/src/u_send_request.c:625:89: error: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Werror=attribute-warning] /usr/src/ulfius-2.7.15-2.2build1/src/u_send_request.c:632:19: error: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Werror=attribute-warning] /usr/src/ulfius-2.7.15-2.2build1/src/u_send_request.c:639:19: error: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Werror=attribute-warning] /usr/src/ulfius-2.7.15-2.2build1/src/u_send_request.c:650:17: error: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Werror=attribute-warning] /usr/src/ulfius-2.7.15-2.2build1/src/u_send_request.c:650:95: error: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Werror=attribute-warning] /usr/src/ulfius-2.7.15-2.2build1/src/u_send_request.c:657:19: error: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Werror=attribute-warning] /usr/src/ulfius-2.7.15-2.2build1/src/u_send_request.c:664:19: error: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Werror=attribute-warning] /usr/src/ulfius-2.7.15-2.2build1/src/u_send_request.c:705:15: error: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Werror=attribute-warning] lto1: all warnings being treated as errors and the tests are also failing https://autopkgtest.ubuntu.com/packages/u/ulfius/resolute/amd64 594s gcc -c -Wall -D_REENTRANT -I../include -DDEBUG -g -O0 -Wconversion ../example_callbacks/static_compressed_inmemory_website/static_compressed_inmemory_website_callback.c 594s ../example_callbacks/static_compressed_inmemory_website/static_compressed_inmemory_website_callback.c: In function ‘get_filename_ext’: 594s ../example_callbacks/static_compressed_inmemory_website/static_compressed_inmemory_website_callback.c:131:25: error: assignment of read-only location ‘*(const char *)strchr(dot, 63)’ 594s 131 | *strchr(dot, '?') = '\0'; 594s | ^ 594s make: *** [Makefile:42: static_compressed_inmemory_website_callback.o] Error 1 595s autopkgtest [15:43:29]: test unit-test: -----------------------] ** Affects: ulfius (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/2144604 Title: Build and tests failing with glibc 2.43 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ulfius/+bug/2144604/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
