Bug#1017283: scilab: FTBFS: ../../modules/core/includes/pause.h:18:18: error: conflicting declaration of C function ‘void pause() ’
Lucas Nussbaum
lucas at debian.org
Sun Aug 14 09:05:10 BST 2022
Source: scilab
Version: 6.1.1+dfsg2-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220813 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> /bin/bash ../../libtool --tag=CXX --mode=compile g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I./src/c/ -I./src/cpp/ -I./src/cpp/hash -I../../modules/ast/includes/ast/ -I../../modules/ast/includes/exps/ -I../../modules/ast/includes/operations/ -I../../modules/ast/includes/parse/ -I../../modules/ast/includes/symbol/ -I../../modules/ast/includes/system_env/ -I../../modules/ast/includes/types/ -I../../modules/ast/includes/analysis/ -I../../modules/call_scilab/includes/ -I../../modules/api_scilab/includes/ -I../../modules/action_binding/includes/ -I../../modules/output_stream/includes/ -I../../modules/localization/includes/ -I../../modules/functions_manager/includes/ -I../../modules/elementary_functions/includes/ -I../../modules/io/includes/ -I../../modules/tclsci/includes/ -I../../modules/dynamic_link/includes/ -I../../modules/elementary_functions/includes/ -I../../modules/string/includes/ -I../../modules/fileio/includes/ -I../../modules/console/includes/ -I../../modules/threads/includes/ -I../../modules/history_manager/includes/ -I../../modules/preferences/includes/ -I../../modules/external_objects/includes/ -I../../modules/jvm/includes/ -I../../modules/jvm/src/c/ -I../../modules/gui/includes/ -I../../modules/graphics/includes/ -I../../modules/hdf5/includes/ -I../../modules/fftw/includes/ -I../../modules/ui_data/includes/ -I/usr/include/hdf5/serial -I/usr/include/libxml2 -I/usr/include/tcl -I/usr/include/tk -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -g1 -O2 -fno-stack-protector -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -MT src/cpp/libscicore_algo_la-pause.lo -MD -MP -MF src/cpp/.deps/libscicore_algo_la-pause.Tpo -c -o src/cpp/libscicore_algo_la-pause.lo `test -f 'src/cpp/pause.cpp' || echo './'`src/cpp/pause.cpp
> libtool: compile: g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I./src/c/ -I./src/cpp/ -I./src/cpp/hash -I../../modules/ast/includes/ast/ -I../../modules/ast/includes/exps/ -I../../modules/ast/includes/operations/ -I../../modules/ast/includes/parse/ -I../../modules/ast/includes/symbol/ -I../../modules/ast/includes/system_env/ -I../../modules/ast/includes/types/ -I../../modules/ast/includes/analysis/ -I../../modules/call_scilab/includes/ -I../../modules/api_scilab/includes/ -I../../modules/action_binding/includes/ -I../../modules/output_stream/includes/ -I../../modules/localization/includes/ -I../../modules/functions_manager/includes/ -I../../modules/elementary_functions/includes/ -I../../modules/io/includes/ -I../../modules/tclsci/includes/ -I../../modules/dynamic_link/includes/ -I../../modules/elementary_functions/includes/ -I../../modules/string/includes/ -I../../modules/fileio/includes/ -I../../modules/console/includes/ -I../../modules/threads/includes/ -I../../modules/history_manager/includes/ -I../../modules/preferences/includes/ -I../../modules/external_objects/includes/ -I../../modules/jvm/includes/ -I../../modules/jvm/src/c/ -I../../modules/gui/includes/ -I../../modules/graphics/includes/ -I../../modules/hdf5/includes/ -I../../modules/fftw/includes/ -I../../modules/ui_data/includes/ -I/usr/include/hdf5/serial -I/usr/include/libxml2 -I/usr/include/tcl -I/usr/include/tk -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -g1 -O2 -fno-stack-protector -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -MT src/cpp/libscicore_algo_la-pause.lo -MD -MP -MF src/cpp/.deps/libscicore_algo_la-pause.Tpo -c src/cpp/pause.cpp -fPIC -DPIC -o src/cpp/.libs/libscicore_algo_la-pause.o
> In file included from src/cpp/pause.cpp:19:
> ../../modules/core/includes/pause.h:18:18: error: conflicting declaration of C function ‘void pause()’
> 18 | CORE_IMPEXP void pause(void);
> | ^~~~~
> In file included from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24,
> from /usr/include/signal.h:328,
> from ../../modules/threads/includes/Thread_Wrapper.h:53,
> from ../../modules/ast/includes/system_env/threadmanagement.hxx:21,
> from src/cpp/pause.cpp:15:
> /usr/include/unistd.h:489:12: note: previous declaration ‘int pause()’
> 489 | extern int pause (void);
> | ^~~~~
> src/cpp/pause.cpp:22:6: error: ambiguating new declaration of ‘void pause()’
> 22 | void pause(void)
> | ^~~~~
> /usr/include/unistd.h:489:12: note: old declaration ‘int pause()’
> 489 | extern int pause (void);
> | ^~~~~
> make[4]: *** [Makefile:2098: src/cpp/libscicore_algo_la-pause.lo] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/08/13/scilab_6.1.1+dfsg2-3_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220813;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220813&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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 mine
so that we can identify if something relevant changed in the meantime.
More information about the debian-science-maintainers
mailing list