Bug 3028 – The D 1.0 Ubuntu .deb file is completely broken

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2009-05-26T22:55:00Z
Last change time
2015-06-09T05:14:43Z
Assigned to
nobody
Creator
dlang-bugzilla

Comments

Comment #0 by dlang-bugzilla — 2009-05-26T22:55:46Z
First of all, this .deb is clearly created exclusively for the amd64 platform, because dpkg will not install it as-is on i386 (this also affects the graphical installers, which are ran when opening a .deb file in GNOME/KDE). Providing --force-architecture is not sufficient, because it will then complain about dependencies to missing 32-bit packages (they will be missing because 32-bit packages are explicitly named as 32-bit on 64-bit *Ubuntus). It is still possible to install the .deb using --force-architecture,depends - however this does not result in a functioning installation. The copy of Phobos installed is a mess - it lacks the "core" runtime, and has a second "phobos" subdirectory containing the D 2.0 Phobos. Thus DMD fails to compile even a simple "Hello world" program. Something should be done about this, considering how Ubuntu is popular among novice Linux users. Fix it or nix it.
Comment #1 by dlang-bugzilla — 2009-05-26T23:13:24Z
Correction - "core" isn't "missing" because it shouldn't be there. I got confused with DMD showing errors that it can't find "core.memory", but that's because it was trying to compile Phobos 2.0.
Comment #2 by dlang-bugzilla — 2009-05-26T23:15:48Z
Oh, and I forgot to mention that dmd.conf is set up incorrectly - there is one "../" too many in the -I path for Phobos.
Comment #3 by prokher — 2009-11-25T03:16:47Z
got .deb for ubuntu and when I try to compile simple helloworld I get $ dmd hello_world.d object.d: Error: module object cannot read file 'object.d' And there is no object.d on my disk at all, so deb is broken I think... I agree with Vladimir, ubuntu is very popular so someone should somehow fix this. Actually for me (and I think not only for me) it is insuperable obstacle in learning D.
Comment #4 by bugzilla — 2012-01-19T12:28:26Z
Is this still an issue?
Comment #5 by prokher — 2012-01-22T07:33:31Z
Downloaded latest ubuntu .deb package, installed, looks like it works fine. At least hello_world.d compiles fine. Thanks. Environment: $ uname -a Linux probook 3.0.0-15-generic #25-Ubuntu SMP Mon Jan 2 17:44:42 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux $ cat /etc/*release* DISTRIB_ID=Ubuntu DISTRIB_RELEASE=11.10 DISTRIB_CODENAME=oneiric DISTRIB_DESCRIPTION="Ubuntu 11.10"
Comment #6 by bugzilla — 2012-01-22T10:13:09Z
Thanks for checking, so I can close this.