Bug#701257: Could you provide more info, please
Control: tags -1 patch Hi, On Mon, 3 Jun 2013 09:19:24 +0200 Sebastian Ramacher wrote: > > Well, the bug should be already fixed upstream. We changed the name of > > the macro. > > Cool. Could you point me to the revision that renamed the macro? Probably this one >r15398 | dgarcia | 2013-03-12 09:28:38 +0900 (2013年03月12日 (火)) | 2 lines > > * undefining TIME_UTC to resolve dbts #701257 Index: CLAM/src/System/Threads/xtime.hxx === --- CLAM/src/System/Threads/xtime.hxx (revision 15397) +++ CLAM/src/System/Threads/xtime.hxx (revision 15398) @@ -30,6 +30,11 @@ #endif #include +// KLUDGE: C11 defines TIME_UTC as macro in time.h +#ifdef TIME_UTC +#undef TIME_UTC +#endif + namespace CLAM { And I've succeeded to build a package, debdiff attached. -- Regards, Hideki Yamane henrich @ debian.or.jp/org http://wiki.debian.org/HidekiYamane diff -Nru clam-1.4.0/debian/changelog clam-1.4.0/debian/changelog --- clam-1.4.0/debian/changelog 2012-05-29 13:48:54.0 +0900 +++ clam-1.4.0/debian/changelog 2014-02-07 23:06:11.0 +0900 @@ -1,3 +1,11 @@ +clam (1.4.0-5.2) unstable; urgency=medium + + * Non-maintainer upload. + * debian/patches +- add bug701257_ignore_TIME_UTC.patch (Closes: #701257) + + -- Hideki Yamane Fri, 07 Feb 2014 23:06:09 +0900 + clam (1.4.0-5.1) unstable; urgency=low * Non maintainer upload diff -Nru clam-1.4.0/debian/patches/bug701257_ignore_TIME_UTC.patch clam-1.4.0/debian/patches/bug701257_ignore_TIME_UTC.patch --- clam-1.4.0/debian/patches/bug701257_ignore_TIME_UTC.patch 1970-01-01 09:00:00.0 +0900 +++ clam-1.4.0/debian/patches/bug701257_ignore_TIME_UTC.patch 2014-02-07 23:05:34.0 +0900 @@ -0,0 +1,20 @@ +Description: fix FTBFS with TIME_UTC difinition +Origin: upstream +svn diff -r 15397:15398 +Bug-Debian: http://bugs.debian.org/701257 +Last-Update: 2014-02-07 + +--- clam-1.4.0.orig/src/System/Threads/xtime.hxx clam-1.4.0/src/System/Threads/xtime.hxx +@@ -30,6 +30,11 @@ + #endif + #include + ++// KLUDGE: C11 defines TIME_UTC as macro in time.h ++#ifdef TIME_UTC ++#undef TIME_UTC ++#endif ++ + namespace CLAM + { + diff -Nru clam-1.4.0/debian/patches/series clam-1.4.0/debian/patches/series --- clam-1.4.0/debian/patches/series 2011-05-17 08:58:16.0 +0900 +++ clam-1.4.0/debian/patches/series 2014-02-07 23:04:06.0 +0900 @@ -1 +1,2 @@ ftbfs_NULL +bug701257_ignore_TIME_UTC.patch
Processed: Re: Bug#701257: Could you provide more info, please
Processing control commands: > tags -1 patch Bug #701257 [src:clam] clam: ftbfs with GCC-4.8 Added tag(s) patch. -- 701257: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701257 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Processed: Re: Bug#701257: Could you provide more info, please
Processing control commands: > tags -1 + upstream fixed-upstream Bug #701257 [src:clam] clam: ftbfs with GCC-4.8 Added tag(s) upstream and fixed-upstream. -- 701257: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701257 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#701257: Could you provide more info, please
Control: tags -1 + upstream fixed-upstream On 2013-06-03 02:22:14, David García Garzón wrote: > Al 03/06/13 01:50, En/na Sebastian Ramacher ha escrit: > > Hi David > > > > On 2013-03-11 16:37:40, David García Garzón wrote: > >> I am one of the developers of the CLAM framework trying to reproduce the > >> bug in Ubuntu (gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2) with no luck. > >> > >> My guess is that some system headers (in Debian and Gentoo but not in > >> Ubuntu) define TIME_UTC as preprocessor macro. If someone being able to > >> reproduce the bug could confirm this point (by inserting #ifdef TIME_UTC > >> #error) and locating the header we could move forward. > > Thanks for investigating this issue. > > > > Starting with eglibc 2.17 TIME_UTC is defined in time.h. Ubuntu should > > have a version defining TIME_UTC since raring. > > > > Please let me know if I can help you track it down further. > > > > Regards > > Well, the bug should be already fixed upstream. We changed the name of > the macro. Cool. Could you point me to the revision that renamed the macro? Cheers -- Sebastian Ramacher signature.asc Description: Digital signature
Bug#701257: Could you provide more info, please
Al 03/06/13 01:50, En/na Sebastian Ramacher ha escrit: > Hi David > > On 2013-03-11 16:37:40, David García Garzón wrote: >> I am one of the developers of the CLAM framework trying to reproduce the >> bug in Ubuntu (gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2) with no luck. >> >> My guess is that some system headers (in Debian and Gentoo but not in >> Ubuntu) define TIME_UTC as preprocessor macro. If someone being able to >> reproduce the bug could confirm this point (by inserting #ifdef TIME_UTC >> #error) and locating the header we could move forward. > Thanks for investigating this issue. > > Starting with eglibc 2.17 TIME_UTC is defined in time.h. Ubuntu should > have a version defining TIME_UTC since raring. > > Please let me know if I can help you track it down further. > > Regards Well, the bug should be already fixed upstream. We changed the name of the macro. David. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#701257: Could you provide more info, please
Hi David On 2013-03-11 16:37:40, David García Garzón wrote: > I am one of the developers of the CLAM framework trying to reproduce the > bug in Ubuntu (gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2) with no luck. > > My guess is that some system headers (in Debian and Gentoo but not in > Ubuntu) define TIME_UTC as preprocessor macro. If someone being able to > reproduce the bug could confirm this point (by inserting #ifdef TIME_UTC > #error) and locating the header we could move forward. Thanks for investigating this issue. Starting with eglibc 2.17 TIME_UTC is defined in time.h. Ubuntu should have a version defining TIME_UTC since raring. Please let me know if I can help you track it down further. Regards -- Sebastian Ramacher signature.asc Description: Digital signature