From: "Антон Мидюков" <midyukov-anton@ya.ru> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: [devel] Пропустить проверку синтаксиса в python Date: Sun, 13 Dec 2020 15:11:52 +0700 Message-ID: <a526e9b8-aff3-d760-fcce-acd8553ae45c@ya.ru> (raw) Здравствуйте При сборке получаю ошибку: python3.req: ERROR: /usr/src/tmp/beremiz-buildroot/usr/lib/python3/site-packages/beremiz/bacnet/web_settings.py: invalid syntax (<string>, line 297) Traceback (most recent call last): File "/usr/lib/rpm/python3.req.py", line 286, in <module> lis = parser.suite('\n'.join(lines)+'\n').tolist(line_info=1) File "<string>", line 297 def _runtime_bacnet_websettings_%(location_str)s_init(): ^ SyntaxError: invalid syntax find-requires: ERROR: /usr/lib/rpm/python3.req failed error: /bin/sh failed error: Failed to find Requires Но на самом деле так и задумано: # location_str is replaced by extension's value in CTNGenerateC call def _runtime_bacnet_websettings_%(location_str)s_init(): Т.е. при сборке программы для программного PLC этот макрос раскрывается генератором. Как можно пропустить эту ошибку? -- С уважением, Антон Мидюков <antohami@altlinux.org>
reply other threads:[~2020-12-13 8:11 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=a526e9b8-aff3-d760-fcce-acd8553ae45c@ya.ru \ --to=midyukov-anton@ya.ru \ --cc=devel@lists.altlinux.org \ /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
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git