[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

compiler warnings buildbot

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 15 Feb 2013 01:29:10 +0200

I have a build configuration that currently does
autogen+configure+'make' and has no errors or warnings at all.
I suggest we make a buildbot out of it so we don't have to point new
compiler warnings on IRC all the time.

WDYT?

That's the build env, tested on 64 bit Ubuntu 12.04 (precise).

[[[
$ cat foo.sh
#!/bin/sh
set -e

# Required dependencies:
# serf:
# ./get-deps.sh serf
# cd serf
# ./serfmake --prefix=/usr/local/serf-1.1.1 build check
# sudo ./serfmake --prefix=/usr/local/serf-1.1.1 install
# sudo ln -s serf-1.1.1 /usr/local/serf-current
# bdb, httpd, sasl:
# sudo apt-get install libdb5.1-dev apache2-threaded-dev libsasl2-dev

rm -rf t1
svn checkout -q https://svn.apache.org/repos/asf/subversion/trunk t1
cd t1
./autogen.sh >/dev/null
./get-deps.sh sqlite serf
../config.nice -q --with-serf=/usr/local/serf-current --with-berkeley-db --with-sasl --with-apxs=/usr/bin/apxs2
make -s 2>&1 | PWD=`pwd` perl -lne 'next if $_ =~ m#^\Q$ENV{PWD}\E/sqlite-amalgamation/sqlite3\.c:# or /^In file included from .*libsvn_subr\/sqlite3wrapper.c/ or /libsvn_subr\/sqlite3wrapper\.c: At top level:$/'
]]]

where config.nice is
'./configure' '--enable-maintainer-mode' 'CFLAGS= -DSVN_FS_FS_DEFAULT_MAX_FILES_PER_DIR=4 -DPACK_AFTER_EVERY_COMMIT -DFSFS_SUCCESSORS_MAX_REVS_PER_FILE=3 -DSVN_UNALIGNED_ACCESS_IS_OK=0 -DSUFFIX_LINES_TO_KEEP=0 -DSVN_DEPRECATED= -Wformat=0 -Wno-unreachable-code -g' '--prefix=/usr/local/danielsh/nonexistent' CC="`apr-1-config --cc`" "$@"

(and yes I'm aware of sqlite3wrapper.c, for some reason the pragma's
there don't seem to kick in)
Received on 2013-02-15 00:29:48 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.