[Bug 114] New: Build does: mkdir $HOME/.subversion

[email protected] Mon, 21 Mar 2005 14:17:01 -0500
Newsgroups gmane.comp.java.vm.sablevm.bugs
Message-ID <[email protected]>
http://sablevm.org/bugs/show_bug.cgi?id=114

           Summary: Build does: mkdir $HOME/.subversion
           Product: SableVM
           Version: staging
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


Hi,

Building SableVM on Gentoo causes sandbox violations under some conditions.
A sandbox violation occurs on Gentoo if the build process of a package
write files outside a subset of predefined directories: build dir, image
$DESTDIR, /tmp, ...

http://bugs.gentoo.org/show_bug.cgi?id=85587

The configure scripts of SableVM-Classpath calls svn to do some safety check on
the branch use.  This will attempt to create: /root/.subversion if does not
exist leading to a sandbox violation.  A second one occurs supposely later in
the process.

Note: Happens only if /root/.subversion does not exist.


dnl *** IMPORTANT: Uncomment the apropriate line below. ***
dnl a) uncomment for official releases.  Please update version number.
AC_INIT([sablevm-classpath], [1.11.1], [http://www.sablevm.org/])
dnl b) uncomment for development on the trunk
dnl AC_INIT([sablevm-classpath], [trunk+]esyscmd([svn info | grep ^Revision: |
awk '{print $2}' | head -n 1 | xargs echo -n]), [http://www.sablevm.org/])
dnl c) uncomment for development on branches.  Please update branch name.
dnl AC_INIT([sablevm-classpath], [branchname+]esyscmd([svn info | grep
^Revision: | awk '{print $2}' | head -n 1 | xargs echo -n]),
[http://www.sablevm.org/])

dnl The following code makes sure that a branch version has been
dnl selected above, when developing on a branch in a subversion working
dnl copy.
dnl If one of the svn, grep or cut command is missing, the script assumes
dnl that the version is OK.
SVN_URL=`svn info | grep ^URL\: | cut -c6- | grep -v '/sablevm-classpath/trunk$'
| grep -v '/tags/'`
if test "x$SVN_URL" != "x" ; then
  case $PACKAGE_VERSION in
    trunk+*) echo "$PACKAGE_VERSION is not an appropriate branch version"
             echo "Please uncomment appropatiate AC INIT macro in configure.ac"
             exit 1 ;;
    *+*)     ;;
    *)       echo "$PACKAGE_VERSION is not an appropriate branch version"
             echo "Please uncomment appropatiate AC INIT macro in configure.ac"
             exit 1 ;;
  esac
fi



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.