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

Error building with dub #3

Open
Swoorup opened this issue Feb 5, 2016 · 2 comments
Open

Error building with dub #3

Swoorup opened this issue Feb 5, 2016 · 2 comments

Comments

@Swoorup
Copy link

Swoorup commented Feb 5, 2016

Using dub registry url 'http://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/swoorup/.dub/packages/local-packages.json
Try to load local package map at /home/swoorup/.dub/packages/local-packages.json
Determined package version using GIT: dash 0.12.0-beta1+commit.27.gb7d589a
Determined package version using GIT: med 1.0.0
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/swoorup/.dub/packages/local-packages.json
Try to load local package map at /home/swoorup/.dub/packages/local-packages.json
Checking for missing dependencies.
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/swoorup/.dub/packages/local-packages.json
Try to load local package map at /home/swoorup/.dub/packages/local-packages.json
Checking for upgrades.
Using cached upgrade results...
Generating using build
Generate target med (executable /home/swoorup/git/dlang_projects/med/bin med)
Performing "debug" build using dmd for x86_64.
Target '/home/swoorup/git/dlang_projects/med/.dub/build/application-debug-linux.posix-x86_64-dmd_2070-EC714E7D07A609E23735D82D8B1F2761/med' doesn't exist, need rebuild.
med 1.0.0: building configuration "application"...
dmd -c -of.dub/build/application-debug-linux.posix-x86_64-dmd_2070-EC714E7D07A609E23735D82D8B1F2761/med.o -debug -g -w -version=Have_med -Isrc/med src/med/basic.d src/med/buffer.d src/med/console.d src/med/disp.d src/med/display.d src/med/disprev.d src/med/ed.d src/med/file.d src/med/fileio.d src/med/line.d src/med/main.d src/med/more.d src/med/mouse.d src/med/random.d src/med/region.d src/med/search.d src/med/spawn.d src/med/tcap.d src/med/terminal.d src/med/termio.d src/med/window.d src/med/word.d src/med/xterm.d -vcolumns
src/med/buffer.d(254,16): Warning: instead of C-style syntax, use D-style syntax 'dchar[6 + 1] b'
src/med/buffer.d(255,16): Warning: instead of C-style syntax, use D-style syntax 'dchar[128] line'
src/med/console.d(188,15): Warning: instead of C-style syntax, use D-style syntax 'CHAR_INFO[256] sbbuf'
src/med/disp.d(34,11): Warning: instead of C-style syntax, use D-style syntax 'ubyte[3] reserved'
src/med/display.d(948,9): Warning: instead of C-style syntax, use D-style syntax 'dstring[HISTORY_MAX] history'
src/med/main.d(71,9): Warning: instead of C-style syntax, use D-style syntax 'dchar[256] kbdm'
src/med/main.d(453,8): Warning: instead of C-style syntax, use D-style syntax 'CMDTAB[] cmdtab'
src/med/tcap.d(54,6): Warning: instead of C-style syntax, use D-style syntax 'char[2048] tcapbuf'
src/med/tcap.d(209,14): Warning: instead of C-style syntax, use D-style syntax 'char[16] backc'
src/med/display.d(1167,13): Warning: switch case fallthrough - use 'goto default;' if intended
src/med/main.d(515,5): Warning: statement is not reachable
src/med/search.d(208,5): Warning: statement is not reachable
src/med/search.d(211,5): Warning: statement is not reachable
src/med/search.d(214,5): Warning: statement is not reachable
src/med/search.d(328,7): Warning: switch case fallthrough - use 'goto case;' if intended
FAIL .dub/build/application-debug-linux.posix-x86_64-dmd_2070-EC714E7D07A609E23735D82D8B1F2761/ med executable
dmd failed with exit code 1.

@joelcnz
Copy link

joelcnz commented Sep 11, 2016

I get on OSX:

Joels-MacBook-Pro:med joelcnz$ dub
Performing "debug" build using dmd for x86_64.
med 1.0.0+commit.15.gf80a365: building configuration "application"...
src/med/buffer.d(254,15): Warning: instead of C-style syntax, use D-style syntax 'char[6 + 1] b'
src/med/buffer.d(255,15): Warning: instead of C-style syntax, use D-style syntax 'char[128] line'
src/med/console.d(190,15): Warning: instead of C-style syntax, use D-style syntax 'CHAR_INFO[256] sbbuf'
src/med/disp.d(34,11): Warning: instead of C-style syntax, use D-style syntax 'ubyte[3] reserved'
src/med/display.d(966,8): Warning: instead of C-style syntax, use D-style syntax 'string[HISTORY_MAX] history'
src/med/main.d(71,9): Warning: instead of C-style syntax, use D-style syntax 'dchar[256] kbdm'
src/med/main.d(457,8): Warning: instead of C-style syntax, use D-style syntax 'CMDTAB[] cmdtab'
src/med/tcap.d(54,6): Warning: instead of C-style syntax, use D-style syntax 'char[2048] tcapbuf'
src/med/tcap.d(209,14): Warning: instead of C-style syntax, use D-style syntax 'char[16] backc'
src/med/main.d(360,20): Error: undefined identifier 'help'
dmd failed with exit code 1.
Joels-MacBook-Pro:med joelcnz$

[update]
O, yeah. It's not ported to the Mac!

@Swoorup
Copy link
Author

Swoorup commented Sep 12, 2016

this is in linux though

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

2 participants