From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugs at busybox.net Date: Thu, 5 Jul 2007 07:02:01 -0700 Subject: [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package Message-ID: <5a712d3f9aa71a156fa7197c5762abfa@bugs.uclibc.org> 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=1415 ====================================================================== Reported By: bjdooks Assigned To: buildroot ====================================================================== Project: buildroot Issue ID: 1415 Category: Other Reproducibility: always Severity: block Priority: normal Status: assigned ====================================================================== Date Submitted: 07-02-2007 04:56 PDT Last Modified: 07-05-2007 07:02 PDT ====================================================================== Summary: SVN buildroot does not build configuration package Description: The new import of the package/config no longer builds even for the default by using 'make' The following fails building mconf.c. /usr/bin/gcc -g -O2 -c -o mconf.o mconf.c In file included from mconf.c:27: lxdialog/dialog.h:32:10: error: #include expects "FILENAME" or In file included from mconf.c:27: lxdialog/dialog.h:97: error: expected specifier-qualifier-list before 'chtype' This seems to require the $(HOST_EXTRACFLAGS) to build. I tried adding: %.o: %.c $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCFLAGS_$@) -c $< -o $@ but this just then fails to link the project. I do not have enough make expertise to try and fix this, as it is a complicated piece of make. ====================================================================== ---------------------------------------------------------------------- bjdooks - 07-02-07 04:58 ---------------------------------------------------------------------- URL: svn://uclibc.org/trunk/buildroot Repository Root: svn://uclibc.org Repository UUID: 69ca8d6d-28ef-0310-b511-8ec308f3f277 Revision: 18991 Node Kind: directory Schedule: normal Last Changed Author: aldot Last Changed Rev: 18991 Last Changed Date: 2007-07-02 10:54:18 +0100 (Mon, 02 Jul 2007) ---------------------------------------------------------------------- bjdooks - 07-02-07 18:05 ---------------------------------------------------------------------- Partially corrected by the fix to write .config.cmd, but menuconfig still returns an error even if it correctly writes a config. Updated package/config patch to follow ---------------------------------------------------------------------- bjdooks - 07-02-07 18:07 ---------------------------------------------------------------------- http://bugs.uclibc.org/file_download.php?file_id=1069&type=bug fixes menuconfig error return by ensuring we do not try things like writing the split configuration headers and moving the autogenerated configuration files .tmpconfig and .tmpconfig.h to a directory which isn't used. ---------------------------------------------------------------------- chickenandporn - 07-03-07 12:11 ---------------------------------------------------------------------- The attached patch is a list of instructions, not a patch... it's not usable without knowing perhaps a kernel version it comes from and such. looks like the change in 18991 helped. (looking at: svn diff -r 18991 package/config/confdata.c) I have a patch that will resolve; will try to attach tonight after I clean it a bit -- basically copies the mkdir stuff from confdata.c@614 to a separate function and re-uses before the rename() calls. ---------------------------------------------------------------------- chickenandporn - 07-05-07 07:02 ---------------------------------------------------------------------- http://bugs.uclibc.org/file_download.php?file_id=1071&type=bug tested on clean r19002 checkout from SVN. Tested on Linux (CentOS-4.4) and (intel) MacOSX-10.4.10 Issue History Date Modified Username Field Change ====================================================================== 07-02-07 04:56 bjdooks New Issue 07-02-07 04:56 bjdooks Status new => assigned 07-02-07 04:56 bjdooks Assigned To => buildroot 07-02-07 04:58 bjdooks Note Added: 0002542 07-02-07 18:05 bjdooks Note Added: 0002545 07-02-07 18:05 bjdooks File Added: buildroot-fix-menuconfig.patch 07-02-07 18:07 bjdooks Note Added: 0002546 07-03-07 12:11 chickenandporn Note Added: 0002553 07-05-07 06:57 chickenandporn File Added: buildroot-confdata-mkdirhier.patch 07-05-07 07:02 chickenandporn Note Added: 0002556 ======================================================================