From: P Purkayastha <ppurka@gmail.com>
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 23 Nov 2010 07:05:43 +0000 (07:05 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 23 Nov 2010 07:05:43 +0000 (07:05 +0000)
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
src/modules/mp/chained_pool/Makefile.am
src/modules/mp/ememoa_fixed/Makefile.am
src/modules/mp/ememoa_unknown/Makefile.am
src/modules/mp/fixed_bitmap/Makefile.am
src/modules/mp/one_big/Makefile.am
src/modules/mp/pass_through/Makefile.am

index 9b26aa7..d65c268 100644 (file)
@@ -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
index 441c608..a18564d 100644 (file)
@@ -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
index aa7d28f..6def911 100644 (file)
@@ -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
index edde8e6..1da3057 100644 (file)
@@ -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
index 0381bea..90ff60f 100644 (file)
@@ -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
index 03e6234..427d247 100644 (file)
@@ -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
index 2adb58d..cf7daca 100644 (file)
@@ -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