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#38364 - [gdc] 4.8.2-4 cannot compile anything

Attached to Project: Community Packages
Opened by Pär Lidberg (par.lidberg) - Friday, 03 January 2014, 09:57 GMT
Last edited by Balló György (City-busz) - Sunday, 12 January 2014, 10:44 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Mihails Strasuns (Dicebot)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Trying to compile any D code with gdc 4.8.2-4 results in the following error:
cc1d: error: cannot find source code for runtime library file 'object.d'
cc1d: note: dmd might not be correctly installed. Run 'dmd -man' for installation instructions.

The output from strace -f (see attachment) implies that the search path compiled into gdc is incorrect. It seems to search for system include files in /usr/include/d, and not /usr/include/dlang/gdc where they are installed by libgphobos-devel 4.8.2-4.

Additional info:
No additional info

Steps to reproduce:
Try to compile the attached D hello world program with the following command:
# gdc hello.d
This task depends upon

Closed by  Balló György (City-busz)
Sunday, 12 January 2014, 10:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  gdc 4.8.2-5
Comment by Mihails Strasuns (Dicebot) - Saturday, 04 January 2014, 10:08 GMT
Thanks, looks like relevant part of gdc makefiles has changed during upstream update to 2.064.X frontend.
On it.
Comment by Mihails Strasuns (Dicebot) - Monday, 06 January 2014, 13:47 GMT
Please retest with 4.8.2-5 (works-for-me there)
Comment by Pär Lidberg (par.lidberg) - Saturday, 11 January 2014, 09:14 GMT
Yes, 4.8.2-5 works for me as well.

Great job!

Loading...