dub 1.34.0 dependencies suffix is not supported #1

Open
opened 2023-09-23 17:44:16 +02:00 by belka · 0 comments
Owner

After updating dub to 1.34.0 the build fails with the error:

Error: unable to read module unistd

The missing module is part of a linux-only dependency, which isn't apparently picked up and dub outputs a warning that dependencies-linux is an unknown key (in dub.json). And even the dub documentation says that platform suffixes are not supported for the dependencies.

The easiest fix is to move the linux dependencies to the main dependencies, than it will be downloaded for all platforms. Shouldn't harm on Windows, but shoudl be tested.

After updating dub to 1.34.0 the build fails with the error: > Error: unable to read module `unistd` The missing module is part of a linux-only dependency, which isn't apparently picked up and dub outputs a warning that `dependencies-linux` is an unknown key (in dub.json). And even the dub documentation says that platform suffixes are not supported for the dependencies. The easiest fix is to move the linux dependencies to the main dependencies, than it will be downloaded for all platforms. Shouldn't harm on Windows, but shoudl be tested.
belka added the
Kind
bug
label 2023-09-23 17:44:16 +02:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: OSS/tanya#1
No description provided.