* [Buildroot] [Bug 469] New: build of libgtk2 for host incorrectly assumes that X.org development files are installed
@ 2009-07-17 15:56 bugzilla at busybox.net
2009-07-17 15:57 ` [Buildroot] [Bug 469] " bugzilla at busybox.net
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2009-07-17 15:56 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=469
Summary: build of libgtk2 for host incorrectly assumes that X.org
development files are installed
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: Other
AssignedTo: jacmet at uclibc.org
ReportedBy: thomas.petazzoni at free-electrons.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
When building libgtk2 for the host, I get a failure :
/usr/bin/gcc -I/home/thomas/local/buildroot-test/build_arm/host_dir/include
-I/home/thomas/local/buildroot-test/build_arm/host_dir/usr/include
-DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION
-I../.. -I../../gdk -I../../gdk -DGDK_PIXBUF_DISABLE_DEPRECATED
-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -pthread
-I/home/thomas/local/buildroot-test/build_arm/host_dir/usr/include/glib-2.0
-I/home/thomas/local/buildroot-test/build_arm/host_dir/usr/lib/glib-2.0/include
-I/home/thomas/local/buildroot-test/build_arm/host_dir/usr/include/pango-1.0
-I/home/thomas/local/buildroot-test/build_arm/host_dir/usr/include/cairo
-I/home/thomas/local/buildroot-test/build_arm/host_dir/usr/include/freetype2
-I/home/thomas/local/buildroot-test/build_arm/host_dir/usr/include
-I/home/thomas/local/buildroot-test/build_arm/host_dir/usr/include/pixman-1
-I/home/thomas/local/buildroot-test/build_arm/host_dir/include
-I/home/thomas/local/buildroot-test/build_arm/host_dir/usr/include -Wall -MT
gdkasync.lo -MD -MP -MF .deps/gdkasync.Tpo -c gdkasync.c -fPIC -DPIC -o
.libs/gdkasync.o
In file included from gdkprivate-x11.h:36,
from gdkx.h:81,
from gdkasync.c:52:
../../gdk/x11/gdkwindow-x11.h:33:36: error: X11/extensions/Xdamage.h: No such
file or directory
make[5]: *** [gdkasync.lo] Error 1
This is because libxdamage-dev is not installed on my system. The rest of the
compilation works because some other X.org development files are installed on
my system. But that's just pure coincidence.
With this build of libgtk2 for the host, the X.org development files basically
became a requirement for Buildroot to work properly, which is a shame.
Also, building gtk2 twice (once for the host, once for the target) takes a lot
of time. And the build for the host is done only for a few command line tools.
Isn't it possible to improve all this ?
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 469] build of libgtk2 for host incorrectly assumes that X.org development files are installed
2009-07-17 15:56 [Buildroot] [Bug 469] New: build of libgtk2 for host incorrectly assumes that X.org development files are installed bugzilla at busybox.net
@ 2009-07-17 15:57 ` bugzilla at busybox.net
2009-07-17 23:00 ` bugzilla at busybox.net
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2009-07-17 15:57 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=469
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|enhancement |critical
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 469] build of libgtk2 for host incorrectly assumes that X.org development files are installed
2009-07-17 15:56 [Buildroot] [Bug 469] New: build of libgtk2 for host incorrectly assumes that X.org development files are installed bugzilla at busybox.net
2009-07-17 15:57 ` [Buildroot] [Bug 469] " bugzilla at busybox.net
@ 2009-07-17 23:00 ` bugzilla at busybox.net
2009-07-17 23:55 ` bugzilla at busybox.net
2010-02-21 17:50 ` bugzilla at busybox.net
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2009-07-17 23:00 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=469
--- Comment #1 from Peter Korsgaard <jacmet@uclibc.org> 2009-07-17 23:00:50 UTC ---
(In reply to comment #0)
> This is because libxdamage-dev is not installed on my system. The rest of the
> compilation works because some other X.org development files are installed on
> my system. But that's just pure coincidence.
>
> With this build of libgtk2 for the host, the X.org development files basically
> became a requirement for Buildroot to work properly, which is a shame.
>
> Also, building gtk2 twice (once for the host, once for the target) takes a lot
> of time. And the build for the host is done only for a few command line tools.
>
> Isn't it possible to improve all this ?
Well, the question is how. The gtk buildsystem afaik needs
gtk-update-icon-cache / gdk-pixbuf-csource, so we either depend on the user
having the gtk development package installed on the host (in a compatible
version), compile it ourselves (either including the X dependencies or require
those packages on the host) or hack the gtk buildsystem to not use those
programs / only compile those programs and not all of GTK.
The third option sounds nice, but I won't have time to work on it in the near
future. It also won't help if we in the future will need to build something
else for the host, which needs gtk.
Further discussion should probably better move to the mailing list though.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 469] build of libgtk2 for host incorrectly assumes that X.org development files are installed
2009-07-17 15:56 [Buildroot] [Bug 469] New: build of libgtk2 for host incorrectly assumes that X.org development files are installed bugzilla at busybox.net
2009-07-17 15:57 ` [Buildroot] [Bug 469] " bugzilla at busybox.net
2009-07-17 23:00 ` bugzilla at busybox.net
@ 2009-07-17 23:55 ` bugzilla at busybox.net
2010-02-21 17:50 ` bugzilla at busybox.net
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2009-07-17 23:55 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=469
--- Comment #2 from Sven Neumann <s.neumann@raumfeld.com> 2009-07-17 23:55:15 UTC ---
Neither gtk-update-icon-cache nor gdk-pixbuf-csource have a dependency on GDK.
It should be possible to build them without building GDK, let alone GTK+. All
you need is gdk-pixbuf. I suggest that you add options to the GTK+ build system
to allow building just gdk-pixbuf and these two tools. This change does not
belong into buildroot though, it should be submitted against upstream GTK+.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 469] build of libgtk2 for host incorrectly assumes that X.org development files are installed
2009-07-17 15:56 [Buildroot] [Bug 469] New: build of libgtk2 for host incorrectly assumes that X.org development files are installed bugzilla at busybox.net
` (2 preceding siblings ...)
2009-07-17 23:55 ` bugzilla at busybox.net
@ 2010-02-21 17:50 ` bugzilla at busybox.net
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2010-02-21 17:50 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=469
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2010-02-21 17:50:55 UTC ---
I've submitted today a patch to fix this:
http://lists.busybox.net/pipermail/buildroot/2010-February/032129.html
However, the patch and solution is not clean enough to be submitted to the Gtk
project.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-02-21 17:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-17 15:56 [Buildroot] [Bug 469] New: build of libgtk2 for host incorrectly assumes that X.org development files are installed bugzilla at busybox.net
2009-07-17 15:57 ` [Buildroot] [Bug 469] " bugzilla at busybox.net
2009-07-17 23:00 ` bugzilla at busybox.net
2009-07-17 23:55 ` bugzilla at busybox.net
2010-02-21 17:50 ` bugzilla at busybox.net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox