Your message dated Mon, 16 Jan 2023 21:25:04 +0000
with message-id <e1phwyw-00hlzu...@fasolo.debian.org>
and subject line Bug#984229: fixed in mccs 1:1.1-10
has caused the Debian Bug report #984229,
regarding mccs: ftbfs with GCC-11
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.)


-- 
984229: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984229
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:mccs
Version: 1:1.1-9
Severity: normal
Tags: sid bookworm
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-11

[This bug is not targeted to the upcoming bullseye 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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/mccs_1.1-9_unstable_gcc11.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.

[...]
      |                                                    ^~
sources/pblib_solver.c:99:16: note: ‘sprintf’ output 31 or more bytes (assuming 
1051) into a destination of size 1024
   99 |         sprintf(command, "cat %s >> %s; %s -f %s > %s 2> /dev/null",
      |         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  100 |                 ctpbfilename, pbfilename, pb_solver, pbfilename, 
pboutfilename);
      |                 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -Wall -O6 -Wl,-z,relro -DUSELPSOLVE -c -Iobjs -Isources -Ilibsrcs 
sources/removed_criteria.c -o objs/removed_criteria.o
sources/removed_criteria.c: In member function ‘virtual CUDFcoefficient 
removed_criteria::upper_bound()’:
sources/removed_criteria.c:98:70: warning: ‘*’ in boolean context, suggest ‘&&’ 
instead [-Wint-in-bool-context]
   98 | CUDFcoefficient removed_criteria::upper_bound() { return lambda_crit * 
(lambda_crit >= 0)?ub:lb; }
      |                                                          
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
sources/removed_criteria.c: In member function ‘virtual CUDFcoefficient 
removed_criteria::lower_bound()’:
sources/removed_criteria.c:101:70: warning: ‘*’ in boolean context, suggest 
‘&&’ instead [-Wint-in-bool-context]
  101 | CUDFcoefficient removed_criteria::lower_bound() { return lambda_crit * 
(lambda_crit >= 0)?lb:ub; }
      |                                                          
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
g++ -Wall -O6 -Wl,-z,relro -DUSELPSOLVE -c -Iobjs -Isources -Ilibsrcs 
sources/changed_criteria.c -o objs/changed_criteria.o
g++ -Wall -O6 -Wl,-z,relro -DUSELPSOLVE -c -Iobjs -Isources -Ilibsrcs 
sources/new_criteria.c -o objs/new_criteria.o
g++ -Wall -O6 -Wl,-z,relro -DUSELPSOLVE -c -Iobjs -Isources -Ilibsrcs 
sources/notuptodate_criteria.c -o objs/notuptodate_criteria.o
g++ -Wall -O6 -Wl,-z,relro -DUSELPSOLVE -c -Iobjs -Isources -Ilibsrcs 
sources/nunsat_criteria.c -o objs/nunsat_criteria.o
sources/nunsat_criteria.c: In member function ‘virtual void 
nunsat_criteria::initialize(CUDFproblem*, abstract_solver*)’:
sources/nunsat_criteria.c:86:29: warning: suggest explicit braces to avoid 
ambiguous ‘else’ [-Wdangling-else]
   86 |                     else if (comp(jpkg->first, (*disjunct)->version))
      |                             ^
sources/nunsat_criteria.c:81:20: warning: suggest explicit braces to avoid 
ambiguous ‘else’ [-Wdangling-else]
   81 |                 if (! self_depend)
      |                    ^
sources/nunsat_criteria.c: In member function ‘virtual int 
nunsat_criteria::add_constraints()’:
sources/nunsat_criteria.c:209:29: warning: suggest explicit braces to avoid 
ambiguous ‘else’ [-Wdangling-else]
  209 |                     else if (comp(jpkg->first, (*disjunct)->version))
      |                             ^
sources/nunsat_criteria.c:204:20: warning: suggest explicit braces to avoid 
ambiguous ‘else’ [-Wdangling-else]
  204 |                 if (! self_depend)
      |                    ^
g++ -Wall -O6 -Wl,-z,relro -DUSELPSOLVE -c -Iobjs -Isources -Ilibsrcs 
sources/count_criteria.c -o objs/count_criteria.o
sources/count_criteria.c:53:31: warning: invalid suffix on literal; C++11 
requires a space between literal and string macro [-Wliteral-suffix]
   53 |     if (verbosity > 2) printf("count criteria default value for %s = 
"CUDFflags"\n", property_name, default_value);
      |                               ^
g++ -Wall -O6 -Wl,-z,relro -DUSELPSOLVE -c -Iobjs -Isources -Ilibsrcs 
sources/unaligned_criteria.c -o objs/unaligned_criteria.o
g++ -Wall -O6 -Wl,-z,relro -DUSELPSOLVE -c -Iobjs -Isources -Ilibsrcs 
sources/lexicographic_combiner.c -o objs/lexicographic_combiner.o
g++ -Wall -O6 -Wl,-z,relro -DUSELPSOLVE -c -Iobjs -Isources -Ilibsrcs 
sources/lexagregate_combiner.c -o objs/lexagregate_combiner.o
g++ -Wall -O6 -Wl,-z,relro -DUSELPSOLVE -c -Iobjs -Isources -Ilibsrcs 
sources/agregate_combiner.c -o objs/agregate_combiner.o
g++ -Wall -O6 -Wl,-z,relro -DUSELPSOLVE -c -Iobjs -Isources -Ilibsrcs 
sources/lexsemiagregate_combiner.c -o objs/lexsemiagregate_combiner.o
g++ -Wall -O6 -Wl,-z,relro -DUSELPSOLVE -c -Iobjs -Isources -Ilibsrcs 
sources/leximin_combiner.c -o objs/leximin_combiner.o
g++ -Wall -O6 -Wl,-z,relro -DUSELPSOLVE -c -Iobjs -Isources -Ilibsrcs 
sources/leximax_combiner.c -o objs/leximax_combiner.o
g++ -Wall -O6 -Wl,-z,relro -DUSELPSOLVE -c -Iobjs -Isources -Ilibsrcs 
sources/lexleximin_combiner.c -o objs/lexleximin_combiner.o
g++ -Wall -O6 -Wl,-z,relro -DUSELPSOLVE -c -Iobjs -Isources -Ilibsrcs 
sources/lexleximax_combiner.c -o objs/lexleximax_combiner.o
g++ -Wall -O6 -Wl,-z,relro -DUSELPSOLVE -c -Iobjs -Isources -Ilibsrcs 
sources/cudf_reductions.c -o objs/cudf_reductions.o
g++ -Wall -O6 -Wl,-z,relro -DUSELPSOLVE -c -Iobjs -Isources -Ilibsrcs 
-I/usr/include/lpsolve sources/lpsolve_solver.c -o objs/lpsolve_solver.o
sources/lpsolve_solver.c:88:35: warning: invalid suffix on literal; C++11 
requires a space between literal and string macro [-Wliteral-suffix]
   88 |         if (verbosity > 0) printf(">>> Objective %d value : 
"CUDFflags"\n", k, objval);
      |                                   ^
bison -v --name-prefix=cudf --file-prefix=objs/cudf libsrcs/cudf.y
g++ -Wall -O6 -Wl,-z,relro -DUSELPSOLVE -c -Iobjs -Isources -Ilibsrcs -fPIC 
objs/cudf.tab.c -o objs/cudf.tab.o
In file included from /usr/include/c++/11/set:60,
                 from libsrcs/cudf.h:18,
                 from libsrcs/cudf.y:14:
/usr/include/c++/11/bits/stl_tree.h: In instantiation of ‘static const _Key& 
std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::_S_key(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::_Const_Link_type) [with _Key = CUDFVersionedPackage*; _Val = 
CUDFVersionedPackage*; _KeyOfValue = std::_Identity<CUDFVersionedPackage*>; 
_Compare = CUDFPackage_comparator; _Alloc = 
std::allocator<CUDFVersionedPackage*>; std::_Rb_tree<_Key, _Val, _KeyOfValue, 
_Compare, _Alloc>::_Const_Link_type = const 
std::_Rb_tree_node<CUDFVersionedPackage*>*]’:
/usr/include/c++/11/bits/stl_tree.h:1903:36:   required from 
‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator 
std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::_M_lower_bound(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::_Link_type, std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, 
_Alloc>::_Base_ptr, const _Key&) [with _Key = CUDFVersionedPackage*; _Val = 
CUDFVersionedPackage*; _KeyOfValue = std::_Identity<CUDFVersionedPackage*>; 
_Compare = CUDFPackage_comparator; _Alloc = 
std::allocator<CUDFVersionedPackage*>; std::_Rb_tree<_Key, _Val, _KeyOfValue, 
_Compare, _Alloc>::iterator = std::_Rb_tree<CUDFVersionedPackage*, 
CUDFVersionedPackage*, std::_Identity<CUDFVersionedPackage*>, 
CUDFPackage_comparator, std::allocator<CUDFVersionedPackage*> >::iterator; 
std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = 
std::_Rb_tree_node<CUDFVersionedPackage*>*; std::_Rb_tree<_Key, _Val, 
_KeyOfValue, _Compare, _Alloc>::_Base_ptr = std::_Rb_tre
 e_node_base*]’
/usr/include/c++/11/bits/stl_tree.h:2521:36:   required from 
‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator 
std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::find(const _Key&) 
[with _Key = CUDFVersionedPackage*; _Val = CUDFVersionedPackage*; _KeyOfValue = 
std::_Identity<CUDFVersionedPackage*>; _Compare = CUDFPackage_comparator; 
_Alloc = std::allocator<CUDFVersionedPackage*>; std::_Rb_tree<_Key, _Val, 
_KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree<CUDFVersionedPackage*, 
CUDFVersionedPackage*, std::_Identity<CUDFVersionedPackage*>, 
CUDFPackage_comparator, std::allocator<CUDFVersionedPackage*> >::iterator]’
/usr/include/c++/11/bits/stl_set.h:795:25:   required from ‘std::set<_Key, 
_Compare, _Alloc>::iterator std::set<_Key, _Compare, _Alloc>::find(const 
key_type&) [with _Key = CUDFVersionedPackage*; _Compare = 
CUDFPackage_comparator; _Alloc = std::allocator<CUDFVersionedPackage*>; 
std::set<_Key, _Compare, _Alloc>::iterator = 
std::_Rb_tree<CUDFVersionedPackage*, CUDFVersionedPackage*, 
std::_Identity<CUDFVersionedPackage*>, CUDFPackage_comparator, 
std::allocator<CUDFVersionedPackage*> >::const_iterator; std::set<_Key, 
_Compare, _Alloc>::key_type = CUDFVersionedPackage*]’
libsrcs/cudf.y:117:52:   required from here
/usr/include/c++/11/bits/stl_tree.h:770:15: error: static assertion failed: 
comparison object must be invocable as const
  770 |               is_invocable_v<const _Compare&, const _Key&, const _Key&>,
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/stl_tree.h:770:15: note: ‘std::is_invocable_v<const 
CUDFPackage_comparator&, CUDFVersionedPackage* const&, CUDFVersionedPackage* 
const&>’ evaluates to false
make[1]: *** [makefile:179: objs/cudf.tab.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 "INSTALL=install --strip-program=true" returned 
exit code 2
make: *** [debian/rules:4: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: mccs
Source-Version: 1:1.1-10
Done: Ralf Treinen <trei...@debian.org>

We believe that the bug you reported is fixed in the latest version of
mccs, 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 984...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ralf Treinen <trei...@debian.org> (supplier of updated mccs 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: Mon, 16 Jan 2023 20:57:37 +0100
Source: mccs
Architecture: source
Version: 1:1.1-10
Distribution: unstable
Urgency: medium
Maintainer: Ralf Treinen <trei...@debian.org>
Changed-By: Ralf Treinen <trei...@debian.org>
Closes: 984229
Changes:
 mccs (1:1.1-10) unstable; urgency=medium
 .
   [ Adrian Bunk ]
   * Build with -std=gnu++14 to workaround FTBFS with gcc >= 11.
     (Closes: #984229)
   * Build with -g to add debug symbols to mccs-dbgsym.
 .
   [ Ralf Treinen ]
   * Standards-Version 4.6.2 (no change)
   * Declare Root-Requires-Root=no
 .
   [ Debian Janitor ]
   * Trim trailing whitespace.
Checksums-Sha1:
 c0a8735cd9815d3307eb9de674d76925c7a595af 1827 mccs_1.1-10.dsc
 dbd5e9deb53242d797bd25aa64b4708fff87681d 7536 mccs_1.1-10.debian.tar.xz
 72f3ad1c3cf353573a5345942273d502cbae52aa 6720 mccs_1.1-10_source.buildinfo
Checksums-Sha256:
 97f42a422799c0ee11c06238a8c9683d97d6fd578b68ef9174d1f2d0cc0439ac 1827 
mccs_1.1-10.dsc
 203c79c8973333896c345802842b0be4280c07afaa46a06ed0d8ba7a329ab7ef 7536 
mccs_1.1-10.debian.tar.xz
 8e72f5223342ce98630b039d2968c3670ba509c24bd3e177b3521e12371bddf6 6720 
mccs_1.1-10_source.buildinfo
Files:
 a4b60c070906c3c32ee09edbabd7d64c 1827 admin optional mccs_1.1-10.dsc
 2bf054b8b0386e1f4b1211d533e04a98 7536 admin optional mccs_1.1-10.debian.tar.xz
 27157ab0f91154e41b89fd94f1bc3a9c 6720 admin optional 
mccs_1.1-10_source.buildinfo

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

iQIzBAEBCAAdFiEEAgVIKeEtDyqOZI5idFxHZtTKzf8FAmPFsp4ACgkQdFxHZtTK
zf/Dmg//cMRNjb4062H0fMgnLtdKj5AeKoDX2XjlxPszVGrwv+ALxd1utZHUsNUz
ayhgFjevyeXKTr7cDR+pRdIm82IQJv8zlSp0uvJLzpb/thIVqt8zYf/gsTsgXEcm
xjCkmiCmR7j25+kZXnTIKg+X/tb7cKAsjKWWzEkTzUmJjWzOr+XGCC4IpXPqGcIE
3k/nSJIWz0hdS/l2KQaOsLkeQs6juF4grqa33vqY33nFK84ex4UFOBBoA16aEUOJ
FzA4GALEJlhGRWQvdgycoMDIbno2OTCJoc9rUAIS70as0OBUNZDj/9N/RciNKLfY
SnjeCuOcwGH58AZcc1hmJ/lg/WhrcwPdAQ+gWZNQc3JCY9fUtbI+3OBJegS8nu4s
rbCBgxEfLLGnxO98YBMY25tnma+JQtiY55O9jbdxU+lAZbGTfnh4ZLa6oVnEY2ue
9SlBXz1qhJvsyRY923lzwowuqvEXp1NllPsZXFjR9zHT7s18seUjTMbvarhWUTUh
JRlFElDQHF5lOtCP4E7ULiibLJEZtX5uD5qCm7QkoA4yB6e8VSpKcvnbcJYJ5YPe
E1chOawICcAn57T9HKbJtXhB84AQDmGcfzXn0M46gzmRnI1RQppGvTbKFcfG7Yy8
0lFG88N1dyrddTY6jyAEij6nTBq50PX9F38J00gnUh3E9P0fbbQ=
=/7hC
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to