Gentoo Archives: gentoo-alt

From: "C. Bergström" <cbergstrom@×××××××××.com>
To: Mike Frysinger <vapier@g.o>
Cc: gentoo-alt@l.g.o, sandbox@g.o
Subject: Re: [gentoo-alt] Any interest in sandbox on (open)solaris?
Date: Sat, 17 Jan 2009 22:37:28
Message-Id: 49725B94.8040705@netsyncro.com
In Reply to: Re: [gentoo-alt] Any interest in sandbox on (open)solaris? by Mike Frysinger
Mike Frysinger wrote:
> btw, i'll only be able to provide tips for now. too much Real Work atm > (including traveling), so i probably wont be able to do any actual work to > assist you until thanksgiving next week. > -mike >
So.. it finally came up on my TODO list again and I got sandbox to compile on open Solaris.. My next goal is to get it to run correctly So I enabled sandbox in features and get this until I ^c it ACCESS DENIED open_wr: /var/log/sandbox/sandbox-21343.log (it's not writing to the log) Since I've only built the 64bit version of libsandbox.. I imagine it's some misc 32bit binary being called that I've yet to convert.. However. it could be more tricky.. I can give out zone access to help with this or the other things on the TODO list. Slowly I'm removing all Sun cruft not under ebuilds.. Very big thanks! ./Christopher ---------- These are not correct, but should give some idea of what I needed to do to get it to build.. econf --disable-static 'LIBS=-lmagic' || die ----------- --- libsandbox/Makefile.in.old 2009-01-18 11:51:04.304407327 -0800 +++ libsandbox/Makefile.in 2009-01-18 11:38:09.852318831 -0800 @@ -59,7 +59,7 @@ libsandbox_la_OBJECTS = $(am_libsandbox_la_OBJECTS) libsandbox_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libsandbox_la_CFLAGS) \ - $(CFLAGS) $(libsandbox_la_LDFLAGS) $(LDFLAGS) -o $@ + $(CFLAGS) $(libsandbox_la_LDFLAGS) -M libsandbox.map $(LDFLAGS) -o $@ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles @@ -210,8 +210,8 @@ # and destructor will not be executed ... libsandbox_la_LDFLAGS = \ -no-undefined \ - -nodefaultlibs \ - -Wl,--version-script,libsandbox.map + -nodefaultlibs + libsandbox_la_SOURCES = \ libsandbox.h \ ---------------- --- configure.old 2009-01-18 09:03:01.286581347 -0800 +++ configure 2009-01-18 09:04:39.534604306 -0800 @@ -23460,6 +23460,7 @@ LIBC_PATH=$( $AWK '/attempt to open/ { if (($4 ~ /\/libc\.so/) && ($5 == "succeeded")) LIBC = $4; }; END {print LIBC}' libctest.log ) +LIBC_PATH=/lib/amd64/libc.so rm -f libctest* if test x"$LIBC_PATH" = x || ! test -r "$LIBC_PATH" ; then { { $as_echo "$as_me:$LINENO: error: Unable to determine LIBC PATH ($LIBC_PATH)" >&5 @@ -23478,7 +23479,7 @@ { $as_echo "$as_me:$LINENO: checking libc version" >&5 $as_echo_n "checking libc version... " >&6; } echo "int main(void) { return 0; }" > libctest.c -$CC $CFLAGS $CPPFLAGS $LDFLAGS -Wall -o libctest libctest.c +$CC $CFLAGS $CPPFLAGS $LDFLAGS -o libctest libctest.c LIBC_VERSION=$( $READELF -d libctest | \ grep NEEDED.*libc\\.so | \ @@ -23557,7 +23558,7 @@ CPPFLAGS="$CPPFLAGS -D_REENTRANT" if test "$GCC" = yes; then - CFLAGS="$CFLAGS -Wall" + CFLAGS="$CFLAGS " fi ac_config_commands="$ac_config_commands tests/atconfig"

Replies