Package: omake Version: 0.9.8.5-3-3 User: [EMAIL PROTECTED] Usertags: ftbfs-gcc-4.4 Tags: patch
Your package fails to build with the upcoming GCC 4.4. Version 4.4 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. You can reproduce this problem with gcc-snapshot from unstable. > Automatic build of omake_0.9.8.5-3-3 on em64t by sbuild/amd64 0.53 ... > + gcc -g -O2 -g -O2 -Wall -Werror -Wno-unused -DREADLINE_ENABLED > -DREADLINE_GNU -DNCURSES -DFAM_ENABLED -DHAVE_SNPRINTF -I. > -I/usr/lib/ocaml/3.10.2 -I. -c -o lm_printf.o lm_printf.c > cc1: warnings being treated as errors > lm_printf.c: In function 'ml_print_string2': > lm_printf.c:193: error: attempt to free a non-heap object 'buffer' > lm_printf.c:198: error: attempt to free a non-heap object 'buffer' > lm_printf.c: In function 'ml_print_string': > lm_printf.c:145: error: attempt to free a non-heap object 'buffer' > lm_printf.c:150: error: attempt to free a non-heap object 'buffer' > *** omake: 358/1159 targets are up to date > *** omake: failed (46.60 sec, 54/54 scans, 51/54 rules, 168/931 digests) > *** omake: targets were not rebuilt because of errors: I didn't look at this much, but I think this is what you want (this new warning in GCC!): --- src/libmojave-external/cutil/lm_printf.c~ 2008-11-08 18:41:13.000000000 +0000 +++ src/libmojave-external/cutil/lm_printf.c 2008-11-08 18:40:41.000000000 +0000 @@ -142,12 +142,12 @@ #endif if(code < 0) { if(bufp != buffer) - free(buffer); + free(bufp); failwith("ml_print_string"); } v_result = copy_string(bufp); if(bufp != buffer) - free(buffer); + free(bufp); return v_result; } @@ -190,12 +190,12 @@ #endif if(code < 0) { if(bufp != buffer) - free(buffer); + free(bufp); failwith("ml_print_string"); } v_result = copy_string(bufp); if(bufp != buffer) - free(buffer); + free(bufp); return v_result; } -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]