On Wed, Jun 7, 2023 at 12:53 AM Böszörményi Zoltán <zbos...@gmail.com> wrote:
>
> This causes a build error in fftw-native:

right. We also need to backport
https://git.openembedded.org/meta-openembedded/commit/?id=fcdb991b8015e77353517fb327d0def2a23b0173

>
> ERROR: fftw-native-3.3.10-r0 do_compile:
> ExecutionError('/data2/dtd-yocto-4.2/tmp-sicom-glibc/work/x86_64-linux/fftw-native/3.3.10-r0/temp/run.do_compile.3532203',
> 1, None, None)
> ERROR: Logfile of failure stored in:
> /data2/dtd-yocto-4.2/tmp-sicom-glibc/work/x86_64-linux/fftw-native/3.3.10-r0/temp/log.do_compile.3532203
> Log data follows:
> | DEBUG: Executing python function autotools_aclocals
> | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 
> 'bit-64',
> 'x86_64-linux', 'common']
> | DEBUG: Python function autotools_aclocals finished
> | DEBUG: Executing shell function do_compile
> | sed: -e expression #1, char 0: no previous regular expression
> | WARNING:
> /data2/dtd-yocto-4.2/tmp-sicom-glibc/work/x86_64-linux/fftw-native/3.3.10-r0/temp/run.do_compile.3532203:154
> exit 1 from 'sed -i -e 's|||g' config.h'
> | WARNING: Backtrace (BB generated script):
> |     #1: do_compile,
> /data2/dtd-yocto-4.2/tmp-sicom-glibc/work/x86_64-linux/fftw-native/3.3.10-r0/temp/run.do_compile.3532203,
> line 154
> |     #2: main,
> /data2/dtd-yocto-4.2/tmp-sicom-glibc/work/x86_64-linux/fftw-native/3.3.10-r0/temp/run.do_compile.3532203,
> line 200
> ERROR: Task
> (virtual:native:/data2/dtd-yocto-4.2/conf/../layers/meta-openembedded/meta-oe/recipes-support/fftw/fftw_3.3.10.bb:do_compile)
> failed with exit code '1'
>
> 2023. 05. 31. 13:12 keltezéssel, Armin Kuster írta:
> > From: Khem Raj <raj.k...@gmail.com>
> >
> > FFTW_CC is added to image via version.o and its CC + CFLAGS however CC
> > in OE containes --syroot compiler option which encodes buildpaths into
> > binary, therefore remove this option from FFTW_CC in config.h
> >
> > Signed-off-by: Khem Raj <raj.k...@gmail.com>
> > (cherry picked from commit ef03326d31360abdfa3e4a34eb00b328a76de12c)
> > Signed-off-by: Armin Kuster <akuster...@gmail.com>
> > ---
> >   meta-oe/recipes-support/fftw/fftw_3.3.10.bb | 1 +
> >   1 file changed, 1 insertion(+)
> >
> > diff --git a/meta-oe/recipes-support/fftw/fftw_3.3.10.bb 
> > b/meta-oe/recipes-support/fftw/fftw_3.3.10.bb
> > index cb45e2b91f..1fead4d029 100644
> > --- a/meta-oe/recipes-support/fftw/fftw_3.3.10.bb
> > +++ b/meta-oe/recipes-support/fftw/fftw_3.3.10.bb
> > @@ -55,6 +55,7 @@ do_configure() {
> >   do_compile() {
> >       for lib in fftw fftwl fftwf; do
> >           cd ${WORKDIR}/build-$lib
> > +        sed -i -e 's|${TOOLCHAIN_OPTIONS}||g' config.h
> >           autotools_do_compile
> >       done
> >   }
> >
> > 
> >
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#103170): 
https://lists.openembedded.org/g/openembedded-devel/message/103170
Mute This Topic: https://lists.openembedded.org/mt/99239744/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to