Skip to contentSkip to conversation

fakeroot does not apply patches

PATCH New Ulrich Hecht 2 participants 4 messages Dec 15, 2006

lore
Share & tools
lore
#1 lore raw

PATCH 1/1 fakeroot does not apply patches

Quoted 4 lines · Ulrich Hecht

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

#2 lore raw

PATCH 1/1 fakeroot does not apply patches

Hi!

Quoted 7 lines · Bernhard Fischer

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

#3 lore raw

PATCH 1/1 fakeroot does not apply patches

Quoted 7 lines · Ulrich Hecht

Hi!

Quoted 4 lines · Bernhard Fischer

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).

Quoted 7 lines
Quoted 3 lines

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.