All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 2/2] grpc: new package
Date: Sat, 24 Nov 2018 15:12:56 +0100	[thread overview]
Message-ID: <20181124151256.5b786338@windsurf> (raw)
In-Reply-To: <20181118211942.28839-2-robertroyrose@gmail.com>

Hello Robert,

Thanks for this contribution!

On Sun, 18 Nov 2018 13:19:42 -0800, Robert Rose wrote:
> Signed-off-by: Robert Rose <robertroyrose@gmail.com>
> ---
>  DEVELOPERS                                    |  3 ++
>  package/Config.in                             |  1 +
>  .../0001-target-build-using-host-plugin.patch | 26 ++++++++++++++
>  package/grpc/Config.in                        | 11 ++++++
>  package/grpc/grpc.hash                        |  3 ++
>  package/grpc/grpc.mk                          | 36 +++++++++++++++++++
>  6 files changed, 80 insertions(+)
>  create mode 100644 package/grpc/0001-target-build-using-host-plugin.patch
>  create mode 100644 package/grpc/Config.in
>  create mode 100644 package/grpc/grpc.hash
>  create mode 100644 package/grpc/grpc.mk

I wanted to apply your patch, but unfortunately, it fails to build for
me in host-grpc:

-- Configuring done
CMake Error at CMakeLists.txt:193 (add_custom_command):
  Error evaluating generator expression:

    $<IF:$<BOOL:>,,$<TARGET_FILE:grpc_cpp_plugin>>

  Expression did not evaluate to a known generator expression
Call Stack (most recent call first):
  CMakeLists.txt:3852 (protobuf_generate_grpc_cpp)


CMake Error at CMakeLists.txt:193 (add_custom_command):
  Error evaluating generator expression:

    $<IF:$<BOOL:>,,$<TARGET_FILE:grpc_cpp_plugin>>

  Expression did not evaluate to a known generator expression
Call Stack (most recent call first):
  CMakeLists.txt:4811 (protobuf_generate_grpc_cpp)


CMake Error at CMakeLists.txt:193 (add_custom_command):
  Error evaluating generator expression:

    $<IF:$<BOOL:>,,$<TARGET_FILE:grpc_cpp_plugin>>

  Expression did not evaluate to a known generator expression
Call Stack (most recent call first):
  CMakeLists.txt:3722 (protobuf_generate_grpc_cpp)


-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_DOC
    BUILD_DOCS
    BUILD_EXAMPLE
    BUILD_EXAMPLES
    BUILD_TEST
    BUILD_TESTING
    BUILD_TESTS
    CMAKE_ASM_COMPILER


-- Build files have been written to: /home/thomas/buildroot/buildroot/output/build/host-grpc-v1.16.0
package/pkg-generic.mk:219: recipe for target '/home/thomas/buildroot/buildroot/output/build/host-grpc-v1.16.0/.stamp_configured' failed
make[1]: *** [/home/thomas/buildroot/buildroot/output/build/host-grpc-v1.16.0/.stamp_configured] Error 1
Makefile:84: recipe for target '_all' failed
make: *** [_all] Error 2

Could you have a look into this ?

Note that I did a number of fixes/cleanups in your patches, so it would
be nice if you could restart from the two patches I have pushed at
https://git.bootlin.com/users/thomas-petazzoni/buildroot/log/?h=grpc.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2018-11-24 14:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-18 21:19 [Buildroot] [PATCH v2 1/2] c-ares: support host build Robert Rose
2018-11-18 21:19 ` [Buildroot] [PATCH v2 2/2] grpc: new package Robert Rose
2018-11-24 14:12   ` Thomas Petazzoni [this message]
     [not found]     ` <CALxq1w45Krr6E8Ri7rxrDN9USkbPdLbqmmK2x-XiH3AmHHeqpg@mail.gmail.com>
2018-11-24 20:45       ` Thomas Petazzoni
2018-11-24 22:00         ` robert rose
2018-11-24 23:57           ` robert rose
2018-11-26 21:58             ` Thomas Petazzoni
2018-11-27 17:17   ` Arnout Vandecappelle
2018-11-18 21:33 ` [Buildroot] [PATCH v2 1/2] c-ares: support host build Arnout Vandecappelle
2018-11-18 21:37   ` Arnout Vandecappelle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181124151256.5b786338@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.