Your message dated Wed, 16 May 2007 11:02:04 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#377100: fixed in lesstif2 1:0.95.0-1 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: lesstif2-dev Version: 0.94.4-2 About 7 packages [1] in the archive fail to build with recent versions of the gcc-snapshot package, i.e. a pre-release of GCC 4.2 because of a conflict between lesstif2-dev and libxt-dev. The problem is that external variables/functions 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 investigate. The problem is that the lesstif header explicitly uses 'extern "C"' when it is in C++ mode, but this seems bogus. Can you talk to upstream to see why this was added? Here's a trivial example of the problem: 1707:[EMAIL PROTECTED]: ~] cat test.cc #include <Xm/VendorSP.h> 1708:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/g++ -c test.cc /usr/include/X11/VendorP.h:87: error: previous declaration of 'VendorShellClassRec vendorShellClassRec' with 'C++' linkage /usr/include/Xm/VendorSP.h:58: error: conflicts with new declaration with 'C' linkage zsh: exit 1 /usr/lib/gcc-snapshot/bin/g++ -c test.cc 1709:[EMAIL PROTECTED]: ~] The following patch makes the build failure go away: --- /usr/include/Xm/VendorSP.h 2006-07-07 15:58:04.000000000 +0200 +++ VendorSP.h 2006-07-07 15:58:19.000000000 +0200 @@ -30,10 +30,6 @@ #include <Xm/VendorS.h> #include <X11/ShellP.h> -#ifdef __cplusplus -extern "C" { -#endif - XMLIBEXPORT extern Cardinal _XmFilterResources(XtResource *resources, Cardinal numResources, WidgetClass filterClass, @@ -57,9 +53,4 @@ XMLIBEXPORT extern VendorShellClassRec vendorShellClassRec; - -#ifdef __cplusplus -} -#endif - #endif /* _XM_VENDORSP_H */ > Automatic build of xmpi_2.2.3b8-10 on test.track.rz.uni-augsburg.de by > sbuild/powerpc 0.47 ... > if mpic++.lam -DHAVE_CONFIG_H -I. -I. -I. -I../../src -g -O2 -MT > xmpi_misc.o -MD -MP -MF ".deps/xmpi_misc.Tpo" \ > -c -o xmpi_misc.o `test -f 'xmpi_misc.cc' || echo './'`xmpi_misc.cc; \ > then mv -f ".deps/xmpi_misc.Tpo" ".deps/xmpi_misc.Po"; \ > else rm -f ".deps/xmpi_misc.Tpo"; exit 1; \ > fi > /usr/include/X11/VendorP.h:87: error: previous declaration of > 'VendorShellClassRec vendorShellClassRec' with 'C++' linkage > /usr/include/Xm/VendorSP.h:58: error: conflicts with new declaration with 'C' > linkage > make[3]: *** [xmpi_misc.o] Error 1 > make[3]: Leaving directory `/build/tbm/xmpi-2.2.3b8/src/xmpi' [1] At the moment, the following packages fail to build with GCC 4.2: ddd_1:3.3.11-1 dx_1:4.4.0-2 inventor_2.1.5-10-9 tcm_2.20+TSQD-3 twpsk_2.1+2.2beta1-7 xmpi_2.2.3b8-10 xpdf_3.01-8 -- Martin Michlmayr http://www.cyrius.com/
--- End Message ---
--- Begin Message ---Source: lesstif2 Source-Version: 1:0.95.0-1 We believe that the bug you reported is fixed in the latest version of lesstif2, which is due to be installed in the Debian FTP archive: lesstif-bin_0.95.0-1_i386.deb to pool/main/l/lesstif2/lesstif-bin_0.95.0-1_i386.deb lesstif-doc_0.95.0-1_all.deb to pool/main/l/lesstif2/lesstif-doc_0.95.0-1_all.deb lesstif2-dev_0.95.0-1_i386.deb to pool/main/l/lesstif2/lesstif2-dev_0.95.0-1_i386.deb lesstif2_0.95.0-1.diff.gz to pool/main/l/lesstif2/lesstif2_0.95.0-1.diff.gz lesstif2_0.95.0-1.dsc to pool/main/l/lesstif2/lesstif2_0.95.0-1.dsc lesstif2_0.95.0-1_i386.deb to pool/main/l/lesstif2/lesstif2_0.95.0-1_i386.deb lesstif2_0.95.0.orig.tar.gz to pool/main/l/lesstif2/lesstif2_0.95.0.orig.tar.gz 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 [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Sam Hocevar (Debian packages) <[EMAIL PROTECTED]> (supplier of updated lesstif2 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 [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Wed, 16 May 2007 01:39:17 +0200 Source: lesstif2 Binary: lesstif-bin lesstif2 lesstif2-dev lesstif-doc Architecture: source all i386 Version: 1:0.95.0-1 Distribution: unstable Urgency: low Maintainer: Sam Hocevar (Debian packages) <[EMAIL PROTECTED]> Changed-By: Sam Hocevar (Debian packages) <[EMAIL PROTECTED]> Description: lesstif-bin - user binaries for LessTif lesstif-doc - documentation for LessTif lesstif2 - OSF/Motif 2.1 implementation released under LGPL lesstif2-dev - development library and header files for LessTif 2.1 Closes: 377100 377230 416538 Changes: lesstif2 (1:0.95.0-1) unstable; urgency=low . * New upstream release. . * debian/control: + Added Vcs control fields. + Build-depend on debhelper (>= 5.0). . * debian/patches/010_rebootstrap.diff debian/patches/020_xpmpipethrough.diff: + Refreshed patches. . * debian/patches/020_upstream.diff: + Patch is included in this release. Removed it. . * debian/patches/021_xim_chained_list_crash.diff: + New patch. Fix for a crash in the XIM chained list, courtesy of Julien Soula (Closes: #416538). . * debian/patches/022_gcc42_compliant_headers.diff: + New patch. Make exported headers gcc-4.2 complian, courtesy of Martin Michlmayr (Closes: #377230, #377100). Files: 8ed052b20ee1a9b5adafc9871a64d6b0 940 libs optional lesstif2_0.95.0-1.dsc 9c9ff519bcaf5c2e013d7992fe5260cd 3516722 libs optional lesstif2_0.95.0.orig.tar.gz 1947799cf3cd905ebc35bc7e8f6fc5ee 341661 libs optional lesstif2_0.95.0-1.diff.gz bcf64913a3e3090d8329418b1d1d58fb 360354 doc optional lesstif-doc_0.95.0-1_all.deb 38e7949418466d202b3a5b99b167444f 616114 libs optional lesstif2_0.95.0-1_i386.deb 1f2ae0c50816f4f4e0064c17dc8d761f 843900 libdevel optional lesstif2-dev_0.95.0-1_i386.deb c8ab374af82ff1f5316445bc96ddfed2 166510 x11 optional lesstif-bin_0.95.0-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGSuGefPP1rylJn2ERAomoAJ9I3pYRAOTfdzrRsNZEI4T8hM9mOACgjAbX gdGezPEjbcDXHDKmRJyhyrM= =CCvz -----END PGP SIGNATURE-----
--- End Message ---

