* [gentoo-dev] Sandbox violation, ebuild creation
@ 2003-02-14 9:33 Christian Plessl
2003-02-14 15:15 ` Joachim Blaabjerg
0 siblings, 1 reply; 6+ messages in thread
From: Christian Plessl @ 2003-02-14 9:33 UTC (permalink / raw
To: gentoo-dev
Im trying to create my own ebuild for PerlQt, the Qt bindings for Perl.
Compiling of the ebuild works well, but when it comes to installation the
ebuild fails with a 'sandbox violation', see error message below.
!!! ERROR: dev-perl/PerlQt-3.006 failed.
!!! Function perl-module_src_install, Line -846, Exitcode 2
!!! (no error message)
--------------------------- ACCESS VIOLATION SUMMARY
---------------------------
LOG FILE = "/tmp/sandbox-PerlQt-3.006-29386.log"
open_wr: /usr/bin/pqtsh
chmod: /usr/bin/pqtsh
open_wr: /usr/bin/pqtapi
chmod: /usr/bin/pqtapi
open_wr: /usr/kde/3.1/bin/puic
------------------------------------------------------
The package installs a perl modules and some additional programs, the ones
that fail. The installation of the perl modules works well.
The ebuild is very short (due to the wonderfull per-module eclass!)
DESCRIPTION="Perl bindings for the Qt 3.x toolkit"
HOMEPAGE="http://perlqt.sourceforge.net/"
inherit kde perl-module
SRC_URI="mirror://sourceforge/perlqt/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
DEPEND=" >=x11-libs/qt-3.0.0"
mydoc="ChangeLog README TODO INSTALL COPYING"
How can I fix these sandbox violations?
Best regards,
Christian
--
Christian Plessl <plessl@tik.ee.ethz.ch>
Computer Engineering and Networks Lab, ETH Zurich, Switzerland
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] Sandbox violation, ebuild creation
2003-02-14 9:33 [gentoo-dev] Sandbox violation, ebuild creation Christian Plessl
@ 2003-02-14 15:15 ` Joachim Blaabjerg
2003-02-14 15:58 ` Martin Holzer
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Joachim Blaabjerg @ 2003-02-14 15:15 UTC (permalink / raw
To: Christian Plessl; +Cc: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 14 February 2003 10:33, Christian Plessl wrote:
> [...]
> --------------------------- ACCESS VIOLATION SUMMARY
> ---------------------------
> LOG FILE = "/tmp/sandbox-PerlQt-3.006-29386.log"
>
> open_wr: /usr/bin/pqtsh
> chmod: /usr/bin/pqtsh
> open_wr: /usr/bin/pqtapi
> chmod: /usr/bin/pqtapi
> open_wr: /usr/kde/3.1/bin/puic
> ------------------------------------------------------
> [...]
>
> How can I fix these sandbox violations?
I'm not in any way a perl guy, but the general idea is to make it install to
${D} instead of /. Perhaps you'll have to pass a parameter to make or hack
the Makefile a bit. That's the general idea, at least, you'll have to look
at some other examples to get a better grasp of how to do it in practice.
Regards,
- --
Joachim Blaabjerg
Gentoo Linux Security Developer
GPG key @ http://cvs.gentoo.org/~styx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+TQgNFJKdDpq6hFsRAjkYAJ9hKJRiA1+ISGdPYab1JsxnxAxhuwCcCHux
JU6OTv7mqjIiIOiX++u3HKY=
=JTvT
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] Sandbox violation, ebuild creation
2003-02-14 15:15 ` Joachim Blaabjerg
@ 2003-02-14 15:58 ` Martin Holzer
2003-02-14 16:28 ` [gentoo-dev] " Christian Plessl
2003-02-14 15:58 ` Christian Plessl
2003-02-17 7:58 ` Christian Plessl
2 siblings, 1 reply; 6+ messages in thread
From: Martin Holzer @ 2003-02-14 15:58 UTC (permalink / raw
To: Joachim Blaabjerg, Christian Plessl; +Cc: gentoo-dev
Please upgrade to portage-2.0.46-r12 (latest stable)
----- Original Message -----
From: "Joachim Blaabjerg" <styx@gentoo.org>
To: "Christian Plessl" <plessl@tik.ee.ethz.ch>
Cc: <gentoo-dev@gentoo.org>
Sent: Friday, February 14, 2003 4:15 PM
Subject: Re: [gentoo-dev] Sandbox violation, ebuild creation
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 14 February 2003 10:33, Christian Plessl wrote:
> [...]
> --------------------------- ACCESS VIOLATION SUMMARY
> ---------------------------
> LOG FILE = "/tmp/sandbox-PerlQt-3.006-29386.log"
>
> open_wr: /usr/bin/pqtsh
> chmod: /usr/bin/pqtsh
> open_wr: /usr/bin/pqtapi
> chmod: /usr/bin/pqtapi
> open_wr: /usr/kde/3.1/bin/puic
> ------------------------------------------------------
> [...]
>
> How can I fix these sandbox violations?
I'm not in any way a perl guy, but the general idea is to make it install to
${D} instead of /. Perhaps you'll have to pass a parameter to make or hack
the Makefile a bit. That's the general idea, at least, you'll have to look
at some other examples to get a better grasp of how to do it in practice.
Regards,
- --
Joachim Blaabjerg
Gentoo Linux Security Developer
GPG key @ http://cvs.gentoo.org/~styx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+TQgNFJKdDpq6hFsRAjkYAJ9hKJRiA1+ISGdPYab1JsxnxAxhuwCcCHux
JU6OTv7mqjIiIOiX++u3HKY=
=JTvT
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-dev] Re: Sandbox violation, ebuild creation
2003-02-14 15:15 ` Joachim Blaabjerg
2003-02-14 15:58 ` Martin Holzer
@ 2003-02-14 15:58 ` Christian Plessl
2003-02-17 7:58 ` Christian Plessl
2 siblings, 0 replies; 6+ messages in thread
From: Christian Plessl @ 2003-02-14 15:58 UTC (permalink / raw
To: gentoo-dev
Joachim Blaabjerg wrote:
> On Friday 14 February 2003 10:33, Christian Plessl wrote:
>> [...]
>> --------------------------- ACCESS VIOLATION SUMMARY
>> ---------------------------
>> LOG FILE = "/tmp/sandbox-PerlQt-3.006-29386.log"
>>
>> open_wr: /usr/bin/pqtsh
>> chmod: /usr/bin/pqtsh
>> open_wr: /usr/bin/pqtapi
>> chmod: /usr/bin/pqtapi
>> open_wr: /usr/kde/3.1/bin/puic
>> ------------------------------------------------------
>> [...]
>>
>> How can I fix these sandbox violations?
>
> I'm not in any way a perl guy, but the general idea is to make it install
> to ${D} instead of /. Perhaps you'll have to pass a parameter to make or
> hack the Makefile a bit. That's the general idea, at least, you'll have to
> look at some other examples to get a better grasp of how to do it in
> practice.
Thanks for this hint. I'm still an ebuild newbie. I will check whether I can
tweak the Makefile to install in this directory.
Regards,
Chris
--
Christian Plessl <plessl@tik.ee.ethz.ch>
Computer Engineering and Networks Lab, ETH Zurich, Switzerland
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-dev] Re: Sandbox violation, ebuild creation
2003-02-14 15:58 ` Martin Holzer
@ 2003-02-14 16:28 ` Christian Plessl
0 siblings, 0 replies; 6+ messages in thread
From: Christian Plessl @ 2003-02-14 16:28 UTC (permalink / raw
To: gentoo-dev
Martin Holzer wrote:
> Please upgrade to portage-2.0.46-r12 (latest stable)
I'm already using this version.
Regards,
Chris
--
Christian Plessl <plessl@tik.ee.ethz.ch>
Computer Engineering and Networks Lab, ETH Zurich, Switzerland
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-dev] Re: Sandbox violation, ebuild creation
2003-02-14 15:15 ` Joachim Blaabjerg
2003-02-14 15:58 ` Martin Holzer
2003-02-14 15:58 ` Christian Plessl
@ 2003-02-17 7:58 ` Christian Plessl
2 siblings, 0 replies; 6+ messages in thread
From: Christian Plessl @ 2003-02-17 7:58 UTC (permalink / raw
To: gentoo-dev
You were right. The build system did not follow the given --prefix for all
programms. I had to fix this manually by patching the Makefiles.
Thanks for your help.
Regards,
Christian
Joachim Blaabjerg wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Friday 14 February 2003 10:33, Christian Plessl wrote:
>> [...]
>> --------------------------- ACCESS VIOLATION SUMMARY
>> ---------------------------
>> LOG FILE = "/tmp/sandbox-PerlQt-3.006-29386.log"
>>
>> open_wr: /usr/bin/pqtsh
>> chmod: /usr/bin/pqtsh
>> open_wr: /usr/bin/pqtapi
>> chmod: /usr/bin/pqtapi
>> open_wr: /usr/kde/3.1/bin/puic
>> ------------------------------------------------------
>> [...]
>>
>> How can I fix these sandbox violations?
>
> I'm not in any way a perl guy, but the general idea is to make it install
> to ${D} instead of /. Perhaps you'll have to pass a parameter to make or
> hack the Makefile a bit. That's the general idea, at least, you'll have to
> look at some other examples to get a better grasp of how to do it in
> practice.
>
> Regards,
>
> - --
> Joachim Blaabjerg
> Gentoo Linux Security Developer
> GPG key @ http://cvs.gentoo.org/~styx
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
>
> iD8DBQE+TQgNFJKdDpq6hFsRAjkYAJ9hKJRiA1+ISGdPYab1JsxnxAxhuwCcCHux
> JU6OTv7mqjIiIOiX++u3HKY=
> =JTvT
> -----END PGP SIGNATURE-----
>
>
> --
> gentoo-dev@gentoo.org mailing list
--
Christian Plessl <plessl@tik.ee.ethz.ch>
Computer Engineering and Networks Lab, ETH Zurich, Switzerland
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-02-17 8:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-14 9:33 [gentoo-dev] Sandbox violation, ebuild creation Christian Plessl
2003-02-14 15:15 ` Joachim Blaabjerg
2003-02-14 15:58 ` Martin Holzer
2003-02-14 16:28 ` [gentoo-dev] " Christian Plessl
2003-02-14 15:58 ` Christian Plessl
2003-02-17 7:58 ` Christian Plessl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox