Bug#935290: moar digging

2019-09-18 Thread Mo Zhou
Fresh installation is fine. /usr/share/perl6 should be a
symlink pointing to /usr/lib/perl6 in the latest version.
When directly upgrading rakudo to the expeirmental version,
this is not handled by dpkg.

I've fixed the upgrade issue in rakduo 2019.07.1-2 (experimental).
Later when the binary is avaialble in mirrors, I'll test
rakudo with the following dockerfile. If anything looks fine,
I'll start uploading 2019.07 to unstable.

--

fromdebian:sid
workdir /tmp
run echo "deb http://ftp2.cn.debian.org/debian sid main contrib
non-free" > /etc/apt/sources.list
run echo "deb http://ftp2.cn.debian.org/debian experimental main
contrib non-free" >> /etc/apt/sources.list
run apt update -y
run apt dist-upgrade -y
run apt autoremove -y

# fresh install [OK]
#runapt install -t experimental rakudo -y
#runperl6 -e '"Hello Perl6!".say'

# sid->experimental upgrade [unverified]
run apt install -t sid rakudo -y
run perl6 -e '"Hello Perl6!".say'
run apt install -t experimental rakudo -y
run perl6 -e '"Hello Perl6!".say'


On 2019-09-16 10:58, Dominique Dumont wrote:
> On Saturday, 14 September 2019 02:37:41 CEST Mo Zhou wrote:
>> Could you please verify the {moarvm,nqp,rakudo}-2019.07.1 in
>> experimental? Shall I proceed and upload it to unstable?
> 
> Looks like there's an issue with /usr/share/perl6 link:
> 
> $ perl6 -e 'say "hello"'
> Unhandled exception: While looking for '/usr/share/perl6/runtime/
> perl6.moarvm': no such file or directory
> 
> /usr/share/perl6 is not a link on my machine:
> 
> $ ll /usr/share/perl6
> total 8
> drwxr-xr-x 5 root root 4096 Aug 31 19:28 debian-sources
> -rw-r--r-- 1 root root   41 Jun 22  2018 previous-compiler-id
> 
> May be because /usr/share/perl6 existed before rakudo 2019-07 installation.
> 
> All the best
> 
> Dod



Bug#935290: moar digging

2019-09-16 Thread Dominique Dumont
On Saturday, 14 September 2019 02:37:41 CEST Mo Zhou wrote:
> Could you please verify the {moarvm,nqp,rakudo}-2019.07.1 in
> experimental? Shall I proceed and upload it to unstable?

Looks like there's an issue with /usr/share/perl6 link:

$ perl6 -e 'say "hello"'
Unhandled exception: While looking for '/usr/share/perl6/runtime/
perl6.moarvm': no such file or directory

/usr/share/perl6 is not a link on my machine:

$ ll /usr/share/perl6
total 8
drwxr-xr-x 5 root root 4096 Aug 31 19:28 debian-sources
-rw-r--r-- 1 root root   41 Jun 22  2018 previous-compiler-id

May be because /usr/share/perl6 existed before rakudo 2019-07 installation.

All the best

Dod



Bug#935290: moar digging

2019-09-13 Thread Mo Zhou
Hi Dominique and Robert,

Could you please verify the {moarvm,nqp,rakudo}-2019.07.1 in
experimental? Shall I proceed and upload it to unstable?

On 2019-09-13 14:44, M. Zhou wrote:
> Hi Dominique,
> 
> Will do it later. BTW, the *.moarvm not found error is related to this:
> https://github.com/rakudo/rakudo/issues/3093
> 
> We can temporarily symlink several directories to wordaround this.
> 
> 
> On Fri, 13 Sep 2019 at 12:24, Dominique Dumont  wrote:
>>
>> On Thursday, 12 September 2019 08:33:00 CEST Niels Thykier wrote:
>> > Does rakudo build with "Rules-Requires-Root: no"[1]?  If it does, then
>> > you can work around the bug / issue in fakeroot for sid, testing and
>> > stable for now by using it.
>>
>> Yes ! I can now build rakudo on my laptop. Thanks for the help :-)
>>
>> Mo Zhou, can you follow-up and, if possible, release rakudo on unstable ?
>>
>> All the best
>>
>>
>>
>>



Bug#935290: moar digging

2019-09-13 Thread M. Zhou
Hi Dominique,

Will do it later. BTW, the *.moarvm not found error is related to this:
https://github.com/rakudo/rakudo/issues/3093

We can temporarily symlink several directories to wordaround this.


On Fri, 13 Sep 2019 at 12:24, Dominique Dumont  wrote:
>
> On Thursday, 12 September 2019 08:33:00 CEST Niels Thykier wrote:
> > Does rakudo build with "Rules-Requires-Root: no"[1]?  If it does, then
> > you can work around the bug / issue in fakeroot for sid, testing and
> > stable for now by using it.
>
> Yes ! I can now build rakudo on my laptop. Thanks for the help :-)
>
> Mo Zhou, can you follow-up and, if possible, release rakudo on unstable ?
>
> All the best
>
>
>
>


-- 
Best,



Bug#935290: moar digging

2019-09-13 Thread Dominique Dumont
On Thursday, 12 September 2019 08:33:00 CEST Niels Thykier wrote:
> Does rakudo build with "Rules-Requires-Root: no"[1]?  If it does, then
> you can work around the bug / issue in fakeroot for sid, testing and
> stable for now by using it.

Yes ! I can now build rakudo on my laptop. Thanks for the help :-)

Mo Zhou, can you follow-up and, if possible, release rakudo on unstable ?

All the best



Bug#935290: moar digging

2019-09-12 Thread Niels Thykier
On Wed, 11 Sep 2019 07:21:24 +0200 Robert Lemmen
 wrote:
> ...and it's fakeroot! it does ld_preload to map file user ids, and doing
> that it fakes stat calls, but not statx!
> 
> regards  robert
> 
> -- 
> Robert Lemmen   http://www.semistable.com 


Does rakudo build with "Rules-Requires-Root: no"[1]?  If it does, then
you can work around the bug / issue in fakeroot for sid, testing and
stable for now by using it.

Thanks,
~Niels


[1] Assumes you do not need static ownerships or any chown calls during
package build/installation.



Bug#935290: moar digging

2019-09-11 Thread Robert Lemmen
On Wed, Sep 11, 2019 at 08:42:48AM +0200, Dominique Dumont wrote:
> Could you open a bug against fakeroot to have statx supported ?

will do, but want to include a patch so might take a few days

regards  robert

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


signature.asc
Description: PGP signature


Bug#935290: moar digging

2019-09-11 Thread Dominique Dumont
On Wednesday, 11 September 2019 07:21:24 CEST Robert Lemmen wrote:
> ...and it's fakeroot! it does ld_preload to map file user ids, and doing
> that it fakes stat calls, but not statx!

Excellent news.

I've relayed your findings to upstream.

Could you open a bug against fakeroot to have statx supported ?

Thanks for digging this problem :-)

All the best

Dod



Bug#935290: moar digging

2019-09-10 Thread Robert Lemmen
...and it's fakeroot! it does ld_preload to map file user ids, and doing
that it fakes stat calls, but not statx!

regards  robert

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


signature.asc
Description: PGP signature