Advertisement
jtts

hfstospell-build-error.log

Apr 22nd, 2018
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 38.32 KB | None | 0 0
  1. $ makepkg -s
  2. ==> Käännetään pakettia: hfstospell 0.4.5-1 (su 22.4.2018 15.49.47 +0300)
  3. ==> Tarkastetaan yleisriippuvuuksia...
  4. ==> Tarkastetaan käännönaikaisia riippuvuuksia...
  5. ==> Noudetaan lähdetiedostoja...
  6.   -> Ladataan kohdetta v0.4.5.tar.gz...
  7.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  8.                                  Dload  Upload   Total   Spent    Left  Speed
  9. 100   124    0   124    0     0    233      0 --:--:-- --:--:-- --:--:--   233
  10. 100  146k  100  146k    0     0   102k      0  0:00:01  0:00:01 --:--:--  211k
  11. ==> Tarkastetaan paketin source tiedostojen virheettömyyttä ohjelmalla md5sums...
  12.     v0.4.5.tar.gz ... Virheetön
  13. ==> Puretaan lähdetiedostoja...
  14.   -> Puretaan v0.4.5.tar.gz komennolla bsdtar
  15. ==> Aloitetaan osion build() käsittelemistä...
  16. Preparing the hfstospell build system...please wait
  17.  
  18. Found GNU Autoconf version 2.69
  19. Found GNU Automake version 1.15.1
  20. Found GNU Libtool version 2.4.6.40-6ca5-dirty
  21.  
  22. Automatically preparing build ... done
  23.  
  24. The hfstospell build system is now prepared.  To build here, run:
  25.   ./configure
  26.   make
  27. checking for a BSD-compatible install... /usr/bin/install -c
  28. checking whether build environment is sane... yes
  29. checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
  30. checking for gawk... gawk
  31. checking whether make sets $(MAKE)... yes
  32. checking whether make supports nested variables... yes
  33. checking whether make supports nested variables... (cached) yes
  34. checking for pkg-config... /usr/bin/pkg-config
  35. checking for doxygen... false
  36. checking for style of include used by make... GNU
  37. checking for gcc... gcc
  38. checking whether the C compiler works... yes
  39. checking for C compiler default output file name... a.out
  40. checking for suffix of executables...
  41. checking whether we are cross compiling... no
  42. checking for suffix of object files... o
  43. checking whether we are using the GNU C compiler... yes
  44. checking whether gcc accepts -g... yes
  45. checking for gcc option to accept ISO C89... none needed
  46. checking whether gcc understands -c and -o together... yes
  47. checking dependency style of gcc... gcc3
  48. checking for ar... ar
  49. checking the archiver (ar) interface... ar
  50. checking for gcc... (cached) gcc
  51. checking whether we are using the GNU C compiler... (cached) yes
  52. checking whether gcc accepts -g... (cached) yes
  53. checking for gcc option to accept ISO C89... (cached) none needed
  54. checking whether gcc understands -c and -o together... (cached) yes
  55. checking dependency style of gcc... (cached) gcc3
  56. checking for g++... g++
  57. checking whether we are using the GNU C++ compiler... yes
  58. checking whether g++ accepts -g... yes
  59. checking dependency style of g++... gcc3
  60. checking build system type... x86_64-pc-linux-gnu
  61. checking host system type... x86_64-pc-linux-gnu
  62. checking how to print strings... printf
  63. checking for a sed that does not truncate output... /usr/bin/sed
  64. checking for grep that handles long lines and -e... /usr/bin/grep
  65. checking for egrep... /usr/bin/grep -E
  66. checking for fgrep... /usr/bin/grep -F
  67. checking for ld used by gcc... /usr/bin/ld
  68. checking if the linker (/usr/bin/ld) is GNU ld... yes
  69. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  70. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  71. checking whether ln -s works... yes
  72. checking the maximum length of command line arguments... 1572864
  73. checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
  74. checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
  75. checking for /usr/bin/ld option to reload object files... -r
  76. checking for objdump... objdump
  77. checking how to recognize dependent libraries... pass_all
  78. checking for dlltool... dlltool
  79. checking how to associate runtime and link libraries... printf %s\n
  80. checking for archiver @FILE support... @
  81. checking for strip... strip
  82. checking for ranlib... ranlib
  83. checking command to parse /usr/bin/nm -B output from gcc object... ok
  84. checking for sysroot... no
  85. checking for a working dd... /usr/bin/dd
  86. checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
  87. checking for mt... no
  88. checking if : is a manifest tool... no
  89. checking how to run the C preprocessor... gcc -E
  90. checking for ANSI C header files... yes
  91. checking for sys/types.h... yes
  92. checking for sys/stat.h... yes
  93. checking for stdlib.h... yes
  94. checking for string.h... yes
  95. checking for memory.h... yes
  96. checking for strings.h... yes
  97. checking for inttypes.h... yes
  98. checking for stdint.h... yes
  99. checking for unistd.h... yes
  100. checking for dlfcn.h... yes
  101. checking for objdir... .libs
  102. checking if gcc supports -fno-rtti -fno-exceptions... no
  103. checking for gcc option to produce PIC... -fPIC -DPIC
  104. checking if gcc PIC flag -fPIC -DPIC works... yes
  105. checking if gcc static flag -static works... yes
  106. checking if gcc supports -c -o file.o... yes
  107. checking if gcc supports -c -o file.o... (cached) yes
  108. checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  109. checking whether -lc should be explicitly linked in... no
  110. checking dynamic linker characteristics... GNU/Linux ld.so
  111. checking how to hardcode library paths into programs... immediate
  112. checking whether stripping libraries is possible... yes
  113. checking if libtool supports shared libraries... yes
  114. checking whether to build shared libraries... yes
  115. checking whether to build static libraries... yes
  116. checking how to run the C++ preprocessor... g++ -E
  117. checking for ld used by g++... /usr/bin/ld -m elf_x86_64
  118. checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
  119. checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  120. checking for g++ option to produce PIC... -fPIC -DPIC
  121. checking if g++ PIC flag -fPIC -DPIC works... yes
  122. checking if g++ static flag -static works... yes
  123. checking if g++ supports -c -o file.o... yes
  124. checking if g++ supports -c -o file.o... (cached) yes
  125. checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  126. checking dynamic linker characteristics... (cached) GNU/Linux ld.so
  127. checking how to hardcode library paths into programs... immediate
  128. checking whether ln -s works... yes
  129. checking whether make sets $(MAKE)... (cached) yes
  130. checking for pkg-config... /usr/bin/pkg-config
  131. checking pkg-config is at least version 0.9.0... yes
  132. checking for libarchive > 3... yes
  133. checking for libxml++-2.6 >= 2.10.0... yes
  134. checking for icu-uc >= 4... yes
  135. checking getopt.h usability... yes
  136. checking getopt.h presence... yes
  137. checking for getopt.h... yes
  138. checking error.h usability... yes
  139. checking error.h presence... yes
  140. checking for error.h... yes
  141. checking for size_t... yes
  142. checking whether byte ordering is bigendian... no
  143. checking for stdlib.h... (cached) yes
  144. checking for GNU libc compatible malloc... yes
  145. checking for strndup... yes
  146. checking for error... yes
  147. checking whether C++ compiler accepts -std=c++17... yes
  148. checking that generated files are newer than configure... done
  149. configure: creating ./config.status
  150. config.status: creating Makefile
  151. config.status: creating hfstospell.pc
  152. config.status: creating config.h
  153. config.status: executing depfiles commands
  154. config.status: executing libtool commands
  155. -- Building hfstospell 0.4.5
  156.     * zhfst support: yes
  157.     * extracting to: mem
  158.     * xml support: libxmlpp
  159.     * hfst-ospell-office: yes
  160.     * conference demos: no
  161. make  all-am
  162. make[1]: Siirrytään hakemistoon ”/home/jussi/builds/VOIKKO/hfstospell/src/hfst-ospell-0.4.5”
  163.   CXX      libhfstospell_la-hfst-ol.lo
  164.   CXX      libhfstospell_la-ospell.lo
  165.   CXX      libhfstospell_la-ZHfstOspeller.lo
  166. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:53:0,
  167.                  from ZHfstOspeller.cc:27:
  168. /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:224:8: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  169.    std::auto_ptr<_xmlSAXHandler> sax_handler_;
  170.         ^~~~~~~~
  171. In file included from /usr/include/c++/7.3.1/memory:80:0,
  172.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  173.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  174.                  from ZHfstOspeller.cc:27:
  175. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  176.    template<typename> class auto_ptr;
  177.                             ^~~~~~~~
  178. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:54:0,
  179.                  from ZHfstOspeller.cc:27:
  180. /usr/include/libxml++-2.6/libxml++/parsers/textreader.h:260:10: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  181.      std::auto_ptr<PropertyReader> propertyreader;
  182.           ^~~~~~~~
  183. In file included from /usr/include/c++/7.3.1/memory:80:0,
  184.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  185.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  186.                  from ZHfstOspeller.cc:27:
  187. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  188.    template<typename> class auto_ptr;
  189.                             ^~~~~~~~
  190. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:69:0,
  191.                  from ZHfstOspeller.cc:27:
  192. /usr/include/libxml++-2.6/libxml++/relaxngschema.h:108:8: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  193.    std::auto_ptr<Impl> pimpl_;
  194.         ^~~~~~~~
  195. In file included from /usr/include/c++/7.3.1/memory:80:0,
  196.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  197.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  198.                  from ZHfstOspeller.cc:27:
  199. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  200.    template<typename> class auto_ptr;
  201.                             ^~~~~~~~
  202. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:70:0,
  203.                  from ZHfstOspeller.cc:27:
  204. /usr/include/libxml++-2.6/libxml++/xsdschema.h:99:8: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  205.    std::auto_ptr<Impl> pimpl_;
  206.         ^~~~~~~~
  207. In file included from /usr/include/c++/7.3.1/memory:80:0,
  208.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  209.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  210.                  from ZHfstOspeller.cc:27:
  211. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  212.    template<typename> class auto_ptr;
  213.                             ^~~~~~~~
  214. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:73:0,
  215.                  from ZHfstOspeller.cc:27:
  216. /usr/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:159:8: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  217.    std::auto_ptr<Impl> pimpl_;
  218.         ^~~~~~~~
  219. In file included from /usr/include/c++/7.3.1/memory:80:0,
  220.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  221.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  222.                  from ZHfstOspeller.cc:27:
  223. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  224.    template<typename> class auto_ptr;
  225.                             ^~~~~~~~
  226. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:75:0,
  227.                  from ZHfstOspeller.cc:27:
  228. /usr/include/libxml++-2.6/libxml++/validators/xsdvalidator.h:149:8: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  229.    std::auto_ptr<Impl> pimpl_;
  230.         ^~~~~~~~
  231. In file included from /usr/include/c++/7.3.1/memory:80:0,
  232.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  233.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  234.                  from ZHfstOspeller.cc:27:
  235. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  236.    template<typename> class auto_ptr;
  237.                             ^~~~~~~~
  238.   CXX      libhfstospell_la-ZHfstOspellerXmlMetadata.lo
  239. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:53:0,
  240.                  from ZHfstOspellerXmlMetadata.cc:25:
  241. /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:224:8: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  242.    std::auto_ptr<_xmlSAXHandler> sax_handler_;
  243.         ^~~~~~~~
  244. In file included from /usr/include/c++/7.3.1/memory:80:0,
  245.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  246.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  247.                  from ZHfstOspellerXmlMetadata.cc:25:
  248. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  249.    template<typename> class auto_ptr;
  250.                             ^~~~~~~~
  251. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:54:0,
  252.                  from ZHfstOspellerXmlMetadata.cc:25:
  253. /usr/include/libxml++-2.6/libxml++/parsers/textreader.h:260:10: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  254.      std::auto_ptr<PropertyReader> propertyreader;
  255.           ^~~~~~~~
  256. In file included from /usr/include/c++/7.3.1/memory:80:0,
  257.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  258.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  259.                  from ZHfstOspellerXmlMetadata.cc:25:
  260. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  261.    template<typename> class auto_ptr;
  262.                             ^~~~~~~~
  263. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:69:0,
  264.                  from ZHfstOspellerXmlMetadata.cc:25:
  265. /usr/include/libxml++-2.6/libxml++/relaxngschema.h:108:8: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  266.    std::auto_ptr<Impl> pimpl_;
  267.         ^~~~~~~~
  268. In file included from /usr/include/c++/7.3.1/memory:80:0,
  269.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  270.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  271.                  from ZHfstOspellerXmlMetadata.cc:25:
  272. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  273.    template<typename> class auto_ptr;
  274.                             ^~~~~~~~
  275. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:70:0,
  276.                  from ZHfstOspellerXmlMetadata.cc:25:
  277. /usr/include/libxml++-2.6/libxml++/xsdschema.h:99:8: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  278.    std::auto_ptr<Impl> pimpl_;
  279.         ^~~~~~~~
  280. In file included from /usr/include/c++/7.3.1/memory:80:0,
  281.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  282.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  283.                  from ZHfstOspellerXmlMetadata.cc:25:
  284. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  285.    template<typename> class auto_ptr;
  286.                             ^~~~~~~~
  287. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:73:0,
  288.                  from ZHfstOspellerXmlMetadata.cc:25:
  289. /usr/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:159:8: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  290.    std::auto_ptr<Impl> pimpl_;
  291.         ^~~~~~~~
  292. In file included from /usr/include/c++/7.3.1/memory:80:0,
  293.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  294.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  295.                  from ZHfstOspellerXmlMetadata.cc:25:
  296. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  297.    template<typename> class auto_ptr;
  298.                             ^~~~~~~~
  299. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:75:0,
  300.                  from ZHfstOspellerXmlMetadata.cc:25:
  301. /usr/include/libxml++-2.6/libxml++/validators/xsdvalidator.h:149:8: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  302.    std::auto_ptr<Impl> pimpl_;
  303.         ^~~~~~~~
  304. In file included from /usr/include/c++/7.3.1/memory:80:0,
  305.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  306.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  307.                  from ZHfstOspellerXmlMetadata.cc:25:
  308. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  309.    template<typename> class auto_ptr;
  310.                             ^~~~~~~~
  311.   CXXLD    libhfstospell.la
  312.   CXX      hfst_ospell-main.o
  313. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:53:0,
  314.                  from ZHfstOspellerXmlMetadata.h:30,
  315.                  from ZHfstOspeller.h:42,
  316.                  from main.cc:41:
  317. /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:224:8: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  318.    std::auto_ptr<_xmlSAXHandler> sax_handler_;
  319.         ^~~~~~~~
  320. In file included from /usr/include/c++/7.3.1/memory:80:0,
  321.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  322.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  323.                  from ZHfstOspellerXmlMetadata.h:30,
  324.                  from ZHfstOspeller.h:42,
  325.                  from main.cc:41:
  326. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  327.    template<typename> class auto_ptr;
  328.                             ^~~~~~~~
  329. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:54:0,
  330.                  from ZHfstOspellerXmlMetadata.h:30,
  331.                  from ZHfstOspeller.h:42,
  332.                  from main.cc:41:
  333. /usr/include/libxml++-2.6/libxml++/parsers/textreader.h:260:10: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  334.      std::auto_ptr<PropertyReader> propertyreader;
  335.           ^~~~~~~~
  336. In file included from /usr/include/c++/7.3.1/memory:80:0,
  337.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  338.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  339.                  from ZHfstOspellerXmlMetadata.h:30,
  340.                  from ZHfstOspeller.h:42,
  341.                  from main.cc:41:
  342. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  343.    template<typename> class auto_ptr;
  344.                             ^~~~~~~~
  345. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:69:0,
  346.                  from ZHfstOspellerXmlMetadata.h:30,
  347.                  from ZHfstOspeller.h:42,
  348.                  from main.cc:41:
  349. /usr/include/libxml++-2.6/libxml++/relaxngschema.h:108:8: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  350.    std::auto_ptr<Impl> pimpl_;
  351.         ^~~~~~~~
  352. In file included from /usr/include/c++/7.3.1/memory:80:0,
  353.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  354.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  355.                  from ZHfstOspellerXmlMetadata.h:30,
  356.                  from ZHfstOspeller.h:42,
  357.                  from main.cc:41:
  358. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  359.    template<typename> class auto_ptr;
  360.                             ^~~~~~~~
  361. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:70:0,
  362.                  from ZHfstOspellerXmlMetadata.h:30,
  363.                  from ZHfstOspeller.h:42,
  364.                  from main.cc:41:
  365. /usr/include/libxml++-2.6/libxml++/xsdschema.h:99:8: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  366.    std::auto_ptr<Impl> pimpl_;
  367.         ^~~~~~~~
  368. In file included from /usr/include/c++/7.3.1/memory:80:0,
  369.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  370.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  371.                  from ZHfstOspellerXmlMetadata.h:30,
  372.                  from ZHfstOspeller.h:42,
  373.                  from main.cc:41:
  374. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  375.    template<typename> class auto_ptr;
  376.                             ^~~~~~~~
  377. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:73:0,
  378.                  from ZHfstOspellerXmlMetadata.h:30,
  379.                  from ZHfstOspeller.h:42,
  380.                  from main.cc:41:
  381. /usr/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:159:8: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  382.    std::auto_ptr<Impl> pimpl_;
  383.         ^~~~~~~~
  384. In file included from /usr/include/c++/7.3.1/memory:80:0,
  385.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  386.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  387.                  from ZHfstOspellerXmlMetadata.h:30,
  388.                  from ZHfstOspeller.h:42,
  389.                  from main.cc:41:
  390. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  391.    template<typename> class auto_ptr;
  392.                             ^~~~~~~~
  393. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:75:0,
  394.                  from ZHfstOspellerXmlMetadata.h:30,
  395.                  from ZHfstOspeller.h:42,
  396.                  from main.cc:41:
  397. /usr/include/libxml++-2.6/libxml++/validators/xsdvalidator.h:149:8: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  398.    std::auto_ptr<Impl> pimpl_;
  399.         ^~~~~~~~
  400. In file included from /usr/include/c++/7.3.1/memory:80:0,
  401.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  402.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  403.                  from ZHfstOspellerXmlMetadata.h:30,
  404.                  from ZHfstOspeller.h:42,
  405.                  from main.cc:41:
  406. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  407.    template<typename> class auto_ptr;
  408.                             ^~~~~~~~
  409.   CXXLD    hfst-ospell
  410.   CXX      hfst_ospell_office-office.o
  411. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:53:0,
  412.                  from ZHfstOspellerXmlMetadata.h:30,
  413.                  from ZHfstOspeller.h:42,
  414.                  from office.cc:50:
  415. /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:224:8: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  416.    std::auto_ptr<_xmlSAXHandler> sax_handler_;
  417.         ^~~~~~~~
  418. In file included from /usr/include/c++/7.3.1/memory:80:0,
  419.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  420.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  421.                  from ZHfstOspellerXmlMetadata.h:30,
  422.                  from ZHfstOspeller.h:42,
  423.                  from office.cc:50:
  424. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  425.    template<typename> class auto_ptr;
  426.                             ^~~~~~~~
  427. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:54:0,
  428.                  from ZHfstOspellerXmlMetadata.h:30,
  429.                  from ZHfstOspeller.h:42,
  430.                  from office.cc:50:
  431. /usr/include/libxml++-2.6/libxml++/parsers/textreader.h:260:10: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  432.      std::auto_ptr<PropertyReader> propertyreader;
  433.           ^~~~~~~~
  434. In file included from /usr/include/c++/7.3.1/memory:80:0,
  435.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  436.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  437.                  from ZHfstOspellerXmlMetadata.h:30,
  438.                  from ZHfstOspeller.h:42,
  439.                  from office.cc:50:
  440. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  441.    template<typename> class auto_ptr;
  442.                             ^~~~~~~~
  443. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:69:0,
  444.                  from ZHfstOspellerXmlMetadata.h:30,
  445.                  from ZHfstOspeller.h:42,
  446.                  from office.cc:50:
  447. /usr/include/libxml++-2.6/libxml++/relaxngschema.h:108:8: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  448.    std::auto_ptr<Impl> pimpl_;
  449.         ^~~~~~~~
  450. In file included from /usr/include/c++/7.3.1/memory:80:0,
  451.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  452.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  453.                  from ZHfstOspellerXmlMetadata.h:30,
  454.                  from ZHfstOspeller.h:42,
  455.                  from office.cc:50:
  456. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  457.    template<typename> class auto_ptr;
  458.                             ^~~~~~~~
  459. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:70:0,
  460.                  from ZHfstOspellerXmlMetadata.h:30,
  461.                  from ZHfstOspeller.h:42,
  462.                  from office.cc:50:
  463. /usr/include/libxml++-2.6/libxml++/xsdschema.h:99:8: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  464.    std::auto_ptr<Impl> pimpl_;
  465.         ^~~~~~~~
  466. In file included from /usr/include/c++/7.3.1/memory:80:0,
  467.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  468.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  469.                  from ZHfstOspellerXmlMetadata.h:30,
  470.                  from ZHfstOspeller.h:42,
  471.                  from office.cc:50:
  472. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  473.    template<typename> class auto_ptr;
  474.                             ^~~~~~~~
  475. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:73:0,
  476.                  from ZHfstOspellerXmlMetadata.h:30,
  477.                  from ZHfstOspeller.h:42,
  478.                  from office.cc:50:
  479. /usr/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:159:8: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  480.    std::auto_ptr<Impl> pimpl_;
  481.         ^~~~~~~~
  482. In file included from /usr/include/c++/7.3.1/memory:80:0,
  483.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  484.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  485.                  from ZHfstOspellerXmlMetadata.h:30,
  486.                  from ZHfstOspeller.h:42,
  487.                  from office.cc:50:
  488. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  489.    template<typename> class auto_ptr;
  490.                             ^~~~~~~~
  491. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:75:0,
  492.                  from ZHfstOspellerXmlMetadata.h:30,
  493.                  from ZHfstOspeller.h:42,
  494.                  from office.cc:50:
  495. /usr/include/libxml++-2.6/libxml++/validators/xsdvalidator.h:149:8: varoitus: ”template<class> class std::auto_ptr” is deprecated [-Wdeprecated-declarations]
  496.    std::auto_ptr<Impl> pimpl_;
  497.         ^~~~~~~~
  498. In file included from /usr/include/c++/7.3.1/memory:80:0,
  499.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  500.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  501.                  from ZHfstOspellerXmlMetadata.h:30,
  502.                  from ZHfstOspeller.h:42,
  503.                  from office.cc:50:
  504. /usr/include/c++/7.3.1/bits/unique_ptr.h:51:28: huom: esitelty täällä
  505.    template<typename> class auto_ptr;
  506.                             ^~~~~~~~
  507. office.cc:55:18: virhe: ”UnicodeString” on esittelemättä tällä näkyvyysalueella
  508.  typedef std::map<UnicodeString,bool> valid_words_t;
  509.                   ^~~~~~~~~~~~~
  510. office.cc:55:18: huom: ehdotettu vaihtoehto:
  511. In file included from office.cc:48:0:
  512. /usr/include/unicode/unistr.h:286:20: huom:   ”icu_61::UnicodeString”
  513.  class U_COMMON_API UnicodeString : public Replaceable
  514.                     ^~~~~~~~~~~~~
  515. office.cc:55:36: virhe: template argument 1 is invalid
  516.  typedef std::map<UnicodeString,bool> valid_words_t;
  517.                                     ^
  518. office.cc:55:36: virhe: template argument 3 is invalid
  519. office.cc:55:36: virhe: template argument 4 is invalid
  520. office.cc:60:2: virhe: ”UnicodeString” does not name a type; did you mean ”GUnicodeScript”?
  521.   UnicodeString buffer;
  522.   ^~~~~~~~~~~~~
  523.   GUnicodeScript
  524. office.cc:64:1: virhe: ”UnicodeString” does not name a type; did you mean ”GUnicodeScript”?
  525.  UnicodeString ubuffer, uc_buffer;
  526.  ^~~~~~~~~~~~~
  527.  GUnicodeScript
  528. office.cc: Funktio ”bool find_alternatives(hfst_ol::ZHfstOspeller&, size_t)”:
  529. office.cc:74:15: virhe: ”__gnu_cxx::__alloc_traits<std::allocator<word_t> >::value_type {aka struct word_t}” has no member named ”buffer”
  530.    words[cw-k].buffer.toUTF8String(buffer);
  531.                ^~~~~~
  532. office.cc:88:14: virhe: ”__gnu_cxx::__alloc_traits<std::allocator<word_t> >::value_type {aka struct word_t}” has no member named ”buffer”
  533.      words[0].buffer.tempSubString(0, words[cw-k].start).toUTF8String(buffer);
  534.               ^~~~~~
  535. office.cc:91:5: virhe: ”UnicodeString” on esittelemättä
  536.      UnicodeString::fromUTF8(corrections.top().first).toUpper().toUTF8String(buffer);
  537.      ^~~~~~~~~~~~~
  538. office.cc:94:5: virhe: ”uc_buffer” on esittelemättä tällä näkyvyysalueella
  539.      uc_buffer.setTo(UnicodeString::fromUTF8(corrections.top().first));
  540.      ^~~~~~~~~
  541. office.cc:94:5: huom: suggested alternative: ”buffer”
  542.      uc_buffer.setTo(UnicodeString::fromUTF8(corrections.top().first));
  543.      ^~~~~~~~~
  544.      buffer
  545. office.cc:94:21: virhe: ”UnicodeString” on esittelemättä
  546.      uc_buffer.setTo(UnicodeString::fromUTF8(corrections.top().first));
  547.                      ^~~~~~~~~~~~~
  548. office.cc:95:5: virhe: ”ubuffer” on esittelemättä tällä näkyvyysalueella
  549.      ubuffer.setTo(uc_buffer, 0, 1);
  550.      ^~~~~~~
  551. office.cc:95:5: huom: suggested alternative: ”buffer”
  552.      ubuffer.setTo(uc_buffer, 0, 1);
  553.      ^~~~~~~
  554.      buffer
  555. office.cc:104:14: virhe: ”__gnu_cxx::__alloc_traits<std::allocator<word_t> >::value_type {aka struct word_t}” has no member named ”buffer”
  556.      words[0].buffer.tempSubString(words[cw-k].start + words[cw-k].count).toUTF8String(buffer);
  557.               ^~~~~~
  558. office.cc: Funktio ”bool is_valid_word(hfst_ol::ZHfstOspeller&, const string&, size_t)”:
  559. office.cc:117:2: virhe: ”ubuffer” on esittelemättä tällä näkyvyysalueella
  560.   ubuffer.setTo(UnicodeString::fromUTF8(word));
  561.   ^~~~~~~
  562. office.cc:117:2: huom: suggested alternative: ”buffer”
  563.   ubuffer.setTo(UnicodeString::fromUTF8(word));
  564.   ^~~~~~~
  565.   buffer
  566. office.cc:117:16: virhe: ”UnicodeString” on esittelemättä
  567.   ubuffer.setTo(UnicodeString::fromUTF8(word));
  568.                 ^~~~~~~~~~~~~
  569. office.cc:124:12: virhe: ”__gnu_cxx::__alloc_traits<std::allocator<word_t> >::value_type {aka struct word_t}” has no member named ”buffer”
  570.    words[0].buffer = ubuffer;
  571.             ^~~~~~
  572. office.cc:154:11: virhe: ”__gnu_cxx::__alloc_traits<std::allocator<word_t> >::value_type {aka struct word_t}” has no member named ”buffer”
  573.   words[0].buffer.remove();
  574.            ^~~~~~
  575. office.cc:157:11: virhe: ”__gnu_cxx::__alloc_traits<std::allocator<word_t> >::value_type {aka struct word_t}” has no member named ”buffer”
  576.   words[0].buffer = ubuffer;
  577.            ^~~~~~
  578. office.cc:167:14: virhe: ”__gnu_cxx::__alloc_traits<std::allocator<word_t> >::value_type {aka struct word_t}” has no member named ”buffer”
  579.     words[cw].buffer.remove();
  580.               ^~~~~~
  581. office.cc:170:14: virhe: ”__gnu_cxx::__alloc_traits<std::allocator<word_t> >::value_type {aka struct word_t}” has no member named ”buffer”
  582.     words[cw].buffer.append(pwsz, words[cw].start, words[cw].count);
  583.               ^~~~~~
  584. office.cc:181:14: virhe: ”__gnu_cxx::__alloc_traits<std::allocator<word_t> >::value_type {aka struct word_t}” has no member named ”buffer”
  585.     words[cw].buffer.remove();
  586.               ^~~~~~
  587. office.cc:184:14: virhe: ”__gnu_cxx::__alloc_traits<std::allocator<word_t> >::value_type {aka struct word_t}” has no member named ”buffer”
  588.     words[cw].buffer.append(pwsz, words[cw].start, words[cw].count);
  589.               ^~~~~~
  590. office.cc:190:14: virhe: ”__gnu_cxx::__alloc_traits<std::allocator<word_t> >::value_type {aka struct word_t}” has no member named ”buffer”
  591.     words[cw].buffer.remove();
  592.               ^~~~~~
  593. office.cc:193:14: virhe: ”__gnu_cxx::__alloc_traits<std::allocator<word_t> >::value_type {aka struct word_t}” has no member named ”buffer”
  594.     words[cw].buffer.append(pwsz, words[cw].start, words[cw].count);
  595.               ^~~~~~
  596. office.cc:200:27: virhe: qualified-id in declaration before ”it”
  597.    valid_words_t::iterator it = suggs ? valid_words.end() : valid_words.find(words[i].buffer);
  598.                            ^~
  599. office.cc:202:7: virhe: ”it” on esittelemättä tällä näkyvyysalueella
  600.    if (it == valid_words.end()) {
  601.        ^~
  602. office.cc:202:7: huom: suggested alternative: ”i”
  603.    if (it == valid_words.end()) {
  604.        ^~
  605.        i
  606. office.cc:202:25: virhe: request for member ”end” in ”valid_words”, which is of non-class type ”valid_words_t {aka int}
  607.    if (it == valid_words.end()) {
  608.                          ^~~
  609. office.cc:204:13: virhe: ”__gnu_cxx::__alloc_traits<std::allocator<word_t> >::value_type {aka struct word_t}” has no member named ”buffer”
  610.     words[i].buffer.toUTF8String(buffer);
  611.              ^~~~~~
  612. office.cc:206:21: virhe: request for member ”insert” in ”valid_words”, which is of non-class type ”valid_words_t {aka int}
  613.     it = valid_words.insert(std::make_pair(words[i].buffer,valid)).first;
  614.                      ^~~~~~
  615. office.cc:206:52: virhe: ”__gnu_cxx::__alloc_traits<std::allocator<word_t> >::value_type {aka struct word_t}” has no member named ”buffer”
  616.     it = valid_words.insert(std::make_pair(words[i].buffer,valid)).first;
  617.                                                     ^~~~~~
  618. office.cc:211:24: virhe: ”__gnu_cxx::__alloc_traits<std::allocator<word_t> >::value_type {aka struct word_t}” has no member named ”buffer”
  619.      ubuffer = words[i].buffer;
  620.                         ^~~~~~
  621. office.cc:218:15: virhe: ”__gnu_cxx::__alloc_traits<std::allocator<word_t> >::value_type {aka struct word_t}” has no member named ”buffer”
  622.      words[cw].buffer = ubuffer;
  623.                ^~~~~~
  624. office.cc:222:29: virhe: qualified-id in declaration before ”itl”
  625.      valid_words_t::iterator itl = suggs ? valid_words.end() : valid_words.find(ubuffer);
  626.                              ^~~
  627. office.cc:223:9: virhe: ”itl” on esittelemättä tällä näkyvyysalueella
  628.      if (itl != valid_words.end()) {
  629.          ^~~
  630. office.cc:223:9: huom: suggested alternative: ”kill
  631.      if (itl != valid_words.end()) {
  632.          ^~~
  633.          kill
  634. office.cc:223:28: virhe: request for member ”end” in ”valid_words”, which is of non-class type ”valid_words_t {aka int}
  635.      if (itl != valid_words.end()) {
  636.                             ^~~
  637. office.cc:230:23: virhe: request for member ”insert” in ”valid_words”, which is of non-class type ”valid_words_t {aka int}
  638.       it = valid_words.insert(std::make_pair(words[i].buffer,valid)).first;
  639.                        ^~~~~~
  640. office.cc:230:54: virhe: ”__gnu_cxx::__alloc_traits<std::allocator<word_t> >::value_type {aka struct word_t}” has no member named ”buffer”
  641.       it = valid_words.insert(std::make_pair(words[i].buffer,valid)).first;
  642.                                                       ^~~~~~
  643. office.cc:237:28: virhe: ”__gnu_cxx::__alloc_traits<std::allocator<word_t> >::value_type {aka struct word_t}” has no member named ”buffer”
  644.      ubuffer.setTo(words[i].buffer, 0, 1);
  645.                             ^~~~~~
  646. office.cc:239:5: virhe: ”uc_buffer” on esittelemättä tällä näkyvyysalueella
  647.      uc_buffer.setTo(words[i].buffer, 1);
  648.      ^~~~~~~~~
  649. office.cc:239:5: huom: suggested alternative: ”buffer”
  650.      uc_buffer.setTo(words[i].buffer, 1);
  651.      ^~~~~~~~~
  652.      buffer
  653. office.cc:239:30: virhe: ”__gnu_cxx::__alloc_traits<std::allocator<word_t> >::value_type {aka struct word_t}” has no member named ”buffer”
  654.      uc_buffer.setTo(words[i].buffer, 1);
  655.                               ^~~~~~
  656. office.cc:247:15: virhe: ”__gnu_cxx::__alloc_traits<std::allocator<word_t> >::value_type {aka struct word_t}” has no member named ”buffer”
  657.      words[cw].buffer = ubuffer;
  658.                ^~~~~~
  659. office.cc:251:29: virhe: qualified-id in declaration before ”itl”
  660.      valid_words_t::iterator itl = suggs ? valid_words.end() : valid_words.find(ubuffer);
  661.                              ^~~
  662. office.cc:252:9: virhe: ”itl” on esittelemättä tällä näkyvyysalueella
  663.      if (itl != valid_words.end()) {
  664.          ^~~
  665. office.cc:252:9: huom: suggested alternative: ”kill
  666.      if (itl != valid_words.end()) {
  667.          ^~~
  668.          kill
  669. office.cc:252:28: virhe: request for member ”end” in ”valid_words”, which is of non-class type ”valid_words_t {aka int}
  670.      if (itl != valid_words.end()) {
  671.                             ^~~
  672. office.cc:259:23: virhe: request for member ”insert” in ”valid_words”, which is of non-class type ”valid_words_t {aka int}
  673.       it = valid_words.insert(std::make_pair(words[i].buffer,valid)).first;
  674.                        ^~~~~~
  675. office.cc:259:54: virhe: ”__gnu_cxx::__alloc_traits<std::allocator<word_t> >::value_type {aka struct word_t}” has no member named ”buffer”
  676.       it = valid_words.insert(std::make_pair(words[i].buffer,valid)).first;
  677.                                                       ^~~~~~
  678. office.cc:264:7: virhe: ”it” on esittelemättä tällä näkyvyysalueella
  679.    if (it->second == true) {
  680.        ^~
  681. office.cc:264:7: huom: suggested alternative: ”i”
  682.    if (it->second == true) {
  683.        ^~
  684.        i
  685. office.cc: Funktio ”int zhfst_spell(const char*)”:
  686. office.cc:304:19: virhe: request for member ”sizein ”valid_words”, which is of non-class type ”valid_words_t {aka int}
  687.    if (valid_words.size() > 20480) {
  688.                    ^~~~
  689. office.cc:305:16: virhe: request for member ”clearin ”valid_words”, which is of non-class type ”valid_words_t {aka int}
  690.     valid_words.clear();
  691.                 ^~~~~
  692. make[1]: *** [Makefile:1097: hfst_ospell_office-office.o] Virhe 1
  693. make[1]: Poistutaan hakemistosta ”/home/jussi/builds/VOIKKO/hfstospell/src/hfst-ospell-0.4.5”
  694. make: *** [Makefile:770: all] Virhe 2
  695. ==> VIRHE: Virhe tapahtui funktiossa build().
  696.     Peruutetaan...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement