Hi,
I'm trying to add a package to LibreELEC, the eSpeak-NG TTS from https://github.com/espeak-ng/espeak-ng. Following the build steps from GitHub and after some modifications, I finished creating this package.mk file:
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="espeak-ng"
PKG_VERSION="1.50"
PKG_SHA256="3dc31309f1674f2009cb53c466771116a183a8d71abf18d80a4e39615d61ae5e"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/espeak-ng/espeak-ng"
PKG_URL="https://github.com/espeak-ng/espeak-ng/archive/refs/tags/${PKG_VERSION}.zip"
PKG_DEPENDS_HOST="toolchain:host"
PKG_DEPENDS_TARGET="toolchain espeak-ng:host"
PKG_LONGDESC="eSpeak NG is an open source speech synthesizer that supports more than a hundred languages and accents"
PKG_TOOLCHAIN="autotools"
post_unpack() {
ln -sf "${PKG_BUILD}/CHANGELOG.md" "${PKG_BUILD}/NEWS"
ln -sf "${PKG_BUILD}/README.md" "${PKG_BUILD}/README"
}
pre_configure() {
cp -r ../docs .
cp -r ../src .
}
pre_configure_host() {
cp -r ../dictsource .
cp -r ../espeak-ng-data .
cp -r ../phsource .
cp -r ../vim .
}
make_host() {
make -j1
}
make_target() {
make -B src/espeak-ng src/speak-ng
}
makeinstall_target() {
make -B src/espeak-ng src/speak-ng
make install-exec DESTDIR=$INSTALL
mkdir -p $INSTALL/usr/share/espeak-ng-data
cp -prf $TOOLCHAIN/share/espeak-ng-data $INSTALL/usr/share
}
Display More
If I add this package to LibreELEC 10.0 it builds and works flawlessly. However, same package on LibreELEC 11.0 gives the following error when building for the target step (building for host works without problems):
BUILD espeak-ng (target)
TOOLCHAIN autotools
Executing (target): /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/espeak-ng-1.50/configure --host=x86_64-libreelec-linux-gnu --build=x86_64-linux-gnu --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --disable-static --enable-shared
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-libreelec-linux-gnu-strip... /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-strip
checking for a race-free mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-libreelec-linux-gnu
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-libreelec-linux-gnu-gcc... /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc accepts -g... yes
checking for /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc option to enable C11 features... none needed
checking whether /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc understands -c and -o together... yes
checking dependency style of /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc... gcc3
checking for a sed that does not truncate output... /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc... /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-ld
checking if the linker (/home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-nm
checking the name lister (/home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-libreelec-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-ld option to reload object files... -r
checking for x86_64-libreelec-linux-gnu-objdump... /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-libreelec-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-libreelec-linux-gnu-ar... /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-libreelec-linux-gnu-strip... (cached) /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-strip
checking for x86_64-libreelec-linux-gnu-ranlib... /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-ranlib
checking command to parse /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-nm output from /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-libreelec-linux-gnu-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for vfork.h... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc static flag -static works... yes
checking if /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc supports -c -o file.o... yes
checking if /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc linker (/home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether make supports nested variables... (cached) yes
checking whether make supports nested variables... (cached) yes
checking for x86_64-libreelec-linux-gnu-gcc... (cached) /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc accepts -g... (cached) yes
checking for /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc option to enable C11 features... (cached) none needed
checking whether /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc understands -c and -o together... (cached) yes
checking dependency style of /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc... (cached) gcc3
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for ndk-build... no
checking for gradle... no
/home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/espeak-ng-1.50/configure: line 13823: 0: command not found
checking if /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc supports C99 without any flags... yes
checking if /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc supports C99 with the -std=c99 flag... yes
checking if /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc supports C99... -std=c99
checking if targeting FreeBSD... no
checking for endian.h... yes
checking for fcntl.h... yes
checking for getopt.h... yes
checking for locale.h... yes
checking for stddef.h... yes
checking for stdbool.h... yes
checking for sys/endian.h... no
checking for sys/time.h... yes
checking for wchar.h... yes
checking for wctype.h... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for pid_t... yes
checking for fork... yes
checking for vfork... yes
checking for working fork... cross
configure: WARNING: result yes guessed because of cross compilation
checking for working vfork... (cached) yes
checking for working strcoll... yes
checking for error_at_line... yes
checking for dup2... yes
checking for getopt_long... yes
checking for gettimeofday... yes
checking for malloc... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for mkstemp... yes
checking for pow... no
checking for realloc... yes
checking for setlocale... yes
checking for sqrt... no
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strrchr... yes
checking for strstr... yes
checking for pcaudiolib/audio.h... no
checking for sonic.h... no
checking for ronn... no
checking whether C compiler accepts -Wimplicit... yes
checking whether C compiler accepts -Wmissing-prototypes... yes
checking whether C compiler accepts -Wreturn-type... yes
checking whether C compiler accepts -Wuninitialized... yes
checking whether C compiler accepts -Wunused... yes
checking whether C compiler accepts -Wunused-parameter... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating espeak-ng.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure:
Configuration for eSpeak NG complete.
Source code location: /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/espeak-ng-1.50
C99 Compiler: /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc
C99 Compiler flags: -Wunused-parameter -Wunused -Wuninitialized -Wreturn-type -Wmissing-prototypes -Wimplicit -march=x86-64 -m64 -mmmx -msse -msse2 -mfpmath=sse -Wall -pipe -O2 -fomit-frame-pointer -DNDEBUG -std=c99
Sonic: no
PCAudioLib: no
gradle (Android): gradle
ndk-build (Android):
Klatt: yes
MBROLA: yes
Async: yes
Extended Dictionaries:
Russian: no
Chinese (Mandarin): no
Chinese (Cantonese): no
Makefile:2630: warning: ignoring prerequisites on suffix rule definition
CDPATH="${ZSH_VERSION+.}:" && cd /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/espeak-ng-1.50 && /bin/bash '/home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/espeak-ng-1.50/missing' aclocal-1.16 -I m4
CDPATH="${ZSH_VERSION+.}:" && cd /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/espeak-ng-1.50 && /bin/bash '/home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/espeak-ng-1.50/missing' autoconf
cd /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/espeak-ng-1.50 && /bin/bash /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/espeak-ng-1.50/missing automake-1.16 --gnu
configure.ac:69: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:69: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:69: the top level
/bin/bash ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/espeak-ng-1.50/configure --host=x86_64-libreelec-linux-gnu --build=x86_64-linux-gnu --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --disable-static --enable-shared build_alias=x86_64-linux-gnu host_alias=x86_64-libreelec-linux-gnu CC=/home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc CFLAGS=-march=x86-64 -m64 -mmmx -msse -msse2 -mfpmath=sse -Wall -pipe -O2 -fomit-frame-pointer -DNDEBUG LDFLAGS=-march=x86-64 -m64 -Wl,--as-needed -fuse-ld=gold CPPFLAGS= --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-libreelec-linux-gnu-strip... /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-strip
checking for a race-free mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-libreelec-linux-gnu
checking how to print strings... Makefile.am:436: warning: '%'-style pattern rules are a GNU make extension
Makefile.am:447: warning: '%'-style pattern rules are a GNU make extension
Makefile.am:450: warning: '%'-style pattern rules are a GNU make extension
printf
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-libreelec-linux-gnu-gcc... /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc accepts -g... yes
checking for /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc option to enable C11 features... none needed
checking whether /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc understands -c and -o together... yes
checking dependency style of /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc... gcc3
checking for a sed that does not truncate output... /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc... /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-ld -m elf_x86_64
checking if the linker (/home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-ld -m elf_x86_64) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-nm
checking the name lister (/home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-libreelec-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-ld -m elf_x86_64 option to reload object files... -r
checking for x86_64-libreelec-linux-gnu-objdump... /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-libreelec-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-libreelec-linux-gnu-ar... /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-libreelec-linux-gnu-strip... (cached) /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-strip
checking for x86_64-libreelec-linux-gnu-ranlib... /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-ranlib
checking command to parse /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-nm output from /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-libreelec-linux-gnu-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for vfork.h... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc static flag -static works... yes
checking if /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc supports -c -o file.o... yes
checking if /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc linker (/home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-ld -m elf_x86_64 -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether make supports nested variables... (cached) yes
checking whether make supports nested variables... (cached) yes
checking for x86_64-libreelec-linux-gnu-gcc... (cached) /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc accepts -g... (cached) yes
checking for /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc option to enable C11 features... (cached) none needed
checking whether /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc understands -c and -o together... (cached) yes
checking dependency style of /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc... (cached) gcc3
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for ndk-build... no
checking for gradle... no
/home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/espeak-ng-1.50/configure: line 13827: 0: command not found
checking if /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc supports C99 without any flags... yes
checking if /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc supports C99 with the -std=c99 flag... yes
checking if /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc supports C99... -std=c99
checking if targeting FreeBSD... no
checking for endian.h... yes
checking for fcntl.h... yes
checking for getopt.h... yes
checking for locale.h... yes
checking for stddef.h... yes
checking for stdbool.h... yes
checking for sys/endian.h... no
checking for sys/time.h... yes
checking for wchar.h... yes
checking for wctype.h... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for pid_t... yes
checking for fork... yes
checking for vfork... yes
checking for working fork... cross
configure: WARNING: result yes guessed because of cross compilation
checking for working vfork... (cached) yes
checking for working strcoll... yes
checking for error_at_line... yes
checking for dup2... yes
checking for getopt_long... yes
checking for gettimeofday... yes
checking for malloc... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for mkstemp... yes
checking for pow... no
checking for realloc... yes
checking for setlocale... yes
checking for sqrt... no
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strrchr... yes
checking for strstr... yes
checking for pcaudiolib/audio.h... no
checking for sonic.h... no
checking for ronn... no
checking whether C compiler accepts -Wimplicit... yes
checking whether C compiler accepts -Wmissing-prototypes... yes
checking whether C compiler accepts -Wreturn-type... yes
checking whether C compiler accepts -Wuninitialized... yes
checking whether C compiler accepts -Wunused... yes
checking whether C compiler accepts -Wunused-parameter... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
configure:
Configuration for eSpeak NG complete.
Source code location: /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/espeak-ng-1.50
C99 Compiler: /home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc
C99 Compiler flags: -Wunused-parameter -Wunused -Wuninitialized -Wreturn-type -Wmissing-prototypes -Wimplicit -march=x86-64 -m64 -mmmx -msse -msse2 -mfpmath=sse -Wall -pipe -O2 -fomit-frame-pointer -DNDEBUG -std=c99
Sonic: no
PCAudioLib: no
gradle (Android): gradle
ndk-build (Android):
Klatt: yes
MBROLA: yes
Async: yes
Extended Dictionaries:
Russian: no
Chinese (Mandarin): no
Chinese (Cantonese): no
/bin/bash ./config.status
config.status: creating Makefile
config.status: creating espeak-ng.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: error: in `/home/nuive/projects/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/espeak-ng-1.50/.x86_64-libreelec-linux-gnu':
config.status: error: Something went wrong bootstrapping makefile fragments
for automatic dependency tracking. If GNU make was not used, consider
re-running the configure script with MAKE="gmake" (or whatever is
necessary). You can also try re-running configure with the
'--disable-dependency-tracking' option to at least be able to build
the package (albeit without support for automatic dependency tracking).
See `config.log' for more details
make: *** [Makefile:771: Makefile] Error 1
FAILURE: scripts/build espeak-ng during make_target (package.mk)
*********** FAILED COMMAND ***********
make -B src/espeak-ng src/speak-ng
**************************************
nuive@nuive-GP60-2PE:~/projects/LibreELEC.tv$
Display More
I tried removing the "-B" option from the make target steps and without this option, it builds flawlessly on all versions, but when trying to execute the espeak-ng command on any LibreELEC 11, it freezes the terminal until you press CTRL+C to kill the process.
I know the "-B" option only forces Make to rebuild all targets, and it shouldn't be necesary on LibreELEC because it builds host and target executables on different folders. However, it seems strange that when executing the build process with the "-B" parameter, it doesn't work on LE11, and if I remove it it builds but crashes when running... any idea why is this happening?
Thanks!