[pkg-fgfs-crew] Bug#839357: fgrun: FTBFS: wizard_funcs.cxx:1202:51: error: no matching function for call to 'readProperties(const char*, SGPropertyNode*)'

Lucas Nussbaum lucas at debian.org
Sat Oct 1 08:38:55 UTC 2016


Source: fgrun
Version: 3.4.0.final-3
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160930 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/build/src && /usr/bin/c++   -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/build/src -I/<<PKGBUILDDIR>>/src  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -D_REENTRANT -DENABLE_NLS -g -DNDEBUG   -o CMakeFiles/fgrun.dir/wizard_funcs.cxx.o -c /<<PKGBUILDDIR>>/src/wizard_funcs.cxx
> /<<PKGBUILDDIR>>/src/wizard_funcs.cxx: In member function 'void Wizard::aircraft_update(const char*)':
> /<<PKGBUILDDIR>>/src/wizard_funcs.cxx:1202:51: error: no matching function for call to 'readProperties(const char*, SGPropertyNode*)'
>                  readProperties( s.c_str(), &props );
>                                                    ^
> In file included from /<<PKGBUILDDIR>>/src/wizard_funcs.cxx:48:0:
> /usr/include/simgear/props/props_io.hxx:24:6: note: candidate: void readProperties(std::istream&, SGPropertyNode*, const string&, int, bool)
>  void readProperties (std::istream &input, SGPropertyNode * start_node,
>       ^~~~~~~~~~~~~~
> /usr/include/simgear/props/props_io.hxx:24:6: note:   no known conversion for argument 1 from 'const char*' to 'std::istream& {aka std::basic_istream<char>&}'
> /usr/include/simgear/props/props_io.hxx:32:6: note: candidate: void readProperties(const SGPath&, SGPropertyNode*, int, bool)
>  void readProperties (const SGPath &file, SGPropertyNode * start_node,
>       ^~~~~~~~~~~~~~
> /usr/include/simgear/props/props_io.hxx:32:6: note:   no known conversion for argument 1 from 'const char*' to 'const SGPath&'
> /usr/include/simgear/props/props_io.hxx:39:6: note: candidate: void readProperties(const char*, int, SGPropertyNode*, int, bool)
>  void readProperties (const char *buf, const int size,
>       ^~~~~~~~~~~~~~
> /usr/include/simgear/props/props_io.hxx:39:6: note:   candidate expects 5 arguments, 2 provided
> src/CMakeFiles/fgrun.dir/build.make:65: recipe for target 'src/CMakeFiles/fgrun.dir/wizard_funcs.cxx.o' failed
> make[3]: *** [src/CMakeFiles/fgrun.dir/wizard_funcs.cxx.o] Error 1

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185

The full build log is available from:
   http://aws-logs.debian.net/2016/09/30/fgrun_3.4.0.final-3_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!

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 pkg-fgfs-crew mailing list