[Debian-astro-maintainers] Bug#921218: pluto-find-orb: FTBFS with mpc_func.h:55:5: error: conflicting declaration of 'int create_mpc_packed_desig(char*, const char*)' with 'C' linkage
Andreas Beckmann
anbe at debian.org
Sun Feb 3 09:59:15 GMT 2019
Source: pluto-find-orb
Version: 0.0~git20180227-2
Severity: serious
Justification: fails to build from source
Hi,
pluto-find-orb/experimental recently started to FTBFS, probably due to
an updated build-dependency:
[...]
cc -g -O2 -fdebug-prefix-map=/build/pluto-find-orb-0.0~git20180227=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wextra -Wno-unused-parameter -I/usr/include/pluto -c mpc_obs.cpp
cc -g -O2 -fdebug-prefix-map=/build/pluto-find-orb-0.0~git20180227=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wextra -Wno-unused-parameter -I/usr/include/pluto -c mt64.cpp
ephem0.cpp: In function 'void format_observation(const observe*, char*, int)':
ephem0.cpp:2511:14: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 6 bytes from a string of length 29 [-Wstringop-truncation]
strncpy( text, xresid, 6);
~~~~~~~^~~~~~~~~~~~~~~~~~
ephem0.cpp:2512:14: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 6 bytes from a string of length 29 [-Wstringop-truncation]
strncpy( text + 6, yresid, 6);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from mpc_obs.cpp:42:
/usr/include/pluto/mpc_func.h:55:5: error: conflicting declaration of 'int create_mpc_packed_desig(char*, const char*)' with 'C' linkage
int create_mpc_packed_desig( char *packed_desig, const char *obj_name);
^~~~~~~~~~~~~~~~~~~~~~~
In file included from mpc_obs.cpp:41:
mpc_obs.h:208:5: note: previous declaration with 'C++' linkage
int create_mpc_packed_desig( char *packed_desig, const char *obj_name);
^~~~~~~~~~~~~~~~~~~~~~~
cc -g -O2 -fdebug-prefix-map=/build/pluto-find-orb-0.0~git20180227=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wextra -Wno-unused-parameter -I/usr/include/pluto -c nanosecs.cpp
cc -g -O2 -fdebug-prefix-map=/build/pluto-find-orb-0.0~git20180227=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wextra -Wno-unused-parameter -I/usr/include/pluto -c orb_func.cpp
make[1]: *** [makefile:129: mpc_obs.o] Error 1
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pluto-find-orb_0.0~git20180227-2.log.gz
Type: application/gzip
Size: 5957 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-astro-maintainers/attachments/20190203/729da3e5/attachment.gz>
More information about the Debian-astro-maintainers
mailing list