From fad048f1d2eef17d8d1a9630aefb2c3c8f9210e6 Mon Sep 17 00:00:00 2001 From: P Purkayastha Date: Tue, 23 Nov 2010 07:05:43 +0000 Subject: [PATCH] From: P Purkayastha Subject: Re: [e-users] eina: sandbox violation on emerge On 11/21/2010 12:14 AM, P Purkayastha wrote: > Hi, > it seems eina is triggering a sandbox violation on emerge. Essentially > it tries to remove a file present in / while installing. Seems to be > something new added in revision r54731: > http://trac.enlightenment.org/e/changeset/54731/trunk/eina/src/modules/mp > The build log is attached. Replacing the $(controllerdir) with $(DESTDIR)$(controllerdir) makes portage happy, and the installation succeeds: cd "$S/src/modules/mp" find . -name Makefile.am -exec sed -i -e '/rm -f \$(controllerdir)/s/\$/\$(DESTDIR)\$/' {} \; SVN revision: 54853 --- legacy/eina/src/modules/mp/buddy/Makefile.am | 2 +- legacy/eina/src/modules/mp/chained_pool/Makefile.am | 2 +- legacy/eina/src/modules/mp/ememoa_fixed/Makefile.am | 2 +- legacy/eina/src/modules/mp/ememoa_unknown/Makefile.am | 2 +- legacy/eina/src/modules/mp/fixed_bitmap/Makefile.am | 2 +- legacy/eina/src/modules/mp/one_big/Makefile.am | 2 +- legacy/eina/src/modules/mp/pass_through/Makefile.am | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/legacy/eina/src/modules/mp/buddy/Makefile.am b/legacy/eina/src/modules/mp/buddy/Makefile.am index 9b26aa7807..d65c2681cb 100644 --- a/legacy/eina/src/modules/mp/buddy/Makefile.am +++ b/legacy/eina/src/modules/mp/buddy/Makefile.am @@ -24,7 +24,7 @@ module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version module_la_LIBTOOLFLAGS = --tag=disable-static install-data-hook: - rm -f $(controllerdir)/$(controller_LTLIBRARIES) + rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES) endif endif diff --git a/legacy/eina/src/modules/mp/chained_pool/Makefile.am b/legacy/eina/src/modules/mp/chained_pool/Makefile.am index 441c608799..a18564dc4c 100644 --- a/legacy/eina/src/modules/mp/chained_pool/Makefile.am +++ b/legacy/eina/src/modules/mp/chained_pool/Makefile.am @@ -25,7 +25,7 @@ module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version module_la_LIBTOOLFLAGS = --tag=disable-static install-data-hook: - rm -f $(controllerdir)/$(controller_LTLIBRARIES) + rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES) endif endif diff --git a/legacy/eina/src/modules/mp/ememoa_fixed/Makefile.am b/legacy/eina/src/modules/mp/ememoa_fixed/Makefile.am index aa7d28f948..6def911ca7 100644 --- a/legacy/eina/src/modules/mp/ememoa_fixed/Makefile.am +++ b/legacy/eina/src/modules/mp/ememoa_fixed/Makefile.am @@ -25,7 +25,7 @@ module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-ve module_la_LIBTOOLFLAGS = --tag=disable-static install-data-hook: - rm -f $(controllerdir)/$(controller_LTLIBRARIES) + rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES) endif endif diff --git a/legacy/eina/src/modules/mp/ememoa_unknown/Makefile.am b/legacy/eina/src/modules/mp/ememoa_unknown/Makefile.am index edde8e6775..1da30579a1 100644 --- a/legacy/eina/src/modules/mp/ememoa_unknown/Makefile.am +++ b/legacy/eina/src/modules/mp/ememoa_unknown/Makefile.am @@ -25,7 +25,7 @@ module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-ve module_la_LIBTOOLFLAGS = --tag=disable-static install-data-hook: - rm -f $(controllerdir)/$(controller_LTLIBRARIES) + rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES) endif endif diff --git a/legacy/eina/src/modules/mp/fixed_bitmap/Makefile.am b/legacy/eina/src/modules/mp/fixed_bitmap/Makefile.am index 0381bea074..90ff60f48a 100644 --- a/legacy/eina/src/modules/mp/fixed_bitmap/Makefile.am +++ b/legacy/eina/src/modules/mp/fixed_bitmap/Makefile.am @@ -24,7 +24,7 @@ module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version module_la_LIBTOOLFLAGS = --tag=disable-static install-data-hook: - rm -f $(controllerdir)/$(controller_LTLIBRARIES) + rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES) endif endif diff --git a/legacy/eina/src/modules/mp/one_big/Makefile.am b/legacy/eina/src/modules/mp/one_big/Makefile.am index 03e6234c8d..427d24723c 100644 --- a/legacy/eina/src/modules/mp/one_big/Makefile.am +++ b/legacy/eina/src/modules/mp/one_big/Makefile.am @@ -25,7 +25,7 @@ module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version module_la_LIBTOOLFLAGS = --tag=disable-static install-data-hook: - rm -f $(controllerdir)/$(controller_LTLIBRARIES) + rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES) endif endif diff --git a/legacy/eina/src/modules/mp/pass_through/Makefile.am b/legacy/eina/src/modules/mp/pass_through/Makefile.am index 2adb58d223..cf7dacada7 100644 --- a/legacy/eina/src/modules/mp/pass_through/Makefile.am +++ b/legacy/eina/src/modules/mp/pass_through/Makefile.am @@ -24,7 +24,7 @@ module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version module_la_LIBTOOLFLAGS = --tag=disable-static install-data-hook: - rm -f $(controllerdir)/$(controller_LTLIBRARIES) + rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES) endif endif