Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subversion (new plan) #74

Merged
merged 1 commit into from Jul 17, 2016
Merged

Conversation

miketheman
Copy link
Contributor

Signed-off-by: Mike Fiedler miketheman@gmail.com

After many yaks shaven, I finally have svn working.

Depends on #73 and #71 for testing.

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
@thesentinels
Copy link
Contributor

@miketheman, thanks for your PR! By analyzing the annotation information on this pull request, we identified @adamhjk to be a potential reviewer

@reset
Copy link
Collaborator

reset commented Jul 17, 2016

@thesentinels r+

gif-keyboard-7805235639467761115

@thesentinels
Copy link
Contributor

📌 Commit aeed9cf has been approved by reset

@reset
Copy link
Collaborator

reset commented Jul 17, 2016

Merging this in manually, I forgot that the merge bot was being worked on and not operational right now

@reset reset merged commit 105c8b6 into habitat-sh:master Jul 17, 2016
@reset
Copy link
Collaborator

reset commented Jul 17, 2016

@miketheman getting this error on build:

checking sqlite library version (via header)... unsupported SQLite version
checking sqlite library version (via pkg-config)... no

An appropriate version of sqlite could not be found.  We recommmend
3.7.15.1, but require at least 3.7.12.
Please either install a newer sqlite on this system

or

get the sqlite 3.7.15.1 amalgamation from:
    http://www.sqlite.org/sqlite-amalgamation-3071501.zip

This is using the version of sqlite from #70

@miketheman
Copy link
Contributor Author

@reset I'll look into this immediately.

@miketheman
Copy link
Contributor Author

@reset Can you try building in a fresh studio, off master? I did just now, and got:

...
configure: checking sqlite library
checking sqlite amalgamation... no
checking sqlite amalgamation... no
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking sqlite library version (via header)... okay
checking for sqlite3_close in -lsqlite3... yes
checking whether the compiler provides atomic builtins... yes
configure: configuring libtool now
...

@stevendanna
Copy link
Contributor

i'm getting the same output at @miketheman

@reset
Copy link
Collaborator

reset commented Jul 18, 2016

@stevendanna @miketheman no dice, what version of habitat are you entering a studio with?

@stevendanna
Copy link
Contributor

stevendanna commented Jul 18, 2016

> hab --version
hab 0.8.0/20160708205701

@reset
Copy link
Collaborator

reset commented Jul 18, 2016

Same version here with a completely fresh studio pointing at the public depot. Here's an extended view of the build output:

★ Install of core/zlib complete with 3 packages installed.
   subversion: Resolved dependency 'core/zlib' to /hab/pkgs/core/zlib/1.2.8/20160612064520
   subversion: Setting PATH=/hab/pkgs/core/subversion/1.9.4/20160716041235/bin:/hab/pkgs/core/serf/1.3.8/20160716002505/bin:/hab/pkgs/core/apr/1.5.2/20160612152844/bin:/hab/pkgs/core/apr-util/1.5.4/20160612153058/bin:/hab/pkgs/core/coreutils/8.25/20160716003322/bin:/hab/pkgs/core/diffutils/3.3/20160612080306/bin:/hab/pkgs/core/gcc/5.2.0/20160612064854/bin:/hab/pkgs/core/make/4.1/20160612080650/bin:/hab/pkgs/core/pkg-config/0.29/20160612075046/bin:/hab/pkgs/core/python2/2.7.12/20160716002059/bin:/hab/pkgs/core/sqlite/3130000/20160716001957/bin:/hab/pkgs/core/hab-plan-build/0.7.0/20160614232259/bin:/hab/pkgs/core/bash/4.3.42/20160612075613/bin:/hab/pkgs/core/binutils/2.25.1/20160612064534/bin:/hab/pkgs/core/bzip2/1.0.6/20160612075040/bin:/hab/pkgs/core/coreutils/8.24/20160612075329/bin:/hab/pkgs/core/file/5.24/20160612064523/bin:/hab/pkgs/core/findutils/4.4.2/20160612080341/bin:/hab/pkgs/core/gawk/4.1.3/20160612075739/bin:/hab/pkgs/core/grep/2.22/20160612075540/bin:/hab/pkgs/core/gzip/1.6/20160612080637/bin:/hab/pkgs/core/hab/0.7.0/20160614230104/bin:/hab/pkgs/core/sed/4.2.2/20160612075228/bin:/hab/pkgs/core/tar/1.28/20160612075701/bin:/hab/pkgs/core/unzip/6.0/20160612081414/bin:/hab/pkgs/core/wget/1.16.3/20160612081342/bin:/hab/pkgs/core/xz/5.2.2/20160612080402/bin:/hab/pkgs/core/acl/2.2.52/20160612075215/bin:/hab/pkgs/core/attr/2.4.47/20160612075207/bin:/hab/pkgs/core/glibc/2.22/20160612063629/bin:/hab/pkgs/core/less/481/20160612080021/bin:/hab/pkgs/core/libcap/2.24/20160612075226/bin:/hab/pkgs/core/libidn/1.32/20160612081104/bin:/hab/pkgs/core/ncurses/6.0/20160612075116/bin:/hab/pkgs/core/openssl/1.0.2h/20160612081127/bin:/hab/pkgs/core/pcre/8.38/20160612075520/bin
mkdir: created directory '/hab/cache/src'
   subversion: Downloading 'https://archive.apache.org/dist/subversion/subversion-1.9.4.tar.bz2' to 'subversion-1.9.4.tar.bz2'
