[#6019] Build default kernel fail at libpng-1.2.42 for zlib
Submitted By: Vivi Li
Open Date
2010-05-05 02:27:48 Close Date
2010-05-05 05:39:25
Priority:
Medium High Assignee:
Vivi Li
Status:
Closed Fixed In Release:
N/A
Found In Release:
2010R1 Release:
Category:
Make Errors Board:
N/A
Processor:
ALL Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
gcc4.3-svn3815
App binary format:
N/A
Summary: Build default kernel fail at libpng-1.2.42 for zlib
Details:
Build libpng-1.2.42 fail for zlib in latest trunk. Building log for libpng is attached.
First failed version:
--
kernel: Linux release 2.6.33.3-ADI-2010R1-pre-svn8681, build #4 Fri Apr 30 05:30:51 CST 2010
toolchain: bfin-uclinux-gcc release gcc version 4.3.4 (ADI-trunk/svn-3815)
user-dist: release svn-9599, build #27 Fri Apr 30 05:29:41 CST 2010
--
Last passed version:
--
kernel: Linux release 2.6.33.3-ADI-2010R1-pre-svn8668, build #44 Tue Apr 27 23:42:33 CST 2010
toolchain: bfin-uclinux-gcc release gcc version 4.3.4 (ADI-trunk/svn-3815)
user-dist: release svn-9593, build #880 Tue Apr 27 23:39:56 CST 2010
--
Bellow is the error log:
--
test@uclinux59-kernel-perf:~/work/cruise/checkouts/uclinux-dist> make lib/libpng_only
make[1]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/lib'
touch libpng/.sgbuilt_lib && make -C libpng -j1
make[2]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/libpng'
set -e ; conf="$PWD/libpng-1.2.42/configure" ; chmod a+rx "$conf" ; find libpng-1.2.42 -type f -print0 | xargs -0 touch -r "$conf" ; rm -rf build-libpng-1.2.42 ; mkdir -p build-libpng-1.2.42 ; cd build-libpng-1.2.42 ; "$conf" --host=bfin-uclinux --build=i686-pc-linux-gnu --prefix=/usr --sysconfdir=/etc --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localstatedir=/var/lib --disable-dependency-tracking --enable-fast-install
configure: loading site script /home/test/work/cruise/checkouts/uclinux-dist/vendors/config/config.site
config.site: loading extra site script frag /home/test/work/cruise/checkouts/uclinux-dist/vendors/config/config.site.build
config.site: loading site script frag /home/test/work/cruise/checkouts/uclinux-dist/vendors/config/bfin/config.site
config.site: loading site script frag /home/test/work/cruise/checkouts/uclinux-dist/vendors/config/bfin-unknown-uclinux
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for bfin-uclinux-strip... (cached) bfin-uclinux-strip
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) gawk
checking whether make sets $(MAKE)... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bfin-uclinux-gcc... (cached) bfin-uclinux-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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether bfin-uclinux-gcc accepts -g... (cached) yes
checking for bfin-uclinux-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of bfin-uclinux-gcc... (cached) none
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) bfin-unknown-uclinux
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/grep -E
checking for fgrep... (cached) /usr/bin/grep -F
checking for ld used by bfin-uclinux-gcc... (cached) bfin-uclinux-ld
checking if the linker (bfin-uclinux-ld) is GNU ld... (cached) yes
checking how to run the C preprocessor... (cached) bfin-uclinux-gcc -E
checking for bfin-uclinux-sed... /usr/bin/sed
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for BSD- or MS-compatible name lister (nm)... (cached) bfin-uclinux-nm
checking the name lister (bfin-uclinux-nm) interface... (cached) BSD nm
checking the maximum length of command line arguments... 805306365
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for bfin-uclinux-ld option to reload object files... (cached) -r
checking for bfin-uclinux-objdump... (cached) bfin-uclinux-objdump
checking how to recognize dependent libraries... unknown
checking for bfin-uclinux-ar... (cached) bfin-uclinux-ar
checking for bfin-uclinux-strip... (cached) bfin-uclinux-strip
checking for bfin-uclinux-ranlib... (cached) bfin-uclinux-ranlib
checking command to parse bfin-uclinux-nm output from bfin-uclinux-gcc object... ok
checking for ANSI C header files... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) no
checking for objdir... (cached) .libs
checking if bfin-uclinux-gcc supports -fno-rtti -fno-exceptions... (cached) no
checking for bfin-uclinux-gcc option to produce PIC... -fPIC -DPIC
checking if bfin-uclinux-gcc PIC flag -fPIC -DPIC works... (cached) yes
checking if bfin-uclinux-gcc static flag -static works... (cached) yes
checking if bfin-uclinux-gcc supports -c -o file.o... (cached) yes
checking if bfin-uclinux-gcc supports -c -o file.o... (cached) yes
checking whether the bfin-uclinux-gcc linker (bfin-uclinux-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for ANSI C header files... (cached) yes
checking for malloc.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for size_t... (cached) yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working strtod... (cached) yes
checking for memset... (cached) yes
checking for pow... no
checking for pow in -lm... yes
checking for zlibVersion in -lz... no
configure: error: zlib not installed
make[2]: *** [build-libpng-1.2.42/Makefile] Error 1
make[2]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/libpng'
make[1]: *** [libpng_only] Error 2
make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib'
make: *** [lib/libpng_only] Error 2
--
Follow-ups
--- Mike Frysinger 2010-05-05 03:25:02
your log shows you forcing a build of libpng. this ignores dependencies like
zlib. so unless a `make lib_only` fails, what you're showing here is not a bug.
--- Vivi Li 2010-05-05 03:50:44
Yes, it still fails. And all kernel regressions ceased because libpng is
selected by default config and it can not build now.
--- Mike Frysinger 2010-05-05 04:01:28
so post the full build log as an attachment as well as a directory listing of
the staging/usr/lib/ directory. zlib nor libpng have changed in months.
--- Vivi Li 2010-05-05 05:15:07
Files are attached.
--
test@uclinux50-bf537-ad9960-ad1836:..checkouts/uclinux-dist> ls
staging/usr/lib
alsa-lib libfaad.a liblzo2.so.2 libosip2.so.4
libpopt.so.0.0.0
ao libfaad.la liblzo2.so.2.0.0
libosip2.so.4.2.0 libreadline.a
libao.la libFLAC.a libmad.a libosipparser2.a
libreadline.so
libao.so libFLAC++.a libmad.la
libosipparser2.so libreadline.so.6
libao.so.2 libFLAC.la libmediastreamer.a
libosipparser2.so.4 libreadline.so.6.1
libao.so.2.1.3 libFLAC++.la libmediastreamer.la
libosipparser2.so.4.2.0 libspeex.a
libasound.a libform.a libmenu.a libpanel.a
libspeexdsp.a
libasound.la libform_g.a libmenu_g.a libpanel_g.a
libspeexdsp.la
libasound.so libform.so libmenu.so libpanel.so
libspeexdsp.so
libasound.so.2 libform.so.5 libmenu.so.5 libpanel.so.5
libspeexdsp.so.1
libasound.so.2.0.0 libform.so.5.7 libmenu.so.5.7 libpanel.so.5.7
libspeexdsp.so.1.5.0
libaudiofile.a libhistory.a libmp4ff.a libpng12.a
libspeex.la
libaudiofile.la libhistory.so libmp4ff.la libpng12.la
libspeex.so
libbluetooth.a libhistory.so.6 libncurses.a libpng12.so
libspeex.so.1
libbluetooth.la libhistory.so.6.1 libncurses++.a libpng12.so.0
libspeex.so.1.5.0
libbluetooth.so libjpeg.a libncurses_g.a
libpng12.so.0.42.0 libvorbisidec.a
libbluetooth.so.2 libjpeg.la libncurses.so libpng.a
libvorbisidec.la
libbluetooth.so.2.9.6 libjpeg.so libncurses.so.5 libpng.la
libz.a
libcurses.a libjpeg.so.7 libncurses.so.5.7 libpng.so
libz.so
libcurses.so libjpeg.so.7.0.0 libopenobex.a libpng.so.3
libz.so.1
libeXosip2.a liblinphone.a libopenobex.la libpng.so.3.42.0
libz.so.1.2.3
libeXosip2.la liblinphone.la libortp.a libpopt.a
pkgconfig
libeXosip2.so liblzo2.a libortp.la libpopt.la
terminfo
libeXosip2.so.4 liblzo2.la libosip2.a libpopt.so
libeXosip2.so.4.2.0 liblzo2.so libosip2.so libpopt.so.0
--
--- Mike Frysinger 2010-05-05 05:23:02
something is broken on your test system and it looks like the testing script
isnt catching these failures. both things need to be fixed i guess.
rm -rf /home/test/work/cruise/checkouts/uclinux-dist/romfs/*
rm: cannot remove directory
`/home/test/work/cruise/checkouts/uclinux-dist/romfs/dev/pts': Permission
denied
rm: cannot remove
`/home/test/work/cruise/checkouts/uclinux-dist/romfs/dev/log': Permission
denied
make: *** [clean] Error 1
--- Vivi Li 2010-05-05 05:37:26
Thanks for point it out.
I've fixed it in regression machine.
Close this bug.
--- Mike Frysinger 2010-05-05 05:47:04
doesnt the .exp script need fixing so that it aborts when `make clean` fails ?
--- Vivi Li 2010-05-06 00:12:46
OK, test scripts are updated.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.log application/octet-stream 183490 Vivi Li
config.policy application/octet-stream 37405 Vivi Li
build_policy_kernel_log application/octet-stream 935843 Vivi Li