Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] dmd: update to 2.098.0
@ 2021-10-25  0:54 aurieh
  2021-10-25 18:52 ` aurieh
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: aurieh @ 2021-10-25  0:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]

There is a new pull request by aurieh against master on the void-packages repository

https://github.com/aurieh/void-packages dmd-2.098.0
https://github.com/void-linux/void-packages/pull/33736

dmd: update to 2.098.0
<!-- Mark items with [x] where applicable -->
Also brings `dtools` up to date, as it is dependent on this version of `dmd`.

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [X] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [X] I built this PR locally for my native architecture, (ARCH-LIBC)

**Note:** even though the `dmd` template doesn't set `nocross`, the cross build is broken in the current void-packages version (and, by extension, this PR) due to a missing `libphobos2`, hence the draft status.

A patch file from https://github.com/void-linux/void-packages/pull/33736.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-dmd-2.098.0-33736.patch --]
[-- Type: text/x-diff, Size: 2596 bytes --]

From 85cad5c21df55f2f25d9d0c6de74e4ae870345a6 Mon Sep 17 00:00:00 2001
From: Auri <me@aurieh.me>
Date: Sun, 24 Oct 2021 04:03:38 +0300
Subject: [PATCH 1/2] dmd: update to 2.098.0

---
 srcpkgs/dmd/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/dmd/template b/srcpkgs/dmd/template
index 36f7fce51781..4049cbb3b394 100644
--- a/srcpkgs/dmd/template
+++ b/srcpkgs/dmd/template
@@ -1,6 +1,6 @@
 # Template file for 'dmd'
 pkgname=dmd
-version=2.095.0
+version=2.098.0
 revision=1
 create_wrksrc=yes
 hostmakedepends="dmd2.091 which"
@@ -15,10 +15,10 @@ distfiles="
  https://github.com/dlang/druntime/archive/v${version}.tar.gz>druntime-${version}.tar.gz
  https://github.com/dlang/phobos/archive/v${version}.tar.gz>phobos-${version}.tar.gz
  http://downloads.dlang.org/releases/2.x/${version}/dmd.${version}.linux.tar.xz"
-checksum="d8b54cdd885b86e2cc30ccb4ccc6923940b3bd79183b499889b86d34dd22621b
- f8d6346aa13bdc6ff893eb9d9e5aa5e8ff5efe97dbfd92f7ecd8db8172d0c04a
- f5c9606a988917a38b3b9a495c6da0d4e36b60beac8e805f6dea719d042d50d4
- 02853f8a4988f55dab5daa1e0e9910ea91905b85bcaa7a5ffd83079147dc7d93"
+checksum="437e7abae7f747ce8a027e512d2f98f0c27badd623347141c3f6fb0834d85ad0
+ f150400756c7940bc9d67a3ed7f89777e49b42a1ef2dff6f40727f83b3cea6f4
+ f91c6c7f2d5683af2804a183c287bf6991b99c49692759d7844e1919ca59e974
+ 1104e5e59fd47828b798d77a72be547bf086bba1d374a1855c6b5814c4db0145"
 conf_files="/etc/dmd.conf"
 provides="d-compiler-${version}_${revision}"
 conflicts="dmd-bootstrap dmd2.081 dmd2.091"

From 2dc64e6eaab831e2d5e51ef07d331135dc062138 Mon Sep 17 00:00:00 2001
From: Auri <me@aurieh.me>
Date: Sun, 24 Oct 2021 04:03:53 +0300
Subject: [PATCH 2/2] dtools: update to 2.098.0

---
 srcpkgs/dtools/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/dtools/template b/srcpkgs/dtools/template
index d37489dd4281..0255d9e501a3 100644
--- a/srcpkgs/dtools/template
+++ b/srcpkgs/dtools/template
@@ -1,7 +1,7 @@
 # Template file for 'dtools'
 pkgname=dtools
 # keep this synchronized with libphobos and dmd
-version=2.095.0
+version=2.098.0
 revision=1
 wrksrc="tools-${version}"
 hostmakedepends="dmd"
@@ -12,7 +12,7 @@ maintainer="Auri <me@aurieh.me>"
 license="BSL-1.0"
 homepage="http://www.digitalmars.com/d/2.0/"
 distfiles="https://github.com/dlang/tools/archive/v${version}.tar.gz"
-checksum=7688c56285e098b91ec81a3efaaec6d236aa1a1736fe21797d3335175f8fea8c
+checksum=9466e62ed2cf80802158524fc4e7ff80cbefc0fadff23a8933f6f2892b42cb56
 
 do_build() {
 	# rdmd can't be built normally, is used to build others

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: dmd: update to 2.098.0
  2021-10-25  0:54 [PR PATCH] dmd: update to 2.098.0 aurieh
@ 2021-10-25 18:52 ` aurieh
  2021-10-25 19:15 ` ericonr
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: aurieh @ 2021-10-25 18:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 295 bytes --]

New comment by aurieh on void-packages repository

https://github.com/void-linux/void-packages/pull/33736#issuecomment-951211544

Comment:
@ericonr were you ever able to successfully cross-compile dmd? `dmd2.091` has `nocross=` set and it doesn't seem to be possible to cross `dmd2.081` either.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: dmd: update to 2.098.0
  2021-10-25  0:54 [PR PATCH] dmd: update to 2.098.0 aurieh
  2021-10-25 18:52 ` aurieh
@ 2021-10-25 19:15 ` ericonr
  2021-10-25 20:04 ` aurieh
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ericonr @ 2021-10-25 19:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 169 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/33736#issuecomment-951229628

Comment:
Don't think I even tried >:P

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: dmd: update to 2.098.0
  2021-10-25  0:54 [PR PATCH] dmd: update to 2.098.0 aurieh
  2021-10-25 18:52 ` aurieh
  2021-10-25 19:15 ` ericonr
@ 2021-10-25 20:04 ` aurieh
  2021-10-26 21:02 ` aurieh
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: aurieh @ 2021-10-25 20:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 580 bytes --]

New comment by aurieh on void-packages repository

https://github.com/void-linux/void-packages/pull/33736#issuecomment-951264902

Comment:
After a little research, the libphobos2 issue was a red herring: DMD doesn't seem capable of [cross-compiling across different libcs](https://forum.dlang.org/thread/wjihazvkwlzcspszxypr@forum.dlang.org) (2018).

> DMD can cross-compile between 32-bit and 64-bit on the same platform.

In theory LDC could be used to cross-compile DMD, and this is supported by the upstream, but then we'd have a circular dependency on DMD -> LDC -> DMD.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: dmd: update to 2.098.0
  2021-10-25  0:54 [PR PATCH] dmd: update to 2.098.0 aurieh
                   ` (2 preceding siblings ...)
  2021-10-25 20:04 ` aurieh
@ 2021-10-26 21:02 ` aurieh
  2021-11-04  1:09 ` ericonr
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: aurieh @ 2021-10-26 21:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 235 bytes --]

New comment by aurieh on void-packages repository

https://github.com/void-linux/void-packages/pull/33736#issuecomment-952323017

Comment:
I think it's between that and setting nocross on all of the dmd packages.

@ericonr thoughts?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: dmd: update to 2.098.0
  2021-10-25  0:54 [PR PATCH] dmd: update to 2.098.0 aurieh
                   ` (3 preceding siblings ...)
  2021-10-26 21:02 ` aurieh
@ 2021-11-04  1:09 ` ericonr
  2021-11-05  1:45 ` aurieh
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ericonr @ 2021-11-04  1:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 380 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/33736#issuecomment-960353315

Comment:
> I think it's between that and setting nocross on all of the dmd packages.

Those packages are `dub` and `dtools`, right? Both of them already fail in the dependency resolution phase, since one depends on dmd and the other on libphobos.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: dmd: update to 2.098.0
  2021-10-25  0:54 [PR PATCH] dmd: update to 2.098.0 aurieh
                   ` (4 preceding siblings ...)
  2021-11-04  1:09 ` ericonr
@ 2021-11-05  1:45 ` aurieh
  2021-11-05 11:29 ` ericonr
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: aurieh @ 2021-11-05  1:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 639 bytes --]

New comment by aurieh on void-packages repository

https://github.com/void-linux/void-packages/pull/33736#issuecomment-961563389

Comment:
> Those packages are dub and dtools, right?

Yep, pretty much.

It seems like it'd be possible to cross between x86-64 and i686; I was able to get `dmd2.091` to produce an i686 `dmd` executable, but the build systems for all 3 projects (dmd itself, druntime and libphobos) aren't very receptive of the concept that host dmd and target dmd aren't the same thing, so I get the feeling it'd require a good few patches (unless I'm failing to see something). Overall, doubt it'd be worth maintaining.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: dmd: update to 2.098.0
  2021-10-25  0:54 [PR PATCH] dmd: update to 2.098.0 aurieh
                   ` (5 preceding siblings ...)
  2021-11-05  1:45 ` aurieh
@ 2021-11-05 11:29 ` ericonr
  2021-11-07  1:33 ` [PR PATCH] [Updated] " aurieh
  2021-11-13  2:58 ` [PR PATCH] [Merged]: " ericonr
  8 siblings, 0 replies; 10+ messages in thread
From: ericonr @ 2021-11-05 11:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 302 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/33736#issuecomment-961818075

Comment:
Yeah, especially because our i686 builders are native :p 

I appreciate you looking into this, but it would seem leaving things as is is the direction for now.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] dmd: update to 2.098.0
  2021-10-25  0:54 [PR PATCH] dmd: update to 2.098.0 aurieh
                   ` (6 preceding siblings ...)
  2021-11-05 11:29 ` ericonr
@ 2021-11-07  1:33 ` aurieh
  2021-11-13  2:58 ` [PR PATCH] [Merged]: " ericonr
  8 siblings, 0 replies; 10+ messages in thread
From: aurieh @ 2021-11-07  1:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1622 bytes --]

There is an updated pull request by aurieh against master on the void-packages repository

https://github.com/aurieh/void-packages dmd-2.098.0
https://github.com/void-linux/void-packages/pull/33736

dmd: update to 2.098.0
<!-- Mark items with [x] where applicable -->
Also brings `dtools` up to date, as it is dependent on this version of `dmd`.

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [X] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
- [X] I built this PR locally for my native architecture, (x86_64-glibc)

**Note:** even though the `dmd` template doesn't set `nocross`, the cross build is broken in the current void-packages version (and, by extension, this PR) due to a missing `libphobos2`, hence the draft status.

A patch file from https://github.com/void-linux/void-packages/pull/33736.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-dmd-2.098.0-33736.patch --]
[-- Type: text/x-diff, Size: 2787 bytes --]

From 42ea2929b5d6be9ef14a23555fa252c016a0e9ad Mon Sep 17 00:00:00 2001
From: Auri <me@aurieh.me>
Date: Sun, 24 Oct 2021 04:03:38 +0300
Subject: [PATCH 1/2] dmd: update to 2.098.0

---
 srcpkgs/dmd/template | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/dmd/template b/srcpkgs/dmd/template
index 36f7fce51781..697efbf168dd 100644
--- a/srcpkgs/dmd/template
+++ b/srcpkgs/dmd/template
@@ -1,6 +1,6 @@
 # Template file for 'dmd'
 pkgname=dmd
-version=2.095.0
+version=2.098.0
 revision=1
 create_wrksrc=yes
 hostmakedepends="dmd2.091 which"
@@ -15,14 +15,17 @@ distfiles="
  https://github.com/dlang/druntime/archive/v${version}.tar.gz>druntime-${version}.tar.gz
  https://github.com/dlang/phobos/archive/v${version}.tar.gz>phobos-${version}.tar.gz
  http://downloads.dlang.org/releases/2.x/${version}/dmd.${version}.linux.tar.xz"
-checksum="d8b54cdd885b86e2cc30ccb4ccc6923940b3bd79183b499889b86d34dd22621b
- f8d6346aa13bdc6ff893eb9d9e5aa5e8ff5efe97dbfd92f7ecd8db8172d0c04a
- f5c9606a988917a38b3b9a495c6da0d4e36b60beac8e805f6dea719d042d50d4
- 02853f8a4988f55dab5daa1e0e9910ea91905b85bcaa7a5ffd83079147dc7d93"
+checksum="437e7abae7f747ce8a027e512d2f98f0c27badd623347141c3f6fb0834d85ad0
+ f150400756c7940bc9d67a3ed7f89777e49b42a1ef2dff6f40727f83b3cea6f4
+ f91c6c7f2d5683af2804a183c287bf6991b99c49692759d7844e1919ca59e974
+ 1104e5e59fd47828b798d77a72be547bf086bba1d374a1855c6b5814c4db0145"
 conf_files="/etc/dmd.conf"
 provides="d-compiler-${version}_${revision}"
 conflicts="dmd-bootstrap dmd2.081 dmd2.091"
 nopie=yes
+# from no to very little distinction between host CC and target CC in
+# makefiles or build.d
+nocross="broken build system"
 disable_parallel_build=yes
 LDFLAGS="-lpthread"
 

From 70262fffb85f4626beff6c8ce5b1f5b2f0e377a5 Mon Sep 17 00:00:00 2001
From: Auri <me@aurieh.me>
Date: Sun, 24 Oct 2021 04:03:53 +0300
Subject: [PATCH 2/2] dtools: update to 2.098.0

---
 srcpkgs/dtools/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/dtools/template b/srcpkgs/dtools/template
index d37489dd4281..0255d9e501a3 100644
--- a/srcpkgs/dtools/template
+++ b/srcpkgs/dtools/template
@@ -1,7 +1,7 @@
 # Template file for 'dtools'
 pkgname=dtools
 # keep this synchronized with libphobos and dmd
-version=2.095.0
+version=2.098.0
 revision=1
 wrksrc="tools-${version}"
 hostmakedepends="dmd"
@@ -12,7 +12,7 @@ maintainer="Auri <me@aurieh.me>"
 license="BSL-1.0"
 homepage="http://www.digitalmars.com/d/2.0/"
 distfiles="https://github.com/dlang/tools/archive/v${version}.tar.gz"
-checksum=7688c56285e098b91ec81a3efaaec6d236aa1a1736fe21797d3335175f8fea8c
+checksum=9466e62ed2cf80802158524fc4e7ff80cbefc0fadff23a8933f6f2892b42cb56
 
 do_build() {
 	# rdmd can't be built normally, is used to build others

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Merged]: dmd: update to 2.098.0
  2021-10-25  0:54 [PR PATCH] dmd: update to 2.098.0 aurieh
                   ` (7 preceding siblings ...)
  2021-11-07  1:33 ` [PR PATCH] [Updated] " aurieh
@ 2021-11-13  2:58 ` ericonr
  8 siblings, 0 replies; 10+ messages in thread
From: ericonr @ 2021-11-13  2:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1464 bytes --]

There's a merged pull request on the void-packages repository

dmd: update to 2.098.0
https://github.com/void-linux/void-packages/pull/33736

Description:
<!-- Mark items with [x] where applicable -->
Also brings `dtools` up to date, as it is dependent on this version of `dmd`.

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [X] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
- [X] I built this PR locally for my native architecture, (x86_64-glibc)

**Note:** even though the `dmd` template doesn't set `nocross`, the cross build is broken in the current void-packages version (and, by extension, this PR) due to a missing `libphobos2`, hence the draft status.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-11-13  2:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-25  0:54 [PR PATCH] dmd: update to 2.098.0 aurieh
2021-10-25 18:52 ` aurieh
2021-10-25 19:15 ` ericonr
2021-10-25 20:04 ` aurieh
2021-10-26 21:02 ` aurieh
2021-11-04  1:09 ` ericonr
2021-11-05  1:45 ` aurieh
2021-11-05 11:29 ` ericonr
2021-11-07  1:33 ` [PR PATCH] [Updated] " aurieh
2021-11-13  2:58 ` [PR PATCH] [Merged]: " ericonr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).