Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

agner make fails, cannot find rebar git repo #245

Closed
larshesel opened this issue Jun 13, 2011 · 10 comments
Closed

agner make fails, cannot find rebar git repo #245

larshesel opened this issue Jun 13, 2011 · 10 comments

Comments

@larshesel
Copy link

building the release version of agner fails when trying to get the rebar dependency:

.
.
.

[Processing dependency: rebar]
fatal: https://github.com/agner/rebar.git/info/refs not found: did you run git update-server-info on the server?

.
.
.

[Processing dependency: rebar]
fatal: https://github.com/agner/rebar.git/info/refs not found: did you run git update-server-info on the server?
[Building...]
ERROR: Build failed
[Processing dependency: typespecs]
[Building...]
==> typespecs (get-deps)
==> typespecs (compile)
cp: cannot stat `deps/rebar/ebin/rebar*': No such file or directory

to me it looks like it is trying to get rebar from the wong place. Should it not try to get it from http://github.com/basho/rebar.git ?

Anyway, retrieving rebar from basho/rebar works fine, but it still does not help me to install agner.

I'm installing agner on a ubuntu 11.4 natty narwhal computer.

Let me know if you need more information or if I can help in any other way.

Best regards,
Lars

@yrashk
Copy link
Member

yrashk commented Jun 13, 2011

Just to verify, which command exactly do you run for this?

@yrashk
Copy link
Member

yrashk commented Jun 13, 2011

Got it. Thanks for spotting this. Will push a fix in a few

@yrashk
Copy link
Member

yrashk commented Jun 13, 2011

It was a mishap with merging rebar with an older version of @agner flavour I did yesterday. Should work now.

@yrashk yrashk closed this as completed Jun 13, 2011
@larshesel
Copy link
Author

Thanks for the quick fix. Something odd is happening now, though. It builds rebar, but seems to go into an infinite loop, and builds the stuff again and again:

[Building...]
make[8]: Entering directory `/tmp/agner.E5vrdd/deps/rebar/deps/rebar/deps/rebar/deps/rebar/deps/rebar/deps/rebar/deps/rebar/deps/rebar'
==> rebar (get-deps)

.
.
.

[Building...]
make[9]: Entering directory `/tmp/agner.E5vrdd/deps/rebar/deps/rebar/deps/rebar/deps/rebar/deps/rebar/deps/rebar/deps/rebar/deps/rebar/deps/rebar'
==> rebar (get-deps)
.
.
.

Should I open this as a new issue?

Best regards,
Lars

@yrashk yrashk reopened this Jun 13, 2011
@yrashk
Copy link
Member

yrashk commented Jun 13, 2011

hah, interesting. I'l just reopen this one.

@yrashk
Copy link
Member

yrashk commented Jun 13, 2011

Broke too much stuff yesterday. Should be fine. Can you please try it again?

@larshesel
Copy link
Author

If it's any help, I'm building the release version (stripped away the sudo stuff from the script as it will anyway install into my personal erlang installation):

DIR=mktemp -u /tmp/agner.XXXXXX &&
git clone https://github.com/agner/agner.git $DIR &&
cd $DIR &&
git checkout -b release origin/release &&
make &&
./agner install agner -v @Release &&
echo Fetching index... &&
agner list -d | awk '{printf "."; fflush()}' && echo && rm -rf $DIR

@larshesel
Copy link
Author

trying again now.

@yrashk
Copy link
Member

yrashk commented Jun 13, 2011

That was totally a bug I caused yesterday, I believe. Please check if my latest fix helped. I hope it did.

@larshesel
Copy link
Author

Thanks a lot, it works beautifully now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants