* [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package
@ 2007-07-02 11:56 bugs at busybox.net
0 siblings, 0 replies; 19+ messages in thread
From: bugs at busybox.net @ 2007-07-02 11:56 UTC (permalink / raw)
To: buildroot
The following issue has been SUBMITTED.
======================================================================
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-02-2007 04:56 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.
======================================================================
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
======================================================================
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package
@ 2007-07-02 11:58 bugs at busybox.net
0 siblings, 0 replies; 19+ messages in thread
From: bugs at busybox.net @ 2007-07-02 11:58 UTC (permalink / raw)
To: buildroot
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-02-2007 04:58 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)
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
======================================================================
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package
@ 2007-07-03 1:05 bugs at busybox.net
0 siblings, 0 replies; 19+ messages in thread
From: bugs at busybox.net @ 2007-07-03 1:05 UTC (permalink / raw)
To: buildroot
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-02-2007 18:05 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
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
======================================================================
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package
@ 2007-07-03 1:07 bugs at busybox.net
0 siblings, 0 replies; 19+ messages in thread
From: bugs at busybox.net @ 2007-07-03 1:07 UTC (permalink / raw)
To: buildroot
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-02-2007 18:07 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.
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
======================================================================
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package
@ 2007-07-03 19:11 bugs at busybox.net
0 siblings, 0 replies; 19+ messages in thread
From: bugs at busybox.net @ 2007-07-03 19:11 UTC (permalink / raw)
To: buildroot
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-03-2007 12:11 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.
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
======================================================================
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package
@ 2007-07-05 14:02 bugs at busybox.net
0 siblings, 0 replies; 19+ messages in thread
From: bugs at busybox.net @ 2007-07-05 14:02 UTC (permalink / raw)
To: buildroot
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 <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: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
======================================================================
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package
@ 2007-07-08 0:29 bugs at busybox.net
0 siblings, 0 replies; 19+ messages in thread
From: bugs at busybox.net @ 2007-07-08 0:29 UTC (permalink / raw)
To: buildroot
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-07-2007 17:29 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,
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
======================================================================
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package
@ 2007-07-09 16:18 bugs at busybox.net
0 siblings, 0 replies; 19+ messages in thread
From: bugs at busybox.net @ 2007-07-09 16:18 UTC (permalink / raw)
To: buildroot
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
======================================================================
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package
@ 2007-07-09 16:55 bugs at busybox.net
0 siblings, 0 replies; 19+ messages in thread
From: bugs at busybox.net @ 2007-07-09 16:55 UTC (permalink / raw)
To: buildroot
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:55 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:20
----------------------------------------------------------------------
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.
My fix to r19026 is
http://busybox.net/bugs/file_download.php?file_id=1075&type=bug,
buildroot-confdata-fixes-r19026.patch
----------------------------------------------------------------------
bernhardf - 07-09-07 09:55
----------------------------------------------------------------------
Can you do make -C package/config distclean
and mail me the output of a subsequent 'make menuconfig', please?
TIA,
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
07-09-07 09:19 chickenandporn File Added: buildroot-confdata-fixes-r19026.patch
07-09-07 09:20 chickenandporn Note Edited: 0002582
07-09-07 09:55 bernhardf Note Added: 0002583
======================================================================
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package
@ 2007-07-09 17:28 bugs at busybox.net
0 siblings, 0 replies; 19+ messages in thread
From: bugs at busybox.net @ 2007-07-09 17:28 UTC (permalink / raw)
To: buildroot
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 10:28 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 at 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:20
----------------------------------------------------------------------
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.
My fix to r19026 is
http://busybox.net/bugs/file_download.php?file_id=1075&type=bug,
buildroot-confdata-fixes-r19026.patch
----------------------------------------------------------------------
bernhardf - 07-09-07 09:55
----------------------------------------------------------------------
Can you do make -C package/config distclean
and mail me the output of a subsequent 'make menuconfig', please?
TIA,
----------------------------------------------------------------------
chickenandporn - 07-09-07 10:28
----------------------------------------------------------------------
Yeah, will do.
I'm currently carrying 6 patches, it'll take a bit of time.
I want to reiterate:
1) my first fix solved it for me; not sure you looked at that
2) my second fix solved it for me; not sure you looked@that
Note: second fix is a one-liner, and DOES RESOLVE. Not sure you looked at
that.
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
07-09-07 09:19 chickenandporn File Added: buildroot-confdata-fixes-r19026.patch
07-09-07 09:20 chickenandporn Note Edited: 0002582
07-09-07 09:55 bernhardf Note Added: 0002583
07-09-07 10:28 chickenandporn Note Added: 0002584
======================================================================
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package
@ 2007-07-09 17:29 bugs at busybox.net
0 siblings, 0 replies; 19+ messages in thread
From: bugs at busybox.net @ 2007-07-09 17:29 UTC (permalink / raw)
To: buildroot
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 10:29 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 at 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:20
----------------------------------------------------------------------
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.
My fix to r19026 is
http://busybox.net/bugs/file_download.php?file_id=1075&type=bug,
buildroot-confdata-fixes-r19026.patch
----------------------------------------------------------------------
bernhardf - 07-09-07 09:55
----------------------------------------------------------------------
Can you do make -C package/config distclean
and mail me the output of a subsequent 'make menuconfig', please?
TIA,
----------------------------------------------------------------------
chickenandporn - 07-09-07 10:28
----------------------------------------------------------------------
Yeah, will do.
I'm currently carrying 6 patches, it'll take a bit of time.
I want to reiterate:
1) my first fix solved it for me; not sure you looked at that
2) my second fix solved it for me; not sure you looked@that
Note: second fix is a one-liner, and DOES RESOLVE. Not sure you looked at
that.
----------------------------------------------------------------------
chickenandporn - 07-09-07 10:29
----------------------------------------------------------------------
See also package/config/Makefile.kconfig:
# Needed for systems without gettext
KBUILD_HAVE_NLS := $(shell \
if echo "\#include <libintl.h>" | $(HOSTCC) $(HOSTCFLAGS) -E - >
/dev/null 2>&1 ; \
then echo yes ; \
else echo no ; fi)
ifeq ($(KBUILD_HAVE_NLS),no)
HOSTCFLAGS += -DKBUILD_NO_NLS
endif
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
07-09-07 09:19 chickenandporn File Added: buildroot-confdata-fixes-r19026.patch
07-09-07 09:20 chickenandporn Note Edited: 0002582
07-09-07 09:55 bernhardf Note Added: 0002583
07-09-07 10:28 chickenandporn Note Added: 0002584
07-09-07 10:29 chickenandporn Note Added: 0002585
======================================================================
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package
@ 2007-07-09 18:19 bugs at busybox.net
0 siblings, 0 replies; 19+ messages in thread
From: bugs at busybox.net @ 2007-07-09 18:19 UTC (permalink / raw)
To: buildroot
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 11:19 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 at 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:20
----------------------------------------------------------------------
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.
My fix to r19026 is
http://busybox.net/bugs/file_download.php?file_id=1075&type=bug,
buildroot-confdata-fixes-r19026.patch
----------------------------------------------------------------------
bernhardf - 07-09-07 09:55
----------------------------------------------------------------------
Can you do make -C package/config distclean
and mail me the output of a subsequent 'make menuconfig', please?
TIA,
----------------------------------------------------------------------
chickenandporn - 07-09-07 10:28
----------------------------------------------------------------------
Yeah, will do.
I'm currently carrying 6 patches, it'll take a bit of time.
I want to reiterate:
1) my first fix solved it for me; not sure you looked at that
2) my second fix solved it for me; not sure you looked@that
Note: second fix is a one-liner, and DOES RESOLVE. Not sure you looked at
that.
----------------------------------------------------------------------
chickenandporn - 07-09-07 10:31
----------------------------------------------------------------------
See also package/config/Makefile.kconfig: (this is the part this breaks)
# Needed for systems without gettext
KBUILD_HAVE_NLS := $(shell \
if echo "\#include <libintl.h>" | $(HOSTCC) $(HOSTCFLAGS) -E - >
/dev/null 2>&1 ; \
then echo yes ; \
else echo no ; fi)
ifeq ($(KBUILD_HAVE_NLS),no)
HOSTCFLAGS += -DKBUILD_NO_NLS
endif
(heres my patch that fixes it, attached already as a file)
Index: package/config/Makefile.kconfig
===================================================================
--- package/config/Makefile.kconfig (revision 19054)
+++ package/config/Makefile.kconfig (working copy)
@@ -147,7 +147,7 @@
then echo yes ; \
else echo no ; fi)
ifeq ($(KBUILD_HAVE_NLS),no)
-HOSTCFLAGS += -DKBUILD_NO_NLS
+HOST_EXTRACFLAGS += -DKBUILD_NO_NLS
endif
# generated files seem to need this to find local include files
----------------------------------------------------------------------
chickenandporn - 07-09-07 11:19
----------------------------------------------------------------------
(over checkout of r19054)
patching file target/device/Soekris/net4521/linux.mk
patching file target/device/Via/epia-mii/linux.mk
patching file target/device/Sharp/LNode80/linux.mk
patching file package/openssl/openssl.mk
patching file Makefile
patching file package/config/foo.h
patching file toolchain/gcc/4.2.0/500-bsd-no-map_anonymous.patch
patching file toolchain/dependencies/dependencies.sh
patching file toolchain/dependencies/dependencies.mk
patching file package/make/make.mk
patching file toolchain/dependencies/check-host-make.sh
patching file toolchain/uClibc/uClibc-0.9.28-no-cp-d.patch
:~/src/buildroot Allan$ chmod +x
toolchain/dependencies/check-host-make.sh
:~/src/buildroot Allan$ make menuconfig
make CC="/usr/bin/gcc" HOSTCFLAGS="-g -O2" MAKECMDGOALS="menuconfig" \
-C package/config conf mconf
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -g -O2 -MM *.c > .depend
2>/dev/null || :
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -g -O2 -c conf.c -o
conf.o
In file included from conf.c:15:
lkc.h:12:22: error: libintl.h: No such file or directory
conf.c: In function 'check_stdin':
conf.c:60: warning: incompatible implicit declaration of built-in function
'gettext'
conf.c: In function 'check_conf':
conf.c:483: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c: In function 'main':
conf.c:515: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c:541: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c:559: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c:606: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c:617: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c:622: warning: incompatible implicit declaration of built-in
function 'gettext'
make[1]: *** [conf.o] Error 1
make: *** [package/config/mconf] Error 2
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
07-09-07 09:19 chickenandporn File Added: buildroot-confdata-fixes-r19026.patch
07-09-07 09:20 chickenandporn Note Edited: 0002582
07-09-07 09:55 bernhardf Note Added: 0002583
07-09-07 10:28 chickenandporn Note Added: 0002584
07-09-07 10:29 chickenandporn Note Added: 0002585
07-09-07 10:31 chickenandporn Note Edited: 0002585
07-09-07 11:19 chickenandporn Note Added: 0002586
======================================================================
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package
@ 2007-07-09 18:23 bugs at busybox.net
2007-07-09 18:27 ` Bernhard Fischer
0 siblings, 1 reply; 19+ messages in thread
From: bugs at busybox.net @ 2007-07-09 18:23 UTC (permalink / raw)
To: buildroot
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 11:23 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 at 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:20
----------------------------------------------------------------------
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.
My fix to r19026 is
http://busybox.net/bugs/file_download.php?file_id=1075&type=bug,
buildroot-confdata-fixes-r19026.patch
----------------------------------------------------------------------
bernhardf - 07-09-07 09:55
----------------------------------------------------------------------
Can you do make -C package/config distclean
and mail me the output of a subsequent 'make menuconfig', please?
TIA,
----------------------------------------------------------------------
chickenandporn - 07-09-07 10:28
----------------------------------------------------------------------
Yeah, will do.
I'm currently carrying 6 patches, it'll take a bit of time.
I want to reiterate:
1) my first fix solved it for me; not sure you looked at that
2) my second fix solved it for me; not sure you looked@that
Note: second fix is a one-liner, and DOES RESOLVE. Not sure you looked at
that.
----------------------------------------------------------------------
chickenandporn - 07-09-07 10:31
----------------------------------------------------------------------
See also package/config/Makefile.kconfig: (this is the part this breaks)
# Needed for systems without gettext
KBUILD_HAVE_NLS := $(shell \
if echo "\#include <libintl.h>" | $(HOSTCC) $(HOSTCFLAGS) -E - >
/dev/null 2>&1 ; \
then echo yes ; \
else echo no ; fi)
ifeq ($(KBUILD_HAVE_NLS),no)
HOSTCFLAGS += -DKBUILD_NO_NLS
endif
(heres my patch that fixes it, attached already as a file)
Index: package/config/Makefile.kconfig
===================================================================
--- package/config/Makefile.kconfig (revision 19054)
+++ package/config/Makefile.kconfig (working copy)
@@ -147,7 +147,7 @@
then echo yes ; \
else echo no ; fi)
ifeq ($(KBUILD_HAVE_NLS),no)
-HOSTCFLAGS += -DKBUILD_NO_NLS
+HOST_EXTRACFLAGS += -DKBUILD_NO_NLS
endif
# generated files seem to need this to find local include files
----------------------------------------------------------------------
chickenandporn - 07-09-07 11:19
----------------------------------------------------------------------
(over checkout of r19054)
patching file target/device/Soekris/net4521/linux.mk
patching file target/device/Via/epia-mii/linux.mk
patching file target/device/Sharp/LNode80/linux.mk
patching file package/openssl/openssl.mk
patching file Makefile
patching file package/config/foo.h
patching file toolchain/gcc/4.2.0/500-bsd-no-map_anonymous.patch
patching file toolchain/dependencies/dependencies.sh
patching file toolchain/dependencies/dependencies.mk
patching file package/make/make.mk
patching file toolchain/dependencies/check-host-make.sh
patching file toolchain/uClibc/uClibc-0.9.28-no-cp-d.patch
:~/src/buildroot Allan$ chmod +x
toolchain/dependencies/check-host-make.sh
:~/src/buildroot Allan$ make menuconfig
make CC="/usr/bin/gcc" HOSTCFLAGS="-g -O2" MAKECMDGOALS="menuconfig" \
-C package/config conf mconf
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -g -O2 -MM *.c > .depend
2>/dev/null || :
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -g -O2 -c conf.c -o
conf.o
In file included from conf.c:15:
lkc.h:12:22: error: libintl.h: No such file or directory
conf.c: In function 'check_stdin':
conf.c:60: warning: incompatible implicit declaration of built-in function
'gettext'
conf.c: In function 'check_conf':
conf.c:483: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c: In function 'main':
conf.c:515: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c:541: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c:559: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c:606: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c:617: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c:622: warning: incompatible implicit declaration of built-in
function 'gettext'
make[1]: *** [conf.o] Error 1
make: *** [package/config/mconf] Error 2
----------------------------------------------------------------------
bernhardf - 07-09-07 11:23
----------------------------------------------------------------------
Should be fixed in r19056.
Please let me know if this works for you now.
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
07-09-07 09:19 chickenandporn File Added: buildroot-confdata-fixes-r19026.patch
07-09-07 09:20 chickenandporn Note Edited: 0002582
07-09-07 09:55 bernhardf Note Added: 0002583
07-09-07 10:28 chickenandporn Note Added: 0002584
07-09-07 10:29 chickenandporn Note Added: 0002585
07-09-07 10:31 chickenandporn Note Edited: 0002585
07-09-07 11:19 chickenandporn Note Added: 0002586
07-09-07 11:23 bernhardf Note Added: 0002587
======================================================================
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package
2007-07-09 18:23 bugs at busybox.net
@ 2007-07-09 18:27 ` Bernhard Fischer
2007-07-09 18:50 ` Allan Clark
0 siblings, 1 reply; 19+ messages in thread
From: Bernhard Fischer @ 2007-07-09 18:27 UTC (permalink / raw)
To: buildroot
>----------------------------------------------------------------------
> chickenandporn - 07-09-07 11:19
>----------------------------------------------------------------------
>(over checkout of r19054)
>patching file target/device/Soekris/net4521/linux.mk
>patching file target/device/Via/epia-mii/linux.mk
>patching file target/device/Sharp/LNode80/linux.mk
Yes, these should be deleted.
>patching file package/openssl/openssl.mk
>patching file Makefile
>patching file package/config/foo.h
There's no need to touch foo.h
>patching file toolchain/gcc/4.2.0/500-bsd-no-map_anonymous.patch
>patching file toolchain/dependencies/dependencies.sh
>patching file toolchain/dependencies/dependencies.mk
>patching file package/make/make.mk
Is there a newer version of make out there?
>patching file toolchain/dependencies/check-host-make.sh
>patching file toolchain/uClibc/uClibc-0.9.28-no-cp-d.patch
You should send this to the uClibc list..
>
>:~/src/buildroot Allan$ chmod +x
>toolchain/dependencies/check-host-make.sh
I don't think that you really need this to be executable
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package
2007-07-09 18:27 ` Bernhard Fischer
@ 2007-07-09 18:50 ` Allan Clark
2007-07-09 19:16 ` Bernhard Fischer
0 siblings, 1 reply; 19+ messages in thread
From: Allan Clark @ 2007-07-09 18:50 UTC (permalink / raw)
To: buildroot
On 7/9/07, Bernhard Fischer <rep.dot.nop@gmail.com> wrote:
> >----------------------------------------------------------------------
> > chickenandporn - 07-09-07 11:19
> >----------------------------------------------------------------------
> >(over checkout of r19054)
> >patching file target/device/Soekris/net4521/linux.mk
> >patching file target/device/Via/epia-mii/linux.mk
> >patching file target/device/Sharp/LNode80/linux.mk
>
> Yes, these should be deleted.
They're not deleted in SVN, so I patch them per "cp -fa" -> "cp -fPpR"
> >patching file package/openssl/openssl.mk
> >patching file Makefile
> >patching file package/config/foo.h
>
> There's no need to touch foo.h
Actually, there is, and I discussed it in the list
> >patching file toolchain/gcc/4.2.0/500-bsd-no-map_anonymous.patch
> >patching file toolchain/dependencies/dependencies.sh
> >patching file toolchain/dependencies/dependencies.mk
> >patching file package/make/make.mk
>
> Is there a newer version of make out there?
I think it was updated in r19056; this change is used with following:
> >patching file toolchain/dependencies/check-host-make.sh
See also bug #1422
> >patching file toolchain/uClibc/uClibc-0.9.28-no-cp-d.patch
>
> You should send this to the uClibc list..
yup, it's involved too with the linux.mk changes above, and it's still
too dirty to share.
> >:~/src/buildroot Allan$ chmod +x
> >toolchain/dependencies/check-host-make.sh
>
> I don't think that you really need this to be executable
Fails if it isn't executable.
I assume if my bug#1422, resolved by file#1072 and 1073 is
incorporated, then I won't need to make this file executable, it'll
checkout executable just as check-host-sed.sh does.
Allan
--
allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package
2007-07-09 18:50 ` Allan Clark
@ 2007-07-09 19:16 ` Bernhard Fischer
2007-07-09 21:41 ` Allan Clark
0 siblings, 1 reply; 19+ messages in thread
From: Bernhard Fischer @ 2007-07-09 19:16 UTC (permalink / raw)
To: buildroot
On Mon, Jul 09, 2007 at 02:50:19PM -0400, Allan Clark wrote:
>On 7/9/07, Bernhard Fischer <rep.dot.nop@gmail.com> wrote:
>>There's no need to touch foo.h
>
>Actually, there is, and I discussed it in the list
You said something about it, have to revisit the details.
>
>>>patching file toolchain/gcc/4.2.0/500-bsd-no-map_anonymous.patch
>>>patching file toolchain/dependencies/dependencies.sh
>>>patching file toolchain/dependencies/dependencies.mk
>>>patching file package/make/make.mk
>>
>>Is there a newer version of make out there?
>
>I think it was updated in r19056; this change is used with following:
>
>>>patching file toolchain/dependencies/check-host-make.sh
>
>See also bug #1422
ah, i thought that was already in. My bad, it was automake for the host.
>>>:~/src/buildroot Allan$ chmod +x
>>>toolchain/dependencies/check-host-make.sh
>>
>>I don't think that you really need this to be executable
>
>Fails if it isn't executable.
It is called via
$(shell $(CONFIG_SHELL) $(check-lxdialog)
I fail to see how this would require it to be executable unless you
don't have a shell (which is unlikely since then you couldn't run it
either way ;)
>I assume if my bug#1422, resolved by file#1072 and 1073 is
>incorporated, then I won't need to make this file executable, it'll
>checkout executable just as check-host-sed.sh does.
That late-binding of MAKE1 would be really, really ugly. hm.
head -1
this is deprecated (didn't look if sed does the same; if so both need
fixing).
Re your change to dependencies.mk. Please explain why you do not use the
very same scheme for host-make as for sed-make?
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package
2007-07-09 19:16 ` Bernhard Fischer
@ 2007-07-09 21:41 ` Allan Clark
0 siblings, 0 replies; 19+ messages in thread
From: Allan Clark @ 2007-07-09 21:41 UTC (permalink / raw)
To: buildroot
On 7/9/07, Bernhard Fischer <rep.dot.nop@gmail.com> wrote:
> On Mon, Jul 09, 2007 at 02:50:19PM -0400, Allan Clark wrote:
> >On 7/9/07, Bernhard Fischer <rep.dot.nop@gmail.com> wrote:
>
> >>There's no need to touch foo.h
> >
> >Actually, there is, and I discussed it in the list
>
> You said something about it, have to revisit the details.
> >
> >>>patching file toolchain/gcc/4.2.0/500-bsd-no-map_anonymous.patch
> >>>patching file toolchain/dependencies/dependencies.sh
> >>>patching file toolchain/dependencies/dependencies.mk
> >>>patching file package/make/make.mk
> >>
> >>Is there a newer version of make out there?
> >
> >I think it was updated in r19056; this change is used with following:
> >
> >>>patching file toolchain/dependencies/check-host-make.sh
> >
> >See also bug #1422
>
> ah, i thought that was already in. My bad, it was automake for the host.
>
> >>>:~/src/buildroot Allan$ chmod +x
> >>>toolchain/dependencies/check-host-make.sh
> >>
> >>I don't think that you really need this to be executable
> >
> >Fails if it isn't executable.
>
> It is called via
> $(shell $(CONFIG_SHELL) $(check-lxdialog)
> I fail to see how this would require it to be executable unless you
> don't have a shell (which is unlikely since then you couldn't run it
> either way ;)
Fails. chmod +x, it succeeds.
check-host-sed.sh is already chmod +x, so I'm not the only guy who needs that.
> >I assume if my bug#1422, resolved by file#1072 and 1073 is
> >incorporated, then I won't need to make this file executable, it'll
> >checkout executable just as check-host-sed.sh does.
>
> That late-binding of MAKE1 would be really, really ugly. hm.
Yeah, works for me though. In this case, the := binding to = binding
is only done in us "broken" cases, so the additional load doesn't
affect the usual people, and it works. I tested on both Linux and Mac
(PPC and intel) and the change is functional for both. The Linux
remains bound as it currently is but the Mac gets the late-bound,
allowing me to replace it.
> head -1
> this is deprecated (didn't look if sed does the same; if so both need
> fixing).
>
> Re your change to dependencies.mk. Please explain why you do not use the
> very same scheme for host-make as for sed-make?
I started with the same scheme; problem is, by the time the check is
done for sed, the make is already set. I had to do it in the included
Makefile fragment to build and switch over to a replacement $(MAKE)
before the dependencies.sh is run.
I would reverse the question: can you do it with the same scheme,
exactly, without the late-binding I was forced to do? I would see it
as a great alternative. As my comments in the patch, I tried ot keep
them similar to reduce complexity for maintenance, but that's as close
as I could keep them and still work "invisibly".
I wanted to pass a value forward so that the report that dependencies
puts out shows "no, using make-$(MAKE_VERSION) instead" similar to how
the sed is reported, but that's a cosmetic change, the core
functionality is as patched.
Allan
>
--
allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish
please, no proprietary attachments (http://tinyurl.com/cbgq)
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package
@ 2007-07-10 15:43 bugs at busybox.net
0 siblings, 0 replies; 19+ messages in thread
From: bugs at busybox.net @ 2007-07-10 15:43 UTC (permalink / raw)
To: buildroot
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-10-2007 08:43 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 at 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:20
----------------------------------------------------------------------
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.
My fix to r19026 is
http://busybox.net/bugs/file_download.php?file_id=1075&type=bug,
buildroot-confdata-fixes-r19026.patch
----------------------------------------------------------------------
bernhardf - 07-09-07 09:55
----------------------------------------------------------------------
Can you do make -C package/config distclean
and mail me the output of a subsequent 'make menuconfig', please?
TIA,
----------------------------------------------------------------------
chickenandporn - 07-09-07 10:28
----------------------------------------------------------------------
Yeah, will do.
I'm currently carrying 6 patches, it'll take a bit of time.
I want to reiterate:
1) my first fix solved it for me; not sure you looked at that
2) my second fix solved it for me; not sure you looked@that
Note: second fix is a one-liner, and DOES RESOLVE. Not sure you looked at
that.
----------------------------------------------------------------------
chickenandporn - 07-09-07 10:31
----------------------------------------------------------------------
See also package/config/Makefile.kconfig: (this is the part this breaks)
# Needed for systems without gettext
KBUILD_HAVE_NLS := $(shell \
if echo "\#include <libintl.h>" | $(HOSTCC) $(HOSTCFLAGS) -E - >
/dev/null 2>&1 ; \
then echo yes ; \
else echo no ; fi)
ifeq ($(KBUILD_HAVE_NLS),no)
HOSTCFLAGS += -DKBUILD_NO_NLS
endif
(heres my patch that fixes it, attached already as a file)
Index: package/config/Makefile.kconfig
===================================================================
--- package/config/Makefile.kconfig (revision 19054)
+++ package/config/Makefile.kconfig (working copy)
@@ -147,7 +147,7 @@
then echo yes ; \
else echo no ; fi)
ifeq ($(KBUILD_HAVE_NLS),no)
-HOSTCFLAGS += -DKBUILD_NO_NLS
+HOST_EXTRACFLAGS += -DKBUILD_NO_NLS
endif
# generated files seem to need this to find local include files
----------------------------------------------------------------------
chickenandporn - 07-09-07 11:19
----------------------------------------------------------------------
(over checkout of r19054)
patching file target/device/Soekris/net4521/linux.mk
patching file target/device/Via/epia-mii/linux.mk
patching file target/device/Sharp/LNode80/linux.mk
patching file package/openssl/openssl.mk
patching file Makefile
patching file package/config/foo.h
patching file toolchain/gcc/4.2.0/500-bsd-no-map_anonymous.patch
patching file toolchain/dependencies/dependencies.sh
patching file toolchain/dependencies/dependencies.mk
patching file package/make/make.mk
patching file toolchain/dependencies/check-host-make.sh
patching file toolchain/uClibc/uClibc-0.9.28-no-cp-d.patch
:~/src/buildroot Allan$ chmod +x
toolchain/dependencies/check-host-make.sh
:~/src/buildroot Allan$ make menuconfig
make CC="/usr/bin/gcc" HOSTCFLAGS="-g -O2" MAKECMDGOALS="menuconfig" \
-C package/config conf mconf
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -g -O2 -MM *.c > .depend
2>/dev/null || :
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -g -O2 -c conf.c -o
conf.o
In file included from conf.c:15:
lkc.h:12:22: error: libintl.h: No such file or directory
conf.c: In function 'check_stdin':
conf.c:60: warning: incompatible implicit declaration of built-in function
'gettext'
conf.c: In function 'check_conf':
conf.c:483: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c: In function 'main':
conf.c:515: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c:541: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c:559: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c:606: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c:617: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c:622: warning: incompatible implicit declaration of built-in
function 'gettext'
make[1]: *** [conf.o] Error 1
make: *** [package/config/mconf] Error 2
----------------------------------------------------------------------
bernhardf - 07-09-07 11:23
----------------------------------------------------------------------
Should be fixed in r19056.
Please let me know if this works for you now.
----------------------------------------------------------------------
chickenandporn - 07-10-07 08:43
----------------------------------------------------------------------
Seems to resolve the compile issue; my patch for that is no longer needed,
and the compile goes to a link-failure (my platform probably needs
-lcurses or something, but I don't use menuconfig, only "make config" and
"make oldconfig")
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
07-09-07 09:19 chickenandporn File Added: buildroot-confdata-fixes-r19026.patch
07-09-07 09:20 chickenandporn Note Edited: 0002582
07-09-07 09:55 bernhardf Note Added: 0002583
07-09-07 10:28 chickenandporn Note Added: 0002584
07-09-07 10:29 chickenandporn Note Added: 0002585
07-09-07 10:31 chickenandporn Note Edited: 0002585
07-09-07 11:19 chickenandporn Note Added: 0002586
07-09-07 11:23 bernhardf Note Added: 0002587
07-10-07 08:43 chickenandporn Note Added: 0002588
======================================================================
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package
@ 2007-07-23 13:29 bugs at busybox.net
0 siblings, 0 replies; 19+ messages in thread
From: bugs at busybox.net @ 2007-07-23 13:29 UTC (permalink / raw)
To: buildroot
The following issue has been CLOSED
======================================================================
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: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 07-02-2007 04:56 PDT
Last Modified: 07-23-2007 06:29 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 at 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:20
----------------------------------------------------------------------
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.
My fix to r19026 is
http://busybox.net/bugs/file_download.php?file_id=1075&type=bug,
buildroot-confdata-fixes-r19026.patch
----------------------------------------------------------------------
bernhardf - 07-09-07 09:55
----------------------------------------------------------------------
Can you do make -C package/config distclean
and mail me the output of a subsequent 'make menuconfig', please?
TIA,
----------------------------------------------------------------------
chickenandporn - 07-09-07 10:28
----------------------------------------------------------------------
Yeah, will do.
I'm currently carrying 6 patches, it'll take a bit of time.
I want to reiterate:
1) my first fix solved it for me; not sure you looked at that
2) my second fix solved it for me; not sure you looked@that
Note: second fix is a one-liner, and DOES RESOLVE. Not sure you looked at
that.
----------------------------------------------------------------------
chickenandporn - 07-09-07 10:31
----------------------------------------------------------------------
See also package/config/Makefile.kconfig: (this is the part this breaks)
# Needed for systems without gettext
KBUILD_HAVE_NLS := $(shell \
if echo "\#include <libintl.h>" | $(HOSTCC) $(HOSTCFLAGS) -E - >
/dev/null 2>&1 ; \
then echo yes ; \
else echo no ; fi)
ifeq ($(KBUILD_HAVE_NLS),no)
HOSTCFLAGS += -DKBUILD_NO_NLS
endif
(heres my patch that fixes it, attached already as a file)
Index: package/config/Makefile.kconfig
===================================================================
--- package/config/Makefile.kconfig (revision 19054)
+++ package/config/Makefile.kconfig (working copy)
@@ -147,7 +147,7 @@
then echo yes ; \
else echo no ; fi)
ifeq ($(KBUILD_HAVE_NLS),no)
-HOSTCFLAGS += -DKBUILD_NO_NLS
+HOST_EXTRACFLAGS += -DKBUILD_NO_NLS
endif
# generated files seem to need this to find local include files
----------------------------------------------------------------------
chickenandporn - 07-09-07 11:19
----------------------------------------------------------------------
(over checkout of r19054)
patching file target/device/Soekris/net4521/linux.mk
patching file target/device/Via/epia-mii/linux.mk
patching file target/device/Sharp/LNode80/linux.mk
patching file package/openssl/openssl.mk
patching file Makefile
patching file package/config/foo.h
patching file toolchain/gcc/4.2.0/500-bsd-no-map_anonymous.patch
patching file toolchain/dependencies/dependencies.sh
patching file toolchain/dependencies/dependencies.mk
patching file package/make/make.mk
patching file toolchain/dependencies/check-host-make.sh
patching file toolchain/uClibc/uClibc-0.9.28-no-cp-d.patch
:~/src/buildroot Allan$ chmod +x
toolchain/dependencies/check-host-make.sh
:~/src/buildroot Allan$ make menuconfig
make CC="/usr/bin/gcc" HOSTCFLAGS="-g -O2" MAKECMDGOALS="menuconfig" \
-C package/config conf mconf
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -g -O2 -MM *.c > .depend
2>/dev/null || :
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -g -O2 -c conf.c -o
conf.o
In file included from conf.c:15:
lkc.h:12:22: error: libintl.h: No such file or directory
conf.c: In function 'check_stdin':
conf.c:60: warning: incompatible implicit declaration of built-in function
'gettext'
conf.c: In function 'check_conf':
conf.c:483: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c: In function 'main':
conf.c:515: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c:541: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c:559: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c:606: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c:617: warning: incompatible implicit declaration of built-in
function 'gettext'
conf.c:622: warning: incompatible implicit declaration of built-in
function 'gettext'
make[1]: *** [conf.o] Error 1
make: *** [package/config/mconf] Error 2
----------------------------------------------------------------------
bernhardf - 07-09-07 11:23
----------------------------------------------------------------------
Should be fixed in r19056.
Please let me know if this works for you now.
----------------------------------------------------------------------
chickenandporn - 07-10-07 08:43
----------------------------------------------------------------------
Seems to resolve the compile issue; my patch for that is no longer needed,
and the compile goes to a link-failure (my platform probably needs
-lcurses or something, but I don't use menuconfig, only "make config" and
"make oldconfig")
----------------------------------------------------------------------
bernhardf - 07-23-07 06:29
----------------------------------------------------------------------
fixed in svn.
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
07-09-07 09:19 chickenandporn File Added: buildroot-confdata-fixes-r19026.patch
07-09-07 09:20 chickenandporn Note Edited: 0002582
07-09-07 09:55 bernhardf Note Added: 0002583
07-09-07 10:28 chickenandporn Note Added: 0002584
07-09-07 10:29 chickenandporn Note Added: 0002585
07-09-07 10:31 chickenandporn Note Edited: 0002585
07-09-07 11:19 chickenandporn Note Added: 0002586
07-09-07 11:23 bernhardf Note Added: 0002587
07-10-07 08:43 chickenandporn Note Added: 0002588
07-23-07 06:29 bernhardf Status assigned => closed
07-23-07 06:29 bernhardf Note Added: 0002636
======================================================================
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2007-07-23 13:29 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-09 17:28 [Buildroot] [buildroot 0001415]: SVN buildroot does not build configuration package bugs at busybox.net
-- strict thread matches above, loose matches on Subject: below --
2007-07-23 13:29 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 16:55 bugs at busybox.net
2007-07-09 16:18 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox