From dc95e7b89b2aef06d977df1b6eafcb4698762b85 Mon Sep 17 00:00:00 2001 From: raster 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)\$/' {} \; git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@54853 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/modules/mp/buddy/Makefile.am | 2 +- src/modules/mp/chained_pool/Makefile.am | 2 +- src/modules/mp/ememoa_fixed/Makefile.am | 2 +- src/modules/mp/ememoa_unknown/Makefile.am | 2 +- src/modules/mp/fixed_bitmap/Makefile.am | 2 +- src/modules/mp/one_big/Makefile.am | 2 +- src/modules/mp/pass_through/Makefile.am | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/modules/mp/buddy/Makefile.am b/src/modules/mp/buddy/Makefile.am index 9b26aa7..d65c268 100644 --- a/src/modules/mp/buddy/Makefile.am +++ b/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/src/modules/mp/chained_pool/Makefile.am b/src/modules/mp/chained_pool/Makefile.am index 441c608..a18564d 100644 --- a/src/modules/mp/chained_pool/Makefile.am +++ b/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/src/modules/mp/ememoa_fixed/Makefile.am b/src/modules/mp/ememoa_fixed/Makefile.am index aa7d28f..6def911 100644 --- a/src/modules/mp/ememoa_fixed/Makefile.am +++ b/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/src/modules/mp/ememoa_unknown/Makefile.am b/src/modules/mp/ememoa_unknown/Makefile.am index edde8e6..1da3057 100644 --- a/src/modules/mp/ememoa_unknown/Makefile.am +++ b/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/src/modules/mp/fixed_bitmap/Makefile.am b/src/modules/mp/fixed_bitmap/Makefile.am index 0381bea..90ff60f 100644 --- a/src/modules/mp/fixed_bitmap/Makefile.am +++ b/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/src/modules/mp/one_big/Makefile.am b/src/modules/mp/one_big/Makefile.am index 03e6234..427d247 100644 --- a/src/modules/mp/one_big/Makefile.am +++ b/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/src/modules/mp/pass_through/Makefile.am b/src/modules/mp/pass_through/Makefile.am index 2adb58d..cf7daca 100644 --- a/src/modules/mp/pass_through/Makefile.am +++ b/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 -- 2.7.4