Adding php-native to DEPENDS also doesn't work, it will report the same error.

Because smart5.4.2 supports installation using composer. Makefile is also used 
for composer, but Yocto does not support it.
Yocto can install smarty through do_install. Therefore, it is necessary to 
leave do_compile empty to avoid executing make.

  --
Best Regards
---------------------------------------------------
Wang Mingyu
FUJITSU NANJING SOFTWARE TECHNOLOGY CO., LTD. (FNST)
No.6 Wenzhu Road, Nanjing, 210012, China
TEL:+86+25-86630566--8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: [email protected]

> -----Original Message-----
> From: Jörg Sommer <[email protected]>
> Sent: Wednesday, January 15, 2025 5:51 PM
> To: Wang, Mingyu/王 鸣瑜 <[email protected]>
> Cc: [email protected]
> Subject: Re: [oe] [meta-oe] [PATCH] smarty: update 4.5.5 -> 5.4.2
> 
> Mingyu Wang (Fujitsu) schrieb am Mi 15. Jan, 08:47 (+0000):
> > Sometimes the following errors occur when executing bitbake:
> >
> > DEBUG: Executing shell function do_compile
> > NOTE: make -j 4
> > php ./utilities/make-parser.php src/Parser/TemplateParser.y
> > src/Parser/TemplateParser.php
> > make: php: No such file or directory
> 
> Does it help to add php-native to DEPENDS?
> 
> 
> > make: *** [Makefile:16: src/Parser/TemplateParser.php] Error 127
> > ERROR: oe_runmake failed
> > WARNING: exit code 1 from a shell command.
> >
> > It seems that this do_compile should not be executed. To avoid this
> > issue, I added an empty do_compile in the bb file
> >
> >   --
> > Best Regards
> > ---------------------------------------------------
> > Wang Mingyu
> > FUJITSU NANJING SOFTWARE TECHNOLOGY CO., LTD. (FNST)
> > No.6 Wenzhu Road, Nanjing, 210012, China
> > TEL:+86+25-86630566--8568
> > COINS: 79988548
> > FAX: +86+25-83317685
> > MAIL: [email protected]
> >
> > > -----Original Message-----
> > > From: Jörg Sommer <[email protected]>
> > > Sent: Wednesday, January 15, 2025 2:07 PM
> > > To: Wang, Mingyu/王 鸣瑜 <[email protected]>
> > > Cc: [email protected]
> > > Subject: Re: [oe] [meta-oe] [PATCH] smarty: update 4.5.5 -> 5.4.2
> > >
> > > wangmy via lists.openembedded.org schrieb am Mi 15. Jan, 11:32 (+0800):
> > > >  S = "${WORKDIR}/git"
> > >
> > > Shouldn't this be UNPACKDIR instead of WORKDIR?
> > >
> > > S = "${UNPACKDIR}/git"
> > >
> > > > +do_compile() {
> > > > +       :
> > > > +}
> > > > +
> > >
> > > How about:
> > >
> > > do_compile[noexec] = "1"
> > >
> > >
> > > Regards, Jörg
> > >
> > > --
> > > Ich halte ihn zwar für einen Schurken und das was er sagt für falsch
> > > – aber ich bin bereit mein Leben dafür einzusetzen, daß
> > > er seine Meinung sagen kann.            (Voltaire)
> > >
> > > Navimatix GmbH           T: 03641 - 327 99 0
> > > Tatzendpromenade 2       F: 03641 - 526 306
> > > 07745 Jena               www.navimatix.de
> > >
> > > Geschäftsführer: Steffen Späthe, Jan Rommeley
> > > Registergericht: Amtsgericht Jena, HRB 501480
> 
> --
> “It's been said you aren't a real UNIX system administrator until you've 
> edited a
> sendmail.cf file. It's also been said that you are crazy if you attempted to 
> do so
> twice.”
> 
> Navimatix GmbH           T: 03641 - 327 99 0
> Tatzendpromenade 2       F: 03641 - 526 306
> 07745 Jena               www.navimatix.de
> 
> Geschäftsführer: Steffen Späthe, Jan Rommeley
> Registergericht: Amtsgericht Jena, HRB 501480
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#114904): 
https://lists.openembedded.org/g/openembedded-devel/message/114904
Mute This Topic: https://lists.openembedded.org/mt/110621806/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to