Your message dated Tue, 26 Jul 2022 19:00:09 +0000
with message-id <e1ogpmr-0006hx...@fasolo.debian.org>
and subject line Bug#1012894: fixed in apertium 3.8.2-1
has caused the Debian Bug report #1012894,
regarding apertium: ftbfs with GCC-12
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1012894: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012894
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:apertium
Version: 3.8.1-2
Severity: normal
Tags: sid bookworm
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-12

[This bug is targeted to the upcoming bookworm release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-12/g++-12, but succeeds to build with gcc-11/g++-11. The
severity of this report will be raised before the bookworm release.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/gcc12/apertium_3.8.1-2_unstable_gcc12.log
The last lines of the build log are at the end of this report.

To build with GCC 11, either set CC=gcc-11 CXX=g++-11 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
  117 |     struct unary_function
      |            ^~~~~~~~~~~~~~
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -I..  
 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lttoolbox-3.6 
-I/usr/include/libxml2   -Wall -Wextra -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++20 -c -o sentence_stream.lo sentence_stream.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 
-I/usr/include/lttoolbox-3.6 -I/usr/include/libxml2 -Wall -Wextra -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++20 -c sentence_stream.cc  -fPIC -DPIC -o 
.libs/sentence_stream.o
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -I..  
 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lttoolbox-3.6 
-I/usr/include/libxml2   -Wall -Wextra -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++20 -c -o stream.lo stream.cc
In file included from ../apertium/perceptron_tagger.h:6,
                 from perceptron_tagger.cc:1:
../apertium/perceptron_spec.h:478:27: warning: ‘template<class _Arg, class 
_Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations]
  478 |   struct In : public std::unary_function<const std::string&, bool> {
      |                           ^~~~~~~~~~~~~~
In file included from /usr/include/c++/12/bits/stl_tree.h:65,
                 from /usr/include/c++/12/map:60,
                 from ../apertium/constant_manager.h:21,
                 from ../apertium/tagger_data.h:20,
                 from ../apertium/file_tagger.h:20,
                 from ../apertium/perceptron_tagger.h:4:
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
  117 |     struct unary_function
      |            ^~~~~~~~~~~~~~
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 
-I/usr/include/lttoolbox-3.6 -I/usr/include/libxml2 -Wall -Wextra -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++20 -c stream.cc  -fPIC -DPIC -o .libs/stream.o
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -I..  
 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lttoolbox-3.6 
-I/usr/include/libxml2   -Wall -Wextra -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++20 -c -o stream_tagger.lo stream_tagger.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 
-I/usr/include/lttoolbox-3.6 -I/usr/include/libxml2 -Wall -Wextra -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++20 -c stream_tagger.cc  -fPIC -DPIC -o 
.libs/stream_tagger.o
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -I..  
 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lttoolbox-3.6 
-I/usr/include/libxml2   -Wall -Wextra -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++20 -c -o shell_utils.lo shell_utils.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 
-I/usr/include/lttoolbox-3.6 -I/usr/include/libxml2 -Wall -Wextra -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++20 -c shell_utils.cc  -fPIC -DPIC -o 
.libs/shell_utils.o
stream.cc: In static member function ‘static void 
Apertium::Stream::outputLexicalUnit(const Apertium::LexicalUnit&, 
Apertium::Optional<Apertium::Analysis>, std::ostream&, Apertium::TaggerFlags&)’:
stream.cc:96:24: error: ‘rel_ops’ is not a namespace-name
   96 |   using namespace std::rel_ops;
      |                        ^~~~~~~
make[3]: *** [Makefile:1497: stream.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /usr/include/c++/12/vector:64,
                 from /usr/include/c++/12/bits/random.h:34,
                 from /usr/include/c++/12/random:49,
                 from ../apertium/sentence_stream.h:5,
                 from sentence_stream.cc:1:
In member function ‘constexpr void std::vector<_Tp, 
_Alloc>::_M_erase_at_end(pointer) [with _Tp = Apertium::StreamedType; _Alloc = 
std::allocator<Apertium::StreamedType>]’,
    inlined from ‘constexpr void std::vector<_Tp, _Alloc>::clear() [with _Tp = 
Apertium::StreamedType; _Alloc = std::allocator<Apertium::StreamedType>]’ at 
/usr/include/c++/12/bits/stl_vector.h:1601:24,
    inlined from 
‘Apertium::SentenceStream::TrainingCorpus::TrainingCorpus(Apertium::Stream&, 
Apertium::Stream&, bool, bool)’ at sentence_stream.cc:124:38:
/usr/include/c++/12/bits/stl_vector.h:1930:43: warning: ‘training_sentence’ may 
be used uninitialized [-Wmaybe-uninitialized]
 1930 |         if (size_type __n = this->_M_impl._M_finish - __pos)
      |                             ~~~~~~~~~~~~~~^~~~~~~~~
sentence_stream.cc: In constructor 
‘Apertium::SentenceStream::TrainingCorpus::TrainingCorpus(Apertium::Stream&, 
Apertium::Stream&, bool, bool)’:
sentence_stream.cc:91:21: note: ‘training_sentence’ was declared here
   91 |   TrainingSentence *training_sentence;
      |                     ^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/12/bits/unique_ptr.h:41,
                 from /usr/include/c++/12/memory:76,
                 from /usr/include/unicode/localpointer.h:45,
                 from /usr/include/unicode/uenum.h:25,
                 from /usr/include/unicode/ucnv.h:52,
                 from /usr/include/unicode/ustdio.h:31,
                 from /usr/include/lttoolbox-3.6/lttoolbox/ustring.h:21,
                 from ../apertium/constant_manager.h:23:
In member function ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& 
std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT 
= char; _Traits = std::char_traits<char>]’,
    inlined from ‘virtual void 
Apertium::PerceptronTagger::train(Apertium::Stream&, Apertium::Stream&, int)’ 
at perceptron_tagger.cc:263:42:
/usr/include/c++/12/ostream:171:25: warning: ‘avail_skipped’ may be used 
uninitialized [-Wmaybe-uninitialized]
  171 |       { return _M_insert(__n); }
      |                ~~~~~~~~~^~~~~
perceptron_tagger.cc: In member function ‘virtual void 
Apertium::PerceptronTagger::train(Apertium::Stream&, Apertium::Stream&, int)’:
perceptron_tagger.cc:249:10: note: ‘avail_skipped’ was declared here
  249 |   size_t avail_skipped;
      |          ^~~~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/apertium'
make[2]: *** [Makefile:1001: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/apertium'
make[1]: *** [Makefile:493: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: apertium
Source-Version: 3.8.2-1
Done: Tino Didriksen <t...@didriksen.cc>

We believe that the bug you reported is fixed in the latest version of
apertium, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1012...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tino Didriksen <t...@didriksen.cc> (supplier of updated apertium package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 24 Jul 2022 13:26:47 +0200
Source: apertium
Binary: apertium apertium-dbgsym apertium-dev apertium-dev-dbgsym libapertium3 
libapertium3-dbgsym python3-apertium-core python3-apertium-core-dbgsym
Architecture: source amd64
Version: 3.8.2-1
Distribution: experimental
Urgency: low
Maintainer: Debian Science Team 
<debian-science-maintain...@alioth-lists.debian.net>
Changed-By: Tino Didriksen <t...@didriksen.cc>
Description:
 apertium   - Shallow-transfer machine translation engine
 apertium-dev - Development tools and library for Apertium
 libapertium3 - Shared library for Apertium
 python3-apertium-core - Shallow-transfer machine translation engine (Python 3 
module)
Closes: 1012894
Changes:
 apertium (3.8.2-1) experimental; urgency=low
 .
   * Update to latest upstream:
     + Updated package names for soname untangling.
   * Fixes FTBFS with GCC 12 (Closes: #1012894)
Checksums-Sha1:
 6f0b17138f390646c1495d6f0aa95679d5bb9f47 2354 apertium_3.8.2-1.dsc
 50d209c2c4b99b79e46e5fcb6ebea0e92cc79f01 341471 apertium_3.8.2.orig.tar.bz2
 0ed8612e55365492e254cdf4f5a6fd5f87f81a6c 6888 apertium_3.8.2-1.debian.tar.xz
 ad6108e907b82a786aee0906cb4553913c74b04c 3444084 
apertium-dbgsym_3.8.2-1_amd64.deb
 e7ad5f1c0ce88b0006af4cfe30ae6a9da2a793c2 644636 
apertium-dev-dbgsym_3.8.2-1_amd64.deb
 2772ddd5a59bbbc3c2ff376526746458466256e2 96256 apertium-dev_3.8.2-1_amd64.deb
 364782734f9c2dde5eaa89ffc5ba748b00d10d5e 9394 apertium_3.8.2-1_amd64.buildinfo
 34ee02f45e1b8fa87b77ba5637ec2ffac2d07d15 351496 apertium_3.8.2-1_amd64.deb
 3c3ec9c7c71271a572dfc6e802645015cc5983cd 8405692 
libapertium3-dbgsym_3.8.2-1_amd64.deb
 21c4e91cfd3fbf13f3c3455df27ddd100222db81 428592 libapertium3_3.8.2-1_amd64.deb
 f4bc44c80424a2d3ffe464e35eb564d5f30c7621 302836 
python3-apertium-core-dbgsym_3.8.2-1_amd64.deb
 c559d074f10736dfc8add6efae0a5ddff7770192 31272 
python3-apertium-core_3.8.2-1_amd64.deb
Checksums-Sha256:
 743c49f8d10200f70f630ed2da5803a8c10336c5757b634248cf72c4a9c0e216 2354 
apertium_3.8.2-1.dsc
 af980020da3f0886fc2b7dec3967740f1b49e802e779e73c47b4a65cc6c4b540 341471 
apertium_3.8.2.orig.tar.bz2
 2e49dc466baad76c1243f2aa3dba481c85aaa57d630da0fd88b7657a0b276c8a 6888 
apertium_3.8.2-1.debian.tar.xz
 e775fea7b8774fcbb169d937883b83edcca9c1aafae86c436448ce6b737bb494 3444084 
apertium-dbgsym_3.8.2-1_amd64.deb
 f2ca1f9eea2326fe871c69f5d8e3f6acfe4e3fa326fe4c58ab568d5239b0e34a 644636 
apertium-dev-dbgsym_3.8.2-1_amd64.deb
 20819deed6402e25614ff45bb6ba903cf45d52ee4230dd99c3077744eb02b8b8 96256 
apertium-dev_3.8.2-1_amd64.deb
 789ada716f93498e3bac069dc3ef0e7bd7f58115a564b602d057c7d5c20a44f4 9394 
apertium_3.8.2-1_amd64.buildinfo
 6cdee3915e346664e5c72082e8277ef75392831d8603ef6d3acad1c7f7e44ebb 351496 
apertium_3.8.2-1_amd64.deb
 920d7208b6fc5438ddb846a10467179bd901d235070597cbdf8092ef3230632b 8405692 
libapertium3-dbgsym_3.8.2-1_amd64.deb
 63ae7b1f8eca385afa4f1b9d763f4ef837dd7eba123c0c8131034c42d3a2a19c 428592 
libapertium3_3.8.2-1_amd64.deb
 44ca165e2e30c9c21b25b6b075545acc59346290b1cfedd8d1dab6fc189985ae 302836 
python3-apertium-core-dbgsym_3.8.2-1_amd64.deb
 e6804c1b9999a34b825fcfd3c912f2f005019ad4982c55b00ed3b3186301cf82 31272 
python3-apertium-core_3.8.2-1_amd64.deb
Files:
 543ae338554fb3d6c4ec4b88dbd6f6f8 2354 science optional apertium_3.8.2-1.dsc
 8ba861ff2ea6180ad23bfb6d2c442f34 341471 science optional 
apertium_3.8.2.orig.tar.bz2
 147ef0fa8ae5f25e753014935e26f884 6888 science optional 
apertium_3.8.2-1.debian.tar.xz
 1a7a346d4e47d58e0f0182c32ca52548 3444084 debug optional 
apertium-dbgsym_3.8.2-1_amd64.deb
 f5c0f0b0d3fe9ebc1e794449457ad03e 644636 debug optional 
apertium-dev-dbgsym_3.8.2-1_amd64.deb
 a6bdcbf9a94c669631d599b544215e9b 96256 science optional 
apertium-dev_3.8.2-1_amd64.deb
 ae4dd8b90ea3e0303a067b06e3185809 9394 science optional 
apertium_3.8.2-1_amd64.buildinfo
 717483d49c8f66b53d2b8eaf3a983492 351496 science optional 
apertium_3.8.2-1_amd64.deb
 e2885160bb1b818dcee7e942709cad36 8405692 debug optional 
libapertium3-dbgsym_3.8.2-1_amd64.deb
 a1d43f30db25f41babfc1af84ec1e06a 428592 libs optional 
libapertium3_3.8.2-1_amd64.deb
 19f5918410fb5f9e6bdda045114162e3 302836 debug optional 
python3-apertium-core-dbgsym_3.8.2-1_amd64.deb
 6fa992366ad33f68c599d8fa3e2e0ebd 31272 python optional 
python3-apertium-core_3.8.2-1_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEa2MbXvVUr2sRlmKSAsHT8ng6pN4FAmLfihEACgkQAsHT8ng6
pN67pQ/+LRR5eUF13GIBjFyvDa2tLUJGDl6S/kTohEw0/5EmLuiJSyVd/MKObrlz
JeV9X9zLhbOOr+ye74JW6JequH+Ofr8bDLuzEl+gf9w3+WHCcSYfchEdBkbt7Cyx
lWNRWwkebytbwaobIyarH9N+K7B/IcNNzZIGqU6pK0z9HvqDSQOYAgvW4HkbqSNc
/ZIhCkhRNswLDO6Jg7j8BhEr5jtaLFW6tvKZJxbYYSmQHEgPBbENQR1XbntEoStJ
FDWHTU1Ci7rfWGWTmze9299tMU489xSr2xev4Q9jW74hbheUmE9kdXR7jmgqo1P7
raIcFlf+vNFVIeikP+BNWYuTPTjRgPVoIC1byffNDglXhP+c/KcR6/U6+FWWkpNb
dR5QLjjvcWkxOLd3vXqrtYDVh4bK//+Y+MAwDLVwxL65l798+UrJDugvlC+L+tv4
qRIHpyuOVDi+w3FtcYTfhRKls6Bdyw2moqDC1z2+yW+cT/v7X3aCqXDMlx05OP53
XPN+DgXZyrYowB9pX1Irqgp9AdMU0iBFGUIRB3Us7wJ6E9l1ToVFZTk4mNXlf6Uq
4Yj+CSLQ5Hib9jVeHw0vli4bM4qoWryoulN3gz05KcX1cQMPZXlsViwewe84Ik7t
catX12DW5vCdMSJGHNY60+wRUS7CPPyjUiWWmGJyrRh3mCUz8QY=
=b6ZS
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to