www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12301] New: osx: both macports and homebrew ports of dmd are broken

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: timothee.cour2 gmail.com


--- Comment #0 from Timothee Cour <timothee.cour2 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: -------
Mar 05 2014
parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12301


Timothee Cour <timothee.cour2 gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timothee.cour2 gmail.com
            Summary|osx: both macports and      |osx: macport port of dmd
                   |homebrew ports of dmd are   |broken
                   |broken                      |


--- Comment #1 from Timothee Cour <timothee.cour2 gmail.com> 2014-03-05
14:25:16 PST ---
Edit:
actually the homebrew port seems to work ok (i had installed it under a
different directory).
The only remaining problem is the macports port, for the reasons given above.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 05 2014