All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/mjpg-streamer: disable opencv python and cpp example
Date: Sun, 23 Aug 2020 13:23:43 +0200	[thread overview]
Message-ID: <20200823132343.37e7c861@windsurf.home> (raw)
In-Reply-To: <20200822121840.757051-1-fontaine.fabrice@gmail.com>

On Sat, 22 Aug 2020 14:18:40 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> python-numpy is an optional dependency since
> https://github.com/jacksonliam/mjpg-streamer/commit/545c1a1d3abf72bb7a97c870c78e85dd0845f63a
> 
> This dependency will raise the following build failure if python-numpy
> is found on the host:
> 
> aarch64_be-linux-gnu-g++: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/lib/python3/dist-packages/numpy/core/include'
> 
> because mjpg-streamer uses the python executable to retrieve the include
> directory:
> 
> -- Found PythonLibs: /home/peko/autobuild/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/lib/libpython3.8.so (found version "3.8.5")
> -- Found PythonInterp: /usr/bin/python3.5 (found version "3.5.3")
> -- Found NUMPY: /usr/lib/python3/dist-packages/numpy/core/include
> 
> So disable python filter as well as cpp example while at it
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/e6795fa8ed5d8514b3e10ea1135afb31eab22b7e
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/mjpg-streamer/mjpg-streamer.mk | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)

Applied to master, thanks.

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

      reply	other threads:[~2020-08-23 11:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-22 12:18 [Buildroot] [PATCH 1/1] package/mjpg-streamer: disable opencv python and cpp example Fabrice Fontaine
2020-08-23 11:23 ` Thomas Petazzoni [this message]

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=20200823132343.37e7c861@windsurf.home \
    --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.