All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 11831] python-pyparsing: "No module named 'pyparsing'" on target / while building cantools
Date: Tue, 14 May 2019 11:55:58 +0000	[thread overview]
Message-ID: <bug-11831-163-s9PAIEh5tf@https.bugs.busybox.net/> (raw)
In-Reply-To: <bug-11831-163@https.bugs.busybox.net/>

https://bugs.busybox.net/show_bug.cgi?id=11831

--- Comment #8 from Tibor Stolz <tistolz@outlook.de> ---
Created attachment 8046
  --> https://bugs.busybox.net/attachment.cgi?id=8046&action=edit
FIXED python-cantools/python-cantools.mk

Hi all,

The build error for python-cantools persisted, but now I figured out why I ran
into it: In order to build correctly, the build-time dependencies must be
installed on the *host*! Therefore, the package makefile (python-cantools.mk)
must be changed:

- PYTHON_CANTOOLS_DEPENDENCIES = python-bitstruct python-pyparsing
+ PYTHON_CANTOOLS_DEPENDENCIES = host-python-bitstruct host-python-pyparsing

Doing a 'grep -r DEPENDENCIES package/python-*' in the buildroot-2019.02.2
directory revealed that most python library dependencies are in the
host-python-* form. Maybe this should be mentioned in the Buildroot user
manual?

Best regards,
Tibor Stolz

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2019-05-14 11:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-03 13:52 [Buildroot] [Bug 11831] New: python-pyparsing: "No module named 'pyparsing'" on target / while building cantools bugzilla at busybox.net
2019-05-03 13:54 ` [Buildroot] [Bug 11831] " bugzilla at busybox.net
2019-05-03 13:54 ` bugzilla at busybox.net
2019-05-03 13:55 ` bugzilla at busybox.net
2019-05-03 13:58 ` bugzilla at busybox.net
2019-05-03 13:59 ` bugzilla at busybox.net
2019-05-03 14:08 ` bugzilla at busybox.net
2019-05-07 14:59 ` bugzilla at busybox.net
2019-05-07 15:00 ` bugzilla at busybox.net
2019-05-14 11:55 ` bugzilla at busybox.net [this message]
2019-05-14 12:04 ` bugzilla at busybox.net
2019-05-14 12:06 ` [Buildroot] [Bug 11831] python-pyparsing: "No module named 'pyparsing'" while building cantools (SOLVED: use host-python-pyparsing) bugzilla at busybox.net

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=bug-11831-163-s9PAIEh5tf@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --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.