[Issue 12301] New: osx: both macports and homebrew ports of dmd are broken
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Mar 5 14:06:06 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12301
Summary: osx: both macports and homebrew ports of dmd are
broken
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: timothee.cour2 at gmail.com
--- Comment #0 from Timothee Cour <timothee.cour2 at gmail.com> 2014-03-05 14:06:04 PST ---
I usually use git head but, trying macport and homebrew versions of dmd seems
broken, which is bad for perception.
main.d:
import std.stdio;
void main(){}
macports:
sudo port upgrade dmd
/usr/bin/dmd main.d
Error: undefined identifier '_xopCmp'
Assertion failed: (s), function buildXopCmp, file clone.c, line 690.
homebrew:
brew upgrade dmd
/opt/local/bin/dmd -g -ofmain main.d
Error: cannot find source code for runtime library file 'object.d'
dmd might not be correctly installed. Run 'dmd -man' for installation
instructions.
import path[0] = /opt/local/include/druntime
import path[1] = /opt/local/include/phobos
This happens because I have other dmd versions lying around; the way to solve
this would be to add a /opt/local/bin/dmd.conf file just as is done with
/usr/bin/dmd.conf in macports.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list