Summary: | dev-lang/dmd-bin-2.008-r1: errors in (successfull) emerge | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dennis Schridde <dschridde+gentoobugs> |
Component: | [OLD] Development | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED WONTFIX | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
working ebuild
Fixed ebuild Makefile patch for header generation (currently unused) |
Description
Dennis Schridde
2008-03-25 00:58:00 UTC
Created attachment 147210 [details]
working ebuild
The attached ebuild fixes the issues mentioned previously. It also fixes
linking problems on x86_64 (linking i383 compiled files into a i386:x86_64 will
not work). Additionaly it installs most docs now and the style is also
(hopefully) improved.
PS: This ebuild builds 32bit binaries (and libs) even on x86_64. I simply could not get that binary dmd to output any x86_64 object files and thus had to make gcc use -m32. (Also when linking. Digitalmars apparently forgot that case...) Created upstream bugs: http://d.puremagic.com/issues/show_bug.cgi?id=1940 http://d.puremagic.com/issues/show_bug.cgi?id=1939 Created attachment 147931 [details] Fixed ebuild Previous ebuild was broken, this should fix it. I did not install the contents of src/, which are needed because of the lack of headers in D. I wanted to generate headers using the -H switch and just install them (instead of all the sourcecode). That failed because of an upstream bug: http://d.puremagic.com/issues/show_bug.cgi?id=1963 I will attach the Makefile patch anyway, in case it is interesting, or Digitalmars fixes the problem before the Gentoo version bump happens. Created attachment 147932 [details, diff]
Makefile patch for header generation (currently unused)
I also submited the Makefile patch upstream: http://d.puremagic.com/issues/show_bug.cgi?id=1964 Moving to herd since Anant left Gentoo. Patch has been incorporated upstreams. Also this version of dmd is long outdated. dmd can be built from source now, later versions are available through layman. This ebuild should just be removed from the tree as it isn't compatible with todays D libraries any more and doesn't reflect the current state of the language. (Open http://dlang.org/changelog.html#new2_008 and scroll upwards for all the changes since then.) Package removed. |