Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] New package util-linux-ng
@ 2008-08-10  5:06 Steffen Schulz
  2008-08-11 17:01 ` Steffen Schulz
  2008-08-24  8:54 ` Peter Korsgaard
  0 siblings, 2 replies; 7+ messages in thread
From: Steffen Schulz @ 2008-08-10  5:06 UTC (permalink / raw)
  To: buildroot

Hi,


I was trying to fix bug2254 by adding util-linux-ng to buildroot.
And just before adding it to the bugtracker today I read that
Makefile.autotoools.in should be used.

Long story short, the attached patch has some issues:


- util-linux still wants to compile even though it was not selected and
  removed from Config.in
- with util-linux-ng.mk, the are no errors, the package is simply ignored
- with util-linux-ng.mk.old, the packet works. But the staging_dir
  misses a file <linux/a.out.h> which is included in <a.out.h>. I think
  this is a bug in some other packet?


Any comments on my fixes in #4274, #4284 and #4294?


/steffen
-- 
  ,''`,
 : :' :                                                +49/1781384223
 `. `'                                        gpg --recv-key A04D7875
   `-  www.debian.org                     mailto: pepe at cbg.dyndns.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: util-linux-ng.patch
Type: text/x-diff
Size: 19895 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20080810/c9d8eb94/attachment.patch 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] New package util-linux-ng
  2008-08-10  5:06 [Buildroot] New package util-linux-ng Steffen Schulz
@ 2008-08-11 17:01 ` Steffen Schulz
  2008-08-12  7:44   ` Bernhard Fischer
  2008-08-24  8:54 ` Peter Korsgaard
  1 sibling, 1 reply; 7+ messages in thread
From: Steffen Schulz @ 2008-08-11 17:01 UTC (permalink / raw)
  To: buildroot

On 080810 at 07:27, Steffen Schulz wrote:
> - util-linux still wants to compile even though it was not selected and
>   removed from Config.in
> - with util-linux-ng.mk, the are no errors, the package is simply ignored


Maybe I should have phrased that more like a question. I have a similar
problem now with a strongSwan package I need in buildroot.

I created a .mk that uses makefile.autotools.in. I select the new
packet in menuconfig and type make, but the package is simply ignored.
No errors.

If I use .mk files without Makefile.autotools.in, both packages are
correctly processed. Is there any magic thuss missing in my patch? I
also didn't find any cache files that could be responsible for this.

Using most recent svn trunks here.


Any help appreciated,
/Steffen
-- 
Hi, I'm a unix-virus.
Please copy me into your .signature to help me spread!

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] New package util-linux-ng
  2008-08-11 17:01 ` Steffen Schulz
@ 2008-08-12  7:44   ` Bernhard Fischer
  2008-08-12 15:41     ` Steffen Schulz
  0 siblings, 1 reply; 7+ messages in thread
From: Bernhard Fischer @ 2008-08-12  7:44 UTC (permalink / raw)
  To: buildroot

On Mon, Aug 11, 2008 at 07:01:57PM +0200, Steffen Schulz wrote:
>On 080810 at 07:27, Steffen Schulz wrote:
>> - util-linux still wants to compile even though it was not selected and
>>   removed from Config.in
>> - with util-linux-ng.mk, the are no errors, the package is simply ignored
>
>
>Maybe I should have phrased that more like a question. I have a similar
>problem now with a strongSwan package I need in buildroot.
>
>I created a .mk that uses makefile.autotools.in. I select the new
>packet in menuconfig and type make, but the package is simply ignored.

Make sure to run 'make oldconfig' or menuconfig so the package shows up
in .config ?
>No errors.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] New package util-linux-ng
  2008-08-12  7:44   ` Bernhard Fischer
@ 2008-08-12 15:41     ` Steffen Schulz
  2008-08-12 15:55       ` Bernhard Fischer
  0 siblings, 1 reply; 7+ messages in thread
From: Steffen Schulz @ 2008-08-12 15:41 UTC (permalink / raw)
  To: buildroot

On 080812 at 10:00, Bernhard Fischer wrote:
> On Mon, Aug 11, 2008 at 07:01:57PM +0200, Steffen Schulz wrote:
> >On 080810 at 07:27, Steffen Schulz wrote:
> >> - util-linux still wants to compile even though it was not selected and
> >>   removed from Config.in
> >> - with util-linux-ng.mk, the are no errors, the package is simply ignored
> >
> >Maybe I should have phrased that more like a question. I have a similar
> >problem now with a strongSwan package I need in buildroot.
> >
> >I created a .mk that uses makefile.autotools.in. I select the new
> >packet in menuconfig and type make, but the package is simply ignored.
> 
> Make sure to run 'make oldconfig' or menuconfig so the package shows up
> in .config ?

I did a menuconfig and selected the packages. And indeed .config says:

BR2_PACKAGE_strongSwan=y
BR2_PACKAGE_UTIL-LINUX-NG=y


But they are still ignored when typing 'make'. No directories in
/build_i686/ and no errors.


Most notably, when I replace the .mk files with equivalents that don't
use Makefile.autotools.in, both packages are processed. So I guess I
miss some magic in my .mk files?


/steffen

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] New package util-linux-ng
  2008-08-12 15:41     ` Steffen Schulz
@ 2008-08-12 15:55       ` Bernhard Fischer
  0 siblings, 0 replies; 7+ messages in thread
From: Bernhard Fischer @ 2008-08-12 15:55 UTC (permalink / raw)
  To: buildroot

On Tue, Aug 12, 2008 at 05:41:03PM +0200, Steffen Schulz wrote:
>On 080812 at 10:00, Bernhard Fischer wrote:
>> On Mon, Aug 11, 2008 at 07:01:57PM +0200, Steffen Schulz wrote:
>> >On 080810 at 07:27, Steffen Schulz wrote:
>> >> - util-linux still wants to compile even though it was not selected and
>> >>   removed from Config.in
>> >> - with util-linux-ng.mk, the are no errors, the package is simply ignored
>> >
>> >Maybe I should have phrased that more like a question. I have a similar
>> >problem now with a strongSwan package I need in buildroot.
>> >
>> >I created a .mk that uses makefile.autotools.in. I select the new
>> >packet in menuconfig and type make, but the package is simply ignored.
>> 
>> Make sure to run 'make oldconfig' or menuconfig so the package shows up
>> in .config ?
>
>I did a menuconfig and selected the packages. And indeed .config says:
>
>BR2_PACKAGE_strongSwan=y
>BR2_PACKAGE_UTIL-LINUX-NG=y

Alright, that'd be it.
First, package names are supposed to be in caps and
second, i don't think '-' will do any good, use '_' instead.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] New package util-linux-ng
  2008-08-10  5:06 [Buildroot] New package util-linux-ng Steffen Schulz
  2008-08-11 17:01 ` Steffen Schulz
@ 2008-08-24  8:54 ` Peter Korsgaard
  2008-08-25 17:40   ` Steffen Schulz
  1 sibling, 1 reply; 7+ messages in thread
From: Peter Korsgaard @ 2008-08-24  8:54 UTC (permalink / raw)
  To: buildroot

>>>>> "Steffen" == Steffen Schulz <pepe_ml@gmx.net> writes:

Hi,

 Steffen>   misses a file <linux/a.out.h> which is included in
 Steffen>   <a.out.h>. I think this is a bug in some other packet?

What kernel headers version are you using? There used to be a bug
where linux/a.out.h wasn't exported. I reported it and dwmw fixed it
for 2.6.26:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e53d6a152793a38aa334d6f7a4850642ae45cedc

I've backported the fix to 2.6.25, so either of those should work.

 Steffen> Any comments on my fixes in #4274, #4284 and #4294?

Sorry, haven't looked at those yet, I'll take a look today.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] New package util-linux-ng
  2008-08-24  8:54 ` Peter Korsgaard
@ 2008-08-25 17:40   ` Steffen Schulz
  0 siblings, 0 replies; 7+ messages in thread
From: Steffen Schulz @ 2008-08-25 17:40 UTC (permalink / raw)
  To: buildroot

Hi,


On 080824 at 11:00, Peter Korsgaard wrote:
>  Steffen>   misses a file <linux/a.out.h> which is included in
>  Steffen>   <a.out.h>. I think this is a bug in some other packet?
> 
> What kernel headers version are you using? There used to be a bug
> where linux/a.out.h wasn't exported. I reported it and dwmw fixed it
> for 2.6.26:

That was indeed the problem. Attached is an update to the patch posted in
http://bugs.uclibc.org/view.php?id=2254


/steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: util-linux-ng.patch
Type: text/x-diff
Size: 26502 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20080825/b51b5e48/attachment.patch 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-08-25 17:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-10  5:06 [Buildroot] New package util-linux-ng Steffen Schulz
2008-08-11 17:01 ` Steffen Schulz
2008-08-12  7:44   ` Bernhard Fischer
2008-08-12 15:41     ` Steffen Schulz
2008-08-12 15:55       ` Bernhard Fischer
2008-08-24  8:54 ` Peter Korsgaard
2008-08-25 17:40   ` Steffen Schulz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox