Thread overview | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
June 23, 2008 [Issue 2164] New: Random Phobos Linux buildsystem feedback | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=2164 Summary: Random Phobos Linux buildsystem feedback Product: D Version: 2.015 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: bugzilla@digitalmars.com ReportedBy: lindevel@gmx.net Gentoo has to run these fixes to make dmd 2.015 compile correctly: # Fix permissions and clean up fperms ug=rw `find . -type f` fperms ug=rwx `find . -type d` fperms ug=rwx bin/dmd bin/dumpobj bin/obj2asm bin/rdmd # Cleanup line endings edos2unix `find . -name '*.c' -type f` edos2unix `find . -name '*.d' -type f` edos2unix `find . -name '*.ddoc' -type f` edos2unix `find . -name '*.h' -type f` edos2unix `find . -name '*.mak' -type f` edos2unix `find . -name '*.txt' -type f` # Set variables correctly sed -i \ -e "s:DMD = .*:DMD = ${S}/bin/dmd:" \ -e "s:CC = .*:CC = gcc -m32:" \ -e "s:CFLAGS = .*:CFLAGS = ${CFLAGS}:" \ `find . -name '*.mak' -type f` ${S} is the sourcecode directory. To make this work generically, I recommend to either use a relative path, or a variable set to an absolute path. I.e.: export top_srcdir = $(CURDIR) # Toplevel Makefile DMD = $(top_srcdir)/bin/dmd -- |
June 23, 2008 [Issue 2164] Random Phobos Linux buildsystem feedback | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2164 ------- Comment #1 from lindevel@gmx.net 2008-06-23 12:27 ------- PS: The permission fixes are probably a packaging problem, while the line endings may be a "personal" (or distribution dependend) preference. -- |
June 23, 2008 [Issue 2164] Random Phobos Linux buildsystem feedback | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2164 ------- Comment #2 from andrei@metalanguage.com 2008-06-23 12:36 ------- (In reply to comment #1) > PS: The permission fixes are probably a packaging problem, while the line endings may be a "personal" (or distribution dependend) preference. Please hold off on the line termination thing; we're trying to find an automated way of maintaining those among people working on different OSs. I don't understand why the permission fixes are needed. On my system they ring properly. It looks like it's a gentoo thing. Could it be the unzip? -- |
June 24, 2008 Re: [Issue 2164] Random Phobos Linux buildsystem feedback | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | d-bugmail@puremagic.com wrote: > http://d.puremagic.com/issues/show_bug.cgi?id=2164 > Please hold off on the line termination thing; we're trying to find an > automated way of maintaining those among people working on different OSs. You can set up preferences in Subversion to automatically convert them. You need to set these values in the config file: (On TortoiseSVN, you reach it through the edit button on the settings:general pane) [miscellany] enable-auto-props = yes [auto-props] *.d = svn:eol-style=native *.ddoc = svn:eol-style=native |
June 29, 2008 [Issue 2164] Random Phobos Linux buildsystem feedback | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2164 ------- Comment #3 from lindevel@gmx.net 2008-06-29 05:35 ------- Seems like the permission fixes where once needed, but are not anymore. Since you said line endings are in the works in another place, CFLAGS, DMD, etc set on commandline will be respected in the future, and the 32bit issue has been fixed by passing -m32 through CFLAGS to the linker, I guess this bug can be closed? -- |
June 29, 2008 [Issue 2164] Random Phobos Linux buildsystem feedback | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2164 ------- Comment #4 from lindevel@gmx.net 2008-06-29 05:39 ------- (In reply to comment #3) > Seems like the permission fixes where once needed, but are not anymore. I do not know what I looked for, but obviously it was the wrong thing. ;) At least fperms ug=rwx bin/dmd bin/dumpobj bin/obj2asm bin/rdmd is still needed. (All the executables lack the executable bit.) -- |
July 22, 2008 [Issue 2164] Random Phobos Linux buildsystem feedback | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2164 ------- Comment #5 from lindevel@gmx.net 2008-07-22 06:37 ------- At least in 2.0.17 you override the environment supplied CFLAGS, i.e.: CFLAGS := $(CFLAGS) -O Flags which are not absolutely needed (like -O) should be included before the environment CFLAGS, so that they can be overridden if desired. -- |
July 22, 2008 [Issue 2164] Random Phobos Linux buildsystem feedback | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2164 ------- Comment #6 from lindevel@gmx.net 2008-07-22 06:44 ------- I also noticed a bug in doc generation: make: Entering directory `/var/tmp/portage/dev-lang/dmd-bin-2.017/work/dmd/src/phobos' make: *** No rule to make target `../web/phobos/phobos.html', needed by `html'. Stop. make: Leaving directory `/var/tmp/portage/dev-lang/dmd-bin-2.017/work/dmd/src/phobos' -- |
October 11, 2009 [Issue 2164] Random Phobos Linux buildsystem feedback | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2164 Andrei Alexandrescu <andrei@metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |andrei@metalanguage.com AssignedTo|nobody@puremagic.com |andrei@metalanguage.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 25, 2010 [Issue 2164] Random Phobos Linux buildsystem feedback | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2164 Lars T. Kyllingstad <bugzilla@kyllingen.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC| |bugzilla@kyllingen.net Resolution| |FIXED --- Comment #7 from Lars T. Kyllingstad <bugzilla@kyllingen.net> 2010-06-25 02:04:08 PDT --- As far as I can tell, these problems have been solved. Please reopen if not. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation