Comments (7)
This appears resolved with 904c16f as tested on Windows 10 and Windows 8 by manually splitting output lines instead of relying on rakudo to do the right thing (for now)
from zef.
d:\tools\zef>perl6 -Ilib bin/zef install .
Initializing
===> Fetching The spawned process exited unsuccessfully (exit code: -16)
in sub git-ls at D:\tools\zef\lib\Zef\App.pm6:586
in sub git-package-json at D:\tools\zef\lib\Zef\App.pm6:618
in sub packages at D:\tools\zef\lib\Zef\App.pm6:548
in block at D:\tools\zef\lib\Zef\App.pm6:399
in sub CLI-WAITING-BAR at D:\tools\zef\lib\Zef\CLI.pm6:134
in sub MAIN at D:\tools\zef\lib\Zef\App.pm6:386
in sub MAIN at D:\tools\zef\lib\Zef\App.pm6:202
in block <unit> at bin/zef:3
on my box
from zef.
We found a bug in #perl6 where try { run "asdf" }; say 1;
will not execute the say 1
without sinking inside the try block which explains why it dies with an exception. Then I checked on windows and found another bug in rakudo's Proc
where, for a failed process, the return value is -1
on linux but -16
on windows.
I re-tested and it still worked on my end. So I think it must be related to the commands I used to clone and update the package list repo. I suspect there are unmerged updates from fetch
and if you delete c:\user\name\.zef
(or .zef
in whatever folder $*HOME
points to) it will work. I changed the fetch
to a pull
so that updates are simply merged in automatically.
If it still fails after deleting that folder and pulling these latest changes could you run the follow commands in the zef directory? (it would help me determine why git is being uncooperative in some cases but not others)
git update-index
git ls-files
git pull -n --update-shallow --depth=1
from zef.
I found the problem I previously cloned zef
in d:\tools
and not in %USERPROFILE%\zef
.
zef
is working again perfectly for me again. Do you think zef
is assuming too much during installation?
I assumed that it works like panda rebootstrap.pl
and that was my downfall. My bad.
from zef.
Hmm you shouldn't have to clone zef to any specific directory, that
directory should just be for config stuff and the package list. Did you
happen to try after clearing the .zef directory? Maybe doing the clone
there meant you had to erase the previous package list repo? Otherwise
there may still be a problem as it should work like you expect.
On Wednesday, November 11, 2015, Ahmad M. Zawawi [email protected]
wrote:
I found the problem I previously cloned zef in d:\tools and not in
%USERPROFILE%\zef.zef is working again perfectly for me again. Do you think zef is assuming
too much during installation?I assumed that it works like panda rebootstrap.pl and that was my
downfall. My bad.—
Reply to this email directly or view it on GitHub
#71 (comment).
from zef.
- Tried it after removing
.zef
andzef
from `%USERPROFILE%`` directory. - git repo was at
d:\tools\zef
. zef
died with the following message after creating an empty%USERPROFILE%\.zef\git
:
d:\tools\zef>perl6 -Ilib bin\zef install .
Initializing
===> Fetching The spawned process exited unsuccessfully (exit code: 259)
in sub git-ls at D:\tools\zef\lib\Zef\App.pm6:595
in sub git-package-json at D:\tools\zef\lib\Zef\App.pm6:629
in sub packages at D:\tools\zef\lib\Zef\App.pm6:552
in block at D:\tools\zef\lib\Zef\App.pm6:403
in sub CLI-WAITING-BAR at D:\tools\zef\lib\Zef\CLI.pm6:134
in sub MAIN at D:\tools\zef\lib\Zef\App.pm6:390
in sub MAIN at D:\tools\zef\lib\Zef\App.pm6:206
in block <unit> at bin\zef:3
from zef.
Closing this. The refactor replaced the entire code base so this may or may not be true anymore. I've successfully used it on windows 10 and 8 however. If the new version of zef still fails for you please feel free to re-open!
from zef.
Related Issues (20)
- `zef depends` suggests using `--exclude` but then doesn't recognize the flag
- fetch 'Usage' message incorrectly suggests arguments are optional HOT 2
- Feature request: `zef config` subcommands for debugging HOT 1
- Confusing message for command 'upgrade' HOT 4
- Feature request: Have option "--serial" be the default for commands "install" and "upgrade" HOT 2
- zef install treated "v6" as a dependency HOT 1
- No such method 'remove-artifacts' for invocant of type HOT 4
- Can't `zef install` YAMLish on Windows 10 HOT 6
- Error: Type check failed in binding to parameter '$repo-id'; HOT 1
- Use of uninitialized value @short-names-to-index HOT 4
- zef installs some module resources to /tmp/.zef which are missing on reboot HOT 5
- Add `--precomp` flag to zef HOT 1
- Use of uninitialized value @short-names-to-index in Zef::Repository::Ecosystems line 250 HOT 2
- zef install fails on a fresh (?) M1 macos brew install of rakudo star HOT 7
- zef can't find any distribution that has ":ver<*>" in its name HOT 2
- Error in dependency resolution HOT 7
- Digest vs Digest::MD5 (advice please) HOT 5
- zef may fail to install IO::String HOT 1
- Zef local test (zef test . --debug) doesn't check for valid pod HOT 5
- Shared library referenced in /tmp/.zef? Potential security issue. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zef.