Bug 13163

Summary: Error instaling the icecast with Yocto (unrecognized command line option '--should-not-have-used-/usr/bin/xslt-config)
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Igor Miranda <igorcmiranda3110>
Component: oe-core otherAssignee: Ross Burton <ross.burton>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: Undecided    
Version: 2.8   
Target Milestone: 2.8   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Igor Miranda 2019-02-01 12:14:19 UTC
Im trying to install the Icecast at the Yocto 2.8, but the Icecast is 8 years old, but I dont 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
Comment 1 Ross Burton 2019-02-01 12:51:19 UTC
icecast uses xslt-config at build time to determine paths, but xslt-config is fundamentally broken in cross compile environments so we disable it.  When xslt-config is ran it prints a message telling you use use pkg-config and returns an error code, whichi icecast is presumably ignoring.

Changing icecast to use pkgconfig instead of xslt-config is fairly simple.  As this not a fault in oe-core I'm closing the bug.