drforr / raku-OLE-Storage_Lite

Read and write OLE-structured documents on any platform
3 stars 0 forks source link

Install fails on debian/alpine #1

Closed melezhik closed 4 years ago

melezhik commented 4 years ago

Hi! I don't know the reason but:

Error - Could not find P5localtime

Commit - 57250c2bc5fb8ab38d0a9739f5adc5680ce36b3d Version - 0.0.1

You can replay this bug using RakuDist:

git clone https://github.com/melezhik/RakuDist.git
cd RakuDist/modules/ole-storage-lite
docker pull debian
docker run -d -t --rm --name debian-rakudist debian
sparrowdo  --bootstrap --no_sudo --docker=debian-rakudist --repo=http://repo.westus.cloudapp.azure.com

Log:

[scheck@sp6 ole-storage-lite]$ sparrowdo  --no_sudo --docker=alpine-rakudist --repo=http://repo.westus.cloudapp.azure.com
21:05:21 01/09/2020 [repository] index updated from http://repo.westus.cloudapp.azure.com/api/v1/index
21:05:27 01/09/2020 [create user ole-storage-lite] uid=1003(ole-storage-lite) gid=1003(ole-storage-lite) groups=1003(ole-storage-lite)
^[[A21:05:27 01/09/2020 [create user ole-storage-lite] user ole-storage-lite created
[task check] stdout match <created> True
21:05:31 01/09/2020 [create directory /data/test/ole-storage-lite] directory path: /data/test/ole-storage-lite
21:05:31 01/09/2020 [create directory /data/test/ole-storage-lite] directory owner: <ole-storage-lite>
21:05:31 01/09/2020 [create directory /data/test/ole-storage-lite] directory group: <ole-storage-lite>
21:05:31 01/09/2020 [create directory /data/test/ole-storage-lite] directory access rights: drwxr-xr-x
[task check] stdout match <owner: <ole-storage-lite>> True
[task check] stdout match <group: <ole-storage-lite>> True
21:05:35 01/09/2020 [bash: git checkout https://github.com/drforr/raku-OLE-St ...] /data/test/ole-storage-lite
21:05:35 01/09/2020 [bash: git checkout https://github.com/drforr/raku-OLE-St ...] stderr: Cloning into '.'...
21:05:38 01/09/2020 [bash: last commit] commit 57250c2bc5fb8ab38d0a9739f5adc5680ce36b3d
21:05:38 01/09/2020 [bash: last commit] Author: Jeffrey Goff <drforr@pobox.com>
21:05:38 01/09/2020 [bash: last commit] Date:   Thu Jan 9 07:01:59 2020 +0000
21:05:38 01/09/2020 [bash: last commit]
21:05:38 01/09/2020 [bash: last commit]     0.0.1
21:05:38 01/09/2020 [bash: last commit]
21:05:38 01/09/2020 [bash: last commit] M       Changes
21:05:38 01/09/2020 [bash: last commit] M       META6.json
21:05:38 01/09/2020 [bash: last commit] M       lib/OLE/Storage_Lite.pm6
21:05:38 01/09/2020 [bash: last commit] M       lib/OLE/Storage_Lite/Utils.pm6
21:05:40 01/09/2020 [bash: cd /data/test/ole-storage-lite && ls -l] total 20
21:05:40 01/09/2020 [bash: cd /data/test/ole-storage-lite && ls -l] -rw-r--r--    1 ole-stor ole-stor       115 Jan  9 21:05 Changes
21:05:40 01/09/2020 [bash: cd /data/test/ole-storage-lite && ls -l] -rw-r--r--    1 ole-stor ole-stor       334 Jan  9 21:05 MANIFEST
21:05:40 01/09/2020 [bash: cd /data/test/ole-storage-lite && ls -l] -rw-r--r--    1 ole-stor ole-stor       837 Jan  9 21:05 META6.json
21:05:40 01/09/2020 [bash: cd /data/test/ole-storage-lite && ls -l] -rw-r--r--    1 ole-stor ole-stor      1031 Jan  9 21:05 README
21:05:40 01/09/2020 [bash: cd /data/test/ole-storage-lite && ls -l] -rw-r--r--    1 ole-stor ole-stor        31 Jan  9 21:05 dist.ini
21:05:40 01/09/2020 [bash: cd /data/test/ole-storage-lite && ls -l] drwxr-xr-x    3 ole-stor ole-stor        17 Jan  9 21:05 lib
21:05:40 01/09/2020 [bash: cd /data/test/ole-storage-lite && ls -l] drwxr-xr-x    2 ole-stor ole-stor        71 Jan  9 21:05 sample
21:05:40 01/09/2020 [bash: cd /data/test/ole-storage-lite && ls -l] drwxr-xr-x    2 ole-stor ole-stor       159 Jan  9 21:05 t
21:05:40 01/09/2020 [bash: cd /data/test/ole-storage-lite && ls -l] drwxr-xr-x    2 ole-stor ole-stor        22 Jan  9 21:05 utils
21:05:45 01/09/2020 [bash: Install module dependencies] stderr: All candidates are currently installed
21:05:45 01/09/2020 [bash: Install module dependencies] <empty stdout>
21:05:49 01/09/2020 [bash: zef test] ===> Testing: OLE::Storage_Lite:ver<0.0.1>:auth<github:drforr>
21:05:56 01/09/2020 [bash: zef test] stderr: Aborting due to test failure: OLE::Storage_Lite:ver<0.0.1>:auth<github:drforr> (use --force-test to override)
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] # Failed test 'OLE::Storage_Lite module can be use-d ok'
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] # at t/00-load.t line 7
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] # ===SORRY!===
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] # Could not find P5localtime at line 6 in:
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] #     file#/data/test/ole-storage-lite
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] #     inst#/home/ole-storage-lite/.perl6
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] #     inst#/opt/rakudo-pkg/share/perl6/site
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] #     inst#/opt/rakudo-pkg/share/perl6/vendor
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] #     inst#/opt/rakudo-pkg/share/perl6/core
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] #     ap#
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] #     nqp#
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] #     perl5#
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] #
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] # You failed 1 test of 1
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] ===SORRY!===
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] Could not find P5localtime at line 6 in:
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     file#/data/test/ole-storage-lite
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     inst#/home/ole-storage-lite/.perl6
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     inst#/opt/rakudo-pkg/share/perl6/site
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     inst#/opt/rakudo-pkg/share/perl6/vendor
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     inst#/opt/rakudo-pkg/share/perl6/core
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     ap#
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     nqp#
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     perl5#
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] ===SORRY!===
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] Could not find P5localtime at line 6 in:
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     file#/data/test/ole-storage-lite
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     inst#/home/ole-storage-lite/.perl6
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     inst#/opt/rakudo-pkg/share/perl6/site
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     inst#/opt/rakudo-pkg/share/perl6/vendor
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     inst#/opt/rakudo-pkg/share/perl6/core
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     ap#
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     nqp#
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     perl5#
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] ===SORRY!===
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] Could not find P5localtime at line 6 in:
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     file#/data/test/ole-storage-lite
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     inst#/home/ole-storage-lite/.perl6
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     inst#/opt/rakudo-pkg/share/perl6/site
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     inst#/opt/rakudo-pkg/share/perl6/vendor
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     inst#/opt/rakudo-pkg/share/perl6/core
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     ap#
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     nqp#
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     perl5#
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] ===SORRY!===
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] Could not find P5localtime at line 6 in:
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     file#/data/test/ole-storage-lite
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     inst#/home/ole-storage-lite/.perl6
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     inst#/opt/rakudo-pkg/share/perl6/site
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     inst#/opt/rakudo-pkg/share/perl6/vendor
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     inst#/opt/rakudo-pkg/share/perl6/core
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     ap#
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     nqp#
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     perl5#
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] ===SORRY!===
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite] Could not find P5localtime at line 6 in:
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     file#/data/test/ole-storage-lite
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     inst#/home/ole-storage-lite/.perl6
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     inst#/opt/rakudo-pkg/share/perl6/site
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     inst#/opt/rakudo-pkg/share/perl6/vendor
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     inst#/opt/rakudo-pkg/share/perl6/core
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     ap#
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     nqp#
21:05:56 01/09/2020 [bash: zef test] [OLE::Storage_Lite]     perl5#
21:05:56 01/09/2020 [bash: zef test] ===> Testing [FAIL]: OLE::Storage_Lite:ver<0.0.1>:auth<github:drforr>
21:05:56 01/09/2020 [bash: zef test] task exit status: 1
21:05:56 01/09/2020 [bash: zef test] task bash: zef test FAILED
The spawned command 'docker exec -i alpine-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
drforr commented 4 years ago

Wow, I didn't think anyone would be trying it this early, thanks! I thought I added that to my dependency list, but it doesn't look that way. I also remember something automatically updating that, so that might be the reason.

drforr commented 4 years ago

Pushed v0.0.2 with the missing dependency, have at it.

melezhik commented 4 years ago

looks good now

[scheck@sp6 ole-storage-lite]$ sparrowdo  --no_sudo --docker=alpine-rakudist --repo=http://repo.westus.cloudapp.azure.com
22:26:28 01/09/2020 [repository] index updated from http://repo.westus.cloudapp.azure.com/api/v1/index
22:26:30 01/09/2020 [create user ole-storage-lite] update of existing user is not supported for alpine OS
22:26:34 01/09/2020 [create directory /data/test/ole-storage-lite] directory path: /data/test/ole-storage-lite
22:26:34 01/09/2020 [create directory /data/test/ole-storage-lite] directory owner: <ole-storage-lite>
22:26:34 01/09/2020 [create directory /data/test/ole-storage-lite] directory group: <ole-storage-lite>
22:26:34 01/09/2020 [create directory /data/test/ole-storage-lite] directory access rights: drwxr-xr-x
[task check] stdout match <owner: <ole-storage-lite>> True
[task check] stdout match <group: <ole-storage-lite>> True
22:26:39 01/09/2020 [bash: git checkout https://github.com/drforr/raku-OLE-St ...] /data/test/ole-storage-lite
22:26:39 01/09/2020 [bash: git checkout https://github.com/drforr/raku-OLE-St ...] stderr: From https://github.com/drforr/raku-OLE-Storage_Lite
   57250c2..8bbaa55  master     -> origin/master
22:26:39 01/09/2020 [bash: git checkout https://github.com/drforr/raku-OLE-St ...] stderr:  * [new tag]         0.0.2      -> 0.0.2
22:26:39 01/09/2020 [bash: git checkout https://github.com/drforr/raku-OLE-St ...] Updating 57250c2..8bbaa55
22:26:39 01/09/2020 [bash: git checkout https://github.com/drforr/raku-OLE-St ...] Fast-forward
22:26:39 01/09/2020 [bash: git checkout https://github.com/drforr/raku-OLE-St ...]  Changes                  | 3 +++
22:26:40 01/09/2020 [bash: git checkout https://github.com/drforr/raku-OLE-St ...]  META6.json               | 6 ++++--
22:26:40 01/09/2020 [bash: git checkout https://github.com/drforr/raku-OLE-St ...]  lib/OLE/Storage_Lite.pm6 | 2 +-
22:26:40 01/09/2020 [bash: git checkout https://github.com/drforr/raku-OLE-St ...]  3 files changed, 8 insertions(+), 3 deletions(-)
22:26:42 01/09/2020 [bash: last commit] commit 8bbaa55d6bad4293a2c9943e1b4aeff14a35ae15
22:26:42 01/09/2020 [bash: last commit] Author: Jeffrey Goff <drforr@pobox.com>
22:26:42 01/09/2020 [bash: last commit] Date:   Thu Jan 9 22:16:43 2020 +0000
22:26:42 01/09/2020 [bash: last commit]
22:26:42 01/09/2020 [bash: last commit]     0.0.2
22:26:42 01/09/2020 [bash: last commit]
22:26:42 01/09/2020 [bash: last commit] M       Changes
22:26:42 01/09/2020 [bash: last commit] M       META6.json
22:26:42 01/09/2020 [bash: last commit] M       lib/OLE/Storage_Lite.pm6
22:26:45 01/09/2020 [bash: cd /data/test/ole-storage-lite && ls -l] total 20
22:26:45 01/09/2020 [bash: cd /data/test/ole-storage-lite && ls -l] -rw-r--r--    1 ole-stor ole-stor       184 Jan  9 22:26 Changes
22:26:45 01/09/2020 [bash: cd /data/test/ole-storage-lite && ls -l] -rw-r--r--    1 ole-stor ole-stor       334 Jan  9 21:05 MANIFEST
22:26:45 01/09/2020 [bash: cd /data/test/ole-storage-lite && ls -l] -rw-r--r--    1 ole-stor ole-stor       857 Jan  9 22:26 META6.json
22:26:45 01/09/2020 [bash: cd /data/test/ole-storage-lite && ls -l] -rw-r--r--    1 ole-stor ole-stor      1031 Jan  9 21:05 README
22:26:45 01/09/2020 [bash: cd /data/test/ole-storage-lite && ls -l] -rw-r--r--    1 ole-stor ole-stor        31 Jan  9 21:05 dist.ini
22:26:45 01/09/2020 [bash: cd /data/test/ole-storage-lite && ls -l] drwxr-xr-x    3 ole-stor ole-stor        17 Jan  9 21:05 lib
22:26:45 01/09/2020 [bash: cd /data/test/ole-storage-lite && ls -l] drwxr-xr-x    2 ole-stor ole-stor        71 Jan  9 21:05 sample
22:26:45 01/09/2020 [bash: cd /data/test/ole-storage-lite && ls -l] drwxr-xr-x    2 ole-stor ole-stor       159 Jan  9 21:05 t
22:26:45 01/09/2020 [bash: cd /data/test/ole-storage-lite && ls -l] drwxr-xr-x    2 ole-stor ole-stor        22 Jan  9 21:05 utils
22:26:49 01/09/2020 [bash: Install module dependencies] ===> Searching for missing dependencies: P5localtime
22:26:49 01/09/2020 [bash: Install module dependencies] stderr: ===> Updating cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
22:27:05 01/09/2020 [bash: Install module dependencies] ===> Testing: P5localtime:ver<0.0.7>:auth<cpan:ELIZABETH>
22:27:05 01/09/2020 [bash: Install module dependencies] ===> Testing [OK] for P5localtime:ver<0.0.7>:auth<cpan:ELIZABETH>
22:27:05 01/09/2020 [bash: Install module dependencies] ===> Installing: P5localtime:ver<0.0.7>:auth<cpan:ELIZABETH>
22:27:05 01/09/2020 [bash: Install module dependencies] stderr: ===> Updating p6c mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/p6c1.json
===> Updated p6c mirror: ht
22:27:05 01/09/2020 [bash: Install module dependencies] stderr: tps://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/p6c1.json
===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
22:27:11 01/09/2020 [bash: zef test] ===> Testing: OLE::Storage_Lite:ver<0.0.2>:auth<github:drforr>
22:27:30 01/09/2020 [bash: zef test] ===> Testing [OK] for OLE::Storage_Lite:ver<0.0.2>:auth<github:drforr>