--2016-07-16 04:12:57--  https://archive.apache.org/dist/subversion/subversion-1.9.4.tar.bz2
Resolving archive.apache.org (archive.apache.org)... 163.172.17.199
Connecting to archive.apache.org (archive.apache.org)|163.172.17.199|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7911473 (7.5M) [application/x-bzip2]
Saving to: 'subversion-1.9.4.tar.bz2'

subversion-1.9.4.tar.bz2       100%[====================================================>]   7.54M  2.38MB/s   in 3.2s   

2016-07-16 04:13:01 (2.38 MB/s) - 'subversion-1.9.4.tar.bz2' saved [7911473/7911473]

   subversion: Downloaded 'subversion-1.9.4.tar.bz2'
   subversion: Verifying subversion-1.9.4.tar.bz2
   subversion: Checksum verified for subversion-1.9.4.tar.bz2
   subversion: Clean the cache
   subversion: Unpacking subversion-1.9.4.tar.bz2
   subversion: Setting build environment
   subversion: Setting PREFIX=/hab/pkgs/core/subversion/1.9.4/20160716041235
   subversion: Setting LD_RUN_PATH=/hab/pkgs/core/subversion/1.9.4/20160716041235/lib:/hab/pkgs/core/gcc-libs/5.2.0/20160612075020/lib:/hab/pkgs/core/serf/1.3.8/20160716002505/lib:/hab/pkgs/core/zlib/1.2.8/20160612064520/lib
   subversion: Setting CFLAGS=-I/hab/pkgs/core/serf/1.3.8/20160716002505/include -I/hab/pkgs/core/zlib/1.2.8/20160612064520/include -I/hab/pkgs/core/gcc/5.2.0/20160612064854/include -I/hab/pkgs/core/make/4.1/20160612080650/include -I/hab/pkgs/core/python2/2.7.12/20160716002059/include -I/hab/pkgs/core/python2/2.7.12/20160716002059/Include -I/hab/pkgs/core/sqlite/3130000/20160716001957/include
   subversion: Setting LDFLAGS=-L/hab/pkgs/core/gcc-libs/5.2.0/20160612075020/lib -L/hab/pkgs/core/serf/1.3.8/20160716002505/lib -L/hab/pkgs/core/zlib/1.2.8/20160612064520/lib -L/hab/pkgs/core/gcc/5.2.0/20160612064854/lib -L/hab/pkgs/core/python2/2.7.12/20160716002059/lib -L/hab/pkgs/core/sqlite/3130000/20160716001957/lib
   subversion: Fixing libtool script /hab/cache/src/subversion-1.9.4/build/ltmain.sh
   subversion: Preparing to build
   subversion: Building
configure: Configuring Subversion 1.9.4
configure: creating config.nice
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking if gcc accepts -std=c90... yes
checking if gcc accepts -w... yes
checking if gcc accepts -Werror=unknown-warning-option... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking if g++ accepts -std=c++98... yes
checking if g++ accepts -w... yes
checking if g++ accepts -Werror=unknown-warning-option... no
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... /hab/pkgs/core/sed/4.2.2/20160612075228/bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for grep that handles long lines and -e... /hab/pkgs/core/grep/2.22/20160612075540/bin/grep
checking for egrep... /hab/pkgs/core/grep/2.22/20160612075540/bin/grep -E
checking whether ln -s works... yes
checking for a BSD-compatible install... /hab/pkgs/core/coreutils/8.25/20160716003322/bin/install -c
configure: Apache Portable Runtime (APR) library configuration
checking for APR... yes
checking APR version... 1.5.2
configure: Apache Portable Runtime Utility (APRUTIL) library configuration
checking for APR-util... yes
checking APRUTIL version... 1.5.4
checking for pkg-config... /hab/pkgs/core/pkg-config/0.29/20160612075046/bin/pkg-config
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
configure: serf library configuration via pkg-config
checking for serf-2 library... no
checking for serf-1 library... no
configure: serf library configuration via prefix
checking serf.h usability... yes
checking serf.h presence... yes
checking for serf.h... yes
checking for serf_context_create in -lserf-1... yes
checking was serf enabled... yes
configure: looking for apr_memcache as part of apr-util
checking apr_memcache.h usability... yes
checking apr_memcache.h presence... yes
checking for apr_memcache.h... yes
checking for apr_memcache_create in -laprutil-1... yes
checking for Apache module support via DSO through APXS... no
==================================================================
WARNING: skipping the build of mod_dav_svn
         try using --with-apxs
==================================================================
configure: checking sqlite library
checking sqlite amalgamation... no
checking sqlite amalgamation... no
checking sqlite3.h usability... yes
checking sqlite3.h presence... no
configure: WARNING: sqlite3.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: sqlite3.h: proceeding with the compiler's result
checking for sqlite3.h... yes
checking sqlite library version (via header)... unsupported SQLite version
checking sqlite library version (via pkg-config)... no

An appropriate version of sqlite could not be found.  We recommmend
3.7.15.1, but require at least 3.7.12.
Please either install a newer sqlite on this system

or

get the sqlite 3.7.15.1 amalgamation from:
    http://www.sqlite.org/sqlite-amalgamation-3071501.zip
unpack the archive using unzip and rename the resulting
directory to:
/hab/cache/src/subversion-1.9.4/sqlite-amalgamation

configure: error: Subversion requires SQLite
   subversion: Build time: 0m30s
   subversion: Exiting on error

@reset
Copy link
Collaborator

reset commented Jul 18, 2016

Actually, in my studio I have a different version of hab than the one I'm using to enter it (which might be a bug on it's own), let me investigate a bit

@miketheman miketheman deleted the miketheman/subversion branch August 13, 2016 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants