Error instaling the icecast with Yocto (unrecognized command line option '--should-not-have-used-/usr/bin/xslt-config)

I’m trying to install the Icecast at the Yocto 2.8, but the Icecast is 8 years old, but I don’t know if this have something connected to the error. My log is this:

NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: icecast-2.3.2-r2 do_compile: oe_runmake failed
ERROR: icecast-2.3.2-r2 do_compile: Function failed: do_compile (log file is located at /home/igor/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/icecast/2.3.2-r2/temp/log.do_compile.16620)
ERROR: Logfile of failure stored in: /home/igor/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/icecast/2.3.2-r2/temp/log.do_compile.16620
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 1
| ERROR: oe_runmake failed
| make  all-recursive
| make[1]: Entering directory '/home/igor/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/icecast/2.3.2-r2/build'
| Making all in src
| make[2]: Entering directory '/home/igor/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/icecast/2.3.2-r2/build/src'
| Making all in avl
| make[3]: Entering directory '/home/igor/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/icecast/2.3.2-r2/build/src/avl'
| make[3]: Nothing to be done for 'all'.
| make[3]: Leaving directory '/home/igor/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/icecast/2.3.2-r2/build/src/avl'
| Making all in thread
| make[3]: Entering directory '/home/igor/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/icecast/2.3.2-r2/build/src/thread'
| make[3]: Nothing to be done for 'all'.
| make[3]: Leaving directory '/home/igor/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/icecast/2.3.2-r2/build/src/thread'
| Making all in httpp
| make[3]: Entering directory '/home/igor/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/icecast/2.3.2-r2/build/src/httpp'
| ../../arm-angstrom-linux-gnueabi-libtool  --tag=CC   --mode=compile arm-angstrom-linux-gnueabi-gcc  -march=armv7-a -mthumb -mfpu=neon  -mfloat-abi=hard --sysroot=/home/igor/oe-core/build/tmp-glibc/sysroots/apalis-imx6 -DHAVE_CONFIG_H -I. -I../../../icecast-2.3.2/src/httpp -I../.. -I../../../icecast-2.3.2/src/httpp/.. -Wall -ffast-math -fsigned-char --should-not-have-used-/usr/bin/xslt-config -I/home/igor/oe-core/build/tmp-glibc/sysroots/apalis-imx6/usr/lib/include  -pthread -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/igor/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/icecast/2.3.2-r2=/usr/src/debug/icecast/2.3.2-r2 -fdebug-prefix-map=/home/igor/oe-core/build/tmp-glibc/sysroots/x86_64-linux= -fdebug-prefix-map=/home/igor/oe-core/build/tmp-glibc/sysroots/apalis-imx6=  -c -o libicehttpp_la-httpp.lo `test -f 'httpp.c' || echo '../../../icecast-2.3.2/src/httpp/'`httpp.c
| arm-angstrom-linux-gnueabi-libtool: compile:  arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/home/igor/oe-core/build/tmp-glibc/sysroots/apalis-imx6 -DHAVE_CONFIG_H -I. -I../../../icecast-2.3.2/src/httpp -I../.. -I../../../icecast-2.3.2/src/httpp/.. -Wall -ffast-math -fsigned-char --should-not-have-used-/usr/bin/xslt-config -I/home/igor/oe-core/build/tmp-glibc/sysroots/apalis-imx6/usr/lib/include -pthread -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/igor/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/icecast/2.3.2-r2=/usr/src/debug/icecast/2.3.2-r2 -fdebug-prefix-map=/home/igor/oe-core/build/tmp-glibc/sysroots/x86_64-linux= -fdebug-prefix-map=/home/igor/oe-core/build/tmp-glibc/sysroots/apalis-imx6= -c ../../../icecast-2.3.2/src/httpp/httpp.c  -fPIC -DPIC -o .libs/libicehttpp_la-httpp.o
**| arm-angstrom-linux-gnueabi-gcc: error: unrecognized command line option '--should-not-have-used-/usr/bin/xslt-config' ( I think this is the error )**
| Makefile:425: recipe for target 'libicehttpp_la-httpp.lo' failed
| make[3]: *** [libicehttpp_la-httpp.lo] Error 1
| make[3]: Leaving directory '/home/igor/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/icecast/2.3.2-r2/build/src/httpp'
| Makefile:570: recipe for target 'all-recursive' failed
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory '/home/igor/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/icecast/2.3.2-r2/build/src'
| Makefile:488: recipe for target 'all-recursive' failed
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory '/home/igor/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/icecast/2.3.2-r2/build'
| Makefile:399: recipe for target 'all' failed
| make: *** [all] Error 2
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/igor/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/icecast/2.3.2-r2/temp/log.do_compile.16620)
ERROR: Task (/home/igor/oe-core/build/../layers/meta-openembedded/meta-systemd/recipes-cgl/icecast/icecast_2.3.2.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 897 tasks of which 896 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Hi

Probably this takes you a step further. This may also be of interest as you seem to be converting a OE classic recipe to OE core.

Max

@igormiiranda

I gave it a quick try. Something like the attached should do the trick.

icecast recipes

Max