* [ptxdist] Parser/pgen error backporting Python3.5/Pyserial3 to PTXdist 2013.03
@ 2015-09-30 13:06 Börje Sewing
2015-10-29 11:41 ` Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Börje Sewing @ 2015-09-30 13:06 UTC (permalink / raw)
To: ptxdist; +Cc: "Knöpke, Matthias (Matthias.Knoepke@who-ing.de)"
Hello,
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?
Best regards
Börje
--
_________________________________
Ing. Börje Sewing, B.Sc.
who Ingenieurgesellschaft mbH
Schwertfegerstr. 27
23556 Lübeck
Germany
Tel.: +49-(0)451-31781-036
Fax: +49-(0)451-31781-399
e-mail: Boerje.Sewing@who-ing.de
http://www.who-ing.de
Registergericht: Amtsgericht Lübeck, HRB 3738
Geschäftsführer: Dipl.-Ing.(FH) Henning Woock, Dipl.-Ing. Detlef Thon,
Dipl.-Ing.(FH) Andreas Banz
Important Note
This email and any attachment hereto are confidential and may contain
trade secrets or may be otherwise protected from disclosure. If you have
received it in error you are in
notice of this fact. Please notify us immediately by reply email and
then delete this email and any attachment from your system. Please
understand that you are not allowed to
copy this email or any attachment hereto or disclose its contents to any
other person. Thank you.
In case the attachments of this email contain development results, these
will always represent an intermediate development stage. Verified and
released development results
will be marked separately.
Wichtiger Hinweis
Diese E-Mail und etwaige Anlagen koennen Betriebs- oder
Geschaeftsgeheimnisse oder sonstige vertrauliche Informationen
enthalten. Sollten Sie diese E-Mail irrtuemlich erhalten
haben, ist Ihnen dieser Umstand hiermit bekannt. Bitte benachrichtigen
Sie uns in diesem Fall umgehend durch Ruecksendung der E-Mail und
loeschen Sie diese E-Mail einschließlich
etwaiger Anlagen von Ihrem System. Diese E-Mail und ihre Anlagen duerfen
weiterhin nicht kopiert oder an Dritte weitergegeben werden. Vielen Dank.
Sollten im Anhang dieser Email Entwicklungsergebnisse enthalten sein, so
handelt es sich dabei grundsätzlich um Entwicklungsstände. Verifizierte
und freigegebene
Entwicklungsstände sind gesondert und entsprechend gekennzeichnet.
Please consider the environment before printing this e-mail
________________________________________________________
The contents of this e-mail and any attachments are confidential
to the intended recipient. They may not be disclosed to or used
by or copied in any way by anyone other than the intended recipient.
If this e-mail is received in error, please immediately notify
the sender and delete the e-mail and attached documents.
Please note that neither the sender nor the sender's company
accept any responsibility for viruses and it is your responsibility
to scan or otherwise check this e-mail and any attachments.
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] Parser/pgen error backporting Python3.5/Pyserial3 to PTXdist 2013.03
2015-09-30 13:06 [ptxdist] Parser/pgen error backporting Python3.5/Pyserial3 to PTXdist 2013.03 Börje Sewing
@ 2015-10-29 11:41 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2015-10-29 11:41 UTC (permalink / raw)
To: ptxdist
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-29 11:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-30 13:06 [ptxdist] Parser/pgen error backporting Python3.5/Pyserial3 to PTXdist 2013.03 Börje Sewing
2015-10-29 11:41 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox