New issue
Advanced search Search tips

Issue 898516 link

Starred by 1 user

Issue metadata

Status: Verified
Owner: ----
Closed: Oct 30
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug
Build-Toolchain

Blocking:
issue 834385



Sign in to add a comment

rpcsvc-proto: failed to build for ARM board.

Project Member Reported by yunlian@chromium.org, Oct 24

Issue description

emerge-kevin rpcsvc-proto

make[2]: Entering directory '/build/kevin/tmp/portage/net-libs/rpcsvc-proto-1.3.1-r1/work/rpcsvc-proto-1.3.1/rpcsvc'
../rpcgen/rpcgen -h -o klm_prot.h klm_prot.x
../rpcgen/rpcgen -h -o nlm_prot.h nlm_prot.x
../rpcgen/rpcgen -h -o rstat.h rstat.x
../rpcgen/rpcgen: ../rpcgen/rpcgen: cannot execute binary file

It tries to run ARM binary on host.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Oct 30

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/2e41848153f07764d035c1f05733c66b61a33554

commit 2e41848153f07764d035c1f05733c66b61a33554
Author: Yunlian Jiang <yunlian@google.com>
Date: Tue Oct 30 19:03:26 2018

rpcsvc-proto: Fix build time error for ARM

It tries to run target binary on host, it causes build time error
when trying to build it for ARM. To fix this, we use host binary
when building for target.

BUG= chromium:898516 
TEST=emerge-kevin rpcscv-proto
     sudo emerge rpcsvc-proto

Change-Id: Iaefdbaba769d6c649d1405eeb66868041d4890ec
Reviewed-on: https://chromium-review.googlesource.com/1296802
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Caroline Tice <cmtice@chromium.org>

[add] https://crrev.com/2e41848153f07764d035c1f05733c66b61a33554/net-libs/rpcsvc-proto/metadata.xml
[add] https://crrev.com/2e41848153f07764d035c1f05733c66b61a33554/net-libs/rpcsvc-proto/files/rpcsvc-proto-1.3.1-cross-compile.patch
[add] https://crrev.com/2e41848153f07764d035c1f05733c66b61a33554/net-libs/rpcsvc-proto/Manifest
[add] https://crrev.com/2e41848153f07764d035c1f05733c66b61a33554/net-libs/rpcsvc-proto/rpcsvc-proto-1.3.1-r2.ebuild
[add] https://crrev.com/2e41848153f07764d035c1f05733c66b61a33554/net-libs/rpcsvc-proto/files/rpcsvc-proto-1.3.1-old-preprocessor.patch

Status: Verified (was: Untriaged)

Sign in to add a comment