Re: [gentoo-user] Dlang questions, problem emerging gtkd and how to emerge gdc_11_ 2 ?

2022-03-02 Thread Matt Connell (Gmail)
On Wed, 2022-03-02 at 10:57 -0500, Chris Phillips wrote:
> Although I wonder why dmd-2_096 wasn't in the list ?

gtkd probably doesn't support that version of dmd just yet.  Just a
guess, without examining the ebuild.




Re: [gentoo-user] Dlang questions, problem emerging gtkd and how to emerge gdc_11_ 2 ?

2022-03-02 Thread Chris Phillips
Thanks!

On 2022-03-02 9:43 a.m., tastytea wrote:
> On 2022-03-02 09:27-0500 Chris Phillips  wrote:
> 
>> !!! The ebuild selected to satisfy "dev-libs/gtkd" has unmet
>> requirements.
>> - dev-libs/gtkd-3.9.0::dlang USE="opengl -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 -dmd-2_087
>> -dmd-2_088 -dmd-2_089 -dmd-2_090 -dmd-2_091 -dmd-2_092 -dmd-2_093
>> -dmd-2_094 -dmd-2_095 -gdc-11_2_0 -gstreamer -ldc2-1_25 -peas
>> -sourceview -static-libs -vte" ABI_X86="(64) -32 (-x32)"
>>
>>   The following REQUIRED_USE flag constraints are unsatisfied:
>> any-of ( dmd-2_076 dmd-2_077 dmd-2_074 dmd-2_075 dmd-2_078
>> dmd-2_079 dmd-2_089 dmd-2_088 dmd-2_083 dmd-2_082 dmd-2_081 dmd-2_080
>> dmd-2_087 dmd-2_086 dmd-2_085 dmd-2_084 dmd-2_090 dmd-2_091 dmd-2_092
>> dmd-2_093 dmd-2_094 dmd-2_095 gdc-11_2_0 ldc2-1_25 )
> 
> This tells you that dev-libs/gtkd needs at least one of (any-of) the
> listed USE flags. You can enable USE flags in
> /etc/portage/package.use¹. For example, to enable gdc-11_2_0:
> 
> echo 'dev-libs/gtkd gdc-11_2_0' >> /etc/portage/package.use/dlang
> 
> Kind regards, tastytea
> 
> 
> ¹ 
> 
> 
> 

This appears to be working... will report back when its "done".
(Although I wonder why dmd-2_096 wasn't in the list ?)

Cheers!
Chris



Re: [gentoo-user] Dlang questions, problem emerging gtkd and how to emerge gdc_11_ 2 ?

2022-03-02 Thread Matt Connell (Gmail)
On Wed, 2022-03-02 at 09:46 -0500, Matt Connell (Gmail) wrote:
> You have to manually specify, via a USE flag, which version of dmd that
> you want.
> 
> eg. "net-misc/onedrive dmd-2_095" in /etc/portage/package.use/dmd

Sorry, for this, I copied my *own* use flag file with the package for
which I specify a dmd version, instead of yours.

The point is still the same though, packages that require dmd have to
be specified which version of the compiler to use.




Re: [gentoo-user] Dlang questions, problem emerging gtkd and how to emerge gdc_11_ 2 ?

2022-03-02 Thread Matt Connell (Gmail)
On Wed, 2022-03-02 at 09:27 -0500, Chris Phillips wrote:
>   The following REQUIRED_USE flag constraints are unsatisfied:
>     any-of ( dmd-2_076 dmd-2_077 dmd-2_074 dmd-2_075 dmd-2_078 dmd-2_079
> dmd-2_089 dmd-2_088 dmd-2_083 dmd-2_082 dmd-2_081 dmd-2_080 dmd-2_087
> dmd-2_086 dmd-2_085 dmd-2_084 dmd-2_090 dmd-2_091 dmd-2_092 dmd-2_093
> dmd-2_094 dmd-2_095 gdc-11_2_0 ldc2-1_25 )

You have to manually specify, via a USE flag, which version of dmd that
you want.

eg. "net-misc/onedrive dmd-2_095" in /etc/portage/package.use/dmd

It is a bit bothersome to have to manually update this when dmd
updates, but that's just the way it is packaged, I suppose.




Re: [gentoo-user] Dlang questions, problem emerging gtkd and how to emerge gdc_11_ 2 ?

2022-03-02 Thread tastytea
On 2022-03-02 09:27-0500 Chris Phillips  wrote:

> !!! The ebuild selected to satisfy "dev-libs/gtkd" has unmet
> requirements.
> - dev-libs/gtkd-3.9.0::dlang USE="opengl -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 -dmd-2_087
> -dmd-2_088 -dmd-2_089 -dmd-2_090 -dmd-2_091 -dmd-2_092 -dmd-2_093
> -dmd-2_094 -dmd-2_095 -gdc-11_2_0 -gstreamer -ldc2-1_25 -peas
> -sourceview -static-libs -vte" ABI_X86="(64) -32 (-x32)"
> 
>   The following REQUIRED_USE flag constraints are unsatisfied:
> any-of ( dmd-2_076 dmd-2_077 dmd-2_074 dmd-2_075 dmd-2_078
> dmd-2_079 dmd-2_089 dmd-2_088 dmd-2_083 dmd-2_082 dmd-2_081 dmd-2_080
> dmd-2_087 dmd-2_086 dmd-2_085 dmd-2_084 dmd-2_090 dmd-2_091 dmd-2_092
> dmd-2_093 dmd-2_094 dmd-2_095 gdc-11_2_0 ldc2-1_25 )

This tells you that dev-libs/gtkd needs at least one of (any-of) the
listed USE flags. You can enable USE flags in
/etc/portage/package.use¹. For example, to enable gdc-11_2_0:

echo 'dev-libs/gtkd gdc-11_2_0' >> /etc/portage/package.use/dlang

Kind regards, tastytea


¹ 



[gentoo-user] Dlang questions, problem emerging gtkd and how to emerge gdc_11_ 2 ?

2022-03-02 Thread Chris Phillips
 Any Dlang users/experts out there?

The following is hanging me up:

 # emerge --ask --verbose --update --deep --newuse --changed-use
--verbose-conflicts --backtrack=3000 --keep-going=y --sync dlang
>>> Syncing repository 'dlang' into '/var/lib/layman/dlang'...
/usr/bin/git fetch origin
Already up to date.
=== Sync completed for dlang

Action: sync for repo: dlang, returned code = 0


 # emerge --ask --verbose --update --deep --newuse --changed-use
--verbose-conflicts --backtrack=3000 --keep-going=y  --with-bdeps=y @world

These are the packages that would be merged, in order:

Calculating dependencies \

!!! Problem resolving dependencies for dev-libs/gtkd from @selected
... done!

!!! The ebuild selected to satisfy "dev-libs/gtkd" has unmet requirements.
- dev-libs/gtkd-3.9.0::dlang USE="opengl -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 -dmd-2_087
-dmd-2_088 -dmd-2_089 -dmd-2_090 -dmd-2_091 -dmd-2_092 -dmd-2_093
-dmd-2_094 -dmd-2_095 -gdc-11_2_0 -gstreamer -ldc2-1_25 -peas
-sourceview -static-libs -vte" ABI_X86="(64) -32 (-x32)"

  The following REQUIRED_USE flag constraints are unsatisfied:
any-of ( dmd-2_076 dmd-2_077 dmd-2_074 dmd-2_075 dmd-2_078 dmd-2_079
dmd-2_089 dmd-2_088 dmd-2_083 dmd-2_082 dmd-2_081 dmd-2_080 dmd-2_087
dmd-2_086 dmd-2_085 dmd-2_084 dmd-2_090 dmd-2_091 dmd-2_092 dmd-2_093
dmd-2_094 dmd-2_095 gdc-11_2_0 ldc2-1_25 )

  The above constraints are a subset of the following complete expression:
any-of ( dmd-2_076 dmd-2_077 dmd-2_074 dmd-2_075 dmd-2_078 dmd-2_079
dmd-2_089 dmd-2_088 dmd-2_083 dmd-2_082 dmd-2_081 dmd-2_080 dmd-2_087
dmd-2_086 dmd-2_085 dmd-2_084 dmd-2_090 dmd-2_091 dmd-2_092 dmd-2_093
dmd-2_094 dmd-2_095 gdc-11_2_0 ldc2-1_25 ) amd64? ( !ldc2-1_25 ) x86? (
!ldc2-1_25 )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

 # dmd --version
DMD64 D Compiler v2.096.1

Copyright (C) 1999-2021 by The D Language Foundation, All Rights
Reserved written by Walter Bright
 # emerge --info
Portage 3.0.30 (python 3.9.9-final-0, default/linux/amd64/17.1/desktop,
gcc-11.2.0, glibc-2.33-r7, 5.15.19-gentoo-x86_64 x86_64)
=
System uname:
Linux-5.15.19-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7_CPU_M_620_@_2.67GHz-with-glibc2.33
KiB Mem: 3818592 total,367956 free
KiB Swap:   23437308 total,  23365792 free
Timestamp of repository gentoo: Wed, 02 Mar 2022 13:30:01 +
Head commit of repository gentoo: dd80fe7ad4b85979d2a4c5d7b149f571c0a68e10
Head commit of repository dlang: 0d8427cd2775b0381390618a943a8bafceff8f20

sh bash 5.1_p16
ld GNU ld (Gentoo 2.34 p6) 2.34.0
app-misc/pax-utils:1.3.3::gentoo
app-shells/bash:   5.1_p16::gentoo
dev-java/java-config:  2.3.1::gentoo
dev-lang/perl: 5.34.0-r6::gentoo
dev-lang/python:   2.7.18_p13::gentoo, 3.6.15::gentoo,
3.7.12_p1::gentoo, 3.8.12_p1-r1::gentoo, 3.9.9-r1::gentoo,
3.10.0_p1-r1::gentoo
dev-lang/rust: 1.58.1::gentoo
dev-util/cmake:3.22.2::gentoo
dev-util/meson:0.60.3::gentoo
sys-apps/baselayout:   2.7-r3::gentoo
sys-apps/openrc:   0.44.10::gentoo
sys-apps/sandbox:  2.25::gentoo
sys-devel/autoconf:2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo
sys-devel/automake:1.13.4-r2::gentoo, 1.16.4::gentoo
sys-devel/binutils:2.34-r2::gentoo, 2.35.2::gentoo,
2.36.1-r2::gentoo, 2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:   10.0.1::gentoo, 11.1.0::gentoo,
12.0.1::gentoo, 13.0.0::gentoo
sys-devel/gcc: 9.3.0-r2::gentoo, 10.3.0-r2::gentoo,
11.2.0::gentoo
sys-devel/gcc-config:  2.5-r1::gentoo
sys-devel/libtool: 2.4.6-r6::gentoo
sys-devel/llvm:8.0.1::gentoo, 10.0.1::gentoo,
11.1.0::gentoo, 12.0.1::gentoo, 13.0.0::gentoo
sys-devel/make:4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:2.33-r7::gentoo
Repositories:

gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-jobs: 1
sync-rsync-verify-max-age: 24
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:

dlang
location: /var/lib/layman/dlang
sync-type: git
sync-uri: https://github.com/gentoo-mirror/dlang.git
masters: gentoo
priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild
/etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d
/etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2