macOS Mojave 10.14.4, Rakudo Star 2019.03.1, zef install Ddt -> Failed to change the working directory...

perl6-users:

I have:

     macOS Mojave
     Version 10.14.4
     MacBook Pro (Retina, 15-inch, 2015)


Today, I downloaded and installed:

     https://rakudo.org/latest/star/macos

into my normal user account per the built-in instructions (including 
setting PATH).


Perl 6 seems to work:

     2019-04-06 19:20:23 dpchrist@Davids-MBP ~
     $ perl6 --version
     This is Rakudo Star version 2019.03.1 built on MoarVM version 2019.03
     implementing Perl 6.d.


But when I try to install the Ddt package with zef, it appears that zef 
is trying to operate on system folders (?):

2019-04-06 19:19:34 dpchrist@Davids-MBP ~
$ zef install Ddt
===> Searching for: Ddt
===> Updating cpan mirror: 
https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
===> Updating p6c mirror: http://ecosystem-api.p6c.org/projects1.json
===> Updated cpan mirror: 
https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
===> Updated p6c mirror: http://ecosystem-api.p6c.org/projects1.json
===> Searching for missing dependencies: File::Ignore, 
License::Software:ver<0.2.0>, Pod::To::Markdown
===> Searching for missing dependencies: Pluggable
===> Testing: File::Ignore
===> Testing [OK] for File::Ignore
===> Testing: Pluggable:ver<0.3>:auth<github:tony-o>
===> Testing [OK] for Pluggable:ver<0.3>:auth<github:tony-o>
===> Testing: License::Software:ver<0.2.0>:auth<kalkin>
     # github source https://github.com/kalkin/License-Software needs to 
end in .git
===> Testing [OK] for License::Software:ver<0.2.0>:auth<kalkin>
===> Testing: Pod::To::Markdown:ver<v.0.1.4>
===> Testing [OK] for Pod::To::Markdown:ver<v.0.1.4>
===> Testing: Ddt:ver<0.5.5>:auth<kalkin>
Failed to change the working directory to 
'/var/folders/r_/lk5svb150bzf2wdvp6ct_t_c0000gn/T/6aGzXY88az/Foo-Bar': 
does not exist
   in block <unit> at t/02-generate-test.t line 12

Failed to change the working directory to 
'/var/folders/r_/lk5svb150bzf2wdvp6ct_t_c0000gn/T/3CxIelhQKl/Foo-Bar': 
does not exist
   in block <unit> at t/03-absent-dirs.t line 12

===> Testing [FAIL]: Ddt:ver<0.5.5>:auth<kalkin>
Aborting due to test failure: Ddt:ver<0.5.5>:auth<kalkin> (use 
--force-test to override)


2019-04-06 19:20:45 dpchrist@Davids-MBP ~
$ zef --version
v0.7.1


Suggestions?


David
0
dpchrist
4/7/2019 2:28:17 AM
perl.perl6.users 1158 articles. 0 followers. Follow

2 Replies
12 Views

Similar Articles

[PageSpeed] 42

> 6 квіт. 2019 р. о 22:28 David Christensen <dpchrist@holgerdanske.com> пише:
> 
>> perl6-users:
>>
>> I have:
>>
>>     macOS Mojave
>>     Version 10.14.4
>>     MacBook Pro (Retina, 15-inch, 2015)
>>
>>
>> Today, I downloaded and installed:
>>
>>     https://rakudo.org/latest/star/macos
>>
>> into my normal user account per the built-in instructions (including setting PATH).
>>
>>
>> Perl 6 seems to work:
>>
>>     2019-04-06 19:20:23 dpchrist@Davids-MBP ~
>>     $ perl6 --version
>>     This is Rakudo Star version 2019.03.1 built on MoarVM version 2019.03
>>     implementing Perl 6.d.
>>
>>
>> But when I try to install the Ddt package with zef, it appears that zef is trying to operate on system folders (?):
>>
>> 2019-04-06 19:19:34 dpchrist@Davids-MBP ~
>> $ zef install Ddt
>> ===> Searching for: Ddt
>> ===> Updating cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
>> ===> Updating p6c mirror: http://ecosystem-api.p6c.org/projects1.json
>> ===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
>> ===> Updated p6c mirror: http://ecosystem-api.p6c.org/projects1.json
>> ===> Searching for missing dependencies: File::Ignore, License::Software:ver<0.2.0>, Pod::To::Markdown
>> ===> Searching for missing dependencies: Pluggable
>> ===> Testing: File::Ignore
>> ===> Testing [OK] for File::Ignore
>> ===> Testing: Pluggable:ver<0.3>:auth<github:tony-o>
>> ===> Testing [OK] for Pluggable:ver<0.3>:auth<github:tony-o>
>> ===> Testing: License::Software:ver<0.2.0>:auth<kalkin>
>>     # github source https://github.com/kalkin/License-Software needs to end in .git
>> ===> Testing [OK] for License::Software:ver<0.2.0>:auth<kalkin>
>> ===> Testing: Pod::To::Markdown:ver<v.0.1.4>
>> ===> Testing [OK] for Pod::To::Markdown:ver<v.0.1.4>
>> ===> Testing: Ddt:ver<0.5.5>:auth<kalkin>
>> Failed to change the working directory to '/var/folders/r_/lk5svb150bzf2wdvp6ct_t_c0000gn/T/6aGzXY88az/Foo-Bar': does not exist
>>   in block <unit> at t/02-generate-test.t line 12
>>
>> Failed to change the working directory to '/var/folders/r_/lk5svb150bzf2wdvp6ct_t_c0000gn/T/3CxIelhQKl/Foo-Bar': does not exist
>>   in block <unit> at t/03-absent-dirs.t line 12
>>
>> ===> Testing [FAIL]: Ddt:ver<0.5.5>:auth<kalkin>
>> Aborting due to test failure: Ddt:ver<0.5.5>:auth<kalkin> (use --force-test to override)
>>
>>
>> 2019-04-06 19:20:45 dpchrist@Davids-MBP ~
>> $ zef --version
>> v0.7.1
>>
>>
>> Suggestions?
>>
>>
>> David


On 4/6/19 11:17 PM, Vadim Belman wrote:
 > Hi David,
 >
 > Those are not system but temporary. Unfortunately, I can't check the 
module now as I'm writing from my iPad, but guessing that you should 
report to the module's author.


Thanks for the reply.


(I find it surprising that there are directories outside of /Users owned 
by a normal user account, but find(1) says there are nearly two thousand 
(!).  Clearly, I am a macOS noob.)


Looking for the directory given in the error message, this is the 
deepest level that currently exists:

2019-04-07 12:37:52 dpchrist@Davids-MBP ~
$ ls -al /var/folders/r_/lk5svb150bzf2wdvp6ct_t_c0000gn/T
total 8
drwx------@ 39 dpchrist  staff  1248 Apr  7 12:40 .
drwxr-xr-x@  5 dpchrist  staff   160 Mar 15 22:14 ..
drwx------   5 dpchrist  staff   160 Apr  7 12:32 .AddressBookLocks
drwx------   2 dpchrist  staff    64 Apr  7 12:32 .CalendarLocks
drwx------@  2 dpchrist  staff    64 Apr  7 12:39 TemporaryItems
drwx------@  2 dpchrist  staff    64 Apr  7 12:32 
com.apple.AddressBook.ContactsAccountsService
drwx------@  2 dpchrist  staff    64 Apr  7 12:32 com.apple.AirPlayUIAgent
drwx------@  2 dpchrist  staff    64 Apr  7 12:32 com.apple.CalendarAgent
drwx------@  2 dpchrist  staff    64 Apr  7 12:32 
com.apple.CalendarNotification.CalNCService
drwx------@  2 dpchrist  staff    64 Apr  7 12:37 
com.apple.CloudPhotosConfiguration
drwx------@  2 dpchrist  staff    64 Apr  7 12:35 
com.apple.CoreRoutine.helperservice
drwx------@  2 dpchrist  staff    64 Apr  7 12:39 com.apple.MailCacheDelete
drwx------@  2 dpchrist  staff    64 Apr  7 12:37 
com.apple.PhotoIngestService
drwx------@  2 dpchrist  staff    64 Apr  7 12:32 com.apple.SocialPushAgent
drwx------   2 dpchrist  staff    64 Apr  7 12:32 
com.apple.TelephonyUtilities
drwx------   2 dpchrist  staff    64 Apr  7 12:32 com.apple.bird
drwx------   3 dpchrist  staff    96 Apr  7 12:32 com.apple.cloudd
drwx------@  2 dpchrist  staff    64 Apr  7 12:37 com.apple.cloudphotosd
drwx------@  2 dpchrist  staff    64 Apr  7 12:39 
com.apple.dt.IDECacheDeleteAppExtension
drwx------@  3 dpchrist  staff    96 Apr  7 12:32 com.apple.geod
drwx------@  2 dpchrist  staff    64 Apr  7 12:32 com.apple.iCal.CalendarNC
drwx------   2 dpchrist  staff    64 Apr  7 12:32 
com.apple.identityservicesd
drwx------@  2 dpchrist  staff    64 Apr  7 12:32 com.apple.lateragent
drwx------   2 dpchrist  staff    64 Apr  7 12:39 com.apple.mapspushd
drwx------@  2 dpchrist  staff    64 Apr  7 12:32 com.apple.ncplugin.stocks
drwx------@  2 dpchrist  staff    64 Apr  7 12:32 com.apple.ncplugin.weather
drwx------@  2 dpchrist  staff    64 Apr  7 12:32 com.apple.parsecd
drwx------@  2 dpchrist  staff    64 Apr  7 12:39 com.apple.photoanalysisd
drwx------@  2 dpchrist  staff    64 Apr  7 12:37 com.apple.photolibraryd
drwx------@  2 dpchrist  staff    64 Apr  7 12:39 com.apple.photomodel
drwx------@  2 dpchrist  staff    64 Apr  7 12:37 com.apple.photomoments
drwx------@  2 dpchrist  staff    64 Apr  7 12:32 com.apple.routined
drwx------@  2 dpchrist  staff    64 Apr  7 12:40 
com.apple.siri.media-indexer
drwx------@  2 dpchrist  staff    64 Apr  7 12:32 com.apple.soagent
drwx------   2 dpchrist  staff    64 Apr  7 12:32 com.apple.tccd
drwx------   3 dpchrist  staff    96 Apr  7 12:38 com.apple.touristd
drwx------   2 dpchrist  staff    64 Apr  7 12:32 com.apple.trustd
drwxr-xr-x   2 dpchrist  staff    64 Apr  7 12:38 shared-pasteboard
-rw-------   1 dpchrist  staff   115 Apr  7 12:36 xcrun_db


Any other suggestions for installing Ddt with zef?


David
0
dpchrist
4/7/2019 8:12:38 PM
There are locations outside of your home dir where one can find 'his' =
files on any *nix-like OS. /var, /tmp among them.=20

I tried installing Ddt on my MacBook but things went broken with =
License::Software module.

Yet, anyway, carefully looking into your output I see that things are =
broken at Ddt testing stage. This pretty much excludes zef as a cause of =
the problem.=20

So, the best thing to do first, as I already suggested, is to report to =
the module author. Next thing you could do is to force install the =
module without testing with --/test zef command line option.

Best regards,
Vadim Belman

> On Apr 7, 2019, at 4:12 PM, David Christensen =
<dpchrist@holgerdanske.com> wrote:
>=20
>> 6 =D0=BA=D0=B2=D1=96=D1=82. 2019 =D1=80. =D0=BE 22:28 David =
Christensen <dpchrist@holgerdanske.com> =D0=BF=D0=B8=D1=88=D0=B5:
>>> perl6-users:
>>>=20
>>> I have:
>>>=20
>>>    macOS Mojave
>>>    Version 10.14.4
>>>    MacBook Pro (Retina, 15-inch, 2015)
>>>=20
>>>=20
>>> Today, I downloaded and installed:
>>>=20
>>>    https://rakudo.org/latest/star/macos
>>>=20
>>> into my normal user account per the built-in instructions (including =
setting PATH).
>>>=20
>>>=20
>>> Perl 6 seems to work:
>>>=20
>>>    2019-04-06 19:20:23 dpchrist@Davids-MBP ~
>>>    $ perl6 --version
>>>    This is Rakudo Star version 2019.03.1 built on MoarVM version =
2019.03
>>>    implementing Perl 6.d.
>>>=20
>>>=20
>>> But when I try to install the Ddt package with zef, it appears that =
zef is trying to operate on system folders (?):
>>>=20
>>> 2019-04-06 19:19:34 dpchrist@Davids-MBP ~
>>> $ zef install Ddt
>>> =3D=3D=3D> Searching for: Ddt
>>> =3D=3D=3D> Updating cpan mirror: =
https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json=

