Re: OpenBSD DMD package

2021-10-31 Thread Brian Callahan via Digitalmars-d-announce

On Monday, 11 October 2021 at 15:07:59 UTC, Brian wrote:

Hi all --

I am in the process of getting a DMD package shipped in the 
OpenBSD package repository.
If you are an OpenBSD user, please test and report back (on the 
OpenBSD mailing list, please) how it went for you. The more 
users test, the faster I can commit the package :)


~Brian

https://marc.info/?l=openbsd-ports=163396364901247=2


I finally found and fixed the last remaining blocker for DMD on 
32-bit OpenBSD:

https://github.com/dlang/dmd/pull/13251

Once a new release of DMD stable or master is made (whichever 
comes first), I will upgrade the OpenBSD package of DMD to 
include OpenBSD/i386 support alongside the already existing 
OpenBSD/amd64 support.


~Brian


Re: OpenBSD DMD package

2021-10-14 Thread Jacob Carlborg via Digitalmars-d-announce

On Thursday, 14 October 2021 at 16:14:17 UTC, Brian wrote:


Awesome! I will spend some time soon figuring it out.


Here are two real world examples:

https://github.com/jacob-carlborg/lime/blob/master/.github/workflows/ci.yml
https://github.com/jacob-carlborg/dlp/blob/master/.github/workflows/ci.yml

--
/Jacob Carlborg


Re: OpenBSD DMD package

2021-10-14 Thread Brian via Digitalmars-d-announce
On Thursday, 14 October 2021 at 14:51:57 UTC, Jacob Carlborg 
wrote:

On Tuesday, 12 October 2021 at 12:42:09 UTC, Brian wrote:


I don't think any of the free ones support OpenBSD yet :)
There is SourceHut, which does support OpenBSD CI, but I don't 
think it is free to use.


You can use my GitHub action: 
https://github.com/marketplace/actions/cross-platform-action.


--
/Jacob Carlborg


Awesome! I will spend some time soon figuring it out.

~Brian


Re: OpenBSD DMD package

2021-10-14 Thread Jacob Carlborg via Digitalmars-d-announce

On Tuesday, 12 October 2021 at 12:42:09 UTC, Brian wrote:


I don't think any of the free ones support OpenBSD yet :)
There is SourceHut, which does support OpenBSD CI, but I don't 
think it is free to use.


You can use my GitHub action: 
https://github.com/marketplace/actions/cross-platform-action.


--
/Jacob Carlborg



Re: OpenBSD DMD package

2021-10-13 Thread Brian via Digitalmars-d-announce

On Wednesday, 13 October 2021 at 07:43:49 UTC, jfondren wrote:


A fresh build of dub (with gdc) is still segfaulting, and looks 
to be related to SDL:


```
$ dub -q init -n -f=json; dub -q run
Edit source/app.d to start your project.
$ rm -rf dub.{sdl,json} source
$ dub -q init -n -f=sdl; dub -q run
Segmentation fault (core dumped)
```

I'll check out the new ports when they're available. Thanks!


You didn't update your gdc compiler. See gkoehler@'s patch on 
ports@.


~Brian


Re: OpenBSD DMD package

2021-10-13 Thread jfondren via Digitalmars-d-announce

On Wednesday, 13 October 2021 at 06:03:30 UTC, Brian wrote:

On Wednesday, 13 October 2021 at 06:00:57 UTC, Brian wrote:


It does.

But you're going to have to further update your guide: I just 
posted ports of dub and gdmd to ports@. Please test and report 
back to ports@.


Also, does dub+gdmd actually work for you at runtime? I am 
getting this issue: 
https://issues.dlang.org/show_bug.cgi?id=22381


Also, all the segfaults with dub should be fixed. If not, 
definitely let me know.


A port of the D tools will be sent tomorrow once I clean it up.


A fresh build of dub (with gdc) is still segfaulting, and looks 
to be related to SDL:


```
$ dub -q init -n -f=json; dub -q run
Edit source/app.d to start your project.
$ rm -rf dub.{sdl,json} source
$ dub -q init -n -f=sdl; dub -q run
Segmentation fault (core dumped)
```

I'll check out the new ports when they're available. Thanks!


Re: OpenBSD DMD package

2021-10-13 Thread Brian via Digitalmars-d-announce

On Wednesday, 13 October 2021 at 05:47:48 UTC, jfondren wrote:

On Wednesday, 13 October 2021 at 04:46:06 UTC, Brian wrote:

Hello D community --

I am pleased and excited to announce that I have committed a 
package of DMD to the OpenBSD package repository: 
https://marc.info/?l=openbsd-ports-cvs=163409989017870=2


OpenBSD -current users should be able to run `pkg_add dmd` 
sometime tomorrow to get a binary package of DMD.




Cool. My OpenBSD box is on fritz so I haven't kept done more, 
but I have a short [gdc-on-OpenBSD 
guide](https://d.minimaltype.com/index.cgi/wiki?name=D%20on%20OpenBSD).


The login.conf step likely applies to dmd as well.


It does.

But you're going to have to further update your guide: I just 
posted ports of dub and gdmd to ports@. Please test and report 
back to ports@.


Also, does dub+gdmd actually work for you at runtime? I am 
getting this issue: https://issues.dlang.org/show_bug.cgi?id=22381


Re: OpenBSD DMD package

2021-10-13 Thread Brian via Digitalmars-d-announce

On Wednesday, 13 October 2021 at 06:00:57 UTC, Brian wrote:


It does.

But you're going to have to further update your guide: I just 
posted ports of dub and gdmd to ports@. Please test and report 
back to ports@.


Also, does dub+gdmd actually work for you at runtime? I am 
getting this issue: 
https://issues.dlang.org/show_bug.cgi?id=22381


Also, all the segfaults with dub should be fixed. If not, 
definitely let me know.


A port of the D tools will be sent tomorrow once I clean it up.


Re: OpenBSD DMD package

2021-10-12 Thread jfondren via Digitalmars-d-announce

On Wednesday, 13 October 2021 at 04:46:06 UTC, Brian wrote:

Hello D community --

I am pleased and excited to announce that I have committed a 
package of DMD to the OpenBSD package repository: 
https://marc.info/?l=openbsd-ports-cvs=163409989017870=2


OpenBSD -current users should be able to run `pkg_add dmd` 
sometime tomorrow to get a binary package of DMD.




Cool. My OpenBSD box is on fritz so I haven't kept done more, but 
I have a short [gdc-on-OpenBSD 
guide](https://d.minimaltype.com/index.cgi/wiki?name=D%20on%20OpenBSD).


The login.conf step likely applies to dmd as well.


Re: OpenBSD DMD package

2021-10-12 Thread Brian via Digitalmars-d-announce

Hello D community --

I am pleased and excited to announce that I have committed a 
package of DMD to the OpenBSD package repository: 
https://marc.info/?l=openbsd-ports-cvs=163409989017870=2


OpenBSD -current users should be able to run `pkg_add dmd` 
sometime tomorrow to get a binary package of DMD.


Unfortunately, the timing of DMD 2.098.0 just missed the deadline 
to be included in OpenBSD 7.0. However, because -current and 7.0 
are effectively the same in terms of libraries that matter for 
DMD, I will personally support OpenBSD 7.0 users who use the 
dmd-2.098.0 package until OpenBSD 7.1 is released (6 months from 
now).


~Brian


Re: OpenBSD DMD package

2021-10-12 Thread Brian via Digitalmars-d-announce
On Tuesday, 12 October 2021 at 12:02:42 UTC, Nicholas Wilson 
wrote:

On Monday, 11 October 2021 at 15:07:59 UTC, Brian wrote:

Hi all --

I am in the process of getting a DMD package shipped in the 
OpenBSD package repository.
If you are an OpenBSD user, please test and report back (on 
the OpenBSD mailing list, please) how it went for you. The 
more users test, the faster I can commit the package :)


~Brian

https://marc.info/?l=openbsd-ports=163396364901247=2


Cool, do you know anything about setting up OpenBSD CI 
pipelines for DMD/druntime/phobos so we don't break that 
accidentally?


I don't think any of the free ones support OpenBSD yet :)
There is SourceHut, which does support OpenBSD CI, but I don't 
think it is free to use.


~Brian


Re: OpenBSD DMD package

2021-10-12 Thread Nicholas Wilson via Digitalmars-d-announce

On Monday, 11 October 2021 at 15:07:59 UTC, Brian wrote:

Hi all --

I am in the process of getting a DMD package shipped in the 
OpenBSD package repository.
If you are an OpenBSD user, please test and report back (on the 
OpenBSD mailing list, please) how it went for you. The more 
users test, the faster I can commit the package :)


~Brian

https://marc.info/?l=openbsd-ports=163396364901247=2


Cool, do you know anything about setting up OpenBSD CI pipelines 
for DMD/druntime/phobos so we don't break that accidentally?


Re: OpenBSD DMD package

2021-10-11 Thread Ryan via Digitalmars-d-announce

On Monday, 11 October 2021 at 15:07:59 UTC, Brian wrote:

Hi all --

I am in the process of getting a DMD package shipped in the 
OpenBSD package repository.
If you are an OpenBSD user, please test and report back (on the 
OpenBSD mailing list, please) how it went for you. The more 
users test, the faster I can commit the package :)


~Brian

https://marc.info/?l=openbsd-ports=163396364901247=2


Just saw the email come through this AM.  Pleasantly shocked and 
surprised. :).  Going to try to setup a snapshot today and test 
this out.  I'll respond to the email once I give it a whirl.


Thanks,
Ryan




OpenBSD DMD package

2021-10-11 Thread Brian via Digitalmars-d-announce

Hi all --

I am in the process of getting a DMD package shipped in the 
OpenBSD package repository.
If you are an OpenBSD user, please test and report back (on the 
OpenBSD mailing list, please) how it went for you. The more users 
test, the faster I can commit the package :)


~Brian

https://marc.info/?l=openbsd-ports=163396364901247=2