Hi,

Could it be this is causing a failure (see below)

Thanks,

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: 
.../build/tmp/work/x86_64-linux/fftw-native/3.3.10-r0/temp/run.do_compile.464684:153
exit 1 from 'sed -i -e 's|||g' config.h'
WARNING: Backtrace (BB generated script):
        #1: do_compile,
.../build/tmp/work/x86_64-linux/fftw-native/3.3.10-r0/temp/run.do_compile.464684,
line 153
        #2: main,
.../build/tmp/work/x86_64-linux/fftw-native/3.3.10-r0/temp/run.do_compile.464684,
line 199

On Sun, May 14, 2023 at 5:57 AM Khem Raj <[email protected]> wrote:
>
> 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 <[email protected]>
> ---
>  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
>  }
> --
> 2.40.1
>
>
> 
>


-- 
Jan Vermaete
“Success is a self-correcting phenomenom.” -- Gary Hamel
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#102706): 
https://lists.openembedded.org/g/openembedded-devel/message/102706
Mute This Topic: https://lists.openembedded.org/mt/98879626/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to