gconfig does not build cleanly
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[make O=~/kernel-build-tree/test mrproper clean gconfig ]
[excerpt of make command with alternate tree ]./scripts/kconfig/gconf arch/i386/Kconfig
(gconf:14841): libglade-WARNING **: could not find glade file '/home/dosoverride/kernel-build-tree/test//scripts/kconfig/gconf.glade'
^ (seems to be the problem)
** ERROR **: GUI loading failed !
aborting...
make[2]: *** [gconfig] Aborted
make[1]: *** [gconfig] Error 2
make: *** [gconfig] Error 2
- ----------
The make command above does work without the
O=
argument
I apologize for delay if more info is needed, I get the KML in a digest (one daily message)
It would be easier to carbon copy me in replies, as I get it at circa 0700 GMT -0500
John
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/yYnLifWyBgvkFZ0RAskoAKCLs4Eg+P1+S3sIPySWZa0IQXRGNACg0Jzf 13HjNY4kFzKbEeZiGL6b77Y=
=E1r1
-----END PGP SIGNATURE-----
Quoted 9 lines · Dosoverride
[make O=~/kernel-build-tree/test mrproper clean gconfig ]
[excerpt of make command with alternate tree ]
./scripts/kconfig/gconfarch/i386/Kconfig(gconf:14841): libglade-WARNING **: could not find glade file '
/home/dosoverride/kernel-build-tree/test//scripts/kconfig/gconf.glade'
^ (seems to be the problem)
** ERROR **: GUI loading failed !
Hi John.
The problem is know and a fix exist.
Usually reported as xconfig build fails with make O=
The fix did not pass Linus' current patchfilter - it is not critical - so it will be applied later. Until now here it is.
[Nw mailer, so apologize if it is whitespace damaged]
Sam
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas:
# ChangeSet 1.1296.61.1 -> 1.1296.61.2
# scripts/Makefile.lib 1.22 -> 1.23
# Makefile 1.435 -> 1.436
#
# The following is the BitKeeper ChangeSet Log
# 03/10/12 [email protected] 1.1296.61.2
# kbuild: Fix make O=../build xconfig
#
# Compilation of qconf required -I path to qt. kbuild invalidated the
# path to qt by prefixing it with $(srctree). No longer prefix absolute paths. # Also do not duplicate CPPFLAGS. Previously it was appended twice to CFLAGS # -------------------------------------------- # diff -Nru a/Makefile b/Makefile --- a/Makefile Sat Oct 18 09:48:02 2003 +++ b/Makefile Sat Oct 18 09:48:02 2003 @@ -404,10 +404,6 @@
include $(srctree)/arch/$(ARCH)/Makefile
-# Let architecture Makefiles change CPPFLAGS if needed -CFLAGS := $(CPPFLAGS) $(CFLAGS)
-AFLAGS := $(CPPFLAGS) $(AFLAGS)
-
core-y += kernel/ mm/ fs/ ipc/ security/ crypto/
SUBDIRS += $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \
scripts/Makefile.lib +3 -2
@@ -154,7 +154,8 @@ __hostcxx_flags = $(_hostcxx_flags) else flags = $(foreach o,$($(1)),\ - $(if $(filter -I%,$(o)),$(patsubst -I%,-I$(srctree)/%,$(o)),$(o))) + $(if $(filter -I%,$(filter-out -I/%,$(o))), \ + $(patsubst -I%,-I$(srctree)/%,$(o)),$(o))) # -I$(obj) locate generated .h files # -I$(srctree)/$(src) locate .h files in srctree, from generated .c files
@@ -162,7 +163,7 @@ __c_flags = -I$(obj) -I$(srctree)/$(src) $(call flags,_c_flags) __a_flags = $(call flags,_a_flags) __hostc_flags = -I$(obj) $(call flags,_hostc_flags) -__hostcxx_flags = $(call flags,_hostcxx_flags) +__hostcxx_flags = -I$(obj) $(call flags,_hostcxx_flags) endif c_flags = -Wp,-MD,$(depfile) $(NOSTDINC_FLAGS) $(CPPFLAGS) \
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 17 lines · Sam Ravnborg
Quoted 9 lines · Dosoverride
[make O=~/kernel-build-tree/test mrproper clean gconfig ]
[excerpt of make command with alternate tree ]
./scripts/kconfig/gconfarch/i386/Kconfig(gconf:14841): libglade-WARNING **: could not find glade file '
/home/dosoverride/kernel-build-tree/test//scripts/kconfig/gconf.glade'
^ (seems to be the problem)
** ERROR **: GUI loading failed !Hi John.
The problem is know and a fix exist.
Usually reported as xconfig build fails with make O=
The fix did not pass Linus' current patchfilter - it is not critical - so it will be applied later. Until now here it is.
Quoted 3 lines
[Nw mailer, so apologize if it is whitespace damaged]
Sam
patch didn't stop erring.
I redirected all output to a file (attached) (plus added some hash comments)
However, xconfig did work correctly.
John
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/ysB2ifWyBgvkFZ0RAhlSAJ0enWe26S6ImQ2nEJgcvuIolUm/KACfaQEY xp0tBp3x0nR5vTZK6nWTKMw=
=Lk/8
-----END PGP SIGNATURE-----
#make file for gconfig test using O=
#made Dec 1, 0407 UTC
#applied patch rev-1.1296.61.2.patch
#make O=~/kernel-build-tree/test mrproper clean gconfig
RM $(CLEAN_FILES)
Making mrproper in the srctree
RM $(MRPROPER_DIRS) + $(MRPROPER_FILES)
RM $(CLEAN_FILES)
HOSTCC scripts/fixdep
SHIPPED scripts/kconfig/zconf.tab.h
HOSTCC scripts/kconfig/conf.o
sed < /usr/src/linux-2.6.0-test11/scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
HOSTCC scripts/kconfig/gconf.o
In file included from /usr/include/gtk-2.0/gtk/gtk.h:90,
from /usr/src/linux-2.6.0-test11/scripts/kconfig/gconf.c:17:
/usr/include/gtk-2.0/gtk/gtkitemfactory.h:51: warning: function declaration isn't a prototype /usr/src/linux-2.6.0-test11/scripts/kconfig/gconf.c: In function `on_treeview1_button_press_event':/usr/src/linux-2.6.0-test11/scripts/kconfig/gconf.c:1175: warning: passing arg 1 of gtk_widget_grab_focus' from incompatible pointer type /usr/src/linux-2.6.0-test11/scripts/kconfig/gconf.c: In function update_tree':/usr/src/linux-2.6.0-test11/scripts/kconfig/gconf.c:1404: warning: unused variable path' /usr/src/linux-2.6.0-test11/scripts/kconfig/gconf.c: In function display_tree':/usr/src/linux-2.6.0-test11/scripts/kconfig/gconf.c:1530: warning: suggest parentheses around && within || /usr/include/stdlib.h: At top level:/usr/src/linux-2.6.0-test11/scripts/kconfig/images.c:6: warning: xpm_load' defined but not used /usr/src/linux-2.6.0-test11/scripts/kconfig/images.c:36: warning: xpm_save' defined but not used /usr/src/linux-2.6.0-test11/scripts/kconfig/images.c:66: warning: xpm_back' defined but not used /usr/src/linux-2.6.0-test11/scripts/kconfig/images.c:175: warning: xpm_symbol_no' defined but not used /usr/src/linux-2.6.0-test11/scripts/kconfig/images.c:192: warning: xpm_symbol_mod' defined but not used /usr/src/linux-2.6.0-test11/scripts/kconfig/images.c:209: warning: xpm_symbol_yes' defined but not used /usr/src/linux-2.6.0-test11/scripts/kconfig/images.c:226: warning: xpm_choice_no' defined but not used /usr/src/linux-2.6.0-test11/scripts/kconfig/images.c:243: warning: xpm_choice_yes' defined but not used /usr/src/linux-2.6.0-test11/scripts/kconfig/images.c:277: warning: xpm_menu_inv' defined but not used /usr/src/linux-2.6.0-test11/scripts/kconfig/images.c:294: warning: xpm_menuback' defined but not used /usr/src/linux-2.6.0-test11/scripts/kconfig/gconf.c:981: warning: `renderer_toggled' defined but not used
HOSTCC scripts/kconfig/kconfig_load.o
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
HOSTCC -fPIC scripts/kconfig/zconf.tab.o
HOSTLLD -shared scripts/kconfig/libkconfig.so
HOSTLD scripts/kconfig/gconf./scripts/kconfig/gconf arch/i386/Kconfig
(gconf:23254): libglade-WARNING **: could not find glade file '/home/dosoverride/kernel-build-tree/test//scripts/kconfig/gconf.glade'
** ERROR **: GUI loading failed !
aborting...
make[2]: *** [gconfig] Aborted make[1]: *** [gconfig] Error 2
make: *** [gconfig] Error 2