automake is loosing path escaping with spaces in filenames
----------------------------------------------------------
Key: COUCHDB-125
URL: https://issues.apache.org/jira/browse/COUCHDB-125
Project: CouchDB
Issue Type: Bug
Components: Build System
Reporter: Noah Slater
Assignee: Noah Slater
Build with "./configure --prefix=/tmp/foo\ bar" and see autogenerated code
here:
http://friendpaste.com/3j5wk4cD
14:39 < jan____> nslater: the install target in src/couchdb for
couch_erl_driver.so uses $s to put in a path, the evaluation gets rid of the
escaping
14:41 < jan____> see the "$$p" <- that's where the path-escaping gets lost
Sample error message:
/usr/bin/install -c -m 644 'couch_server_sup.beam' '/tmp/foo
bar/lib/couchdb/erlang/lib/couch-0.9.0a694426-incubating/ebin/couch_server_sup.beam'
/usr/bin/install -c -m 644 'couch_stream.beam' '/tmp/foo
bar/lib/couchdb/erlang/lib/couch-0.9.0a694426-incubating/ebin/couch_stream.beam'
/usr/bin/install -c -m 644 'couch_util.beam' '/tmp/foo
bar/lib/couchdb/erlang/lib/couch-0.9.0a694426-incubating/ebin/couch_util.beam'
/usr/bin/install -c -m 644 'couch_view.beam' '/tmp/foo
bar/lib/couchdb/erlang/lib/couch-0.9.0a694426-incubating/ebin/couch_view.beam'
/usr/bin/install -c -m 644 'couch_db_updater.beam' '/tmp/foo
bar/lib/couchdb/erlang/lib/couch-0.9.0a694426-incubating/ebin/couch_db_updater.beam'
test -z "/tmp/foo
bar/lib/couchdb/erlang/lib/couch-0.9.0a694426-incubating/include" || /bin/mkdir
-p
"/tmp/foo bar/lib/couchdb/erlang/lib/couch-0.9.0a694426-incubating/include"
/usr/bin/install -c -m 644 'couch_db.hrl' '/tmp/foo
bar/lib/couchdb/erlang/lib/couch-0.9.0a694426-incubating/include/couch_db.hrl'
test -z "/tmp/foo
bar/lib/couchdb/erlang/lib/couch-0.9.0a694426-incubating/priv/lib" ||
/bin/mkdir -p
"/tmp/foo bar/lib/couchdb/erlang/lib/couch-0.9.0a694426-incubating/priv/lib"
/bin/sh ../../libtool --mode=install /usr/bin/install -c
'couch_erl_driver.la' '/tmp/foo
bar/lib/couchdb/erlang/lib/couch-0.9.0a694426-incubating/priv/lib/couch_erl_driver.la'
/usr/bin/install -c .libs/couch_erl_driver.so /tmp/foo
bar/lib/couchdb/erlang/lib/couch-0.9.0a694426-incubating/priv/lib/couch_erl_driver.so
/usr/bin/install: target
`bar/lib/couchdb/erlang/lib/couch-0.9.0a694426-incubating/priv/lib/couch_erl_driver.so'
is not a
directory
make[2]: *** [install-couchprivlibLTLIBRARIES] Error 1
make[2]: Leaving directory
`/home/nslater/software/apache/couchdb/trunk/src/couchdb'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory
`/home/nslater/software/apache/couchdb/trunk/src/couchdb'
make: *** [install-recursive] Error 1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.