From: bugs at busybox.net <bugs@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package
Date: Mon, 9 Jul 2007 09:18:01 -0700 [thread overview]
Message-ID: <a55b38a60f44aad63e3d45d1fe725cb4@busybox.net> (raw)
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-09-2007 09:17 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 <FILENAME>
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:03
----------------------------------------------------------------------
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. bjdooks, can you check the patch, and see if you can
alter it to cover what you did as well, in case I missed something from
your fix?
----------------------------------------------------------------------
bernhardf - 07-07-07 17:29
----------------------------------------------------------------------
r19026 is supposed to work, please report back. TIA,
----------------------------------------------------------------------
chickenandporn - 07-09-07 09:17
----------------------------------------------------------------------
per email, the changes to buildroot/Makefile override HOSTCFLAGS on the
sub-make for conf and mconf; this breaks -DKBUILD_NO_NLS setting derived
in $(CONFIG)/Makefile.kconfig
Moving that Makefile.kconfig change to HOST_EXTRACFLAGS is a one-line
workaround, tested OK on MacOSX, but not sure if it's the right path.
Will attach the change as a file
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
07-05-07 07:03 chickenandporn Note Edited: 0002556
07-05-07 07:41 chickenandporn Issue Monitored: chickenandporn
07-07-07 17:29 bernhardf Note Added: 0002563
07-09-07 09:17 chickenandporn Note Added: 0002582
======================================================================
next reply other threads:[~2007-07-09 16:18 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-09 16:18 bugs at busybox.net [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-07-23 13:29 [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package bugs at busybox.net
2007-07-10 15:43 bugs at busybox.net
2007-07-09 18:23 bugs at busybox.net
2007-07-09 18:27 ` Bernhard Fischer
2007-07-09 18:50 ` Allan Clark
2007-07-09 19:16 ` Bernhard Fischer
2007-07-09 21:41 ` Allan Clark
2007-07-09 18:19 bugs at busybox.net
2007-07-09 17:29 bugs at busybox.net
2007-07-09 17:28 bugs at busybox.net
2007-07-09 16:55 bugs at busybox.net
2007-07-08 0:29 bugs at busybox.net
2007-07-05 14:02 bugs at busybox.net
2007-07-03 19:11 bugs at busybox.net
2007-07-03 1:07 bugs at busybox.net
2007-07-03 1:05 bugs at busybox.net
2007-07-02 11:58 bugs at busybox.net
2007-07-02 11:56 bugs at busybox.net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a55b38a60f44aad63e3d45d1fe725cb4@busybox.net \
--to=bugs@busybox.net \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox