Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#36677 - [dmd] can't find runtime library

Attached to Project: Community Packages
Opened by Marcel Pfeiffer (IwfY) - Monday, 26 August 2013, 15:04 GMT
Last edited by Mihails Strasuns (Dicebot) - Monday, 26 August 2013, 20:21 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Mihails Strasuns (Dicebot)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Since updating to 2.063.2-2 (x86_64) dmd stopped working.

Compiling any file prints:

$ dmd test.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] = /usr/include/dlang/dmd
import path[1] = /usr/include/dlang/dmd/druntime/import

I deleted /etc/dmd.conf and reinstalled. The new one generated has the following content:

[Environment]
DFLAGS=-I/usr/include/dlang/dmd -I/usr/include/dlang/dmd/druntime/import -L-L/usr/lib -L-L/usr/lib32 -L--no-warn-search-mismatch -L--export-dynamic

Compiling keeps failing.
This task depends upon

Closed by  Mihails Strasuns (Dicebot)
Monday, 26 August 2013, 20:21 GMT
Reason for closing:  Not a bug
Additional comments about closing:  expected dmd behavior with missing runtime/stdlib
Comment by Marcel Pfeiffer (IwfY) - Monday, 26 August 2013, 15:15 GMT
Ok, it is solved by installing libphobos-devel.
Comment by Mihails Strasuns (Dicebot) - Monday, 26 August 2013, 20:19 GMT
Yes, earlier libphobos was listed as a hard dependency for dmd which was a mistake. Currently it is mentioned in optional dependencies.
You can also use `dlang-dmd` package group to explicitly install everything possibly needed for D development with dmd (it is a recommended way).

Loading...