Re: [gentoo-user] planning a new machine : comments welcome

2022-03-02 Thread Dale
Laurence Perkins wrote:
> With regard to SMR drives, note that there are three basic types:
>
> Some completely hide the fact that they are SMR.  These suck, hands down.  
> Performance is unpredictable and random.
> Some at least advertise that they're SMR, and expose basic counters about 
> where they are in their maintenance cycles.  These still suck, but at least 
> you can kind of predict when they're about to get really slow.
>
> The best ones actually advertise what the shingled ranges are, at which point 
> a new enough kernel and filesystem can keep the writes to those ranges as 
> sequential as possible, and you can use the big, cheap drives with very 
> little performance loss.
>
> There are a couple articles explaining how to determine what you've got and 
> optimize it.  I don't have my bookmarks to hand, but it was in a discussion 
> on this list a few months ago.
>
> LMP
>

That's some new info.  I tend to follow threads, even started one ages
ago about my hard drive doing a bumpy thing for a long time after I
updated my backups.  Rich plus others informed me I unknowingly bought a
SMR drive.  I think mine has about a 15 or 20GB CMR section.  I've
noticed if my updates go to about that much or more, it gets slow. 
Either way, it does the bumpy thing for a good while after my backups
are done and I've unmounted the drive.  I just let it sit there until it
gets done.  If I don't, it just slows down faster the next time because
it starts out behind on moving the files from CMR to SMR and doing its
rewrite thing. 

My biggest point for the OP, look at its use and pick what works as
expected.  I've read, and Wol seems to confirm this, that RAID and SMR
do not go together well.  I've read some have hosed RAID thingys when
they put in a SMR drive and didn't know it. 

The biggest problem I have is when they don't let us know when a drive
is SMR.  I don't like a company that sells me something that isn't as
good without telling me.  It sort of rubs me the wrong way. 

To the OP tho, research first, then buy.  Know what you getting and that
it will work for your needs.  As I said, for the most part, my backup
drive being SMR is mostly a little annoying.  It does work.  I just
won't do it again tho.

Dale

:-)  :-) 



Re: [gentoo-user] planning a new machine : comments welcome

2022-03-02 Thread Wol

On 02/03/2022 22:01, Dale wrote:

If unsure, post the model and I'm sure someone can tell you if
it is CMR or SMR.  CMR = good, SMR = bad in some, maybe most,
circumstances.  I don't know how true this is but I've read SMR and RAID
is bad, btfrs(sp?) and similar file systems can also be bad.  Research
and weigh based on what will work for you.  SMR can save you some cash,
sometimes.


The Seagate is a BarraCuda. Not a Barracuda. Note the slightly different 
spelling.


All new BarraCudas are SMR.

I think the WD is a Black, which is also almost certainly SMR. WD 
shafted a lot of people by shipping SMR and not telling anyone. At least 
Seagate appear to have been open about it.


And yes, raid and SMR do not go well together.

Cheers,
Wol



RE: [gentoo-user] planning a new machine : comments welcome

2022-03-02 Thread Laurence Perkins
With regard to SMR drives, note that there are three basic types:

Some completely hide the fact that they are SMR.  These suck, hands down.  
Performance is unpredictable and random.
Some at least advertise that they're SMR, and expose basic counters about where 
they are in their maintenance cycles.  These still suck, but at least you can 
kind of predict when they're about to get really slow.

The best ones actually advertise what the shingled ranges are, at which point a 
new enough kernel and filesystem can keep the writes to those ranges as 
sequential as possible, and you can use the big, cheap drives with very little 
performance loss.

There are a couple articles explaining how to determine what you've got and 
optimize it.  I don't have my bookmarks to hand, but it was in a discussion on 
this list a few months ago.

LMP

-Original Message-
From: Dale  
Sent: Wednesday, March 2, 2022 2:01 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] planning a new machine : comments welcome

Wols Lists wrote:
> On 02/03/2022 19:39, Philip Webb wrote:
>
>>
>> [ Memory : Kingston has always performed well &  16 GB  sb adequate ]
>>
>>    220222 Memory : MEKIT00581 : Kingston : 2 x 8 = 16 GB   
>> $ 110
>>     DDR4 3600 MHz CL17 dual channel
>
> What's the largest chip a slot takes? If you can afford it, buy two of 
> those. My new mobo takes 16GB, and they were only GB£50 each - £100.
> If you ever want to upgrade the ram, you won't need to "chuck and 
> replace".

I agree with this because I've made this mistake, twice.  Find out the largest 
size that will fit in each slot and buy to enough of them to cover your needs.  
When you need to expand, just plug in a extra stick, or two. 

