Skip to content

Commit

Permalink
Fix various build issues
Browse files Browse the repository at this point in the history
Downgrade pyyaml - yaml/pyyaml#724

Fix YAML::PP - path to event processor changed

Remove raku

Build problems:

    ===SORRY!===
    Could not find YAMLish at line 3 in:
        inst#/raku
        inst#/root/.perl6
        inst#/rakudo/share/perl6/site
        inst#/rakudo/share/perl6/vendor
        inst#/rakudo/share/perl6/core
        ap#
        nqp#
        perl5#

Remove Java - build problems...

Upgrade containers
  • Loading branch information
perlpunk committed Jun 2, 2024
1 parent 6b6909b commit fbd4cc3
Show file tree
Hide file tree
Showing 11 changed files with 57 additions and 57 deletions.
20 changes: 10 additions & 10 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10.2
FROM alpine:3.15.2

RUN apk update && \
apk add \
Expand All @@ -23,16 +23,16 @@ COPY var/build/dotnet /
COPY docker/dotnet/testers /yaml/bin/
COPY var/build/haskell /
COPY docker/haskell/testers /yaml/bin/
COPY var/build/java /
COPY docker/java/testers /yaml/bin/
#COPY var/build/java /
#COPY docker/java/testers /yaml/bin/
COPY var/build/lua /
COPY docker/lua/testers /yaml/bin/
COPY var/build/node /
COPY docker/node/testers /yaml/bin/
COPY var/build/perl /
COPY docker/perl/testers /yaml/bin/
COPY var/build/rakudo /
COPY docker/rakudo/testers /yaml/bin/
#COPY var/build/rakudo /
#COPY docker/rakudo/testers /yaml/bin/
COPY var/build/python /
COPY docker/python/testers /yaml/bin/
COPY var/build/ruby /
Expand All @@ -43,15 +43,15 @@ COPY var/build/all /

ENV NODE_PATH=/node/node_modules
ENV PERL5LIB=/perl5/lib/perl5
ENV PERL6LIB="inst#/raku"
ENV PYTHONPATH=/python/lib/python3.7/site-packages
ENV PATH="/rakudo/bin:$PATH"
#ENV PERL6LIB="inst#/raku"
ENV PYTHONPATH=/python/lib/python3.9/site-packages
#ENV PATH="/rakudo/bin:$PATH"

ENV PATH="/yaml/bin:$PATH"

# WORKAROUND: precompile
# precompile at installation time seems to use a different path
# for debugging: export RAKUDO_MODULE_DEBUG=1

RUN echo foo | /yaml/bin/raku-yamlish-json
RUN echo foo | /yaml/bin/raku-yamlish-raku
#RUN echo foo | /yaml/bin/raku-yamlish-json
#RUN echo foo | /yaml/bin/raku-yamlish-raku
2 changes: 1 addition & 1 deletion docker/lua/alpine-builder.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10.2
FROM alpine:3.15.2

RUN apk update && \
apk add \
Expand Down
2 changes: 1 addition & 1 deletion docker/lua/alpine-runtime.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10.2
FROM alpine:3.15.2

RUN apk update && \
apk add \
Expand Down
2 changes: 1 addition & 1 deletion docker/perl/alpine-builder.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10.2
FROM alpine:3.15.2

RUN apk update && \
apk add \
Expand Down
2 changes: 1 addition & 1 deletion docker/perl/alpine-runtime.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10.2
FROM alpine:3.15.2

RUN apk update && \
apk add \
Expand Down
2 changes: 1 addition & 1 deletion docker/perl/testers/perl-pp-event
2 changes: 1 addition & 1 deletion docker/python/alpine-builder.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10.2
FROM alpine:3.15.2

RUN apk update && \
apk add \
Expand Down
4 changes: 2 additions & 2 deletions docker/python/alpine-runtime.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10.2
FROM alpine:3.15.2

RUN apk update && \
apk add \
Expand All @@ -9,7 +9,7 @@ RUN apk update && \
inotify-tools \
&& true

ENV PYTHONPATH=/python/lib/python3.7/site-packages
ENV PYTHONPATH=/python/lib/python3.9/site-packages

COPY var/build/python /
COPY docker/python/testers /yaml/bin/
Expand Down
2 changes: 1 addition & 1 deletion docker/ruby/alpine-builder.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10.2
FROM alpine:3.15.2

RUN apk update && \
apk add \
Expand Down
2 changes: 1 addition & 1 deletion docker/ruby/alpine-runtime.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10.2
FROM alpine:3.15.2

RUN apk update && \
apk add \
Expand Down
74 changes: 37 additions & 37 deletions list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ runtimes:
runtime: haskell
build-script: hs-build.sh
lang: Haskell
- &java
runtime: java
lang: Java
#- &java
# runtime: java
# lang: Java
- &lua
runtime: lua
build-script: lua-build.sh
Expand All @@ -30,13 +30,13 @@ runtimes:
build-script: python-install.sh
runtime: python
lang: Python
- &rakudo
build-script: rakudo-install.sh
build-dir:
- [var/build/rakudo/raku, /raku] # [dir, mounted-as]
- [var/build/rakudo, /build] # [dir, mounted-as]
runtime: rakudo
lang: Raku
#- &rakudo
# build-script: rakudo-install.sh
# build-dir:
# - [var/build/rakudo/raku, /raku] # [dir, mounted-as]
# - [var/build/rakudo, /build] # [dir, mounted-as]
# runtime: rakudo
# lang: Raku
- &ruby
runtime: ruby
lang: Ruby
Expand Down Expand Up @@ -124,23 +124,23 @@ libraries:
version: master
tests: [yeast]

java-snakeyaml:
<<: *java
name: SnakeYAML
homepage: https://bitbucket.org/snakeyaml/snakeyaml/
source: https://bitbucket.org/snakeyaml/snakeyaml/get/master.tar.gz
version: '1.31-SNAPSHOT'
build-script: java-snakeyaml-build.sh
tests: [event, json, yaml]

java-snakeengine:
<<: *java
name: SnakeYAML Engine
homepage: https://bitbucket.org/snakeyaml/snakeyaml-engine
source: https://bitbucket.org/snakeyaml/snakeyaml-engine/get/master.tar.gz
version: '2.4-SNAPSHOT'
build-script: java-snakeyaml-engine-build.sh
tests: [event, json, yaml]
# java-snakeyaml:
# <<: *java
# name: SnakeYAML
# homepage: https://bitbucket.org/snakeyaml/snakeyaml/
# source: https://bitbucket.org/snakeyaml/snakeyaml/get/master.tar.gz
# version: '1.31-SNAPSHOT'
# build-script: java-snakeyaml-build.sh
# tests: [event, json, yaml]
#
# java-snakeengine:
# <<: *java
# name: SnakeYAML Engine
# homepage: https://bitbucket.org/snakeyaml/snakeyaml-engine
# source: https://bitbucket.org/snakeyaml/snakeyaml-engine/get/master.tar.gz
# version: '2.4-SNAPSHOT'
# build-script: java-snakeyaml-engine-build.sh
# tests: [event, json, yaml]

js-jsyaml:
<<: *node
Expand Down Expand Up @@ -235,20 +235,20 @@ libraries:
source: https://cpan.metacpan.org/authors/id/T/TI/TINITA/YAML-1.30.tar.gz
tests: [json, perl]

raku-yamlish:
<<: *rakudo
name: YAMLish
homepage: https://github.com/Leont/yamlish
version: 0.0.6
source: https://github.com/Leont/yamlish/archive/master.zip
tests: [json, raku]
# raku-yamlish:
# <<: *rakudo
# name: YAMLish
# homepage: https://github.com/Leont/yamlish
# version: 0.0.6
# source: https://github.com/Leont/yamlish/archive/master.zip
# tests: [json, raku]

py-pyyaml:
<<: *python
name: PyYAML
homepage: https://github.com/yaml/pyyaml
version: '6.0'
source: https://files.pythonhosted.org/packages/36/2b/61d51a2c4f25ef062ae3f74576b01638bebad5e045f747ff12643df63844/PyYAML-6.0.tar.gz
version: '5.3.1'
source: https://files.pythonhosted.org/packages/64/c2/b80047c7ac2478f9501676c988a5411ed5572f35d1beff9cae07d321512c/PyYAML-5.3.1.tar.gz
tests: [event, json, py, yaml]

py-ruamel:
Expand Down Expand Up @@ -282,4 +282,4 @@ formats:
yeast: YEAST Events
perl: Perl Native
py: Python Native
raku: Raku Native
# raku: Raku Native

0 comments on commit fbd4cc3

Please sign in to comment.