Bug#909698: rakudo: perl6-tap-harness fails to configure: Could not open /usr/share/perl6/install-dist.p6. Failed to stat file: no such file or directory

2018-09-28 Thread Robert Lemmen
Hi Axel,

On Thu, Sep 27, 2018 at 02:33:05PM +0200, Axel Beckert wrote:
> That might help for other cases, but not this one. As far as I
> understand, the file is at
> 
>   /usr/share/perl6/tools/install-dist.p6
>   ^^^
> 
> but /usr/share/perl6/rakudo-helper.pl looks for it at
> 
>   /usr/share/perl6/install-dist.p6
>   ^
> 
> So from my point of view that bug can be fixed by adding "tools/" to
> the script path at line 43 of /usr/share/perl6/rakudo-helper.pl.

totally correct, the (pending upload) version -2 does just that.

regards  robert

-- 
Robert Lemmen   http://www.semistable.com 


signature.asc
Description: PGP signature


Bug#909698: rakudo: perl6-tap-harness fails to configure: Could not open /usr/share/perl6/install-dist.p6. Failed to stat file: no such file or directory

2018-09-27 Thread Axel Beckert
Hi Dominique,

Dominique Dumont wrote:
> On Thursday, 27 September 2018 01:41:11 CEST Axel Beckert wrote:
> > Since it's /usr/share/perl6/rakudo-helper.pl which contains that
> > erroneous path, the issue is not in perl6-tap-harness but in rakudo.
> 
> ok. Let's provide a script in /usr/share/perl6/rakudo-helper.pl that will 
> warn 
> about deprecated and exec /usr/share/perl6/tools/install-dist.p6.

That might help for other cases, but not this one. As far as I
understand, the file is at

  /usr/share/perl6/tools/install-dist.p6
  ^^^

but /usr/share/perl6/rakudo-helper.pl looks for it at

  /usr/share/perl6/install-dist.p6
  ^

So from my point of view that bug can be fixed by adding "tools/" to
the script path at line 43 of /usr/share/perl6/rakudo-helper.pl.

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Bug#909698: rakudo: perl6-tap-harness fails to configure: Could not open /usr/share/perl6/install-dist.p6. Failed to stat file: no such file or directory

2018-09-27 Thread Dominique Dumont
On Thursday, 27 September 2018 01:41:11 CEST Axel Beckert wrote:
> Since it's /usr/share/perl6/rakudo-helper.pl which contains that
> erroneous path, the issue is not in perl6-tap-harness but in rakudo.

ok. Let's provide a script in /usr/share/perl6/rakudo-helper.pl that will warn 
about deprecated and exec /usr/share/perl6/tools/install-dist.p6.

This solution is not ideal. We will later provide a dh-install-p6 script. 
Until then, this hack should do.

Thoughts ?



Bug#909698: rakudo: perl6-tap-harness fails to configure: Could not open /usr/share/perl6/install-dist.p6. Failed to stat file: no such file or directory

2018-09-26 Thread Axel Beckert
Package: rakudo
Version: 2018.09-1
Severity: serious
Control: affects -1 perl6-tap-harness

Hi,

perl6-tap-harness fails to install for me as follows on a Raspberry Pi
with Debian Sid armhf:

[…]
Setting up perl6-tap-harness (0.20180415-1) ...
Could not open /usr/share/perl6/install-dist.p6. Failed to stat file: no such 
file or directory
module perl6-tap-harness compilation failed: 256 at 
/usr/share/perl6/rakudo-helper.pl line 44.
dpkg: error processing package perl6-tap-harness (--configure):
 installed perl6-tap-harness package post-installation script subprocess 
returned error exit status 2
[…]
Errors were encountered while processing:
 perl6-tap-harness

The file /usr/share/perl6/install-dist.p6 does not neither exist on
that installation nor does it belong to any installed package.

Also "apt-file search /usr/share/perl6/install-dist.p6" doesn't find
that file, neither on Debian Sid armhf nor on Debian Sid amd64.

Funnily I have perl6-tap-harness successfully installed on amd64
despite I can't find  /usr/share/perl6/install-dist.p6 there either.

Reason for this is probably the switch from
/usr/share/perl6/install-dist.pl to
/usr/share/perl6/tools/install-dist.p6 between 2018.06-1 and
2018.09-1. Please note that this path contains "tools" while the error
message doesn't have "tools" in the path.

Since it's /usr/share/perl6/rakudo-helper.pl which contains that
erroneous path, the issue is not in perl6-tap-harness but in rakudo.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'unstable-debug'), (500, 
'buildd-unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 
'buildd-experimental'), (1, 'experimental')
Architecture: armhf (armv7l)

Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages perl6-tap-harness depends on:
ii  rakudo  2018.09-1

perl6-tap-harness recommends no packages.

perl6-tap-harness suggests no packages.

-- no debconf information