Revision: 6583 http://ipcop.svn.sourceforge.net/ipcop/?rev=6583&view=rev Author: gespinasse Date: 2012-04-27 08:59:52 +0000 (Fri, 27 Apr 2012) Log Message: ----------- Align the warning count. I somehow broke the sed 0 warning line removal. I don't try to fix and remove that part, that's not bad to see packages that compile without warnings.
Modified Paths: -------------- ipcop/trunk/lfs/check_files Modified: ipcop/trunk/lfs/check_files =================================================================== --- ipcop/trunk/lfs/check_files 2012-04-26 22:09:58 UTC (rev 6582) +++ ipcop/trunk/lfs/check_files 2012-04-27 08:59:52 UTC (rev 6583) @@ -41,6 +41,7 @@ LOG_PREFIX:= /usr/src/log_${MACHINE}/$(PKG_NAME) ############################################################################### + # Top-level Rules ############################################################################### @@ -83,7 +84,7 @@ # check already stripped code (that may drive to lib reduction failure for initramfs with mklibs) scanelf -k '!.symtab' -f ${TMPFILE} -q -F%F#k > $(LOG_PREFIX)-stripped.log - # Our modified gcc is made to stop on TEXTEREL, so no need to check that + # Our modified gcc is made to stop on TEXTREL, so no need to check that # TODO # check for old hash (not using our LDFLAG), probably just matter for size if we have both @@ -95,10 +96,9 @@ -cd /usr/src/log_${MACHINE} && grep ': warning:' 0[1-4]*/* >/usr/src/log_${MACHINE}/$(PKG_NAME)-compilation_warnings_all.log -cd /usr/src/log_${MACHINE} && \ for f in $$(ls 0[1-4]*/*); do \ - [ -f $$f ] && echo -ne "$$f :\t";grep ': warning:' $$f | wc -l; \ + [ -f $$f ] && long_f="$$f "; \ + echo -n "$${long_f:0:40} : ";grep ': warning:' $$f | wc -l; \ done | sort -k 3,3nr >/usr/src/log_${MACHINE}/$(PKG_NAME)-compilation-warnings_per_package_count.log - # remove lucky 0 warnings from the list - -sed -i '/\t0$$/d' /usr/src/log_${MACHINE}/$(PKG_NAME)-compilation-warnings_per_package_count.log # Easy to fix adding -fno-strict-aliasing to CFLAGS -cd /usr/src/log_${MACHINE} && grep ' break strict-aliasing rules' $(PKG_NAME)-compilation_warnings_all.log \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn