Github user kxepal commented on the issue:
https://github.com/apache/couchdb/pull/431
It's because `erlang-19.0-nonroot.tar.bz2` file:
```
make[2]: Leaving directory
`/home/travis/build/apache/couchdb/share/doc/build'
grep -rL 'http://www.apache.org/licenses/LICENSE-2.0' * \
| grep --include= -vEf ./license.skip; \
test "$?" -eq 1
erlang-19.0-nonroot.tar.bz2
make[1]: *** [distcheck-hook] Error 1
make[1]: Leaving directory `/home/travis/build/apache/couchdb'
make: *** [distcheck] Error 1
travis_time:end:1e319b60:start=1468221103840995910,finish=1468221155385200274,duration=51544204364
[0K
[31;1mThe command "make distcheck" exited with 2.[0m
```
During Erlang 19 installation, Travis puts that file into source tree. At
the same time distcheck checks all the files for license header and fails
because this one is not expected and it's not in blacklist.
I remember I fixed once upon a time that issue, but not sure where now.
Simple action would be to remove that archive before build starts IIRC. This
should help.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---