dotnet icon indicating copy to clipboard operation
dotnet copied to clipboard

dev-dotnet/ikvm

Open ArsenShnurkov opened this issue 9 years ago • 10 comments

[blocks B      ] dev-java/oracle-jdk-bin[nsplugin] ("dev-java/oracle-jdk-bin[nsplugin]" is blocking dev-java/icedtea-web-1.6.1-r1)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.


  (dev-java/icedtea-web-1.6.1-r1:0/0::gentoo, ebuild scheduled for merge) pulled in by
    dev-java/icedtea-web:0[icedtea7(+),nsplugin] required by (dev-java/icedtea-bin-7.2.6.4:7/7::gentoo, ebuild scheduled for merge)
    dev-java/icedtea-web:0[icedtea7(+)] required by (dev-java/icedtea-bin-7.2.6.4:7/7::gentoo, ebuild scheduled for merge)

  (dev-java/oracle-jdk-bin-1.8.0.66:1.8/1.8::gentoo, installed) pulled in by
    =dev-java/oracle-jdk-bin-1.8.0* required by (virtual/jdk-1.8.0:1.8/1.8::gentoo, installed)

i think, that this may resolve very easy. Locally I removed slot 1.7 from ikvm dependency to start compilation...

this give another error:

!!! ERROR: Couldn't find a VM dep
 * Unable to determine VM for building from dependencies:

then I replaced 1.7 with 1.8, and receive

Failed Patch: ikvm-7.1.4532.2-key.patch !
 *  ( /var/lib/layman/dotnet/dev-dotnet/ikvm/files/ikvm-7.1.4532.2-key.patch )

ArsenShnurkov avatar Feb 28 '16 05:02 ArsenShnurkov

well... strange that patch is failing but I don't remember clearly story about that package

Cynede avatar Feb 28 '16 07:02 Cynede

but what to do with slotted dependency first?

# eix virtual/jdk
[I] virtual/jdk
     Available versions:  
     (1.6)  1.6.0-r2
     (1.7)  1.7.0
     (1.8)  (~)1.8.0
     Installed versions:  1.8.0(1.8)(09:59:24 AM 06/04/2015)
     Description:         Virtual for Java Development Kit (JDK)

java-check-environment | wgetpaste -s gists https://gist.github.com/ArsenShnurkov/3f344f0118848e903b90

# java-config -v
java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)
# cat /etc/java-config-2/build/jdk.conf
# User jdk configuration file
# You can specify which jdk you prefer to use
# see http://www.gentoo.org/doc/en/java.xml#doc_chap4_sect3 for more info
#
# example:
#1.3=sun-jdk-1.4 ibm-jdk-bin
#1.4=blackdown-jdk
#1.5=sun-jdk
#or if you want everything with sun-jdk
#*=sun-jdk
# eselect java-vm list
Available Java Virtual Machines:
  [1]   oracle-jdk-bin-1.8  system-vm

dev-java/java-config-2.2.0:2::gentoo dev-java/java-config-wrapper-0.16-r1::gentoo

"installing java doesn't set a VM, as you can install more than one and pickup the one you want use as default. java-config -L

# java-config -L
The following VMs are available for generation-2:
*)  Oracle JDK 1.8.0.66 [oracle-jdk-bin-1.8]

java-config -S(s) to set default one"

# readlink /etc/java-config-2/current-system-vm
/usr/lib/jvm/oracle-jdk-bin-1.8

java-config --set-user-vm, creates $HOME/.gentoo/java-env with all necessary env variables

ArsenShnurkov avatar Feb 28 '16 07:02 ArsenShnurkov

I propose >=virtual/jdk-1.7 (instead of virtual/jdk:1.7)

ArsenShnurkov avatar Feb 28 '16 07:02 ArsenShnurkov

@ArsenShnurkov yes but only in case if that will work with jdk > 1.7, for now I can't say if that block was there for reason or not

Cynede avatar Feb 28 '16 15:02 Cynede

I am unable to build mono without .gitmodules, because ikvm is not packaged well:

Making all in runtime
Bootstrap compiler: Mono C# compiler version 4.4.0.0
make[7]: *** No rule to make target '../../external/ikvm/reflect/.cs', needed by '../class/lib/basic/basic.exe'.  Stop.
../build/rules.make:220: recipe for target 'do-all' failed
make[6]: ** [do-all] Error 2
build/rules.make:247: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
Makefile:49: recipe for target 'profile-do--basic--all' failed
make[4]: *** [profile-do--basic--all] Error 2
Makefile:45: recipe for target 'profiles-do--all' failed
make[3]: *** [profiles-do--all] Error 2
Makefile:556: recipe for target 'all-local' failed
make[2]: *** [all-local] Error 2
Makefile:523: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
Makefile:453: recipe for target 'all' failed
make: *** [all] Error 2

ArsenShnurkov avatar Mar 17 '16 15:03 ArsenShnurkov

@ArsenShnurkov I don't understand, may you explain even in Russian what is happening and what are blockers: what is possible to do, etc...

Cynede avatar Mar 17 '16 15:03 Cynede

ikvm fork is very different from it's upstream. May be we need two separate packages - one for mono ikvm-fork, and one for original ikvm.

But that is not a gentoo way...

ArsenShnurkov avatar Mar 18 '16 06:03 ArsenShnurkov

@ArsenShnurkov we've got already two nugets :S and it's not that good, right

Cynede avatar Mar 18 '16 06:03 Cynede

Does ViewVC 1.1.6 (this is version deployed on sourceforge) provide archives by Revision version or not? If it gives http://ikvm.cvs.sourceforge.net/viewvc/ikvm/?view=tar as in https://cygwin.com/viewvc-static/help_rootview.html "Directory Tarball View - Retrieves a gzipped tar archive containing the contents of a directory.This view is disabled in the default ViewVC configuration."

can it provide http://ikvm.cvs.sourceforge.net/viewvc/ikvm/?view=tar&revision=1.17 ?

Some threads:

  • http://stackoverflow.com/questions/36139839/how-to-download-an-archive-with-specific-revision-from-cvs-web-interface
  • https://sourceforge.net/p/forge/site-support/12382/
  • https://sourceforge.net/p/ikvm/mailman/message/34954287/

ArsenShnurkov avatar Mar 18 '16 18:03 ArsenShnurkov

https://wiki.gentoo.org/wiki/Why_not_bundle_dependencies

ArsenShnurkov avatar Jul 12 '16 22:07 ArsenShnurkov