mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Parser/pgen error backporting Python3.5/Pyserial3 to PTXdist 2013.03
Date: Thu, 29 Oct 2015 12:41:48 +0100	[thread overview]
Message-ID: <20151029114148.GR29389@pengutronix.de> (raw)
In-Reply-To: <560BDE3A.7050802@who-ing.de>

Hi,

On Wed, Sep 30, 2015 at 03:06:02PM +0200, Börje Sewing wrote:
> i'm trying to backport Python3.5 and Pyserial3 to PTXdist 2013.03. I've
> copied the following .in and .make files from PTXdist 2015.09 to my own
> rules directory:
> * host-python3
> * python3
> * pyserial3
> 
> Host-python3 builds successfully (for ARM Cortex A8, OSELAS 2012.12.1), but
> python3 fails with the following error:
> 
> 
> Parser/pgen ./Grammar/Grammar Include/graminit.h Python/graminit.c
> Parser/pgen: 1: Parser/pgen: Syntax error: word unexpected (expecting ")")
> if test `uname -s` = Darwin; then \
> 		cp python-config.py python-config; \
> 	fi
> make[1]: *** [Include/graminit.h] Error 2
> 
> 
> Does anybody know what is going wrong?

You missed the patches. However, it will probably fail later, because
you're missing some core ptxdist changes.
E.g. "PYSERIAL3_CONF_TOOL := python3" is not supported in earlier PTXdist
versions.

Regards,
Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2015-10-29 11:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-30 13:06 Börje Sewing
2015-10-29 11:41 ` Michael Olbrich [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=20151029114148.GR29389@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox