[grisbi-cvs] [git push]Grisbi branch master updated. upstream_version_1_0_0-407-g5ed3584

Ludovic Rousseau noreply at sourceforge.net
Ven 7 Oct 18:43:38 CEST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Grisbi".

The branch, master has been updated
       via  5ed35842ee5699b437accec8d164780cb574c7ef (commit)
       via  fae7a82f0d7facaf036207781912024e5c18daa2 (commit)
       via  4cacc021efe611710b27955d6e6b141454293de2 (commit)
       via  d05bd8833945a7217d165babedbfb61f52e971e3 (commit)
      from  c89b5016ec52ecfaa335aceac56035d4a259de3b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://grisbi.git.sourceforge.net/git/gitweb.cgi?p=grisbi/code;a=commitdiff;h=

commit 5ed35842ee5699b437accec8d164780cb574c7ef
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date:   Fri Oct 7 17:59:04 2016 +0200

    Travis-CI: fail on error
    
    Use ./configure --enable-werror
    
    It was not possible to use 'CFLAGS="-Werror" ./configure' because the
    check in configure for cos in -lm failed instead of just reporting a warnings.
    Then the link of grisbi fails with:
    
    CCLD     grisbi
    /usr/bin/ld: ./.libs/libgrisbi.a(print_transactions_list.o): undefined reference to symbol 'floor@@GLIBC_2.2.5'
    //lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status
    Makefile:903: recipe for target 'grisbi' failed
    
    The check in configure is:
    configure:13073: checking for cos in -lm
    configure:13098: gcc -o conftest -Werror   conftest.c -lm   >&5
    conftest.c:40:6: error: conflicting types for built-in function 'cos' [-Werror]
     char cos ();
          ^~~
    cc1: all warnings being treated as errors

diff --git a/travis-ci/travis-autogen.sh b/travis-ci/travis-autogen.sh
index caec5d1..663e340 100755
--- a/travis-ci/travis-autogen.sh
+++ b/travis-ci/travis-autogen.sh
@@ -33,11 +33,11 @@ CFLAGS+=" -Wno-unused-parameter"
 #CFLAGS+=" -Wno-unused-function"
 CFLAGS+=" -Wno-deprecated-declarations"
 
-# fails on warning
-#CFLAGS+=" -Werror"
+# fail on warning
+configure_args+=" --enable-werror"
 
 export CFLAGS
 echo "CFLAGS: $CFLAGS"
 
-sh -x ./autogen.sh
-./configure "$@"
+sh ./autogen.sh
+./configure $configure_args "$@"

http://grisbi.git.sourceforge.net/git/gitweb.cgi?p=grisbi/code;a=commitdiff;h=

commit 5ed35842ee5699b437accec8d164780cb574c7ef
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date:   Fri Oct 7 17:59:04 2016 +0200

    Travis-CI: fail on error
    
    Use ./configure --enable-werror
    
    It was not possible to use 'CFLAGS="-Werror" ./configure' because the
    check in configure for cos in -lm failed instead of just reporting a warnings.
    Then the link of grisbi fails with:
    
    CCLD     grisbi
    /usr/bin/ld: ./.libs/libgrisbi.a(print_transactions_list.o): undefined reference to symbol 'floor@@GLIBC_2.2.5'
    //lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status
    Makefile:903: recipe for target 'grisbi' failed
    
    The check in configure is:
    configure:13073: checking for cos in -lm
    configure:13098: gcc -o conftest -Werror   conftest.c -lm   >&5
    conftest.c:40:6: error: conflicting types for built-in function 'cos' [-Werror]
     char cos ();
          ^~~
    cc1: all warnings being treated as errors

diff --git a/travis-ci/travis-autogen.sh b/travis-ci/travis-autogen.sh
index caec5d1..663e340 100755
--- a/travis-ci/travis-autogen.sh
+++ b/travis-ci/travis-autogen.sh
@@ -33,11 +33,11 @@ CFLAGS+=" -Wno-unused-parameter"
 #CFLAGS+=" -Wno-unused-function"
 CFLAGS+=" -Wno-deprecated-declarations"
 
-# fails on warning
-#CFLAGS+=" -Werror"
+# fail on warning
+configure_args+=" --enable-werror"
 
 export CFLAGS
 echo "CFLAGS: $CFLAGS"
 
-sh -x ./autogen.sh
-./configure "$@"
+sh ./autogen.sh
+./configure $configure_args "$@"

http://grisbi.git.sourceforge.net/git/gitweb.cgi?p=grisbi/code;a=commitdiff;h=

commit 5ed35842ee5699b437accec8d164780cb574c7ef
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date:   Fri Oct 7 17:59:04 2016 +0200

    Travis-CI: fail on error
    
    Use ./configure --enable-werror
    
    It was not possible to use 'CFLAGS="-Werror" ./configure' because the
    check in configure for cos in -lm failed instead of just reporting a warnings.
    Then the link of grisbi fails with:
    
    CCLD     grisbi
    /usr/bin/ld: ./.libs/libgrisbi.a(print_transactions_list.o): undefined reference to symbol 'floor@@GLIBC_2.2.5'
    //lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status
    Makefile:903: recipe for target 'grisbi' failed
    
    The check in configure is:
    configure:13073: checking for cos in -lm
    configure:13098: gcc -o conftest -Werror   conftest.c -lm   >&5
    conftest.c:40:6: error: conflicting types for built-in function 'cos' [-Werror]
     char cos ();
          ^~~
    cc1: all warnings being treated as errors

diff --git a/travis-ci/travis-autogen.sh b/travis-ci/travis-autogen.sh
index caec5d1..663e340 100755
--- a/travis-ci/travis-autogen.sh
+++ b/travis-ci/travis-autogen.sh
@@ -33,11 +33,11 @@ CFLAGS+=" -Wno-unused-parameter"
 #CFLAGS+=" -Wno-unused-function"
 CFLAGS+=" -Wno-deprecated-declarations"
 
-# fails on warning
-#CFLAGS+=" -Werror"
+# fail on warning
+configure_args+=" --enable-werror"
 
 export CFLAGS
 echo "CFLAGS: $CFLAGS"
 
-sh -x ./autogen.sh
-./configure "$@"
+sh ./autogen.sh
+./configure $configure_args "$@"

http://grisbi.git.sourceforge.net/git/gitweb.cgi?p=grisbi/code;a=commitdiff;h=

commit 5ed35842ee5699b437accec8d164780cb574c7ef
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date:   Fri Oct 7 17:59:04 2016 +0200

    Travis-CI: fail on error
    
    Use ./configure --enable-werror
    
    It was not possible to use 'CFLAGS="-Werror" ./configure' because the
    check in configure for cos in -lm failed instead of just reporting a warnings.
    Then the link of grisbi fails with:
    
    CCLD     grisbi
    /usr/bin/ld: ./.libs/libgrisbi.a(print_transactions_list.o): undefined reference to symbol 'floor@@GLIBC_2.2.5'
    //lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status
    Makefile:903: recipe for target 'grisbi' failed
    
    The check in configure is:
    configure:13073: checking for cos in -lm
    configure:13098: gcc -o conftest -Werror   conftest.c -lm   >&5
    conftest.c:40:6: error: conflicting types for built-in function 'cos' [-Werror]
     char cos ();
          ^~~
    cc1: all warnings being treated as errors

diff --git a/travis-ci/travis-autogen.sh b/travis-ci/travis-autogen.sh
index caec5d1..663e340 100755
--- a/travis-ci/travis-autogen.sh
+++ b/travis-ci/travis-autogen.sh
@@ -33,11 +33,11 @@ CFLAGS+=" -Wno-unused-parameter"
 #CFLAGS+=" -Wno-unused-function"
 CFLAGS+=" -Wno-deprecated-declarations"
 
-# fails on warning
-#CFLAGS+=" -Werror"
+# fail on warning
+configure_args+=" --enable-werror"
 
 export CFLAGS
 echo "CFLAGS: $CFLAGS"
 
-sh -x ./autogen.sh
-./configure "$@"
+sh ./autogen.sh
+./configure $configure_args "$@"

-----------------------------------------------------------------------

Summary of changes:
 .travis.yml                         |    7 +++-
 configure.ac                        |    8 +---
 travis-ci/Dockerfile.debian-testing |    1 +
 travis-ci/travis-autogen.sh         |   58 ++++++++++++++++++-----------------
 4 files changed, 39 insertions(+), 35 deletions(-)


hooks/post-receive
-- 
Grisbi


Plus d'informations sur la liste de diffusion cvs