From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugs at busybox.net Date: Wed, 5 Nov 2008 03:01:07 -0800 Subject: [Buildroot] [buildroot 0005994]: gdk-pixbuf-csource is missing in the $HOST toolchain Message-ID: <3333eb64a8aceb41369265888ba16fb2@busybox.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net A NOTE has been added to this issue. ====================================================================== http://busybox.net/bugs/view.php?id=5994 ====================================================================== Reported By: robang74 Assigned To: buildroot ====================================================================== Project: buildroot Issue ID: 5994 Category: Shared Library Support Reproducibility: always Severity: major Priority: normal Status: assigned ====================================================================== Date Submitted: 11-05-2008 01:35 PST Last Modified: 11-05-2008 03:01 PST ====================================================================== Summary: 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. ====================================================================== ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- robang74 - 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. ---------------------------------------------------------------------- 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. ---------------------------------------------------------------------- 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. 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 ======================================================================