How to install GDC (or even LDC) on Raspberry pi 4 using gentoo?

seany seany at uni-bonn.de
Wed Sep 11 22:13:37 UTC 2019


Hello

I am using Gentoo with LXQT - a system that is more stable to my 
taste (and tests) on raspberry pi 4.

I want to use GDC or LDC2. I cant use LDC2 on gentoo ARM - this 
is leading to an error :

!!! Problem resolving dependencies for dev-lang/ldc2
... done!

!!! The ebuild selected to satisfy "dev-lang/ldc2" has unmet 
requirements.
- dev-lang/ldc2-1.17.0::dlang USE="-dmd-2_068 -dmd-2_071 
-dmd-2_072 -dmd-2_073 -dmd-2_074 -dmd-2_075 -dmd-2_076 -dmd-2_077 
-dmd-2_078 -dmd-2_079 -dmd-2_080 -dmd-2_081 -dmd-2_082 -dmd-2_083 
-dmd-2_084 -dmd-2_085 -dmd-2_086 -gdc-6_4_0 -gdc-7_3_0 -ldc2-0_17 
-ldc2-1_10 -ldc2-1_11 -ldc2-1_12 -ldc2-1_13 -ldc2-1_14 -ldc2-1_15 
-ldc2-1_16 -ldc2-1_4 -ldc2-1_5 -ldc2-1_6 -ldc2-1_7 -ldc2-1_8 
-ldc2-1_9 -static-libs"

   The following REQUIRED_USE flag constraints are unsatisfied:
     exactly-one-of ( dmd-2_068 gdc-6_4_0 ldc2-0_17 dmd-2_083 
dmd-2_082 dmd-2_081 dmd-2_080 dmd-2_086 dmd-2_085 dmd-2_084 
dmd-2_072 dmd-2_073 dmd-2_071 dmd-2_076 dmd-2_077 dmd-2_074 
dmd-2_075 dmd-2_078 dmd-2_079 gdc-7_3_0 ldc2-1_16 ldc2-1_15 
ldc2-1_14 ldc2-1_13 ldc2-1_8 ldc2-1_12 ldc2-1_9 ldc2-1_11 
ldc2-1_10 ldc2-1_4 ldc2-1_5 ldc2-1_6 ldc2-1_7 )

   The above constraints are a subset of the following complete 
expression:
     exactly-one-of ( dmd-2_068 gdc-6_4_0 ldc2-0_17 dmd-2_083 
dmd-2_082 dmd-2_081 dmd-2_080 dmd-2_086 dmd-2_085 dmd-2_084 
dmd-2_072 dmd-2_073 dmd-2_071 dmd-2_076 dmd-2_077 dmd-2_074 
dmd-2_075 dmd-2_078 dmd-2_079 gdc-7_3_0 ldc2-1_16 ldc2-1_15 
ldc2-1_14 ldc2-1_13 ldc2-1_8 ldc2-1_12 ldc2-1_9 ldc2-1_11 
ldc2-1_10 ldc2-1_4 ldc2-1_5 ldc2-1_6 ldc2-1_7 ) arm? ( !dmd-2_068 
) arm64? ( !dmd-2_068 ) ppc64? ( !dmd-2_068 ) arm64? ( !ldc2-0_17 
) ppc64? ( !ldc2-0_17 ) arm? ( !dmd-2_083 ) arm64? ( !dmd-2_083 ) 
ppc64? ( !dmd-2_083 ) arm? ( !dmd-2_082 ) arm64? ( !dmd-2_082 ) 
ppc64? ( !dmd-2_082 ) arm? ( !dmd-2_081 ) arm64? ( !dmd-2_081 ) 
ppc64? ( !dmd-2_081 ) arm? ( !dmd-2_080 ) arm64? ( !dmd-2_080 ) 
ppc64? ( !dmd-2_080 ) arm? ( !dmd-2_086 ) arm64? ( !dmd-2_086 ) 
ppc64? ( !dmd-2_086 ) arm? ( !dmd-2_085 ) arm64? ( !dmd-2_085 ) 
ppc64? ( !dmd-2_085 ) arm? ( !dmd-2_084 ) arm64? ( !dmd-2_084 ) 
ppc64? ( !dmd-2_084 ) arm? ( !dmd-2_072 ) arm64? ( !dmd-2_072 ) 
ppc64? ( !dmd-2_072 ) arm? ( !dmd-2_073 ) arm64? ( !dmd-2_073 ) 
ppc64? ( !dmd-2_073 ) arm? ( !dmd-2_071 ) arm64? ( !dmd-2_071 ) 
ppc64? ( !dmd-2_071 ) arm? ( !dmd-2_076 ) arm64? ( !dmd-2_076 ) 
ppc64? ( !dmd-2_076 ) arm? ( !dmd-2_077 ) arm64? ( !dmd-2_077 ) 
ppc64? ( !dmd-2_077 ) arm? ( !dmd-2_074 ) arm64? ( !dmd-2_074 ) 
ppc64? ( !dmd-2_074 ) arm? ( !dmd-2_075 ) arm64? ( !dmd-2_075 ) 
ppc64? ( !dmd-2_075 ) arm? ( !dmd-2_078 ) arm64? ( !dmd-2_078 ) 
ppc64? ( !dmd-2_078 ) arm? ( !dmd-2_079 ) arm64? ( !dmd-2_079 ) 
ppc64? ( !dmd-2_079 ) arm64? ( !ldc2-1_8 ) ppc64? ( !ldc2-1_8 ) 
arm64? ( !ldc2-1_9 ) ppc64? ( !ldc2-1_9 ) arm64? ( !ldc2-1_10 ) 
ppc64? ( !ldc2-1_10 ) arm64? ( !ldc2-1_4 ) ppc64? ( !ldc2-1_4 ) 
arm64? ( !ldc2-1_5 ) ppc64? ( !ldc2-1_5 ) arm64? ( !ldc2-1_6 ) 
ppc64? ( !ldc2-1_6 ) arm64? ( !ldc2-1_7 ) ppc64? ( !ldc2-1_7 )


If i use: sudo USE="gdc-7_3_0" emerge -vta dev-lang/ldc2, then 
this just updates the portage, and then does nothing.

If I try to use the arm-linux-gnueabihf 2.068.2 (64 bit) from 
https://gdcproject.org/downloads - then I get the error that Exec 
format error.

How can i use d programming language on gentoo for raspberry pi 4 
? Thank you.



More information about the D.gnu mailing list