[Debian-med-packaging] Bug#980674: civetweb: FTBFS: cp: cannot stat '/usr/share/nodejs/jquery/dist/jquery.min.js': No such file or directory

Lucas Nussbaum lucas at debian.org
Wed Jan 20 20:55:02 GMT 2021


Source: civetweb
Version: 1.13+dfsg-4
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210120 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 50%] Building CXX object src/CMakeFiles/civetweb-cpp.dir/CivetServer.cpp.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DCIVETWEB_CXX_DLL_EXPORTS -DCIVETWEB_DLL_IMPORTS -DCRYPTO_LIB=\"libcrypto.so\" -DOPENSSL_API_1_1 -DSSL_LIB=\"libssl.so\" -DUSE_STACK_SIZE=102400 -Dcivetweb_cpp_EXPORTS -I/<<PKGBUILDDIR>>/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++14 -Wall -Wextra -Wshadow -Wmissing-prototypes -Wno-padded -Wno-unused-macros -Wno-format-nonliteral -pedantic-errors -fvisibility=hidden -fPIC -o CMakeFiles/civetweb-cpp.dir/CivetServer.cpp.o -c /<<PKGBUILDDIR>>/src/CivetServer.cpp
> [ 66%] Building C object src/CMakeFiles/civetweb-c-executable.dir/main.c.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCIVETWEB_DLL_IMPORTS -DCRYPTO_LIB=\"libcrypto.so\" -DOPENSSL_API_1_1 -DSSL_LIB=\"libssl.so\" -DUSE_STACK_SIZE=102400 -I/<<PKGBUILDDIR>>/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c11 -Wall -Wextra -Wshadow -Wconversion -Wmissing-prototypes -Wparentheses -Wno-padded -Wno-unused-macros -Wno-format-nonliteral -Wno-cast-qual -pedantic-errors -fvisibility=hidden -o CMakeFiles/civetweb-c-executable.dir/main.c.o -c /<<PKGBUILDDIR>>/src/main.c
> cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++
> /<<PKGBUILDDIR>>/src/main.c: In function ‘show_server_name’:
> /<<PKGBUILDDIR>>/src/main.c:282:19: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
>   282 |  const char *bd = __DATE__;
>       |                   ^~~~~~~~
> [ 83%] Linking C executable civetweb
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/civetweb-c-executable.dir/link.txt --verbose=1
> /usr/bin/cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c11 -Wall -Wextra -Wshadow -Wconversion -Wmissing-prototypes -Wparentheses -Wno-padded -Wno-unused-macros -Wno-format-nonliteral -Wno-cast-qual -pedantic-errors -fvisibility=hidden -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/civetweb-c-executable.dir/main.c.o -o civetweb  -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src: libcivetweb.so.1.13.0 /usr/lib/x86_64-linux-gnu/librt.so -lpthread -ldl 
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 83%] Built target civetweb-c-executable
> [100%] Linking CXX shared library libcivetweb-cpp.so
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/civetweb-cpp.dir/link.txt --verbose=1
> /usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++14 -Wall -Wextra -Wshadow -Wmissing-prototypes -Wno-padded -Wno-unused-macros -Wno-format-nonliteral -pedantic-errors -fvisibility=hidden -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libcivetweb-cpp.so.1 -o libcivetweb-cpp.so.1.13.0 CMakeFiles/civetweb-cpp.dir/CivetServer.cpp.o  -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src: libcivetweb.so.1.13.0 -lpthread -ldl 
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_symlink_library libcivetweb-cpp.so.1.13.0 libcivetweb-cpp.so.1 libcivetweb-cpp.so
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [100%] Built target civetweb-cpp
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> /usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles 0
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
>    debian/rules override_dh_auto_test
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cp -a /usr/share/nodejs/jquery/dist/jquery.min.js test/ajax/jquery.js
> cp: cannot stat '/usr/share/nodejs/jquery/dist/jquery.min.js': No such file or directory
> make[1]: *** [debian/rules:25: override_dh_auto_test] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2021/01/20/civetweb_1.13+dfsg-4_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Debian-med-packaging mailing list