[ 
https://issues.apache.org/jira/browse/COUCHDB-2741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16358193#comment-16358193
 ] 

Jan Lehnardt commented on COUCHDB-2741:
---------------------------------------

For posterity, since I just ran into this as well. This is due to a flakey 
erlang installation that I don’t know how it happens, but what it looked like 
to me is that the “unable to read” files are symlinks to nonexistent files. 
Removing any links mentioned will make things work.

> ERROR: Unable to generate spec: read file info
> ----------------------------------------------
>
>                 Key: COUCHDB-2741
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2741
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Build System
>            Reporter: Micah Anderson
>            Priority: Major
>
> Trying to build 51b98a4, I'm getting this failure during the make install 
> target:
> {noformat}
> /usr/bin/make DESTDIR=/home/micah/debian/couchdb/couchdb-2.0/debian/couchdb 
> install
> make[2]: Entering directory '/home/micah/debian/couchdb/couchdb-2.0'
> ==> b64url (compile)
> ==> cassim (compile)
> ==> lager (compile)
> ==> couch_log (compile)
> ==> config (compile)
> ==> chttpd (compile)
> ==> couch (compile)
> ==> couch_epi (compile)
> ==> couch_index (compile)
> ==> couch_mrview (compile)
> ==> couch_replicator (compile)
> ==> couch_plugins (compile)
> ==> couch_event (compile)
> ==> couch_stats (compile)
> ==> ddoc_cache (compile)
> ==> ets_lru (compile)
> ==> meck (compile)
> ==> fabric (compile)
> ==> bear (compile)
> ==> folsom (compile)
> ==> global_changes (compile)
> ==> goldrush (compile)
> ==> ibrowse (compile)
> ==> ioq (compile)
> ==> jiffy (compile)
> ==> khash (compile)
> ==> mango (compile)
> ==> mem3 (compile)
> ==> mochiweb (compile)
> ==> oauth (compile)
> ==> rexi (compile)
> ==> snappy (compile)
> ==> setup (compile)
> ==> rel (compile)
> ==> couchdb-2.0 (compile)
> Installing CouchDB into 
> /home/micah/debian/couchdb/couchdb-2.0/debian/couchdb//usr/lib/couchdb...
> ==> rel (generate)
> ERROR: Unable to generate spec: read file info 
> /usr/lib/erlang/man/man8/cups-deviced.8.gz failed
> ERROR: Unexpected error: rebar_abort
> ERROR: generate failed while processing 
> /home/micah/debian/couchdb/couchdb-2.0/rel: rebar_abort
> Makefile:84: recipe for target 'install' failed
> {noformat}
> this is my install.mk:
> {noformat}
> # Licensed under the Apache License, Version 2.0 (the "License"); you may not
> # use this file except in compliance with the License. You may obtain a copy 
> of
> # the License at
> #
> #   http://www.apache.org/licenses/LICENSE-2.0
> #
> # Unless required by applicable law or agreed to in writing, software
> # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
> # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
> # License for the specific language governing permissions and limitations 
> under
> # the License.
> #
> # The contents of this file are auto-generated by configure
> #
> package_author_name = The Apache Software Foundation
> install_dir = /usr/lib/couchdb
> bin_dir = /usr/bin
> libexec_dir = /lib/x86_64-linux-gnu/couchdb
> doc_dir = /usr/share/doc/apache-couchdb/couchdb
> sysconf_dir = /etc/couchdb
> data_dir = /usr/share/couchdb
> database_dir = /var/lib
> view_index_dir = /var/lib
> log_file = /var/log/couch.log
> html_dir = /usr/share/doc/apache-couchdb/html
> pdf_dir = /usr/share/doc/apache-couchdb/pdf
> man_dir = /usr/share/man
> info_dir = /share/info
> with_fauxton = 1
> with_docs = 1
> user = micah
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to