pigreco Apprentice
Joined: 16 Nov 2005 Posts: 223 Location: Italia
|
Posted: Thu Jan 12, 2012 1:00 pm Post subject: problemi con Gentoo Hardened [SOLVED] |
|
|
Salve,
sto effettuando il setup di 2 server identici con Gentoo Hardened grsecurity+pax installando esattamente le stesse cose però solamente su di uno dei due mi sono imbattuto in un problema dovuto ai sorgenti hardened:
Code: | Descriptor org.tigris.subversion.javahl.ProgressEvent org.tigris.subversion.javahl.BlameCallbackImpl org.tigris.subversion.javahl.Depth org.tigris.subversion.javahl.InfoCallback org.tigris.subversion.javahl.DiffSummary org.tigris.subversion.javahl.LockStatus org.tigris.subversion.javahl.ConflictResolverCallback org.tigris.subversion.javahl.RevisionRange org.tigris.subversion.javahl.PromptUserPassword org.tigris.subversion.javahl.NotifyInformation
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
make: *** [subversion/bindings/javahl/include/org_tigris_subversion_javahl_SVNClientInterface.h] Error 1
emake failed
* ERROR: dev-vcs/subversion-1.6.17-r7 failed (compile phase):
* Building of Subversion JavaHL library failed
*
* Call stack:
* ebuild.sh, line 75: Called src_compile
* environment, line 8170: Called die
* The specific snippet of code:
* emake -j1 JAVAC_FLAGS="$(java-pkg_javac-args) -encoding iso8859-1" javahl || die "Building of Subversion JavaHL library failed";
*
* If you need support, post the output of 'emerge --info =dev-vcs/subversion-1.6.17-r7',
* the complete build log and the output of 'emerge -pqv =dev-vcs/subversion-1.6.17-r7'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea6-bin CLASSPATH="" JAVA_HOME="/opt/icedtea6-bin-1.10.4"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info
* The complete build log is located at '/var/tmp/portage/dev-vcs/subversion-1.6.17-r7/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-vcs/subversion-1.6.17-r7/temp/environment'.
* S: '/var/tmp/portage/dev-vcs/subversion-1.6.17-r7/work/subversion-1.6.17'
>>> Failed to emerge dev-vcs/subversion-1.6.17-r7, Log file:
>>> '/var/tmp/portage/dev-vcs/subversion-1.6.17-r7/temp/build.log'
* Messages for package dev-vcs/subversion-1.6.17-r7:
* ERROR: dev-vcs/subversion-1.6.17-r7 failed (compile phase):
* Building of Subversion JavaHL library failed
*
* Call stack:
* ebuild.sh, line 75: Called src_compile
* environment, line 8170: Called die
* The specific snippet of code:
* emake -j1 JAVAC_FLAGS="$(java-pkg_javac-args) -encoding iso8859-1" javahl || die "Building of Subversion JavaHL library failed";
*
* If you need support, post the output of 'emerge --info =dev-vcs/subversion-1.6.17-r7',
* the complete build log and the output of 'emerge -pqv =dev-vcs/subversion-1.6.17-r7'.
* The complete build log is located at '/var/tmp/portage/dev-vcs/subversion-1.6.17-r7/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-vcs/subversion-1.6.17-r7/temp/environment'.
* S: '/var/tmp/portage/dev-vcs/subversion-1.6.17-r7/work/subversion-1.6.17'
* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
|
dopo alcune ricerche o ritenuto che il problema fosse legato all'esecuzione di java e pensavo di poter risolvere con il comando:
Code: | paxctl -C -pemrxs /usr/lib/jvm/icedtea6-bin/bin/java |
ma non ho ottenuto nessun miglioramento, qualcuno mi può dare dei consigli??
Maurizio
Last edited by pigreco on Thu Jan 12, 2012 1:43 pm; edited 1 time in total |
|