Bug 12563 - Build error for libsdl-image
: Build error for libsdl-image
Status: RESOLVED INVALID
Product: SB Touch
Classification: Unclassified
Component: Build System
: unspecified
: PC Other
: -- normal (vote)
: 8.0.0
Assigned To: andrew
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-27 08:44 UTC by andrew
Modified: 2019-01-25 10:23 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andrew 2009-06-27 08:44:50 UTC
NOTE: package libsdl-image-1.2.5+svnr4896-r2: task do_install: started
ERROR: function do_install failed
ERROR: log data follows (/home/lunn/Junk/fab4/squeezeos/poky/build/tmp-fab4/work/armv6-none-linux-gnueabi/libsdl-image-1.2.5+svnr4896-r2/temp/log.do_install.5737)
| NOTE: make DESTDIR=/home/lunn/Junk/fab4/squeezeos/poky/build/tmp-fab4/work/armv6-none-linux-gnueabi/libsdl-image-1.2.5+svnr4896-r2/image install
| make[1]: Entering directory `/home/lunn/Junk/fab4/squeezeos/poky/build/tmp-fab4/work/armv6-none-linux-gnueabi/libsdl-image-1.2.5+svnr4896-r2/SDL_image-1.2.5'
| test -z "/usr/lib" || /bin/mkdir -p "/home/lunn/Junk/fab4/squeezeos/poky/build/tmp-fab4/work/armv6-none-linux-gnueabi/libsdl-image-1.2.5+svnr4896-r2/image/usr/lib"
|  /bin/sh ./libtool   --mode=install /usr/bin/install -c  'libSDL_image.la' '/home/lunn/Junk/fab4/squeezeos/poky/build/tmp-fab4/work/armv6-none-linux-gnueabi/libsdl-image-1.2.5+svnr4896-r2/image/usr/lib/libSDL_image.la'
| libtool: install: warning: relinking `libSDL_image.la'
| (cd /home/lunn/Junk/fab4/squeezeos/poky/build/tmp-fab4/work/armv6-none-linux-gnueabi/libsdl-image-1.2.5+svnr4896-r2/SDL_image-1.2.5; /bin/sh ./libtool  --tag=CC --mode=relink arm-none-linux-gnueabi-gcc -march=armv6j -mtune=arm1136jf-s -mfloat-abi=softfp -mfpu=vfp -mthumb-interwork -mthumb --sysroot=/home/lunn/Junk/fab4/squeezeos/poky/build/tmp-fab4/staging/armv6-none-linux-gnueabi -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -I/home/lunn/Junk/fab4/squeezeos/poky/build/tmp-fab4/staging/armv6-none-linux-gnueabi/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -no-undefined -release 1.2 -version-info 1:4:1 -Wl,-O1 -o libSDL_image.la -rpath /usr/lib IMG.lo IMG_bmp.lo IMG_gif.lo IMG_jpg.lo IMG_lbm.lo IMG_pcx.lo IMG_png.lo IMG_pnm.lo IMG_tga.lo IMG_tif.lo IMG_xcf.lo IMG_xpm.lo IMG_xv.lo IMG_gd.lo -lpng -lz -ljpeg -L/home/lunn/Junk/fab4/squeezeos/poky/build/tmp-fab4/staging/armv6-none-linux-gnueabi/usr/lib -Wl,-rpath,/home/lunn/Junk/fab4/squeezeos/poky/build/tmp-fab4/staging/armv6-none-linux-gnueabi/usr/lib -lSDL -lpthread -inst-prefix-dir /home/lunn/Junk/fab4/squeezeos/poky/build/tmp-fab4/work/armv6-none-linux-gnueabi/libsdl-image-1.2.5+svnr4896-r2/image)
| arm-none-linux-gnueabi-gcc -march=armv6j -mtune=arm1136jf-s -mfloat-abi=softfp -mfpu=vfp -mthumb-interwork -mthumb --sysroot=/home/lunn/Junk/fab4/squeezeos/poky/build/tmp-fab4/staging/armv6-none-linux-gnueabi -shared  .libs/IMG.o .libs/IMG_bmp.o .libs/IMG_gif.o .libs/IMG_jpg.o .libs/IMG_lbm.o .libs/IMG_pcx.o .libs/IMG_png.o .libs/IMG_pnm.o .libs/IMG_tga.o .libs/IMG_tif.o .libs/IMG_xcf.o .libs/IMG_xpm.o .libs/IMG_xv.o .libs/IMG_gd.o  -L/home/lunn/Junk/fab4/squeezeos/poky/build/tmp-fab4/staging/armv6-none-linux-gnueabi/usr/lib/.libs -L/home/lunn/Junk/fab4/squeezeos/poky/build/tmp-fab4/work/armv6-none-linux-gnueabi/libsdl-image-1.2.5+svnr4896-r2/image/usr/lib -L/usr/lib -lpng -lz -ljpeg -lSDL -lpthread  -march=armv6j -mtune=arm1136jf-s -mfloat-abi=softfp -mfpu=vfp -mthumb-interwork -mthumb -Wl,-O1 -Wl,-rpath -Wl,/home/lunn/Junk/fab4/squeezeos/poky/build/tmp-fab4/staging/armv6-none-linux-gnueabi/usr/lib -Wl,-soname -Wl,libSDL_image-1.2.so.0 -o .libs/libSDL_image-1.2.so.0.1.4
| /home/lunn/Junk/fab4/squeezeos/poky/build/tmp-fab4/cross/armv6/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: warning: library search path "/usr/lib" is unsafe for cross-compilation
| /usr/lib/libpng.so: file not recognized: File format not recognized
| collect2: ld returned 1 exit status
| libtool: install: error: relink `libSDL_image.la' with the above command before installing it
Comment 1 Matt Wise 2009-06-28 08:55:52 UTC
Andrew, please do not open bug reports for simple build failures. The reason you receive the notification of a build failure is because you had made a one of the checkins that were possible reasons the failure occurred. If your checkin is not the culprit, you can safely ignore the emails.
Comment 2 Matt Wise 2009-06-28 09:08:24 UTC
Sorry, ignore my last post. I assumed you were posting errors you had received from our build servers because there was nothing in the bug to let me know you were building this code yourself. 

You need to remove libpng from your system I believe to solve this problem.... 

Assigning to Richard to confirm
Comment 3 Matt Wise 2009-09-01 08:13:08 UTC
Are you still seeing this error? The thing I see in here is that it was pulling /usr/lib into your library path, which it shouldn't. However, i know on our build machines we remove alot of packages including libpng to make sure that we don't have any conflicting packages.
Comment 4 Richard Titmuss 2009-09-29 04:22:24 UTC
Andrew, the toolchain has changed now. Do you still see this?