-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
./compile.sh: line 355: third_party/protobuf/protoc.amd64: cannot execute binary file: Exec format error #18
Comments
yeah. It'll probably work if you replace it with a binary that executes correctly on your machine (it should be from protobuf 2.5.0). |
Is there any special reason that i686 binaries aren't there? Is it even On Tue, Mar 24, 2015 at 12:20 PM Han-Wen Nienhuys [email protected]
|
No special reason, we just forgot about i686. |
I tried to replace by 32 bit version protoc. src/main/cpp/blaze.cc: In function ‘void blaze::ActuallyExtractData(const string&, const string&)’:
src/main/cpp/blaze.cc:804:71: error: cannot convert ‘off_t* {aka long int*}’ to ‘int64_t* {aka long long int*}’ for argument ‘4’ to ‘int archive_read_data_block(archive*, const void**, size_t*, int64_t*)’
retval = archive_read_data_block(blaze_zip, &buf, &size, &offset);
^ |
Sorry we have to work that out. We are setting up external CI systems and we might able to target 32bits. |
Any idea when a fix to this might be pushed for i686? |
Hanwen: can you take care of this one? |
Hanwen: thanks for fixing this problem! |
Whoops, didn't mean to close. Not sure if 32-bit compile actually works now, but there is a 32-bit protoc in https://github.com/google/bazel/tree/master/third_party/protobuf now. |
off_t and int64_t are different on 32-bit platforms. Fixes #18. -- MOS_MIGRATED_REVID=90802730
Closes [dict.update should return None, not self #18](bazelbuild/starlark#18) dict.update() method should now accept keyword args just like dict(...) **Example of usage:** ``` >> a = dict(a=1) .. >> a.update(b=2) .. None >> a.update({'c': 3}) .. None >> a .. {"a": 1, "b": 2, "c": 3} ``` Closes #7684. PiperOrigin-RevId: 239018051
* - Adds new_http_archive for nuget-binary from github commit zipfile. - Adds label attributes to nuget_package rule to get mono and nuget binary paths. - Checks return value of execute nuget_cmd and fails with non-zero value. - Changes dll_import rule in nuget_package BUILD from `@workspace_name//:workspace_name` to `@workspace_name//:dylibs` (less redundant, more descriptive). - Bumps README.md to 0.0.3. * - Adds new_nuget_package as workaround for Issue bazelbuild#18. - csharp_binary fixes for path outputs. Closes bazelbuild#26. * Reverts attr dict addition to maintain syntax conformance with python. * Documentation for new_nuget_package.
This is what I get when trying to compile Bazel on my machine.
$ ./compile.sh
Compiling Java stubs for protocol buffers...
./compile.sh: line 355: third_party/protobuf/protoc.amd64: cannot execute binary file: Exec format error
My machine says:
$ uname -a
Linux cowfarm 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:49:09 UTC 2014 i686 i686 i686 GNU/Linux
I'm guessing all the cool kids run AMD these days. :)
The text was updated successfully, but these errors were encountered: