Ltip Installation - Build failure Alsa - Utils

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ltip Installation - Build failure Alsa - Utils

Jump to solution
3,443 Views
conti_rob
Contributor II

Hello,

please can me help anybody? I have this failure when i try to build:

Processing platform: Freescale iMX6x Based Boards
===================================================
using config/platform/imx/.config

Processing: fake-provides
===========================

Processing: u-boot-v2009.08
=============================

Processing: kernel-3.0.35
===========================

Processing: skell
===================

Processing: base_libs
=======================

Processing: busybox
=====================
Build path taken because: directory build,
checking if sources have been updated: no

Processing: binutils
======================

Processing: libtermcap
========================

Processing: bash
==================

Processing: seq
=================

Processing: zlib
==================

Processing: ncurses
=====================

Processing: dosfstools
========================

Processing: e2fsprogs
=======================

Processing: procinfo
======================

Processing: psmisc
====================

Processing: hdparm
====================

Processing: popt
==================

Processing: libusb
====================

Processing: usbutils
======================

Processing: irattach
======================

Processing: oprofile
======================

Processing: i2c-tools
=======================

Processing: hotplug
=====================

Processing: gdb-6.6
=====================

Processing: strace
====================

Processing: lzo
=================

Processing: mtd-utils
=======================

Processing: alsa-lib
======================

Processing: udev
==================

Processing: alsa-utils
========================
Build path taken because: directory build, no prebuilt rpm,
scbuild/scdeploy already unpacked package

Processing: alsa-utils
========================
Build path taken because: directory build, build key set, no prebuilt rpm,

rpmbuild --dbpath /home/udcu/ltib/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/udcu/ltib/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/udcu/ltib/ltib/tmp' --define '_rpmdir /home/udcu/ltib/ltib/rpm/RPMS'  --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit  /home/udcu/ltib/ltib/dist/lfs-5.1/alsa-utils/alsa-utils.spec
Building target platforms: arm
Building for target arm
Executing(%build): /bin/sh -e /home/udcu/ltib/ltib/tmp/rpm-tmp.93110
+ umask 022
+ cd /home/udcu/ltib/ltib/rpm/BUILD
+ cd alsa-utils-1.0.24.2
+ [ -n  ]
+ [ arm = m68knommu ]
+ eval ./configure --prefix=/usr --host=arm-linux --build=i686-pc-linux-gnu -C --disable-xmlto --with-curses=ncurses
+ ./configure --prefix=/usr --host=arm-linux --build=i686-pc-linux-gnu -C --disable-xmlto --with-curses=ncurses
configure: loading cache config.cache
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
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 build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for cross-compiler... gcc
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 whether ln -s works... yes
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS...  -lasound -lm -ldl -lpthread
checking for libasound headers version >= 1.0.16... found.
checking for snd_ctl_open in -lasound... yes
checking for alsa/pcm.h... yes
checking for alsa/mixer.h... yes
checking for alsa/rawmidi.h... yes
checking for alsa/seq.h... yes
checking for samplerate.h... no
checking for librt... checking for clock_gettime in -lrt... yes
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 for ncurses5-config... yes
checking for curses library... ncurses
checking for curses header name... <ncurses.h>
checking for curses compiler flags...
checking for curses NLS support... 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 panel.h usability... yes
checking panel.h presence... yes
checking for panel.h... yes
checking menu.h usability... yes
checking menu.h presence... yes
checking for menu.h... yes
checking form.h usability... yes
checking form.h presence... yes
checking for form.h... yes
checking for new_panel in -lpanel... no
configure: error: panel library not found
error: Bad exit status from /home/udcu/ltib/ltib/tmp/rpm-tmp.93110 (%build)


RPM build errors:
    Bad exit status from /home/udcu/ltib/ltib/tmp/rpm-tmp.93110 (%build)
Build time for alsa-utils: 9 seconds

Failed building alsa-utils


f_buildrpms() returned an error, exiting
traceback:

Labels (3)
1 Solution
1,416 Views
conti_rob
Contributor II

problem solved; gnome-panel package was not installed

View solution in original post

4 Replies
1,416 Views
bryanthomas
NXP Employee
NXP Employee

From https://community.freescale.com/message/314749#314749

The workaround is

1. Make sure if libncurses.so exist in ltib/rootfs/usr/lib/, if not, build it with command “$ ./ltib -p ncurse”.

2. Create soft link libtinfo.so to libncurse.so

     $ cd rootfs/usr/lib

     $ sudo ln -s libncurses.so libtinfo.so

Then you can build alsa-utils by “$ ./ltib -p alsa-utils”

1,416 Views
sathishkumarbal
Contributor II

Thanks a lot. For me, this solution only worked !

0 Kudos
1,417 Views
conti_rob
Contributor II

problem solved; gnome-panel package was not installed

1,416 Views
LeonardoSandova
Specialist I

I also had that problem way in the past! thanks for solution!

0 Kudos