Revision: 6434
http://ipcop.svn.sourceforge.net/ipcop/?rev=6434&view=rev
Author: gespinasse
Date: 2012-02-29 16:58:37 +0000 (Wed, 29 Feb 2012)
Log Message:
-----------
Add a check for bad configure result.
For now, there is 2 tests that I know fail on more than one package
checking if gcc.*static works... no
checking for clock_gettime... no
I will try to empty the list of bad answer.
Add more bad test result check if you find.
I don't count there the various malformed AC_MSG_RESULT
Modified Paths:
--------------
ipcop/trunk/lfs/check_files
Modified: ipcop/trunk/lfs/check_files
===================================================================
--- ipcop/trunk/lfs/check_files 2012-02-29 07:21:24 UTC (rev 6433)
+++ ipcop/trunk/lfs/check_files 2012-02-29 16:58:37 UTC (rev 6434)
@@ -90,7 +90,7 @@
rm ${TMPFILE} ${ALL_NODIR}
- # find warnings and count them, configure emit WARNING, perl
Makefile.PL emit Warning
+ # Find warnings and count them : configure emit WARNING, perl
Makefile.PL emit Warning
-cd /usr/src/log_${MACHINE} && egrep ' error:|No such file or|:
WARNING:|Warning:' 0[1-4]*/*
>/usr/src/log_${MACHINE}/$(PKG_NAME)-configure_warnings.log
-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} && \
@@ -100,6 +100,18 @@
# 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
+ # Easy to fix adding -fno-strict-aliasing to CFLAGS
-cd /usr/src/log_${MACHINE} && grep 'does break strict-aliasing rules'
$(PKG_NAME)-compilation_warnings_all.log \
>/usr/src/log_${MACHINE}/$(PKG_NAME)-strict-aliasing_warnings.log
+
+ # Very often a security issue, catch 'might' and 'will always' overflow
cases
+ -cd /usr/src/log_${MACHINE} && grep 'overflow destination'
$(PKG_NAME)-compilation_warnings_all.log \
+ >/usr/src/log_${MACHINE}/$(PKG_NAME)-overflow_warnings.log
+
+ # Find easily bad configure results, add more if you find
+
+ # Don't know yet the consequences of static failure, util-linux failure
is related to -fPIE -pie CFLAGS hack
+ -cd /usr/src/log_${MACHINE} && grep 'checking if gcc.*static works...
no' 0[1-4]*/* >/usr/src/log_${MACHINE}/$(PKG_NAME)-bad-configure_results.log
+
+ # Look in code what happen behind ifdef HAVE_CLOCK_GETTIME, often not
that important like gnupng, or dead detection code (lzo unmodified)
+ -cd /usr/src/log_${MACHINE} && grep -r 'checking for clock_gettime...
no' 0[1-4]*/* >>/usr/src/log_${MACHINE}/$(PKG_NAME)-bad-configure_results.log
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn