digitalmars.D.learn - Dub failing with message about DFLAGS
- Russel Winder (12/12) Apr 28 2020 Hi,
- WebFreak001 (2/7) Apr 28 2020 try running with `dub build -v`
- Russel Winder (51/62) Apr 28 2020 I am not sure this gives any further information. :-(
- WebFreak001 (3/8) Apr 28 2020 in this case, try dub upgrade --vverbose and the full exception
- Russel Winder (12/16) Apr 28 2020 I have no idea what has changed, but things are now working again.
- WebFreak001 (3/12) Apr 28 2020 well it was some problem that you tried to use the $DFLAGS
- Russel Winder (14/18) Apr 28 2020 The problem is something to do with Dub and Unit-Threaded. My build
Hi, Has anyone seen this before, it has just started happening to me and is stopping me doing any work on this D project. |> dub build Invalid variable: DFLAGS --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK w: www.russel.org.uk
Apr 28 2020
On Tuesday, 28 April 2020 at 11:56:26 UTC, Russel Winder wrote:Hi, Has anyone seen this before, it has just started happening to me and is stopping me doing any work on this D project. |> dub build Invalid variable: DFLAGStry running with `dub build -v`
Apr 28 2020
On Tue, 2020-04-28 at 12:04 +0000, WebFreak001 via Digitalmars-d-learn wrote:On Tuesday, 28 April 2020 at 11:56:26 UTC, Russel Winder wrote:I am not sure this gives any further information. :-( |> dub build -v Using dub registry url 'https://code.dlang.org/' Refreshing local packages (refresh existing: true)... Looking for local package map at /var/lib/dub/packages/local-packages.json Looking for local package map at /home/users/russel/.dub/packages/local-pac= kages.json Looking for local package map at /home/users/russel/Repositories/Git/Master= s/Public/ArcamClient_D/.dub/packages/local-packages.json Determined package version using GIT: arcamclient ~master Refreshing local packages (refresh existing: false)... Looking for local package map at /var/lib/dub/packages/local-packages.json Looking for local package map at /home/users/russel/.dub/packages/local-pac= kages.json Looking for local package map at /home/users/russel/Repositories/Git/Master= s/Public/ArcamClient_D/.dub/packages/local-packages.json Found dependency gtk-d:gtkd 3.9.0 Found dependency unit-threaded 0.10.8 Found dependency unit-threaded:mocks 0.10.8 Found dependency unit-threaded:assertions 0.10.8 Found dependency unit-threaded:exception 0.10.8 Found dependency unit-threaded:from 0.10.8 Found dependency unit-threaded:property 0.10.8 Found dependency unit-threaded:runner 0.10.8 Found dependency unit-threaded:integration 0.10.8 Refreshing local packages (refresh existing: false)... Looking for local package map at /var/lib/dub/packages/local-packages.json Looking for local package map at /home/users/russel/.dub/packages/local-pac= kages.json Looking for local package map at /home/users/russel/Repositories/Git/Master= s/Public/ArcamClient_D/.dub/packages/local-packages.json Found dependency gtk-d:gtkd 3.9.0 Found dependency unit-threaded 0.10.8 Found dependency unit-threaded:mocks 0.10.8 Found dependency unit-threaded:assertions 0.10.8 Found dependency unit-threaded:exception 0.10.8 Found dependency unit-threaded:from 0.10.8 Found dependency unit-threaded:property 0.10.8 Found dependency unit-threaded:runner 0.10.8 Found dependency unit-threaded:integration 0.10.8 Generating using build Invalid variable: DFLAGS --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK w: www.russel.org.ukHi, =20 Has anyone seen this before, it has just started happening to=20 me and is stopping me doing any work on this D project. =20 =20=20 try running with `dub build -v`Invalid variable: DFLAGSdub build
Apr 28 2020
On Tuesday, 28 April 2020 at 13:44:14 UTC, Russel Winder wrote:On Tue, 2020-04-28 at 12:04 +0000, WebFreak001 via Digitalmars-d-learn wrote:in this case, try dub upgrade --vverbose and the full exception message should hopefully show[...]I am not sure this gives any further information. :-( [...]
Apr 28 2020
On Tue, 2020-04-28 at 14:03 +0000, WebFreak001 via Digitalmars-d-learn wrote:[=E2=80=A6] =20 in this case, try dub upgrade --vverbose and the full exception=20 message should hopefully showI have no idea what has changed, but things are now working again. Strange. Thanks for chipping in with support. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK w: www.russel.org.uk
Apr 28 2020
On Tuesday, 28 April 2020 at 14:26:11 UTC, Russel Winder wrote:On Tue, 2020-04-28 at 14:03 +0000, WebFreak001 via Digitalmars-d-learn wrote:well it was some problem that you tried to use the $DFLAGS environment variable somewhere but it wasn't defined[…] in this case, try dub upgrade --vverbose and the full exception message should hopefully showI have no idea what has changed, but things are now working again. Strange. Thanks for chipping in with support.
Apr 28 2020
On Tue, 2020-04-28 at 15:09 +0000, WebFreak001 via Digitalmars-d-learn wrote:[=E2=80=A6] =20 well it was some problem that you tried to use the $DFLAGS=20 environment variable somewhere but it wasn't definedThe problem is something to do with Dub and Unit-Threaded. My build never uses the "$DFLAGS" explicitly. The Unit-Threaded stuff does however do: Performing "$DFLAGS" build using /usr/bin/ldc2 for x86_64. which is just weird. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK w: www.russel.org.uk
Apr 28 2020