Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [patch] fakeroot does not apply patches
@ 2006-12-15 13:17 Ulrich Hecht
  2006-12-15 13:45 ` Bernhard Fischer
  0 siblings, 1 reply; 4+ messages in thread
From: Ulrich Hecht @ 2006-12-15 13:17 UTC (permalink / raw)
  To: buildroot

Hi!

This patch makes sure the no-docs patch for fakeroot is applied when 
building for the target.

CU
Uli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fakeroot.patch
Type: text/x-diff
Size: 536 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20061215/753feb70/attachment.bin 

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

* [Buildroot] [patch] fakeroot does not apply patches
  2006-12-15 13:17 [Buildroot] [patch] fakeroot does not apply patches Ulrich Hecht
@ 2006-12-15 13:45 ` Bernhard Fischer
  2006-12-15 14:07   ` Ulrich Hecht
  0 siblings, 1 reply; 4+ messages in thread
From: Bernhard Fischer @ 2006-12-15 13:45 UTC (permalink / raw)
  To: buildroot

On Fri, Dec 15, 2006 at 02:17:57PM +0100, Ulrich Hecht wrote:
>Hi!
>
>This patch makes sure the no-docs patch for fakeroot is applied when 
>building for the target.

Several packages unpack their sources twice. These should ideally be
build out of tree for one make (i'd generally do it for the dir2, i.e.
the host).

Uli, could you perhaps try if fakeroot builds out of tree? Several
packages may not support this and should receive upstream-fixes to make
them behave, IMHO.

TIA,
Bernhard

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

* [Buildroot] [patch] fakeroot does not apply patches
  2006-12-15 13:45 ` Bernhard Fischer
@ 2006-12-15 14:07   ` Ulrich Hecht
  2006-12-15 14:21     ` Bernhard Fischer
  0 siblings, 1 reply; 4+ messages in thread
From: Ulrich Hecht @ 2006-12-15 14:07 UTC (permalink / raw)
  To: buildroot

Hi!

On Friday 15 December 2006 14:45, Bernhard Fischer wrote:
> Several packages unpack their sources twice. These should ideally be
> build out of tree for one make (i'd generally do it for the dir2, i.e.
> the host).
>
> Uli, could you perhaps try if fakeroot builds out of tree? Several
> packages may not support this and should receive upstream-fixes to
> make them behave, IMHO.

Building one in and one out of tree does not work (configure complains if 
you try to use an unclean tree for external compilation). Building both 
versions out of tree works though, see the attached patch.

CU
Uli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fakeroot.patch
Type: text/x-diff
Size: 2589 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20061215/6a1510e2/attachment.bin 

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

* [Buildroot] [patch] fakeroot does not apply patches
  2006-12-15 14:07   ` Ulrich Hecht
@ 2006-12-15 14:21     ` Bernhard Fischer
  0 siblings, 0 replies; 4+ messages in thread
From: Bernhard Fischer @ 2006-12-15 14:21 UTC (permalink / raw)
  To: buildroot

On Fri, Dec 15, 2006 at 03:07:06PM +0100, Ulrich Hecht wrote:
>Hi!
>
>On Friday 15 December 2006 14:45, Bernhard Fischer wrote:
>> Several packages unpack their sources twice. These should ideally be
>> build out of tree for one make (i'd generally do it for the dir2, i.e.
>> the host).
>>
>> Uli, could you perhaps try if fakeroot builds out of tree? Several
>> packages may not support this and should receive upstream-fixes to
>> make them behave, IMHO.
>
>Building one in and one out of tree does not work (configure complains if 
>you try to use an unclean tree for external compilation). Building both 
>versions out of tree works though, see the attached patch.

Excellent. Thanks!

PS:
fakeroot-clean did lack a
	rm -f $(TARGET_DIR)/usr/bin/fake{d,root}

Fixed.

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

end of thread, other threads:[~2006-12-15 14:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-15 13:17 [Buildroot] [patch] fakeroot does not apply patches Ulrich Hecht
2006-12-15 13:45 ` Bernhard Fischer
2006-12-15 14:07   ` Ulrich Hecht
2006-12-15 14:21     ` Bernhard Fischer

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