Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module does not build on debian #2

Closed
melezhik opened this issue Jan 7, 2020 · 6 comments
Closed

Module does not build on debian #2

melezhik opened this issue Jan 7, 2020 · 6 comments

Comments

@melezhik
Copy link

melezhik commented Jan 7, 2020

You can replay the test using RakuDist:

$ sparrowdo --no_sudo --docker=debian-rakudist --repo=http://repo.westus.cloudapp.azure.com
02:13:19 01/07/2020 [repository] index updated from http://repo.westus.cloudapp.azure.com/api/v1/index
02:13:24 01/07/2020 [create user HomoGlypher] uid=1004(HomoGlypher) gid=1004(HomoGlypher) groups=1004(HomoGlypher)
02:13:24 01/07/2020 [create user HomoGlypher] user HomoGlypher created
[task check] stdout match <created> True
02:13:27 01/07/2020 [create directory /data/test/HomoGlypher] directory path: /data/test/HomoGlypher
02:13:27 01/07/2020 [create directory /data/test/HomoGlypher] directory owner: <HomoGlypher>
02:13:27 01/07/2020 [create directory /data/test/HomoGlypher] directory group: <HomoGlypher>
02:13:27 01/07/2020 [create directory /data/test/HomoGlypher] directory access rights: drwxr-xr-x
[task check] stdout match <owner: <HomoGlypher>> True
[task check] stdout match <group: <HomoGlypher>> True
02:13:31 01/07/2020 [bash: git checkout https://github.com/bbkr/HomoGlypher.g ...] /data/test/HomoGlypher
02:13:31 01/07/2020 [bash: git checkout https://github.com/bbkr/HomoGlypher.g ...] stderr: Cloning into '.'...
02:13:33 01/07/2020 [bash: last commit] commit ba51d1fe9b67bc4c521b98ea71d0fc4516d103d1
02:13:33 01/07/2020 [bash: last commit] Author: Pawel Pabian <bbkr@post.pl>
02:13:33 01/07/2020 [bash: last commit] Date:   Mon Dec 30 11:41:25 2019 +0100
02:13:33 01/07/2020 [bash: last commit] 
02:13:33 01/07/2020 [bash: last commit]     Create FUNDING.yml
02:13:33 01/07/2020 [bash: last commit] 
02:13:33 01/07/2020 [bash: last commit] A	.github/FUNDING.yml
02:13:35 01/07/2020 [bash: cd /data/test/HomoGlypher && ls -l] total 24
02:13:35 01/07/2020 [bash: cd /data/test/HomoGlypher && ls -l] -rw-r--r--. 1 HomoGlypher HomoGlypher 8902 Jan  7 02:13 LICENSE
02:13:35 01/07/2020 [bash: cd /data/test/HomoGlypher && ls -l] -rw-r--r--. 1 HomoGlypher HomoGlypher  442 Jan  7 02:13 META6.json
02:13:35 01/07/2020 [bash: cd /data/test/HomoGlypher && ls -l] -rw-r--r--. 1 HomoGlypher HomoGlypher 6964 Jan  7 02:13 README.md
02:13:35 01/07/2020 [bash: cd /data/test/HomoGlypher && ls -l] drwxr-xr-x. 2 HomoGlypher HomoGlypher   30 Jan  7 02:13 example
02:13:35 01/07/2020 [bash: cd /data/test/HomoGlypher && ls -l] drwxr-xr-x. 3 HomoGlypher HomoGlypher   52 Jan  7 02:13 lib
02:13:35 01/07/2020 [bash: cd /data/test/HomoGlypher && ls -l] drwxr-xr-x. 2 HomoGlypher HomoGlypher  117 Jan  7 02:13 t
02:13:38 01/07/2020 [bash: zef install Test::META] stderr: All candidates are currently installed
02:13:38 01/07/2020 [bash: zef install Test::META] No reason to proceed. Use --force-install to continue anyway
02:13:43 01/07/2020 [bash: zef install /data/test/HomoGlypher] stderr: Invalid json? File: /data/test/HomoGlypher/META6.json
02:13:43 01/07/2020 [bash: zef install /data/test/HomoGlypher] <empty stdout>
02:13:43 01/07/2020 [bash: zef install /data/test/HomoGlypher] task exit status: 1
02:13:43 01/07/2020 [bash: zef install /data/test/HomoGlypher] task bash: zef install /data/test/HomoGlypher FAILED
The spawned command 'docker exec -i debian-rakudist sh /root/.sparrowdo/sparrowrun.sh' exited unsuccessfully (exit code: 1)
  in block <unit> at /opt/rakudo-pkg/share/perl6/site/resources/375DCCC7CEEDC0A696B38FBD13B6A1EBB162B393 line 17
  in sub MAIN at /home/scheck/.perl6/bin/sparrowdo line 3
  in block <unit> at /home/scheck/.perl6/bin/sparrowdo line 1
@melezhik melezhik changed the title Module does not buid on debian Module does not build on debian Jan 7, 2020
@melezhik
Copy link
Author

melezhik commented Jan 7, 2020

@bbkr
Copy link
Owner

bbkr commented Jan 7, 2020

What's wrong about this line?

@bbkr
Copy link
Owner

bbkr commented Jan 7, 2020

Found it. "Authors" was OK, it's the trailing comma after last item in "provides".

@bbkr
Copy link
Owner

bbkr commented Jan 7, 2020

9cf6016

@bbkr
Copy link
Owner

bbkr commented Jan 7, 2020

Fixed, thanks for the report.

@melezhik
Copy link
Author

melezhik commented Jan 7, 2020

FYI. looks good now

[scheck@host homoglypher]$ sparrowdo --no_sudo --docker=debian-rakudist --repo=http://repo.westus.cloudapp.azure.com
22:46:27 01/07/2020 [repository] index updated from http://repo.westus.cloudapp.azure.com/api/v1/index
22:46:31 01/07/2020 [create user HomoGlypher] uid=1003(HomoGlypher) gid=1003(HomoGlypher) groups=1003(HomoGlypher)
22:46:31 01/07/2020 [create user HomoGlypher] user HomoGlypher created
[task check] stdout match <created> True
22:46:35 01/07/2020 [create directory /data/test/HomoGlypher] directory path: /data/test/HomoGlypher
22:46:35 01/07/2020 [create directory /data/test/HomoGlypher] directory owner: <HomoGlypher>
22:46:35 01/07/2020 [create directory /data/test/HomoGlypher] directory group: <HomoGlypher>
22:46:35 01/07/2020 [create directory /data/test/HomoGlypher] directory access rights: drwxr-xr-x
[task check] stdout match <owner: <HomoGlypher>> True
[task check] stdout match <group: <HomoGlypher>> True
22:46:39 01/07/2020 [bash: git checkout https://github.com/bbkr/HomoGlypher.g ...] /data/test/HomoGlypher
22:46:39 01/07/2020 [bash: git checkout https://github.com/bbkr/HomoGlypher.g ...] stderr: Cloning into '.'...
22:46:42 01/07/2020 [bash: last commit] commit 9cf60165ccdcbc6648580dc830f7bf702f914184
22:46:42 01/07/2020 [bash: last commit] Author: Pawel Pabian <bbkr@post.pl>
22:46:42 01/07/2020 [bash: last commit] Date:   Tue Jan 7 09:30:37 2020 +0100
22:46:42 01/07/2020 [bash: last commit]
22:46:42 01/07/2020 [bash: last commit]     Fix JSON syntax in META.
22:46:42 01/07/2020 [bash: last commit]
22:46:42 01/07/2020 [bash: last commit] M       META6.json
22:46:44 01/07/2020 [bash: cd /data/test/HomoGlypher && ls -l] total 24
22:46:44 01/07/2020 [bash: cd /data/test/HomoGlypher && ls -l] -rw-r--r--. 1 HomoGlypher HomoGlypher 8902 Jan  7 22:46 LICENSE
22:46:44 01/07/2020 [bash: cd /data/test/HomoGlypher && ls -l] -rw-r--r--. 1 HomoGlypher HomoGlypher  441 Jan  7 22:46 META6.json
22:46:44 01/07/2020 [bash: cd /data/test/HomoGlypher && ls -l] -rw-r--r--. 1 HomoGlypher HomoGlypher 6964 Jan  7 22:46 README.md
22:46:44 01/07/2020 [bash: cd /data/test/HomoGlypher && ls -l] drwxr-xr-x. 2 HomoGlypher HomoGlypher   30 Jan  7 22:46 example
22:46:44 01/07/2020 [bash: cd /data/test/HomoGlypher && ls -l] drwxr-xr-x. 3 HomoGlypher HomoGlypher   52 Jan  7 22:46 lib
22:46:44 01/07/2020 [bash: cd /data/test/HomoGlypher && ls -l] drwxr-xr-x. 2 HomoGlypher HomoGlypher  117 Jan  7 22:46 t
22:46:47 01/07/2020 [bash: zef install Test::META] stderr: All candidates are currently installed
22:46:47 01/07/2020 [bash: zef install Test::META] No reason to proceed. Use --force-install to continue anyway
22:46:52 01/07/2020 [bash: zef install /data/test/HomoGlypher] stderr: All candidates are currently installed
22:46:52 01/07/2020 [bash: zef install /data/test/HomoGlypher] <empty stdout>
22:46:55 01/07/2020 [bash: zef test] ===> Testing: HomoGlypher:ver<1.0.2>
22:46:58 01/07/2020 [bash: zef test] ===> Testing [OK] for HomoGlypher:ver<1.0.2>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants