diff mbox series

[ovs-dev] travis: Update sparse git repo

Message ID 1555697535-6269-1-git-send-email-yihung.wei@gmail.com
State Accepted
Commit 879e8238dfdf20aa973ab8cca3958f85afff4686
Headers show
Series [ovs-dev] travis: Update sparse git repo | expand

Commit Message

Yi-Hung Wei April 19, 2019, 6:12 p.m. UTC
The old git tree git://git.kernel.org/pub/scm/devel/sparse/chrisl/sparse.git
has not been updated since 2016, and that triggers the following build error
on Ubuntu 18.04 host with 2.27-3 libc6-dev.  So update the sparse git repo
to the new one.

$ .travis/linux-prepare.sh
$  export PATH=$PATH:$HOME/bin
$ .travis/linux-build.sh

/usr/include/stdlib.h:140:17: error: Expected ; at end of declaration
/usr/include/stdlib.h:140:17: error: got strtof32
/usr/include/stdlib.h:146:17: error: Expected ; at end of declaration
/usr/include/stdlib.h:146:17: error: got strtof64
/usr/include/stdlib.h:158:18: error: Expected ; at end of declaration
/usr/include/stdlib.h:158:18: error: got strtof32x
/usr/include/stdlib.h:233:33: error: Expected ) in function declarator
/usr/include/stdlib.h:233:33: error: got __f
/usr/include/stdlib.h:239:33: error: Expected ) in function declarator
/usr/include/stdlib.h:239:33: error: got __f
/usr/include/stdlib.h:251:35: error: Expected ) in function declarator
/usr/include/stdlib.h:251:35: error: got __f
/usr/include/stdlib.h:316:17: error: Expected ; at end of declaration
/usr/include/stdlib.h:316:17: error: got strtof32_l
/usr/include/stdlib.h:323:17: error: Expected ; at end of declaration
/usr/include/stdlib.h:323:17: error: got strtof64_l
/usr/include/stdlib.h:337:18: error: Expected ; at end of declaration
/usr/include/stdlib.h:337:18: error: got strtof32x_l
Makefile:5288: recipe for target 'lib/aes128.lo' failed
make[2]: *** [lib/aes128.lo] Error 1
...

Tested on Jarvis: https://travis-ci.org/YiHungWei/ovs/builds/521979625

Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
---
 .travis/linux-prepare.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ben Pfaff April 22, 2019, 8:18 p.m. UTC | #1
On Fri, Apr 19, 2019 at 11:12:15AM -0700, Yi-Hung Wei wrote:
> The old git tree git://git.kernel.org/pub/scm/devel/sparse/chrisl/sparse.git
> has not been updated since 2016, and that triggers the following build error
> on Ubuntu 18.04 host with 2.27-3 libc6-dev.  So update the sparse git repo
> to the new one.

Thanks.  Applied to master.
diff mbox series

Patch

diff --git a/.travis/linux-prepare.sh b/.travis/linux-prepare.sh
index eaff88cd2337..50189c421069 100755
--- a/.travis/linux-prepare.sh
+++ b/.travis/linux-prepare.sh
@@ -7,7 +7,7 @@  set -ev
 # Explicitly disable sparse support for llvm because some travis
 # environments claim to have LLVM (llvm-config exists and works) but
 # linking against it fails.
-git clone git://git.kernel.org/pub/scm/devel/sparse/chrisl/sparse.git
+git clone git://git.kernel.org/pub/scm/devel/sparse/sparse.git
 cd sparse && make -j4 HAVE_LLVM= install && cd ..
 
 pip install --disable-pip-version-check --user six flake8 hacking