Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: "C. Bergström" <cbergstrom@...>
From: Mike Frysinger <vapier@g.o>
Subject: Re: Any interest in sandbox on (open)solaris?
Date: Thu, 29 Jan 2009 11:30:52 -0500
On Thursday 29 January 2009 04:03:11 C. Bergström wrote:
> --- libsandbox/memory.c.old     2009-01-29 07:28:47.312601827 -0800
> +++ libsandbox/memory.c 2009-01-29 07:30:55.834594791 -0800
> +#define  MIN(x, y)               ((x) < (y) ? (x) : (y))

fixed in a different way

> --- libsbutil/get_tmp_dir.c.old 2009-01-29 07:08:59.114359101 -0800
> +++ libsbutil/get_tmp_dir.c     2009-01-29 07:09:31.921878506 -0800
> -       if (NULL == realpath(getenv(ENV_TMPDIR) ? : TMPDIR, path))
> +       if (NULL == realpath(getenv(ENV_TMPDIR) ? getenv(ENV_TMPDIR) :
> TMPDIR, path))

does the compiler not support the shortcut form:
x ? : y
where if x evaluates to true, it is automatically returned due to the empty 
true case ?

> I have some missing symbols and end up adding 'LIBS=-lmagic'  Which I
> think is causing further problems..

what symbols ?

> (Not sure this is correct and then ultimately causing the error below,
> but fixed a similar problem)

looks like a multilib issue with libtool not knowing about your system, or 
your toolchain searches things wrong.  either way, not much i can do about it 
in sandbox.

> The error regarding
>
> > ld.so.1: install: fatal: libsandbox.so: open failed: No such file or
> > directory
>
> is 99.9% because I'm missing the 32bit libsandbox.so..

well it validates my statement that multilib with non-standard paths is 
currently broken.  not entirely sure how to address it since the sandbox 
binary itself is not multilib.

> sun cc flat out dies with -Wall.  -v iirc is the equivalent and if it's
> turned on by default that's fine, but something that can be
> disabled/overridden would be great..

i think it's broken then that it was detected as GCC, but whatever.  ive 
switched to using a macro from autoconf-archive that detects the compiler and 
uses the proper warning flag.
-mike


References:
Any interest in sandbox on (open)solaris?
-- C. Bergström
Re: Any interest in sandbox on (open)solaris?
-- Mike Frysinger
Re: Any interest in sandbox on (open)solaris?
-- C. Bergström
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Any interest in sandbox on (open)solaris?
Next by thread:
Re: Any interest in sandbox on (open)solaris?
Previous by date:
Re: Any interest in sandbox on (open)solaris?
Next by date:
Success! Re: Any interest in sandbox on (open)solaris?


Updated Jun 17, 2009

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.