Bug#468071: Patch to fix the FTBFS with GCC 4.3: ... changes meaning of ...
Andrew Lee wrote: reopen 468071 thanks Anibal, You are right. I will include your patch in next upload. Andrew, I've tested to compile 3.0.1-3 with GCC 4.3 and it still fails to compile. Cheers, Moritz make[4]: Leaving directory `/home/jmm/gcc/stardict-3.0.1/src/dic' Making all in treedict make[4]: Entering directory `/home/jmm/gcc/stardict-3.0.1/src/treedict' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/jmm/gcc/stardict-3.0.1/src/treedict' make[4]: Entering directory `/home/jmm/gcc/stardict-3.0.1/src' i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -Wall -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12-DDATADIR=\/usr/share\ -DGNOME_ICONDIR=\/usr/share/pixmaps\ -DSTARDICT_LOCALEDIR=\/usr/share/locale\ -DSTARDICT_DATA_DIR=\/usr/share/stardict\ -DSTARDICT_LIB_DIR=\/usr/lib/stardict\-g -O2 -MT stardict.o -MD -MP -MF .deps/stardict.Tpo -c -o stardict.o stardict.cpp In file included from sigc++/sigc++.h:23, from config_file.hpp:8, from conf.h:14, from stardict.cpp:67: ./sigc++/signal.h:1675: error: declaration of 'typedef struct sigc::slot_listsigc::slotT_return, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil sigc::signal0T_return, T_accumulator::slot_list' ./sigc++/signal.h:168: error: changes meaning of 'slot_list' from 'struct sigc::slot_listsigc::slotT_return, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil ' ./sigc++/signal.h:1784: error: declaration of 'typedef struct sigc::slot_listsigc::slotT_return, T_arg1, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil sigc::signal1T_return, T_arg1, T_accumulator::slot_list' ./sigc++/signal.h:168: error: changes meaning of 'slot_list' from 'struct sigc::slot_listsigc::slotT_return, T_arg1, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil ' ./sigc++/signal.h:1895: error: declaration of 'typedef struct sigc::slot_listsigc::slotT_return, T_arg1, T_arg2, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil sigc::signal2T_return, T_arg1, T_arg2, T_accumulator::slot_list' ./sigc++/signal.h:168: error: changes meaning of 'slot_list' from 'struct sigc::slot_listsigc::slotT_return, T_arg1, T_arg2, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil ' ./sigc++/signal.h:2008: error: declaration of 'typedef struct sigc::slot_listsigc::slotT_return, T_arg1, T_arg2, T_arg3, sigc::nil, sigc::nil, sigc::nil, sigc::nil sigc::signal3T_return, T_arg1, T_arg2, T_arg3, T_accumulator::slot_list' ./sigc++/signal.h:168: error: changes meaning of 'slot_list' from 'struct sigc::slot_listsigc::slotT_return, T_arg1, T_arg2, T_arg3, sigc::nil, sigc::nil, sigc::nil, sigc::nil ' ./sigc++/signal.h:2123: error: declaration of 'typedef struct sigc::slot_listsigc::slotT_return, T_arg1, T_arg2, T_arg3, T_arg4, sigc::nil, sigc::nil, sigc::nil sigc::signal4T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_accumulator::slot_list' ./sigc++/signal.h:168: error: changes meaning of 'slot_list' from 'struct sigc::slot_listsigc::slotT_return, T_arg1, T_arg2, T_arg3, T_arg4, sigc::nil, sigc::nil, sigc::nil ' ./sigc++/signal.h:2240: error: declaration of 'typedef struct sigc::slot_listsigc::slotT_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, sigc::nil, sigc::nil sigc::signal5T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_accumulator::slot_list' ./sigc++/signal.h:168: error: changes meaning of 'slot_list' from 'struct sigc::slot_listsigc::slotT_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, sigc::nil, sigc::nil ' ./sigc++/signal.h:2359: error: declaration of 'typedef struct sigc::slot_listsigc::slotT_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, sigc::nil sigc::signal6T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_accumulator::slot_list' ./sigc++/signal.h:168: error: changes meaning of 'slot_list' from 'struct sigc::slot_listsigc::slotT_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, sigc::nil ' ./sigc++/signal.h:2480: error: declaration of 'typedef struct sigc::slot_listsigc::slotT_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 sigc::signal7T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7, T_accumulator::slot_list' ./sigc++/signal.h:168: error: changes meaning of 'slot_list' from 'struct sigc::slot_listsigc::slotT_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 ' make[4]: *** [stardict.o] Error 1 make[4]: Leaving directory `/home/jmm/gcc/stardict-3.0.1/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/jmm/gcc/stardict-3.0.1/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/jmm/gcc/stardict-3.0.1'
Bug#468071: Patch to fix the FTBFS with GCC 4.3: ... changes meaning of ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Moritz and Andrew. Andrew, I've tested to compile 3.0.1-3 with GCC 4.3 and it still fails to compile. This message is related to this bug [1] on the package libsigc++-2.0-dev. The bug seems to be fixed in the version 2.0.18-1 (indeed there is a 2.0.18-2 version). I don't sure. I have an idea, may be stardict still finds local libsigc++-2.0 libs (the package has its owns libsigc++-2.0 libs). I suggest to remove them from the package to be sure to find for the external package libsigc++-2.0-dev, because indeed my patch has the new dependency with it. May will be good if you also to add the rule libsigc++-2.0-dev (= 2.0.18-2) ./sigc++/signal.h:2123: error: declaration of 'typedef struct sigc::slot_list sigc::signal4::slot_list' ./sigc++/signal.h:168: error: changes meaning of 'slot_list' from 'struct sigc::slot_list ' Regards. [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466945 - -- Anibal Avelar (FixXxeR) http://fixxxer.cc GPG: 83B64656 - C143 4AD8 B017 53FA B742 D6AA CEEA F9F3 83B6 4656 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: http://firegpg.tuxfamily.org iD8DBQFH5SCKzur584O2RlYRAq1fAJ9SzdQPI640yFYifQdoR7Cu71hAoACfeQ+q F+yRW8wS6MQR755YrGo+Hjo= =Epvi -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#468071: Patch to fix the FTBFS with GCC 4.3: ... changes meaning of ...
Anibal Avelar wrote: I added one patch to fix the FTBFS with GCC 4.3: ... changes meaning of ... Two things were fixed: + Fixed the issues about GCC 4.3. + Also was added the dependency with the package libsigc++-2.0-dev in the debian/control, because by default the package was using local libsigc++-2.0 libs (an old version with old issues). Thanks. I have already uploaded with Paul Liu's tip. Does it still FTBFS with build-depends on libsigc++-2.0-dev? -Andrew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#468071: Patch to fix the FTBFS with GCC 4.3: ... changes meaning of ...
reopen 468071 thanks Anibal, You are right. I will include your patch in next upload. Regards. -Andrew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#468071: Patch to fix the FTBFS with GCC 4.3: ... changes meaning of ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 tags 468071 patch quit I added one patch to fix the FTBFS with GCC 4.3: ... changes meaning of ... Two things were fixed: + Fixed the issues about GCC 4.3. + Also was added the dependency with the package libsigc++-2.0-dev in the debian/control, because by default the package was using local libsigc++-2.0 libs (an old version with old issues). do you wish a NMU package if you have lack time? Regards. - -- Anibal Avelar (FixXxeR) http://fixxxer.cc GPG: 83B64656 - C143 4AD8 B017 53FA B742 D6AA CEEA F9F3 83B6 4656 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: http://firegpg.tuxfamily.org iD8DBQFH4vL3zur584O2RlYRAjFpAJ0UeLo0mZvXzdggF/8RqF7aZ6QL+wCfZSS8 hLjJaT7+ikjRXqWk+t/9v9M= =y5sj -END PGP SIGNATURE- diff -Nru stardict-3.0.1.orig/debian/control stardict-3.0.1/debian/control --- stardict-3.0.1.orig/debian/control 2008-03-20 15:21:44.0 -0600 +++ stardict-3.0.1/debian/control 2008-03-20 17:06:37.243434519 -0600 @@ -3,7 +3,7 @@ Priority: optional Maintainer: Andrew Lee [EMAIL PROTECTED] Uploaders: Anthony Fok [EMAIL PROTECTED] -Build-Depends: debhelper (= 5.0.51), dpatch, libgnomeui-dev, scrollkeeper, libbonobo2-dev, libgconf2-dev, liborbit2-dev, zlib1g-dev, sharutils, libxml-parser-perl, libx11-dev, x-dev, libenchant-dev, libgucharmap-dev, libespeak-dev, festival-dev, libestools1.2-dev, libtool, intltool, autoconf, automake (= 1.10), autotools-dev +Build-Depends: debhelper (= 5.0.51), dpatch, libgnomeui-dev, scrollkeeper, libbonobo2-dev, libgconf2-dev, liborbit2-dev, zlib1g-dev, sharutils, libxml-parser-perl, libx11-dev, x-dev, libenchant-dev, libgucharmap-dev, libespeak-dev, festival-dev, libestools1.2-dev, libtool, intltool, autoconf, automake (= 1.10), autotools-dev, sigc++-2.0-dev Build-Conflicts: autoconf2.13, automake1.4 Standards-Version: 3.7.3 Homepage: http://stardict.sourceforge.net/ diff -Nru stardict-3.0.1.orig/src/lib/common.cpp stardict-3.0.1/src/lib/common.cpp --- stardict-3.0.1.orig/src/lib/common.cpp 2007-09-24 21:27:24.0 -0500 +++ stardict-3.0.1/src/lib/common.cpp 2008-03-20 17:06:41.091653816 -0600 @@ -25,6 +25,8 @@ #endif #include common.hpp +#include cstring +#include cstdlib static void parse_description(const char *p, long len, std::string description) { diff -Nru stardict-3.0.1.orig/src/lib/data.cpp stardict-3.0.1/src/lib/data.cpp --- stardict-3.0.1.orig/src/lib/data.cpp 2007-09-20 20:09:52.0 -0500 +++ stardict-3.0.1/src/lib/data.cpp 2008-03-20 17:06:41.155657464 -0600 @@ -26,7 +26,7 @@ #include data.hpp #include getuint32.h - +#include cstring DictBase::DictBase() { diff -Nru stardict-3.0.1.orig/src/lib/http_client.h stardict-3.0.1/src/lib/http_client.h --- stardict-3.0.1.orig/src/lib/http_client.h 2007-08-30 04:23:32.0 -0500 +++ stardict-3.0.1/src/lib/http_client.h 2008-03-20 15:57:32.287226926 -0600 @@ -5,6 +5,7 @@ #include sigc++/sigc++.h #include string #include vector +#include cstring #ifndef _WIN32 # include netdb.h Binary files stardict-3.0.1.orig/src/lib/libstardict.a and stardict-3.0.1/src/lib/libstardict.a differ diff -Nru stardict-3.0.1.orig/src/lib/pluginmanager.cpp stardict-3.0.1/src/lib/pluginmanager.cpp --- stardict-3.0.1.orig/src/lib/pluginmanager.cpp 2007-10-09 22:26:45.0 -0500 +++ stardict-3.0.1/src/lib/pluginmanager.cpp 2008-03-20 15:59:47.050906671 -0600 @@ -1,6 +1,7 @@ #include pluginmanager.h #include file.hpp #include string +#include cstring StarDictPluginBaseObject::StarDictPluginBaseObject(const char *filename, GModule *module_, plugin_configure_func_t configure_func_): plugin_filename(filename), module(module_), configure_func(configure_func_) diff -Nru stardict-3.0.1.orig/src/lib/stardict_client.cpp stardict-3.0.1/src/lib/stardict_client.cpp --- stardict-3.0.1.orig/src/lib/stardict_client.cpp 2007-10-31 02:32:11.0 -0600 +++ stardict-3.0.1/src/lib/stardict_client.cpp 2008-03-20 17:06:41.347668406 -0600 @@ -30,6 +30,8 @@ #include getuint32.h #include stardict_client.hpp +#include cstdlib +#include cstring #define PROTOCOL_VERSION 0.3 diff -Nru stardict-3.0.1.orig/src/lib/stddict.cpp stardict-3.0.1/src/lib/stddict.cpp --- stardict-3.0.1.orig/src/lib/stddict.cpp 2007-10-30 03:06:07.0 -0600 +++ stardict-3.0.1/src/lib/stddict.cpp 2008-03-20 17:06:41.415672281 -0600 @@ -39,6 +39,7 @@ #include stddict.hpp #include algorithm #include getuint32.h +#include cstring static inline gint stardict_strcmp(const gchar *s1, const gchar *s2) { diff -Nru stardict-3.0.1.orig/src/lib/treedict.cpp stardict-3.0.1/src/lib/treedict.cpp --- stardict-3.0.1.orig/src/lib/treedict.cpp 2007-09-20 20:09:52.0 -0500 +++ stardict-3.0.1/src/lib/treedict.cpp 2008-03-20 17:06:41.471675473 -0600 @@ -29,6 +29,7 @@ #include getuint32.h #include treedict.hpp +#include cstring GtkTreeStore *TreeDict::model=NULL;