Skip to contentSkip to conversation

Pull request for branch for-2011.05/no-fakeroot-on-target

GIT PULL New Thomas Petazzoni 2 participants 3 messages May 22, 2011

lore
Share & tools
lore
#0 lore raw

The following changes since commit a02cfbf1f4a82ee6582e2bf7622b2bf105359ea9:

bind: give path to OpenSSL when OpenSSL is enabled (2011-05-19 20:03:35 +0200)

are available in the git repository at:
http://free-electrons.com/~thomas/buildroot.git for-2011.05/no-fakeroot-on-target

Thomas Petazzoni (1):
fakeroot: disallow selection for the target

 package/Config.in            |    1 -
 package/fakeroot/Config.in   |    6 ------
 package/fakeroot/fakeroot.mk |    3 +++
 3 files changed, 3 insertions(+), 7 deletions(-)
 delete mode 100644 package/fakeroot/Config.in

Thanks,

Signature · 1 line
Thomas Petazzoni
#1 lore raw

PATCH 1/1 fakeroot: disallow selection for the target

fakeroot for the target fails to build against glibc, due to largefile related problems :

libtool: link: /home/test/outputs/test-503/host/usr/bin/powerpc-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o faked faked.o ./.libs/libcommunicate.a -ldl {standard input}: Assembler messages:
{standard input}:2592: Error: symbol `__fxstatat64' is already defined
{standard input}:2627: Error: symbol `__fxstat64' is already defined
{standard input}:2663: Error: symbol `__xstat64' is already defined
{standard input}:2698: Error: symbol `__lxstat64' is already defined
make[3]: *** [libfakeroot.lo] Error 1

As fakeroot for the target is not really needed, and was only added when we packaged fakeroot for the host, just make fakeroot not selectable for the target.

We have to keet the AUTOTARGETS call for fakeroot on the target, because the host variant does not work otherwise, due to issues in the package infrastructure (that will be fixed post-2011.05).

---
 package/Config.in            |    1 -
 package/fakeroot/Config.in   |    6 ------
 package/fakeroot/fakeroot.mk |    3 +++
 3 files changed, 3 insertions(+), 7 deletions(-)
 delete mode 100644 package/fakeroot/Config.in
package/Config.in +0 -1
index 1d3c0cc..40f523d 100644
@@ -48,7 +48,6 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 source "package/diffutils/Config.in"
 endif
 source "package/distcc/Config.in"
-source "package/fakeroot/Config.in"
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 source "package/findutils/Config.in"
 endif
package/fakeroot/Config.in deleted +0 -6
deleted file mode 100644
index 186b717..0000000
@@ -1,6 +0,0 @@
-config BR2_PACKAGE_FAKEROOT
-	bool "fakeroot"
-	help
-	  Run commands in an environment faking root privileges.
-
-	  http://joostje.op.het.net/fakeroot/
package/fakeroot/fakeroot.mk +3 -0
index 8061443..29e9e5b 100644
@@ -16,5 +16,8 @@ endef
 
 FAKEROOT_POST_PATCH_HOOKS += FAKEROOT_PATCH_FAKEROOT_IN
 
+# The package for the target cannot be selected (build problems when
+# largefile is enabled), but is needed for the host package to work
+# due to deficiencies in the package infrastructure.
 $(eval $(call AUTOTARGETS,package,fakeroot))
 $(eval $(call AUTOTARGETS,package,fakeroot,host))
Signature · 1 line
1.7.1
#2 lore raw

PATCH 1/1 fakeroot: disallow selection for the target

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Thomas> fakeroot for the target fails to build against glibc, due to largefile Thomas> related problems :

Thomas> libtool: link: /home/test/outputs/test-503/host/usr/bin/powerpc-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o faked faked.o ./.libs/libcommunicate.a -ldl Thomas> {standard input}: Assembler messages:
Thomas> {standard input}:2592: Error: symbol `__fxstatat64' is already defined
Thomas> {standard input}:2627: Error: symbol `__fxstat64' is already defined
Thomas> {standard input}:2663: Error: symbol `__xstat64' is already defined
Thomas> {standard input}:2698: Error: symbol `__lxstat64' is already defined
Thomas> make[3]: *** [libfakeroot.lo] Error 1

Thomas> As fakeroot for the target is not really needed, and was only added Thomas> when we packaged fakeroot for the host, just make fakeroot not Thomas> selectable for the target.

Thomas> We have to keet the AUTOTARGETS call for fakeroot on the target,

s/keet/keep/. I've fixed that up locally - Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard