6 квіт. 2019 р. о 22:28 David Christensen <dpchr...@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