>>> =3D=3D=3D> Updating p6c mirror: =
http://ecosystem-api.p6c.org/projects1.json
>>> =3D=3D=3D> Updated cpan mirror: =
https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json=

>>> =3D=3D=3D> Updated p6c mirror: =
http://ecosystem-api.p6c.org/projects1.json
>>> =3D=3D=3D> Searching for missing dependencies: File::Ignore, =
License::Software:ver<0.2.0>, Pod::To::Markdown
>>> =3D=3D=3D> Searching for missing dependencies: Pluggable
>>> =3D=3D=3D> Testing: File::Ignore
>>> =3D=3D=3D> Testing [OK] for File::Ignore
>>> =3D=3D=3D> Testing: Pluggable:ver<0.3>:auth<github:tony-o>
>>> =3D=3D=3D> Testing [OK] for Pluggable:ver<0.3>:auth<github:tony-o>
>>> =3D=3D=3D> Testing: License::Software:ver<0.2.0>:auth<kalkin>
>>>    # github source https://github.com/kalkin/License-Software needs =
to end in .git
>>> =3D=3D=3D> Testing [OK] for =
License::Software:ver<0.2.0>:auth<kalkin>
>>> =3D=3D=3D> Testing: Pod::To::Markdown:ver<v.0.1.4>
>>> =3D=3D=3D> Testing [OK] for Pod::To::Markdown:ver<v.0.1.4>
>>> =3D=3D=3D> Testing: Ddt:ver<0.5.5>:auth<kalkin>
>>> Failed to change the working directory to =
'/var/folders/r_/lk5svb150bzf2wdvp6ct_t_c0000gn/T/6aGzXY88az/Foo-Bar': =
does not exist
>>>  in block <unit> at t/02-generate-test.t line 12
>>>=20
>>> Failed to change the working directory to =
'/var/folders/r_/lk5svb150bzf2wdvp6ct_t_c0000gn/T/3CxIelhQKl/Foo-Bar': =
does not exist
>>>  in block <unit> at t/03-absent-dirs.t line 12
>>>=20
>>> =3D=3D=3D> Testing [FAIL]: Ddt:ver<0.5.5>:auth<kalkin>
>>> Aborting due to test failure: Ddt:ver<0.5.5>:auth<kalkin> (use =
--force-test to override)
>>>=20
>>>=20
>>> 2019-04-06 19:20:45 dpchrist@Davids-MBP ~
>>> $ zef --version
>>> v0.7.1
>>>=20
>>>=20
>>> Suggestions?
>>>=20
>>>=20
>>> David
>=20
>=20
> On 4/6/19 11:17 PM, Vadim Belman wrote:
> > Hi David,
> >
> > Those are not system but temporary. Unfortunately, I can't check the =
module now as I'm writing from my iPad, but guessing that you should =
report to the module's author.
>=20
>=20
> Thanks for the reply.
>=20
>=20
> (I find it surprising that there are directories outside of /Users =
owned by a normal user account, but find(1) says there are nearly two =
thousand (!).  Clearly, I am a macOS noob.)
>=20
>=20
> Looking for the directory given in the error message, this is the =
deepest level that currently exists:
>=20
> 2019-04-07 12:37:52 dpchrist@Davids-MBP ~
> $ ls -al /var/folders/r_/lk5svb150bzf2wdvp6ct_t_c0000gn/T
> total 8
> drwx------@ 39 dpchrist  staff  1248 Apr  7 12:40 .
> drwxr-xr-x@  5 dpchrist  staff   160 Mar 15 22:14 ..
> drwx------   5 dpchrist  staff   160 Apr  7 12:32 .AddressBookLocks
> drwx------   2 dpchrist  staff    64 Apr  7 12:32 .CalendarLocks
> drwx------@  2 dpchrist  staff    64 Apr  7 12:39 TemporaryItems
> drwx------@  2 dpchrist  staff    64 Apr  7 12:32 =
com.apple.AddressBook.ContactsAccountsService
> drwx------@  2 dpchrist  staff    64 Apr  7 12:32 =
com.apple.AirPlayUIAgent
> drwx------@  2 dpchrist  staff    64 Apr  7 12:32 =
com.apple.CalendarAgent
> drwx------@  2 dpchrist  staff    64 Apr  7 12:32 =
com.apple.CalendarNotification.CalNCService
> drwx------@  2 dpchrist  staff    64 Apr  7 12:37 =
com.apple.CloudPhotosConfiguration
> drwx------@  2 dpchrist  staff    64 Apr  7 12:35 =
com.apple.CoreRoutine.helperservice
> drwx------@  2 dpchrist  staff    64 Apr  7 12:39 =
com.apple.MailCacheDelete
> drwx------@  2 dpchrist  staff    64 Apr  7 12:37 =
com.apple.PhotoIngestService
> drwx------@  2 dpchrist  staff    64 Apr  7 12:32 =
com.apple.SocialPushAgent
> drwx------   2 dpchrist  staff    64 Apr  7 12:32 =
com.apple.TelephonyUtilities
> drwx------   2 dpchrist  staff    64 Apr  7 12:32 com.apple.bird
> drwx------   3 dpchrist  staff    96 Apr  7 12:32 com.apple.cloudd
> drwx------@  2 dpchrist  staff    64 Apr  7 12:37 =
com.apple.cloudphotosd
> drwx------@  2 dpchrist  staff    64 Apr  7 12:39 =
com.apple.dt.IDECacheDeleteAppExtension
> drwx------@  3 dpchrist  staff    96 Apr  7 12:32 com.apple.geod
> drwx------@  2 dpchrist  staff    64 Apr  7 12:32 =
com.apple.iCal.CalendarNC
> drwx------   2 dpchrist  staff    64 Apr  7 12:32 =
com.apple.identityservicesd
> drwx------@  2 dpchrist  staff    64 Apr  7 12:32 com.apple.lateragent
> drwx------   2 dpchrist  staff    64 Apr  7 12:39 com.apple.mapspushd
> drwx------@  2 dpchrist  staff    64 Apr  7 12:32 =
com.apple.ncplugin.stocks
> drwx------@  2 dpchrist  staff    64 Apr  7 12:32 =
com.apple.ncplugin.weather
> drwx------@  2 dpchrist  staff    64 Apr  7 12:32 com.apple.parsecd
> drwx------@  2 dpchrist  staff    64 Apr  7 12:39 =
com.apple.photoanalysisd
> drwx------@  2 dpchrist  staff    64 Apr  7 12:37 =
com.apple.photolibraryd
> drwx------@  2 dpchrist  staff    64 Apr  7 12:39 com.apple.photomodel
> drwx------@  2 dpchrist  staff    64 Apr  7 12:37 =
com.apple.photomoments
> drwx------@  2 dpchrist  staff    64 Apr  7 12:32 com.apple.routined
> drwx------@  2 dpchrist  staff    64 Apr  7 12:40 =
com.apple.siri.media-indexer
> drwx------@  2 dpchrist  staff    64 Apr  7 12:32 com.apple.soagent
> drwx------   2 dpchrist  staff    64 Apr  7 12:32 com.apple.tccd
> drwx------   3 dpchrist  staff    96 Apr  7 12:38 com.apple.touristd
> drwx------   2 dpchrist  staff    64 Apr  7 12:32 com.apple.trustd
> drwxr-xr-x   2 dpchrist  staff    64 Apr  7 12:38 shared-pasteboard
> -rw-------   1 dpchrist  staff   115 Apr  7 12:36 xcrun_db
>=20
>=20
> Any other suggestions for installing Ddt with zef?
>=20
>=20
> David
>=20
0
vrurg
4/8/2019 4:30:36 AM
Reply: