Bug#963953: cpanminus depends on 'make' to work - but installing cpanminus does not install 'make'.

2020-06-29 Thread Joao Miguel Ferreira
Hello, Gregor and Jeff,

On Mon, Jun 29, 2020 at 5:48 PM gregor herrmann  wrote:

>
> Good catch, thank you.
>
> I wonder
> - whether make is enough, as gcc etc. is needed as well for XS
>   modules, so maybe we should use build-essential?
> - whethere we want this in Depends or in Recommends
>
>
In my opinion the fact that the installation of cpanminus does not install
also make or gcc is a good thing. There are many situations where no
building or compiling is required. I have seen, as reported, cpanminus
indications that make is required and gcc too when needed. That is good.

I understand that in some cases the installation of make and gcc would
avoid some debugging and even reduce inefficiency.

So in my case it 's just a matter of having more fine grained control and
also avoid the extra disk space required by make and gcc.

It cpanm works well with only make and gcc, but build-essentials would be a
more comprehensive approach.

So, I vote for non-hard dependency

Cheers
Thank you
João



>
> Cheers,
> gregor
>
> --
>  .''`.  https://info.comodo.priv.at -- Debian Developer
> https://www.debian.org
>  : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649
> AA06
>  `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation
> Europe
>`-   NP: The Doors: I Looked At You
>


Bug#963953: cpanminus depends on 'make' to work - but installing cpanminus does not install 'make'.

2020-06-29 Thread gregor herrmann
Control: tag -1 + confirmed

On Mon, 29 Jun 2020 17:28:40 +1000, Jeff wrote:

> Package: cpanminus
> Version: 1.7044-1
> Severity: normal
> 
> Dear Maintainer,
> 
>* apt-get install -y cpanminus; cpanminus --sudo File::chown
>* --> cpanminus fails to install module, and warns that I probably need to 
> install make
>* apt-get install -y make
>* cpanminus --sudo File::chown -> works as expected

Good catch, thank you.

I wonder
- whether make is enough, as gcc etc. is needed as well for XS
  modules, so maybe we should use build-essential?
- whethere we want this in Depends or in Recommends


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: The Doors: I Looked At You


signature.asc
Description: Digital Signature


Bug#963953: cpanminus depends on 'make' to work - but installing cpanminus does not install 'make'.

2020-06-29 Thread Jeff
Package: cpanminus
Version: 1.7044-1
Severity: normal

Dear Maintainer,

   * apt-get install -y cpanminus; cpanminus --sudo File::chown
   * --> cpanminus fails to install module, and warns that I probably need to 
install make
   * apt-get install -y make
   * cpanminus --sudo File::chown -> works as expected


-- System Information:
Debian Release: 10.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-9-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cpanminus depends on:
ii  curl   7.64.0-4+deb10u1
ii  libcpan-distnameinfo-perl  0.12-2
ii  libcpan-meta-check-perl0.014-1
ii  libfile-pushd-perl 1.016-1
ii  liblocal-lib-perl  2.24-1
ii  libmodule-cpanfile-perl1.1004-1
ii  libparse-pmfile-perl   0.41-1
ii  libstring-shellquote-perl  1.04-1
ii  perl [libversion-perl] 5.28.1-6
ii  wget   1.20.1-1.1

cpanminus recommends no packages.

cpanminus suggests no packages.

-- no debconf information