Depending on what you do, 16GBs may be enough.  I have 32GBs on mine and quite 
often during updates I hit 20GBs of memory in use.  I'm not including cache or 
anything, actually memory in use by the system.  If you need to save on cash 
and upgrade later, one could likely adjust the memory used during large updates 
by using load options etc with emerge. I don't know why but it seems I get hit 
with a Firefox, libreoffice and some other large package at the same time quite 
often.  It takes up a lot of memory doing those.  I just thought it worth a 
mention but you may have a different demand than I do. 

>>
>> [ HDD : for back-up + alternative OS (Mint).
>> ANB5 has Seagate : anyone prefer W Digital & if so, why ? ]
>>
>> * 220222 HDD : HDSEA00144 : Seagate : 2 TB $  55
>>  SATA 3,5" 7200 RPM
>
> BarraCuda? That's an SMR drive. Look at the FireCuda instead or even 
> better an IronWolf. Only snag is, it'll push the price up. Umm ... the 
> firecuda costs a lot more than I thought - a 4TB IronWolf is £84.

On this, good point.  I have a SMR drive, didn't know it when I bought it, and 
I use it for a external backup that is done weekly.  Even with that, it is a 
bit annoying.  Even when it is done, it isn't really done yet.  I would not use 
this for anything where you might have a lot of large writes.  Once it hits a 
certain point, varies by drive, it gets slow and can get really slow.  I've 
seen old IDE drives that could be faster.  If unsure, post the model and I'm 
sure someone can tell you if it is CMR or SMR.  CMR = good, SMR = bad in some, 
maybe most, circumstances.  I don't know how true this is but I've read SMR and 
RAID is bad, btfrs(sp?) and similar file systems can also be bad.  Research and 
weigh based on what will work for you.  SMR can save you some cash, sometimes. 

>>
>> [ Case : ANB5 has Deepcool, which seems a good price ]
>>
>> * 220223 Case : CSDCL00019 : Deepcool : $  55
>>   E-Shield 120 mm Fan  Radiator Support
>>   E-ATX/ATX/MicroATX/MiniITX
>>  00032 : Matrexx
>> 50    $  60
>>  00035 : Matrexx 55
>> MESH   $  70
>>   PSU Shroud
>>  00044 : Macube 310P
>> WH    $  80
>>   Magnetic/CableManagement/FAN HUB Pre-install
>>
>> [ Power : ANB5 has Thermaltake : is  700 W  likely to be adequate ? ]
>
> Crumbs. For the system you're spec'ing, 250W is probably adequate.
> That said, at $60 I wouldn't skimp on a decent supply. A stressed 
> supply is more likely (a) to blow, and (b) to take out components with 
> it. That $60 is money well spent. My PSUs are Corsairs, for no 
> particular reason.

I agree with this.  A badly designed power supply can really cost you if it 
goes out.  I think mine is a Thermaltake but only a few models are really good. 
 There is a thread on overclockers forum that lists power supplies by model and 
if they passed the tests they ran.  It also explains how good the protection is 
when the power supply goes bad.  I don't know how up to date that list is but 
don't skimp to much on this. I had a fan go out on one of my 

Re: [gentoo-user] planning a new machine : comments welcome

2022-03-02 Thread Dale
Wols Lists wrote:
> On 02/03/2022 19:39, Philip Webb wrote:
>
>>
>> [ Memory : Kingston has always performed well &  16 GB  sb adequate ]
>>
>>    220222 Memory : MEKIT00581 : Kingston : 2 x 8 = 16
>> GB   $ 110
>>     DDR4 3600 MHz CL17 dual channel
>
> What's the largest chip a slot takes? If you can afford it, buy two of
> those. My new mobo takes 16GB, and they were only GB£50 each - £100.
> If you ever want to upgrade the ram, you won't need to "chuck and
> replace".

I agree with this because I've made this mistake, twice.  Find out the
largest size that will fit in each slot and buy to enough of them to
cover your needs.  When you need to expand, just plug in a extra stick,
or two. 

Depending on what you do, 16GBs may be enough.  I have 32GBs on mine and
quite often during updates I hit 20GBs of memory in use.  I'm not
including cache or anything, actually memory in use by the system.  If
you need to save on cash and upgrade later, one could likely adjust the
memory used during large updates by using load options etc with emerge. 
I don't know why but it seems I get hit with a Firefox, libreoffice and
some other large package at the same time quite often.  It takes up a
lot of memory doing those.  I just thought it worth a mention but you
may have a different demand than I do. 

>>
>> [ HDD : for back-up + alternative OS (Mint).
>> ANB5 has Seagate : anyone prefer W Digital & if so, why ? ]
>>
>> * 220222 HDD : HDSEA00144 : Seagate : 2 TB   
>> $  55
>>  SATA 3,5" 7200 RPM
>
> BarraCuda? That's an SMR drive. Look at the FireCuda instead or even
> better an IronWolf. Only snag is, it'll push the price up. Umm ... the
> firecuda costs a lot more than I thought - a 4TB IronWolf is £84.

On this, good point.  I have a SMR drive, didn't know it when I bought
it, and I use it for a external backup that is done weekly.  Even with
that, it is a bit annoying.  Even when it is done, it isn't really done
yet.  I would not use this for anything where you might have a lot of
large writes.  Once it hits a certain point, varies by drive, it gets
slow and can get really slow.  I've seen old IDE drives that could be
faster.  If unsure, post the model and I'm sure someone can tell you if
it is CMR or SMR.  CMR = good, SMR = bad in some, maybe most,
circumstances.  I don't know how true this is but I've read SMR and RAID
is bad, btfrs(sp?) and similar file systems can also be bad.  Research
and weigh based on what will work for you.  SMR can save you some cash,
sometimes. 

>>
>> [ Case : ANB5 has Deepcool, which seems a good price ]
>>
>> * 220223 Case : CSDCL00019 : Deepcool :  
>> $  55
>>   E-Shield 120 mm Fan  Radiator Support
>>   E-ATX/ATX/MicroATX/MiniITX
>>  00032 : Matrexx
>> 50    $  60
>>  00035 : Matrexx 55
>> MESH   $  70
>>   PSU Shroud
>>  00044 : Macube 310P
>> WH    $  80
>>   Magnetic/CableManagement/FAN HUB Pre-install
>>
>> [ Power : ANB5 has Thermaltake : is  700 W  likely to be adequate ? ]
>
> Crumbs. For the system you're spec'ing, 250W is probably adequate.
> That said, at $60 I wouldn't skimp on a decent supply. A stressed
> supply is more likely (a) to blow, and (b) to take out components with
> it. That $60 is money well spent. My PSUs are Corsairs, for no
> particular reason.

I agree with this.  A badly designed power supply can really cost you if
it goes out.  I think mine is a Thermaltake but only a few models are
really good.  There is a thread on overclockers forum that lists power
supplies by model and if they passed the tests they ran.  It also
explains how good the protection is when the power supply goes bad.  I
don't know how up to date that list is but don't skimp to much on this. 
I had a fan go out on one of my Thermaltakes and it ran for a bit but
blew smoke and died.  Thing is, it shut down nicely and a new power
supply got me running again.  You want one that has good protections in
place otherwise, you could be building a new rig. 

Hope that helps. 

Dale

:-)  :-) 



Re: [gentoo-user] planning a new machine : comments welcome

2022-03-02 Thread Wols Lists

On 02/03/2022 19:39, Philip Webb wrote:

After  > 6 years , I'm planning to build a new machine ANB6.
The present machine ANB5 -- details at end -- continues to perform well,
but I can't rely on that for ever.

I use it for everyday desktop work + fun.
The weekly Gentoo update is the main stressor, for which ANB5 is adequate,
but it's always nice to get a bit more speed & avoid too much heat-up.

I expect to buy the parts from the local store
-- Canada Computers in Downtown Toronto -- & prices below are in CAD.
I'm price-sensitive, but willing to pay a bit more for a better part.
Here's the list + a few comments ; '*' denotes presently prefered item :

ANB6

[ CPU : not much difference, but comments very welcome.
I've had good luck with AMD in the past, less so with Intel ]

   220208 CPU AMD : CPAMD00131 : Ryzen 7 : 5700G :  8-core 16-thread : $ 388
 Socket AM4 : 3,8 / 4,6 GHz : Radeon Graphix Wreath Stealth
   00055 : Ryzen 7 : 3700X : 7 nm : 8-core 16-thread : $ 400
Socket AM4 : 3,6 / 4,4 GHz
* 00110 : Ryzen 7 : 5800X : ZEN 3 : 7 nm : 8-core 16-thread : $ 460
Socket AM4 : 3,8 / 4,7 GHz boost


I stick to AMD. Prejudice? Quite likely.


[ Mobo : ANB4 (previous machine, now stand-by) + ANB5 have Gigabyte ]

   220219 Mobo AMD : MBASU00311 : Asus : Prime B550+ (Ryzen AM4) : $ 180
  dual M.2 : PCle 4.0 : 1 GB Ethernet : SATA 6 Gbps
  USB 3.2 gen 2 Types A/C : Aura Sync RGB headers support
* MBGIG00145 : Gigabyte : X570 Aorus elite WIFI : $ 220
  dual PCle 4.0 M.2 : Intel dual-band 802.11ac wireless
  front USB Type C : RGB Fusion 2.0


Again, I stick to Gigabyte.


[ Memory : Kingston has always performed well &  16 GB  sb adequate ]

   220222 Memory : MEKIT00581 : Kingston : 2 x 8 = 16 GB   $ 110
DDR4 3600 MHz CL17 dual channel


What's the largest chip a slot takes? If you can afford it, buy two of 
those. My new mobo takes 16GB, and they were only GB£50 each - £100. If 
you ever want to upgrade the ram, you won't need to "chuck and replace".


[ Graphics card : this seems to be the big problem.
There are cheaper cards, but they're all "sold out" :
apparently, there's a supply problem at present ;
this was the cheapest in stock in late Feb ]

   220223 Graphix : VCASU00223 : Asus :$ 280
 Phoenix PH-GTX1650-O4GD6 GeForce GTX 1650
 4 GB GDDR6 : 1.41 GHz Core : 128 bit Bus Width
 DisplayPort HDMI DVI
   [ cheapest available : most types sold out : >= $ 60 ]


Look at the new "combined CPU and Video" chips - most boards have had 
onboard graphics since don't know when, but the newer boards need a 
combined G/CPU for onboard to work.


[ SSD : Kingston as above :  1 TB  sb adequate ]

   220222 SSD : SSKIT00058 : Kingston : 512 GB $  95
 KC600 SATA3 6 GB/s 2,5" R 550 W 520 MB/s

*  SSKIT00069 : Kingston : 1 TB   $ 170
 KC600 SATA3 6 GB/s 2,5" R 550 W 520 MB/s

SSSAS00105 : Samsung : 500 GB  $ 100
 870EVO SATA3 R 560 W 530 MB/s

SSSAS00106 : Samsung : 1 TB$ 140
 870EVO SATA3 R 560 W 530 MB/s

SSWEE00015 : W Digital : 500 GB$  90
 3D NAND SATA R 560 W 530 MB/s

SSWEE00015 : W Digital : 1 TB  $ 140
 3D NAND SATA M.2 2280 R 560 W 530 MB/s


If you're planning to use the mobo's SATA ports, just make sure you know 
how many will be usable. Both an M2 board and a Graphics board nick PCIe 
channels, and the mobo may disable SATA ports to free them up ...


[ HDD : for back-up + alternative OS (Mint).
ANB5 has Seagate : anyone prefer W Digital & if so, why ? ]

* 220222 HDD : HDSEA00144 : Seagate : 2 TB$  55
 SATA 3,5" 7200 RPM


BarraCuda? That's an SMR drive. Look at the FireCuda instead or even 
better an IronWolf. Only snag is, it'll push the price up. Umm ... the 
firecuda costs a lot more than I thought - a 4TB IronWolf is £84.


HDWD002115 : W Digital : 1 TB  $  60
 SATA 3,5" 6 GB/s 7200 RPM 64 MB cache


WD Black? Again, probably SMR. The BarraCuda looks cheaper, bigger, better.


[ Case : ANB5 has Deepcool, which seems a good price ]

* 220223 Case : CSDCL00019 : Deepcool :   $  55
  E-Shield 120 mm Fan  Radiator Support
  E-ATX/ATX/MicroATX/MiniITX
 00032 : Matrexx 50$  60
 00035 : Matrexx 55 MESH   $  70
  PSU S

[gentoo-user] planning a new machine : comments welcome

2022-03-02 Thread Philip Webb
After  > 6 years , I'm planning to build a new machine ANB6.
The present machine ANB5 -- details at end -- continues to perform well,
but I can't rely on that for ever.

I use it for everyday desktop work + fun.
The weekly Gentoo update is the main stressor, for which ANB5 is adequate,
but it's always nice to get a bit more speed & avoid too much heat-up.

I expect to buy the parts from the local store
-- Canada Computers in Downtown Toronto -- & prices below are in CAD.
I'm price-sensitive, but willing to pay a bit more for a better part.
Here's the list + a few comments ; '*' denotes presently prefered item :

ANB6

[ CPU : not much difference, but comments very welcome.
I've had good luck with AMD in the past, less so with Intel ]

  220208 CPU AMD : CPAMD00131 : Ryzen 7 : 5700G :  8-core 16-thread : $ 388
Socket AM4 : 3,8 / 4,6 GHz : Radeon Graphix Wreath Stealth
  00055 : Ryzen 7 : 3700X : 7 nm : 8-core 16-thread : $ 400
   Socket AM4 : 3,6 / 4,4 GHz
* 00110 : Ryzen 7 : 5800X : ZEN 3 : 7 nm : 8-core 16-thread : $ 460
   Socket AM4 : 3,8 / 4,7 GHz boost

[ Mobo : ANB4 (previous machine, now stand-by) + ANB5 have Gigabyte ]

  220219 Mobo AMD : MBASU00311 : Asus : Prime B550+ (Ryzen AM4) : $ 180
 dual M.2 : PCle 4.0 : 1 GB Ethernet : SATA 6 Gbps
 USB 3.2 gen 2 Types A/C : Aura Sync RGB headers support
* MBGIG00145 : Gigabyte : X570 Aorus elite WIFI : $ 220
 dual PCle 4.0 M.2 : Intel dual-band 802.11ac wireless
 front USB Type C : RGB Fusion 2.0

[ Memory : Kingston has always performed well &  16 GB  sb adequate ]

  220222 Memory : MEKIT00581 : Kingston : 2 x 8 = 16 GB   $ 110
   DDR4 3600 MHz CL17 dual channel 

[ Graphics card : this seems to be the big problem.
There are cheaper cards, but they're all "sold out" :
apparently, there's a supply problem at present ;
this was the cheapest in stock in late Feb ]

  220223 Graphix : VCASU00223 : Asus :$ 280
Phoenix PH-GTX1650-O4GD6 GeForce GTX 1650
4 GB GDDR6 : 1.41 GHz Core : 128 bit Bus Width
DisplayPort HDMI DVI
  [ cheapest available : most types sold out : >= $ 60 ]

[ SSD : Kingston as above :  1 TB  sb adequate ]

  220222 SSD : SSKIT00058 : Kingston : 512 GB $  95
KC600 SATA3 6 GB/s 2,5" R 550 W 520 MB/s

*  SSKIT00069 : Kingston : 1 TB   $ 170
KC600 SATA3 6 GB/s 2,5" R 550 W 520 MB/s

   SSSAS00105 : Samsung : 500 GB  $ 100
870EVO SATA3 R 560 W 530 MB/s

   SSSAS00106 : Samsung : 1 TB$ 140
870EVO SATA3 R 560 W 530 MB/s

   SSWEE00015 : W Digital : 500 GB$  90
3D NAND SATA R 560 W 530 MB/s

   SSWEE00015 : W Digital : 1 TB  $ 140
3D NAND SATA M.2 2280 R 560 W 530 MB/s

[ HDD : for back-up + alternative OS (Mint).
ANB5 has Seagate : anyone prefer W Digital & if so, why ? ]

* 220222 HDD : HDSEA00144 : Seagate : 2 TB$  55
SATA 3,5" 7200 RPM

   HDWD002115 : W Digital : 1 TB  $  60
SATA 3,5" 6 GB/s 7200 RPM 64 MB cache

[ Case : ANB5 has Deepcool, which seems a good price ]

* 220223 Case : CSDCL00019 : Deepcool :   $  55
 E-Shield 120 mm Fan  Radiator Support
 E-ATX/ATX/MicroATX/MiniITX
00032 : Matrexx 50$  60
00035 : Matrexx 55 MESH   $  70
 PSU Shroud
00044 : Macube 310P WH$  80
 Magnetic/CableManagement/FAN HUB Pre-install

[ Power : ANB5 has Thermaltake : is  700 W  likely to be adequate ? ]

* 220223 PSU : PSTHL7 : Thermaltake   $  60
700 W 80 PLUS
   PSSES00017 : Seasonic  $  60
FOCUS SSR-650FM 650 W 80+
Gold Semi-Modular ATX12V/EPS12V Compact 140 mm
   PSCO001438 : Corsair   $  60
CX-M CX650M 650 W 80+ Bronze
   PSEVG00043 : EVGA  $  60
600 BQ, 80+ BRONZE 600 W Semi-Modular FDB Fan 3-Yr Warranty
   PSCO100109 : Corsair   $  80
CX750F RGB 750 W 80+ Bronze Fully Modular

[ Wifi : currently, I'm using a landline for Internet,
but my new apartment has free Wifi.  Is it standard on Mobos these days ? ]

  Wifi : sb std 

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