Your message dated Sat, 23 Oct 2021 21:36:42 +0000
with message-id <e1meoh0-000it2...@fasolo.debian.org>
and subject line Bug#996620: fixed in wp2latex 3.100+ds-2
has caused the Debian Bug report #996620,
regarding FTBFS: error: cannot bind non-const lvalue reference of type
‘temp_string&’ to an rvalue of type ‘temp_string’
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.)
--
996620: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996620
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: wp2latex
Version: 3.100-1
Severity: serious
Tags: upstream
Justification: 4.
Dear Maintainer,
the package fails to build from source since gcc-11 is the default compiler:
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -fno-rtti
-fno-exceptions -DUSE_TEMP_STRINGS -D_REENTRANT -fpermissive -DPOINTER_SIZE=64
-O2 -Dpng_sizeof=sizeof -Wall -I../atoms/include/ -DERROR_HANDLER -c cpbldr.cc
-o cpbldr.o
In file included from cplib.cc:8,
from cpbldr.cc:8:
../atoms/include/stringa.h:191:30: warning: friend declaration of ‘temp_string
del(const string&, int, int)’ specifies default arguments and isn’t a
definition [-fpermissive]
191 | friend temp_string del(const string &s,int from, int len=1);
| ^~~
../atoms/include/stringa.h: In member function ‘string&
string::operator*=(unsigned int)’:
../atoms/include/stringa.h:269:63: error: cannot bind non-const lvalue
reference of type ‘temp_string&’ to an rvalue of type ‘temp_string’
269 | inline string & string::operator*=(unsigned n)
{*this=multiply(*this,n);return(*this);}
| ~~~~~~~~^~~~~~~~~
../atoms/include/stringa.h:90:42: note: initializing argument 1 of ‘string&
string::operator=(temp_string&)’
90 | string &operator=(temp_string &s);
| ~~~~~~~~~~~~~^
In file included from ../atoms/include/dbllist.h:12,
from cplib.cc:9,
from cpbldr.cc:8:
../atoms/include/lists.h: At global scope:
../atoms/include/lists.h:99:23: warning: friend declaration of ‘int
AddSTRSorted(list&, TSorter, const char*, int)’ specifies default arguments and
isn’t a definition [-fpermissive]
99 | friend int AddSTRSorted(list & l,TSorter sorter, const char
*str, int AllowDupl=0);
| ^~~~~~~~~~~~
cpbldr.cc: In function ‘doublelist ReadCodeGenerator(const char*)’:
cpbldr.cc:47:17: error: cannot bind non-const lvalue reference of type
‘temp_string&’ to an rvalue of type ‘temp_string’
47 | key = copy(s,1,i-1);
| ~~~~^~~~~~~~~
In file included from cplib.cc:8,
from cpbldr.cc:8:
../atoms/include/stringa.h:90:42: note: initializing argument 1 of ‘string&
string::operator=(temp_string&)’
90 | string &operator=(temp_string &s);
| ~~~~~~~~~~~~~^
cpbldr.cc:56:21: error: cannot bind non-const lvalue reference of type
‘temp_string&’ to an rvalue of type ‘temp_string’
56 | key = copy(key,0, Semicolon-key());
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In file included from cplib.cc:8,
from cpbldr.cc:8:
../atoms/include/stringa.h:90:42: note: initializing argument 1 of ‘string&
string::operator=(temp_string&)’
90 | string &operator=(temp_string &s);
| ~~~~~~~~~~~~~^
cpbldr.cc:80:24: error: cannot bind non-const lvalue reference of type
‘temp_string&’ to an rvalue of type ‘temp_string’
80 | key = copy(s,1,i-1);
| ~~~~^~~~~~~~~
In file included from cplib.cc:8,
from cpbldr.cc:8:
../atoms/include/stringa.h:90:42: note: initializing argument 1 of ‘string&
string::operator=(temp_string&)’
90 | string &operator=(temp_string &s);
| ~~~~~~~~~~~~~^
cpbldr.cc:87:28: error: cannot bind non-const lvalue reference of type
‘temp_string&’ to an rvalue of type ‘temp_string’
87 | key = copy(key,0, Semicolon-key());
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In file included from cplib.cc:8,
from cpbldr.cc:8:
../atoms/include/stringa.h:90:42: note: initializing argument 1 of ‘string&
string::operator=(temp_string&)’
90 | string &operator=(temp_string &s);
| ~~~~~~~~~~~~~^
cpbldr.cc: In function ‘string CheckPlainString(const string&)’:
cpbldr.cc:149:27: error: cannot bind non-const lvalue reference of type
‘temp_string&’ to an rvalue of type ‘temp_string’
149 | plain = plain + ch;
| ~~~~~~^~~~
In file included from cplib.cc:8,
from cpbldr.cc:8:
../atoms/include/stringa.h:90:42: note: initializing argument 1 of ‘string&
string::operator=(temp_string&)’
90 | string &operator=(temp_string &s);
| ~~~~~~~~~~~~~^
cpbldr.cc:153:24: error: cannot bind non-const lvalue reference of type
‘temp_string&’ to an rvalue of type ‘temp_string’
153 | plain=plain+ch;
| ~~~~~^~~
In file included from cplib.cc:8,
from cpbldr.cc:8:
../atoms/include/stringa.h:90:42: note: initializing argument 1 of ‘string&
string::operator=(temp_string&)’
90 | string &operator=(temp_string &s);
| ~~~~~~~~~~~~~^
cpbldr.cc:161:24: error: cannot bind non-const lvalue reference of type
‘temp_string&’ to an rvalue of type ‘temp_string’
161 | plain=plain+ch;
| ~~~~~^~~
In file included from cplib.cc:8,
from cpbldr.cc:8:
../atoms/include/stringa.h:90:42: note: initializing argument 1 of ‘string&
string::operator=(temp_string&)’
90 | string &operator=(temp_string &s);
| ~~~~~~~~~~~~~^
cpbldr.cc:165:24: error: cannot bind non-const lvalue reference of type
‘temp_string&’ to an rvalue of type ‘temp_string’
165 | plain=plain+ch;
| ~~~~~^~~
In file included from cplib.cc:8,
from cpbldr.cc:8:
../atoms/include/stringa.h:90:42: note: initializing argument 1 of ‘string&
string::operator=(temp_string&)’
90 | string &operator=(temp_string &s);
| ~~~~~~~~~~~~~^
cpbldr.cc:219:43: error: cannot bind non-const lvalue reference of type
‘temp_string&’ to an rvalue of type ‘temp_string’
219 | plain=(char)(num%8+'0')+plain;
| ~~~~~~~~~~~~~~~~~^~~~~~
In file included from cplib.cc:8,
from cpbldr.cc:8:
../atoms/include/stringa.h:90:42: note: initializing argument 1 of ‘string&
string::operator=(temp_string&)’
90 | string &operator=(temp_string &s);
| ~~~~~~~~~~~~~^
cpbldr.cc:222:27: error: cannot bind non-const lvalue reference of type
‘temp_string&’ to an rvalue of type ‘temp_string’
222 | plain="\\"+plain;
| ~~~~^~~~~~
In file included from cplib.cc:8,
from cpbldr.cc:8:
../atoms/include/stringa.h:90:42: note: initializing argument 1 of ‘string&
string::operator=(temp_string&)’
90 | string &operator=(temp_string &s);
| ~~~~~~~~~~~~~^
cpbldr.cc:223:30: error: cannot bind non-const lvalue reference of type
‘temp_string&’ to an rvalue of type ‘temp_string’
223 | plain=(char)1+plain;
| ~~~~~~~^~~~~~
In file included from cplib.cc:8,
from cpbldr.cc:8:
../atoms/include/stringa.h:90:42: note: initializing argument 1 of ‘string&
string::operator=(temp_string&)’
90 | string &operator=(temp_string &s);
| ~~~~~~~~~~~~~^
cpbldr.cc: In function ‘void WriteCodeGenerator(doublelist&, const char*, const
char*)’:
cpbldr.cc:338:27: error: cannot bind non-const lvalue reference of type
‘temp_string&’ to an rvalue of type ‘temp_string’
338 | s2 = replacesubstring(s2,"\n","\n\t");
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from cplib.cc:8,
from cpbldr.cc:8:
../atoms/include/stringa.h:90:42: note: initializing argument 1 of ‘string&
string::operator=(temp_string&)’
90 | string &operator=(temp_string &s);
| ~~~~~~~~~~~~~^
I'm in discussion w/ upstream maintainer to solve the issue.
Hilmar
--- End Message ---
--- Begin Message ---
Source: wp2latex
Source-Version: 3.100+ds-2
Done: Hilmar Preusse <hill...@web.de>
We believe that the bug you reported is fixed in the latest version of
wp2latex, 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 996...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Hilmar Preusse <hill...@web.de> (supplier of updated wp2latex 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: SHA512
Format: 1.8
Date: Sat, 23 Oct 2021 23:03:56 +0200
Source: wp2latex
Architecture: source
Version: 3.100+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Hilmar Preusse <hill...@web.de>
Changed-By: Hilmar Preusse <hill...@web.de>
Closes: 996620
Changes:
wp2latex (3.100+ds-2) unstable; urgency=medium
.
* Add upstream commit d2cb05133333 to fix build failures in
parallel build.
* Add upstream commit to fix build failures w/ gcc-11.
(Closes: #996620)
Checksums-Sha1:
b44e13f36a8e66a4eed4d715b20a2f53caa65dc8 2412 wp2latex_3.100+ds-2.dsc
d323cc847b5d8f01761b06b53715dad78f5337d3 7396 wp2latex_3.100+ds-2.debian.tar.xz
e06d644bec6bd601d8dccf090e5150223600776e 8647
wp2latex_3.100+ds-2_source.buildinfo
Checksums-Sha256:
bd0cf83de09d7a10f35012f239bbecdbb8697824c5f236146e96255969c4bcb5 2412
wp2latex_3.100+ds-2.dsc
c5593643842c39d1179e56f1d7ce53c1bb2a24ea9f9c0a70784bba802ec3a00a 7396
wp2latex_3.100+ds-2.debian.tar.xz
a43389e519ec3748bd47e4e08b9380bb7c6f3d57ea9f01a94df9af6f17f6d941 8647
wp2latex_3.100+ds-2_source.buildinfo
Files:
aff4cfc2548d39061a8bc17c9700d982 2412 text optional wp2latex_3.100+ds-2.dsc
2115e09373222c3c06700f99a6849c76 7396 text optional
wp2latex_3.100+ds-2.debian.tar.xz
a444d2660272eea00590861f3079e983 8647 text optional
wp2latex_3.100+ds-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEEaXGmC/nkbIhxf16kxiZYRqvgLIsFAmF0eP1fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDY5
NzFBNjBCRjlFNDZDODg3MTdGNUVBNEM2MjY1ODQ2QUJFMDJDOEIACgkQxiZYRqvg
LItP5w/+OXNxjczsQZ332IjhVf6UjE6fYfEd6alil1PhfRUgpvRZk6AtRCy4/159
AX89bJ/LFN4P2XqY4burVlVY7FbhoRllIWSZVgJXRIHla+bPKA5ZGuP/PSMFAW4O
8fEnOeHn0zTPLpOdpCrkSdQhBcVvSL7b4uGHuie0t4jbKoPTrcLHQfRw1BhKotaW
LQsWDTWA5+twEZbef2XvxiSme4xEWtQ7DwQT14LtbLN5EuyqJwk0Cge5yAsRJyUo
n+5sxMwy11RmxoS4WQZWyFxOiztzUPljVF/fP2WUxYDpmPzK83WwgeWjPKf0IaSx
QMSU4YXr/jedxzh4gKI68YmUb0b5VPhd7mj9NHWgTfFT86ovL04B408F8qOXusE8
6FJscsI06xeqqxTF8dskEU7R148CHilEeezx4VOliZqIVzegvU2jC93L5cE0bXWn
mZZnPzk7/BBZhL0HJakZ6/N9sv58Zrv7RBkhWFitp2YAFyOYi/F8tRbDh589SKM1
nY1l1B+L7CRM1PphLsc/l2KDE4lDYwRNJ4jRf3tYahUwXc3gC/v4+HpSDAU88mzY
easNdDXZg+CQmJuWHz3NFbmiN79o297Gju+S+2yUrd21cVn2Et/7R9Dk1mhLlI6Q
yS7CC+xjrBi/nc4ttJg7vR9TLyzUWVni+/WAPTXKEaEXN8dwe4o=
=oI79
-----END PGP SIGNATURE-----
--- End Message ---