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

Mac version issue #132

Open
terrylai opened this issue Sep 27, 2016 · 3 comments
Open

Mac version issue #132

terrylai opened this issue Sep 27, 2016 · 3 comments
Labels

Comments

@terrylai
Copy link

terrylai commented Sep 27, 2016

Hello,

I have successfully built Win version 32 & 64 bits of bitcoin v0.13.0.

Then I tried to build for Mac OS but there exists error when processing which is shown in the following:

/gbuild:21:in `system!': failed to run on-target setarch x86_64 bash -x < var/build-script > var/build.log 2>&1 (RuntimeError)

from ./bin/gbuild:149:in `build_one_configuration'
from ./bin/gbuild:285:in `block (2 levels) in <main>'
from ./bin/gbuild:280:in `each'
from ./bin/gbuild:280:in `block in <main>'
from ./bin/gbuild:278:in `each'
from ./bin/gbuild:278:in `<main>

Could someone help me how to solve it?

Thanks!

@josephbisch
Copy link
Collaborator

You need to check var/build.log (in your gitian-builder directory) to see what the error is.

@unsystemizer
Copy link

unsystemizer commented Nov 5, 2016

I got this same error building Linux (with LXC and cached packages). I messed around with it (re-created apt-cacher-ng cache, upgraded it to a newer version from Debian testing, etc.) and think I got past this particular error that way.

Upgrading system, may take a while
./bin/gbuild:21:in `system!': failed to run on-target -u root bash < target-bin/upgrade-system.sh > var/install.log 2>&1 (RuntimeError)
        from ./bin/gbuild:105:in `build_one_configuration'
        from ./bin/gbuild:285:in `block (2 levels) in <main>'
        from ./bin/gbuild:280:in `each'
        from ./bin/gbuild:280:in `block in <main>'
        from ./bin/gbuild:278:in `each'
        from ./bin/gbuild:278:in `<main>'

Install.log didn't contain any additional information, by the way.

But then I ran into the same error that you pasted, but in copy-from-target.
I tried many things so I'm not sure what it was, but I think it's related to the way tar commands work.
I looked at closed bugs here and there was a bug about tar a while ago.
I injected some logging into the scripts (no idea whether I did it right) and got this:

tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

I don't know if this makes any sense and it's in another area, but it may be related.
Originally I used Debian 8.6 with testing repos added separately but I nuked the whole thing after having spent 8 hours trying to make it work, so I can't provide additional details.

@ghost
Copy link

ghost commented Nov 11, 2016

I also have this error
bitcoin/bitcoin#9134

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

No branches or pull requests

4 participants