Your message dated Sat, 19 May 2007 21:55:58 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#377172: manedit error unreproducible on amd64
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: manedit
Version: 0.6.1-2
Your package fails to build with recent versions of the gcc-snapshot
package, i.e. a pre-release of GCC 4.2. The problem is that external
variables are defined both in a C and C++ context, as you can see in
this simple example:
42059:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/g++ -c t.cc
t.cc:1: error: previous declaration of 'int i' with 'C++' linkage
t.cc:4: error: conflicts with new declaration with 'C' linkage
42060:[EMAIL PROTECTED]: ~] cat t.cc
extern int i;
extern "C" {
extern int i;
}
According to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27227#c8 this is
not valid, so please investgate.
> Automatic build of manedit_0.6.1-2 on swarm by sbuild/mipsel 0.45
...
> c++ -c string.cpp -g -O2 -Wall -fno-strict-aliasing -DHAVE_GZIP -DHAVE_BZIP2
> `gtk-config --cflags` -DPREFIX=\"/usr\" -DLOCALBASE=\"/usr\"
> -DX11BASE=\"/usr/X11R6\" -D__cplusplus -Dc_plusplus
> string.cpp:6: error: previous declaration of 'char* tzname [2]' with 'C++'
> linkage
> /usr/include/time.h:279: error: conflicts with new declaration with 'C'
> linkage
> string.cpp: In function 'void strtoupper(char*)':
> string.cpp:490: warning: operation on 's' may be undefined
> string.cpp: In function 'void strtolower(char*)':
> string.cpp:502: warning: operation on 's' may be undefined
> string.cpp: In function 'char* StringGetNetArgument(const char*)':
> string.cpp:1509: warning: deprecated conversion from string constant to
> 'char*''
> string.cpp:1523: warning: deprecated conversion from string constant to
> 'char*''
> string.cpp: In function 'char* StringCurrentTimeFormat(const char*)':
> string.cpp:1546: warning: deprecated conversion from string constant to
> 'char*''
> string.cpp:1548: warning: deprecated conversion from string constant to
> 'char*''
> string.cpp:1554: warning: deprecated conversion from string constant to
> 'char*''
> make[1]: *** [string.o] Error 1
--
Martin Michlmayr
http://www.cyrius.com/
--- End Message ---
--- Begin Message ---
* brian m. carlson <[EMAIL PROTECTED]> [2007-05-18 20:39]:
> I cannot reproduce the error in 377172 on amd64 with either g++-4.2 or
> gcc-snapshot's g++. I also do not get the errors that "operation on 's'
> may be undefined".
>
> Martin, could you please look into the FTBFS here, since it looks like
> the only things that occur up until line 6 of string.cpp are includes of
> system C header files, which would lead me to believe that this is a bug
> in glibc or GCC.
I no longe see it either. I guess the new upstream version of manedit
changed something in that file.
--
Martin Michlmayr
http://www.cyrius.com/
--- End Message ---