Hi Jan,
thanks also for the super-fast response. I have run `rm -fr` to completely
removed the couchdb git repository and run the build again but I am still
getting the same error. So this is branch 2.0.x. It should be working you
are saying because it's not for me unfortunately? :(
==> configuring couchdb in rel/couchdb.config
make: Entering directory
'/usr/local/src/couchdb/src/rebar'
./bootstrap
Recompile: src/rebar
Recompile: src/rebar_abnfc_compiler
Recompile: src/rebar_app_utils
Recompile: src/rebar_appups
Recompile: src/rebar_asn1_compiler
Recompile: src/rebar_base_compiler
Recompile: src/rebar_cleaner
Recompile: src/rebar_config
Recompile: src/rebar_core
Recompile: src/rebar_cover_utils
Recompile: src/rebar_ct
Recompile: src/rebar_deps
Recompile: src/rebar_dia_compiler
Recompile: src/rebar_dialyzer
Recompile: src/rebar_edoc
Recompile: src/rebar_erlc_compiler
Recompile: src/rebar_erlydtl_compiler
Recompile: src/rebar_escripter
Recompile: src/rebar_eunit
Recompile: src/rebar_file_utils
Recompile: src/rebar_getopt
Recompile: src/rebar_lfe_compiler
Recompile: src/rebar_log
Recompile: src/rebar_metacmds
Recompile: src/rebar_mustache
Recompile: src/rebar_neotoma_compiler
Recompile: src/rebar_otp_app
Recompile: src/rebar_otp_appup
Recompile: src/rebar_port_compiler
Recompile: src/rebar_proto_compiler
Recompile: src/rebar_proto_gpb_compiler
Recompile: src/rebar_protobuffs_compiler
Recompile: src/rebar_qc
Recompile: src/rebar_rel_utils
Recompile: src/rebar_reltool
Recompile: src/rebar_require_vsn
Recompile: src/rebar_shell
Recompile: src/rebar_subdirs
Recompile: src/rebar_templater
Recompile: src/rebar_upgrade
Recompile: src/rebar_utils
Recompile: src/rebar_xref
Recompile: src/rmemo
==> rebar (compile)
==> rebar (escriptize)
Congratulations! You now have a self-contained script
called "rebar" in
your current working directory. Place this script
anywhere in your path
and you can use rebar to build OTP-compliant apps.
make: Leaving directory '/usr/local/src/couchdb/src/rebar'
make: Entering directory
'/usr/local/src/couchdb/src/rebar'
make: Leaving directory '/usr/local/src/couchdb/src/rebar'
==> updating dependencies
WARN: Expected /usr/local/src/couchdb/src/docs to be a
raw dependency directory, but no directory found.
WARN: Expected /usr/local/src/couchdb/src/fauxton to be
a raw dependency directory, but no directory found.
==> rel (get-deps)
==> couchdb (get-deps)
WARN: Expected /usr/local/src/couchdb/src/docs to be a
raw dependency directory, but no directory found.
WARN: Expected /usr/local/src/couchdb/src/fauxton to be
a raw dependency directory, but no directory found.
Pulling couch_epi from {git,"
https://git-wip-us.apache.org/repos/asf/couchdb-couch-epi.git",
"f6ad55d804ac741b59fe37dd092787113847661c"}
Cloning into 'couch_epi'...
Pulling config from {git,"
https://git-wip-us.apache.org/repos/asf/couchdb-config.git",
"a83b75ef4d3dc80071ae8ae412fb0c724726d12c"}
Cloning into 'config'...
Pulling b64url from {git,"
https://git-wip-us.apache.org/repos/asf/couchdb-b64url.git",
"6895652d80f95cdf04efb14625abed868998f174"}
Cloning into 'b64url'...
Pulling couch_log from {git,"
https://git-wip-us.apache.org/repos/asf/couchdb-couch-log.git",
"ad803f66dbd1900b67543259142875a6d03503ce"}
Cloning into 'couch_log'...
Pulling chttpd from {git,"
https://git-wip-us.apache.org/repos/asf/couchdb-chttpd.git",
"297493f29978d6effd9ae865b5822f54261c6955"}
Cloning into 'chttpd'...
Pulling couch from {git,"
https://git-wip-us.apache.org/repos/asf/couchdb-couch.git",
"a468b0db6f1a9795b32e26c34b340df4d51f31b0"}
Cloning into 'couch'...
Pulling couch_index from {git,"
https://git-wip-us.apache.org/repos/asf/couchdb-couch-index.git",
"53555fd909d5dd3d4a610c3fd6795950a8f7d022"}
Cloning into 'couch_index'...
Pulling couch_mrview from {git,"
https://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview.git",
"a0b0392afe66ece9ef3bb4fdd5a4f159c97c47eb"}
Cloning into 'couch_mrview'...
Pulling couch_replicator from {git,"
https://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator.git",
"b9232c8d410d529d65030896e075c4b4327631b0"}
Cloning into 'couch_replicator'...
Pulling couch_plugins from {git,"
https://git-wip-us.apache.org/repos/asf/couchdb-couch-plugins.git",
"3e73b723cb126cfc471b560d17c24a8b5c540085"}
Cloning into 'couch_plugins'...
Pulling couch_event from {git,"
https://git-wip-us.apache.org/repos/asf/couchdb-couch-event.git",
"7e382132219d708239306aa3591740694943d367"}
Cloning into 'couch_event'...
Pulling couch_stats from {git,"
https://git-wip-us.apache.org/repos/asf/couchdb-couch-stats.git",
"7895d4d3f509ed24f09b6d1a0bd0e06af34551dc"}
Cloning into 'couch_stats'...
Pulling couch_peruser from {git,"
https://git-wip-us.apache.org/repos/asf/couchdb-peruser.git",
"4eea9571171a5b41d832da32204a1122a01f4b0e"}
Cloning into 'couch_peruser'...
Pulling couch_tests from {git,"
https://git-wip-us.apache.org/repos/asf/couchdb-erlang-tests.git",
"37b3bfeb4b1a48a592456e67991362e155ed81e0"}
Cloning into 'couch_tests'...
Pulling docs from {git,"
https://git-wip-us.apache.org/repos/asf/couchdb-documentation.git",
"a135f2fe89f7b228b793aa2a8a62f0f34b576d8f"}
Cloning into 'docs'...
fatal: repository '
https://git-wip-us.apache.org/repos/asf/couchdb-documentation.git/' not
found
On Mon, Mar 20, 2017 at 2:30 PM Jan Lehnardt <[email protected]> wrote:
> On 20 Mar 2017, at 15:17, Dan Ballance <[email protected]> wrote:
>
> Okay thanks for the swift response. So up until now I have been building
> from GitHub. Here's my salt config:
>
> CouchDB source code from github:
> git.latest:
> - name: https://github.com/apache/couchdb.git
> - target: /usr/local/src/couchdb
> - rev: 2.0.x
> - user: git-user
> - require:
> - file: CouchDB source directory
> - user: Git user present
> - failhard: True
> - onlyif: test -d /usr/local/src/couchdb
>
> I was doing this to try and ensure we pick up the latest bug fixes in the
> 2.0.x branch. This is slightly awkward because this was building fine and
> I've passed this across to our ops team now and it's no longer building.
Is
> there any way I can get this to build via git and not have to download a
> tarball? I'm just hoping not to have to rewrite my Salt state. I'm
assuming
> the plan would be for 2.0.x to be able to build from the source on GitHub?
This should work again:
https://github.com/apache/couchdb/commit/cb1a0cf62937821ab9403e8cba3ba08f2f0b80a7
This only fails if you are updating an existing checkout. In that case,
run `git clean -ffdx` and start over.
Sorry for the trouble!
Best
Jan
--
>
> Dan
>
>
> On Mon, Mar 20, 2017 at 2:11 PM Dan Ballance <[email protected]>
> wrote:
>
>> To give a little more detail:
>>
>> ==> couchdb (get-deps)
>> WARN: Expected /usr/local/src/couchdb/src/docs to be a
>> raw dependency directory, but no directory found.
>> WARN: Expected /usr/local/src/couchdb/src/fauxton to be
>> a raw dependency directory, but no directory found.
>> Pulling docs from {git,"
>> https://git-wip-us.apache.org/repos/asf/couchdb-documentation.git",
>>
>> "a135f2fe89f7b228b793aa2a8a62f0f34b576d8f"}
>> Cloning into 'docs'...
>> fatal: repository '
>> https://git-wip-us.apache.org/repos/asf/couchdb-documentation.git/' not
>> found
>>
>> https://git-wip-us.apache.org/repos/asf/couchdb-documentation.git
>> Gives 404 - No such project
>>
>>
>>
>> On Mon, Mar 20, 2017 at 2:05 PM Dan Ballance <[email protected]>
>> wrote:
>>
>> Hi,
>>
>> Is there some kind of server issues guys? My Salt deployment is breaking
>> currently:
>>
>> git clone
>> https://git-wip-us.apache.org/repos/asf/couchdb-documentation.git
>> Cloning into 'couchdb-documentation'...
>> fatal: repository '
>> https://git-wip-us.apache.org/repos/asf/couchdb-documentation.git/' not
>> found
>>
>> Has something moved or changed maybe? I'm sure this was building okay for
>> me a couple of weeks ago.
>>
>> Dan
>>
>>
>>
>>
--
Professional Support for Apache CouchDB:
https://neighbourhood.ie/couchdb-support/