Re: dmd debian installation conflicts with debian-goodies

2017-06-29 Thread Matthias Klumpp via Digitalmars-d

On Wednesday, 28 June 2017 at 10:09:06 UTC, Ralph Amissah wrote:
Installing dmd if debian-goodies is installed fails. Both try 
to write a file named '/usr/bin/dman'


Debian Stretch is out, the freeze is over, perhaps now dmd will 
soon be
available as a package in Debian? Ldc2 does a great job but for 
testing
purposes and convenience it would be good to have the reference 
compiler.


Long-term, we will likely be using GDC in Debian as default D 
compiler, if that becomes viable. That GDC is in GCC now is a 
very big deal, which makes maintaining D in Debian and any Linux 
distribution (which uses GCC as system compiler) much easier.
Also, there is some company interest now, since it is expected 
that GCC/GDC will hit enterprise distributions such as RHEL as 
well, and thereby be widely available.


That being said, I want DMD to be available in Debian, and LDC is 
doing a very good job at the moment and is serving as our 
de-facto default D compiler.
Unfortunately now that the dman binary name is taken, DMD can't 
have it in Debian and that binary would have to be renamed, even 
if just temporarily in case we could convince the -goodies 
maintainer to change the name of the existing binary.


Is there likely to be D related activity at DebCamp and DebConf 
2017, Montreal?


Nothing is planned yet, but if there is interest in it, I would 
be happy to organize a BoF session there.


Cheers,
Matthias



Re: dmd debian installation conflicts with debian-goodies

2017-06-28 Thread Seb via Digitalmars-d

On Wednesday, 28 June 2017 at 10:09:06 UTC, Ralph Amissah wrote:
Installing dmd if debian-goodies is installed fails. Both try 
to write a file named '/usr/bin/dman'


Debian Stretch is out, the freeze is over, perhaps now dmd will 
soon be
available as a package in Debian? Ldc2 does a great job but for 
testing
purposes and convenience it would be good to have the reference 
compiler.
Is there likely to be D related activity at DebCamp and DebConf 
2017, Montreal?


You probably want to join efforts and forces with Matthias Klump.

http://forum.dlang.org/post/hhefnnighbowonxsn...@forum.dlang.org

Though due to missing contributors not much has been packaged:

https://qa.debian.org/developer.php?login=pkg-d-devel%40lists.alioth.debian.org

However, of course there are more D packages in Debian that are 
maintained by other groups, e.g.


https://packages.debian.org/sid/libbiod-dev
https://packages.debian.org/sid/gdc
...


Re: dmd debian installation conflicts with debian-goodies

2017-06-28 Thread Nick Sabalausky (Abscissa) via Digitalmars-d

On 06/28/2017 06:09 AM, Ralph Amissah via Digitalmars-d wrote:

Installing dmd if debian-goodies is installed fails. Both try to write a file
named '/usr/bin/dman'

Debian Stretch is out, the freeze is over,


Which one is "stretch"?


Re: dmd debian installation conflicts with debian-goodies

2017-06-28 Thread H. S. Teoh via Digitalmars-d
On Wed, Jun 28, 2017 at 06:09:06AM -0400, Ralph Amissah via Digitalmars-d wrote:
> Installing dmd if debian-goodies is installed fails. Both try to write a file
> named '/usr/bin/dman'
[...]

I filed a bug for you:

https://issues.dlang.org/show_bug.cgi?id=17569

(Next time, please file a bug directly at https://issues.dlang.org/, as
problems reported on the forum may get overlooked / forgotten.)

This is a pretty major issue IMO, because this gratuitous conflict with
an unfortunately-named, marginal utility can be a big turnoff for Debian
users who may be wanting to try out D for the first time.  The last
thing we need is for something I doubt anyone (other than certain D
devs) actually uses to become a reason to turn away from D, just because
by random chance he also has the debian-goodies package installed.


T

-- 
Let's not fight disease by killing the patient. -- Sean 'Shaleh' Perry


dmd debian installation conflicts with debian-goodies

2017-06-28 Thread Ralph Amissah via Digitalmars-d
Installing dmd if debian-goodies is installed fails. Both try to write a file
named '/usr/bin/dman'

Debian Stretch is out, the freeze is over, perhaps now dmd will soon be
available as a package in Debian? Ldc2 does a great job but for testing
purposes and convenience it would be good to have the reference compiler.
Is there likely to be D related activity at DebCamp and DebConf 2017, Montreal?

* failed attempt to install dmd with debian-goodies installed

sudo dpkg -i dmd_2.074.1-0_amd64.1.deb
(Reading database ... 224610 files and directories currently installed.)
Preparing to unpack dmd_2.074.1-0_amd64.1.deb ...
Unpacking dmd (2.074.1-0) ...
dpkg: error processing archive dmd_2.074.1-0_amd64.1.deb (--install):
 trying to overwrite '/usr/bin/dman', which is also in package debian-goodies 
0.74
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

sudo dpkg -i dmd_2.075.0~b1-0_amd64.deb
(Reading database ... 224610 files and directories currently installed.)
Preparing to unpack dmd_2.075.0~b1-0_amd64.deb ...
Unpacking dmd (2.075.0~b1-0) ...
dpkg: error processing archive dmd_2.075.0~b1-0_amd64.deb (--install):
 trying to overwrite '/usr/bin/dman', which is also in package debian-goodies 
0.74
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

* debian-goodies

information on debian-goodies (the package dmd conflicts with):

apt show debian-goodies
Package: debian-goodies
Version: 0.74
Priority: optional
Section: utils
Maintainer: Javier Fernández-Sanguino Peña 
Installed-Size: 199 kB
Depends: curl, dctrl-tools | grep-dctrl, perl, python3, whiptail | dialog
Recommends: lsof
Suggests: lsb-release, popularity-contest, xdg-utils, zenity
Conflicts: debget
Replaces: debget
Tag: implemented-in::python, interface::commandline, role::program,
 scope::utility, suite::debian, use::searching, works-with::bugs,
 works-with::software:package
Download-Size: 73.4 kB
APT-Manual-Installed: yes
APT-Sources: http://ftp.ch.debian.org/debian unstable/main amd64 Packages
Description: Small toolbox-style utilities for Debian systems
 These programs are designed to integrate with standard shell tools,
 extending them to operate on the Debian packaging system.
 .
  dgrep  - Search all files in specified packages for a regex
  dglob  - Generate a list of package names which match a pattern
 .
 These are also included, because they are useful and don't justify
 their own packages:
 .
  debget - Fetch a .deb for a package in APT's database
  dpigs  - Show which installed packages occupy the most space
  debman - Easily view man pages from a binary .deb without
   extracting
  debmany- Select manpages of installed or uninstalled packages
  dman   - Fetch manpages from online manpages.debian.org service
  checkrestart   - Help to find and restart processes which are using old
   versions of upgraded files (such as libraries)
  popbugs- Display a customized release-critical bug list based
   on packages you use (using popularity-contest data)
  which-pkg-broke- find which package might have broken another
  check-enhancements - find packages which enhance installed packages