Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dub run does not work with gdc out of the box. #2955

Open
baryluk opened this issue Jul 27, 2024 · 0 comments
Open

dub run does not work with gdc out of the box. #2955

baryluk opened this issue Jul 27, 2024 · 0 comments

Comments

@baryluk
Copy link

baryluk commented Jul 27, 2024

System information

  • dub version: 1.36.0-3
  • OS Platform and distribution: Linux Debian amd64
  • compiler version gdc 13

Bug Description

dub run does not work with gdc out of the box.

See below

How to reproduce?

user@debian:~$ dub run dfmt -- -h
             Package 'dfmt' was not found locally but is available online:
             ---
             Description: Dfmt is a formatter for D source code
             Version: 0.15.1
             ---
Do you want to fetch 'dfmt' now? [Y/n]: 
    Fetching dfmt 0.15.1
             Building package dfmt in /home/user/.dub/packages/dfmt/0.15.1/dfmt/
    Fetching libdparse 0.24.0 (getting selected version)
     Warning Invalid source/import path: /home/user/.dub/packages/dfmt/0.15.1/dfmt/bin
    Starting Performing "debug" build using /usr/bin/gdc for x86_64.
    Building libdparse 0.24.0: building configuration [library]
    Building dfmt 0.15.1: building configuration [application]
   Pre-build Running commands
     Warning Invalid source/import path: /home/user/.dub/packages/dfmt/0.15.1/dfmt/bin
gdc: error: unrecognized command-line option ‘-run’
Error Command failed with exit code 1: /usr/bin/gdc -run "/home/user/.dub/packages/dfmt/0.15.1/dfmt/dubhash.d"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant