erlyaws / yaws

Yaws webserver
https://erlyaws.github.io
BSD 3-Clause "New" or "Revised" License
1.28k stars 268 forks source link

rebar deps error changing to yaws-1.92 #84

Closed jaynel closed 12 years ago

jaynel commented 12 years ago

Upgrading from 1.90 to 1.91 works fine, but attempting to upgrade the rebar.config dependencies to refer to 1.92 results in the following rebar error:

Pulling yaws from {git,"git://github.com/klacke/yaws.git",{tag,"yaws-1.92"}} Cloning into yaws... ERROR: 'get-deps' failed while processing /Users/jay/Gitdk/dk_yaws: {'EXIT',{badarg,[{re,run, [{cmd,"sed -ne '1,/^YAWS_VSN=/s/^YAWS_VSN=//p' vsn.mk 2>/dev/null"}, ".*", [{capture,none}]]}, {rebar_deps,is_app_available,3}, {rebar_deps,use_source,2}, {rebar_deps,'-get-deps/2-lc$^0/1-0-',1}, {rebar_deps,'-get-deps/2-lc$^0/1-0-',1}, {rebar_deps,'get-deps',2}, {rebar_core,run_modules,4}, {rebar_core,execute,4}]}}

Recovering from this error requires a manual 'rm -rf deps/*' before an earlier version can be made to work.

Use https://github.com/duomark/dk_yaws/blob/master/rebar.config as an example config, and try changing to 1.90 and back to 1.91. Then change to 1.92 to see the error.

jaynel commented 12 years ago

Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:8:8] [rq:8] [async-threads:0] [hipe] [kernel-poll:false]

vinoski commented 12 years ago

How new is the rebar you're using? There have been a number of changes recently to rebar, some of them driven by yaws project needs.

jaynel commented 12 years ago

I'll try a newer version and post the results.

On Jan 29, 2012, at 1:00 PM, Steve Vinoski wrote:

How new is the rebar you're using? There have been a number of changes recently to rebar, some of them driven by yaws project needs.


Reply to this email directly or view it on GitHub: https://github.com/klacke/yaws/issues/84#issuecomment-3711219

jaynel commented 12 years ago

Upgrading to the latest version of rebar eliminated the issue for more.