BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005994 [buildroot] Shared Library Support major always 11-05-08 01:35 11-05-08 03:38
Reporter robang74 View Status public  
Assigned To buildroot
Priority normal Resolution open  
Status assigned   Product Version 0.9.27
Summary 0005994: gdk-pixbuf-csource is missing in the $HOST toolchain
Description Making all in demos
make[3]: Entering directory `/home/roberto/gles/buildroot/build_i586/libgtk2-2.12.12/demos'
/usr/bin/gdk-pixbuf-csource --raw --build-list \
            apple_red ./apple-red.png \
                gnome_foot ./gnome-foot.png \
        > test-inline-pixbufs.h \
    || (rm -f test-inline-pixbufs.h && false)
/bin/bash: /usr/bin/gdk-pixbuf-csource: No such file or directory
make[3]: *** [test-inline-pixbufs.h] Error 1
make[3]: Leaving directory `/home/roberto/gles/buildroot/build_i586/libgtk2-2.12.12/demos'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/roberto/gles/buildroot/build_i586/libgtk2-2.12.12'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/roberto/gles/buildroot/build_i586/libgtk2-2.12.12'
make: *** [/home/roberto/gles/buildroot/build_i586/libgtk2-2.12.12/.stamp_built] Error 2


This problem could be avoided removing 'demos' from SUBDIRS into libgtk2-2.12.12/Makefile*, however this could not fix because:


>>> gqview 2.1.5 Building
/usr/bin/make -j1 -C /home/roberto/gles/buildroot/build_i586/gqview-2.1.5/
make[1]: Entering directory `/home/roberto/gles/buildroot/build_i586/gqview-2.1.5'
/usr/bin/make all-recursive
make[2]: Entering directory `/home/roberto/gles/buildroot/build_i586/gqview-2.1.5'
Making all in src
make[3]: Entering directory `/home/roberto/gles/buildroot/build_i586/gqview-2.1.5/src'
Making all in icons
make[4]: Entering directory `/home/roberto/gles/buildroot/build_i586/gqview-2.1.5/src/icons'
Making all in svg
make[5]: Entering directory `/home/roberto/gles/buildroot/build_i586/gqview-2.1.5/src/icons/svg'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/roberto/gles/buildroot/build_i586/gqview-2.1.5/src/icons/svg'
make[5]: Entering directory `/home/roberto/gles/buildroot/build_i586/gqview-2.1.5/src/icons'
gdk-pixbuf-csource --raw --extern --build-list folder_closed ./folder_closed.png folder_locked ./folder_locked.png folder_open ./folder_open.png folder_up ./folder_up.png gqview_icon ./gqview_icon.png gqview_logo ./gqview_logo.png icon_float ./icon_float.png icon_thumb ./icon_thumb.png icon_scroller ./scroller.png icon_broken ./sheet_broken.png icon_book ./icon_book.png icon_config ./icon_config.png icon_tools ./icon_tools.png icon_view ./icon_view.png > icons_inline.h
/bin/bash: gdk-pixbuf-csource: command not found
make[5]: *** [icons_inline.h] Error 127
make[5]: Leaving directory `/home/roberto/gles/buildroot/build_i586/gqview-2.1.5/src/icons'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/roberto/gles/buildroot/build_i586/gqview-2.1.5/src/icons'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/roberto/gles/buildroot/build_i586/gqview-2.1.5/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/roberto/gles/buildroot/build_i586/gqview-2.1.5'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/roberto/gles/buildroot/build_i586/gqview-2.1.5'
make: *** [/home/roberto/gles/buildroot/build_i586/gqview-2.1.5/.stamp_built] Error 2

The gdk-pixbuf-csource still be there for those packages they require it.
Additional Information I think the problem is pretty similar to one described in report n.5724.

Packages involved: libgtk2, gqview
Attached Files

- Relationships

- Notes
(0015154)
jacmet
11-05-08 01:46

Exactly, it's the same issue - That we rely on the user having the glib/gtk/whatever development packages installed instead of compiling them ourselves for the host
 
(0015164)
robang74
11-05-08 01:52
edited on: 11-05-08 02:10

In order to compile gdk-pixbuf-csource for the $HOST glib, atk, pango and cairo should compiled too... Do you think could be used another way for provide host version of gdk-pixbuf-csource?

cd toolchain_build_$(ARCH)
tar xvjf ../dl/gtk+-2.12.12.tar.bz2
mkdir gtk+-2.12.12-host
pushd gtk+-2.12.12-host
../gtk+-2.12.12/configure

checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.13.5 atk >= 1.9.0 pango >= 1.17.3 cairo >= 1.2.0) were not met:

No package 'atk' found
No package 'pango' found
No package 'cairo' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

 
(0015174)
robang74
11-05-08 02:13

Thanks jacmet I read your answer now.

What about version mismatch between host/target version of gdk/gtk dev enviroment?

In report n.5724 has been noted that version mismatch could be an issue.

I think we have to relay onto $HOST system as less as possibile (this helps reproducibility and software quality processes too) but I know this could be expensive in terms of compilation time (x2), disk space (x1.5) and complexity.
 
(0015194)
jacmet
11-05-08 03:01

I completely agree, and would like to fix this up, the only issue is lack of time :/

I'll be away until Thursday next week, but will try to find time for it during the following weekend.
 
(0015204)
robang74
11-05-08 03:38

Thanks very much for your work, jacmet. Take all the time you need, I use this tool in order to open a report but I am expecting that problems would be solved in best effort (i.e.: as soon as somebody found some spare time).
 

- Issue History
Date Modified Username Field Change
11-05-08 01:35 robang74 New Issue
11-05-08 01:35 robang74 Status new => assigned
11-05-08 01:35 robang74 Assigned To  => buildroot
11-05-08 01:35 robang74 Issue Monitored: robang74
11-05-08 01:46 jacmet Note Added: 0015154
11-05-08 01:52 robang74 Note Added: 0015164
11-05-08 01:53 robang74 Note Edited: 0015164
11-05-08 02:10 robang74 Note Edited: 0015164
11-05-08 02:13 robang74 Note Added: 0015174
11-05-08 03:01 jacmet Note Added: 0015194
11-05-08 03:38 robang74 Note Added: 0015204


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker