AnsweredAssumed Answered

Failed building libfslvpuwrap

Question asked by Iqbal Ajmeri on Oct 29, 2012
Latest reply on Nov 28, 2013 by Alexandre Schnegg

why Failed building libfslvpuwrap?

due to this fail, vpudec plugin of gstreamer is not enabled?

 

please find the bellow error log.

 

Processing: libfslvpuwrap

===========================

Build path taken because: directory build, no prebuilt rpm,

scbuild/scdeploy already unpacked package

 

Processing: libfslvpuwrap

===========================

Build path taken because: directory build, build key set, no prebuilt rpm,

 

rpmbuild --dbpath /media/data/Freescale/L3.0.35_MX6DLS_ER_12.09.03_ER/Release_Source_Code/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /media/data/Freescale/L3.0.35_MX6DLS_ER_12.09.03_ER/Release_Source_Code/ltib/rpm' --define '_prefix /usr' --define '_tmppath /media/data/Freescale/L3.0.35_MX6DLS_ER_12.09.03_ER/Release_Source_Code/ltib/tmp' --define '_rpmdir /media/data/Freescale/L3.0.35_MX6DLS_ER_12.09.03_ER/Release_Source_Code/ltib/rpm/RPMS'  --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit  /media/data/Freescale/L3.0.35_MX6DLS_ER_12.09.03_ER/Release_Source_Code/ltib/dist/lfs-5.1/fsl-mm/libfslvpuwrap.spec

Building target platforms: arm

Building for target arm

Executing(%build): /bin/sh -e /media/data/Freescale/L3.0.35_MX6DLS_ER_12.09.03_ER/Release_Source_Code/ltib/tmp/rpm-tmp.19070

+ umask 022

+ cd /media/data/Freescale/L3.0.35_MX6DLS_ER_12.09.03_ER/Release_Source_Code/ltib/rpm/BUILD

+ cd libfslvpuwrap-1.0.17

+ which pkg-config

+ export PKG_CONFIG=/opt/freescale/ltib/usr/bin/pkg-config --static

+ ./configure --prefix=/usr --host=arm-linux --build=i686-pc-linux-gnu

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for arm-linux-strip... arm-linux-strip

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking whether to enable maintainer-specific portions of Makefiles... no

checking pkg-config is at least version 0.9.0... yes

checking for style of include used by make... GNU

checking for arm-linux-gcc... 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 we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking dependency style of gcc... gcc3

checking for library containing strerror... none required

checking for arm-linux-gcc... (cached) gcc

checking whether we are using the GNU C compiler... (cached) yes

checking whether gcc accepts -g... (cached) yes

checking for gcc option to accept ISO C89... (cached) none needed

checking dependency style of gcc... (cached) gcc3

checking for arm-linux-gcc... (cached) gcc

checking whether we are using the GNU C compiler... (cached) yes

checking whether gcc accepts -g... (cached) yes

checking for gcc option to accept ISO C89... (cached) none needed

checking dependency style of gcc... (cached) gcc3

checking how to run the C preprocessor... gcc -E

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for ANSI C header files... yes

checking build system type... i686-pc-linux-gnu

checking host system type... arm-unknown-linux-gnu

checking how to print strings... printf

checking for a sed that does not truncate output... /bin/sed

checking for fgrep... /bin/grep -F

checking for ld used by gcc... ld

checking if the linker (ld) is GNU ld... yes

checking for BSD- or MS-compatible name lister (nm)... /opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-linux-nm -B

checking the name lister (/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-linux-nm -B) interface... BSD nm

checking whether ln -s works... yes

checking the maximum length of command line arguments... 1572864

checking whether the shell understands some XSI constructs... yes

checking whether the shell understands "+="... yes

checking how to convert i686-pc-linux-gnu file names to arm-unknown-linux-gnu format... func_convert_file_noop

checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop

checking for ld option to reload object files... -r

checking for arm-linux-objdump... arm-linux-objdump

checking how to recognize dependent libraries... pass_all

checking for arm-linux-dlltool... no

checking for dlltool... no

checking how to associate runtime and link libraries... printf %s\n

checking for arm-linux-ar... ar

checking for archiver @FILE support... @

checking for arm-linux-strip... (cached) arm-linux-strip

checking for arm-linux-ranlib... arm-linux-ranlib

checking command to parse /opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-linux-nm -B output from gcc object... ok

checking for sysroot... no

checking for arm-linux-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 sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking for dlfcn.h... yes

checking for objdir... .libs

checking if gcc supports -fno-rtti -fno-exceptions... no

checking for gcc option to produce PIC... -fPIC -DPIC

checking if gcc PIC flag -fPIC -DPIC works... yes

checking if gcc static flag -static works... yes

checking if gcc supports -c -o file.o... yes

checking if gcc supports -c -o file.o... (cached) yes

checking whether the gcc linker (ld) 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... yes

checking vpu_lib.h usability... no

checking vpu_lib.h presence... no

checking for vpu_lib.h... no

configure: error: lib_vpu is required, consider installing imx-lib

error: Bad exit status from /media/data/Freescale/L3.0.35_MX6DLS_ER_12.09.03_ER/Release_Source_Code/ltib/tmp/rpm-tmp.19070 (%build)

 

 

RPM build errors:

    Bad exit status from /media/data/Freescale/L3.0.35_MX6DLS_ER_12.09.03_ER/Release_Source_Code/ltib/tmp/rpm-tmp.19070 (%build)

Build time for libfslvpuwrap: 15 seconds

 

Failed building libfslvpuwrap

 

 

f_buildrpms() returned an error, exiting

traceback:

main:572

 

 

Started: Mon Oct 29 12:37:50 2012

Ended:   Mon Oct 29 12:41:13 2012

Elapsed: 203 seconds

 

These packages failed to build:

libfslvpuwrap

 

Build Failed

 

Exiting on error or interrupt

 



thanks in advance.

Outcomes