Bug#1055896: cod-tools: FTBFS: source.c:33:5: error: ‘SPGCONST’ undeclared (first use in this function); did you mean ‘OP_CONST’?
Sebastian Ramacher
sramacher at debian.org
Mon Nov 13 20:11:56 GMT 2023
Source: cod-tools
Version: 3.7.0+dfsg-1
Severity: serious
Tags: ftbfs sid trixie
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org
https://buildd.debian.org/status/fetch.php?pkg=cod-tools&arch=s390x&ver=3.7.0%2Bdfsg-1%2Bb4&stamp=1699906136&raw=0
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/lib/perl5/COD/SPGLib'
swig -perl5 -Wall -outdir lib/COD/ source.i
cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-unused-value \
-I. -c \
`perl -MConfig -e 'print join(" ", @Config{qw(ccflags optimize cccdlflags)}, "-I$Config{archlib}/CORE")'` \
source.c source_wrap.c
source.c: In function ‘get_sym_dataset’:
source.c:33:5: error: ‘SPGCONST’ undeclared (first use in this function); did you mean ‘OP_CONST’?
33 | SPGCONST double lattice[3][3];
| ^~~~~~~~
| OP_CONST
source.c:33:5: note: each undeclared identifier is reported only once for each function it appears in
source.c:33:13: error: expected ‘;’ before ‘double’
33 | SPGCONST double lattice[3][3];
| ^~~~~~~
| ;
source.c:36:13: error: ‘lattice’ undeclared (first use in this function); did you mean ‘lattice_av’?
36 | lattice[i][j] = SvNV( (SV*)
| ^~~~~~~
| lattice_av
source.c:44:13: error: expected ‘;’ before ‘double’
44 | SPGCONST double positions[natoms][3];
| ^~~~~~~
| ;
source.c:49:13: error: ‘positions’ undeclared (first use in this function)
49 | positions[i][j] = SvNV( (SV*)
| ^~~~~~~~~
make[2]: *** [Makelocal-SWIG-module:36: source.o] Error 1
Cheers
--
Sebastian Ramacher
More information about the debian-science-maintainers
mailing list