Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update build script to usesubprocess instead ofsystem.cmd#109

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
dabico wants to merge7 commits intomaster
base:master
Choose a base branch
Loading
fromrefactoring/build

Conversation

@dabico
Copy link
Member

Not ready to merge, Linux build is currently failing:

[+] Building 17.3s (9/10)                                                                                                                                                                                                                                                                     docker:desktop-linux => [internal] load .dockerignore                                                                                                                                                                                                                                                                             0.0s => => transferring context: 272B                                                                                                                                                                                                                                                                             0.0s => [internal] load build definition from Dockerfile                                                                                                                                                                                                                                                          0.0s => => transferring dockerfile: 655B                                                                                                                                                                                                                                                                          0.0s => [internal] load metadata for docker.io/library/alpine:3.19.0                                                                                                                                                                                                                                              0.0s => CACHED [build 1/5] FROM docker.io/library/alpine:3.19.0                                                                                                                                                                                                                                                   0.0s => [internal] load build context                                                                                                                                                                                                                                                                             2.4s => => transferring context: 1.50MB                                                                                                                                                                                                                                                                           2.4s => [build 2/5] RUN apk update --quiet && apk add --quiet --no-cache alpine-sdk make openjdk11 python3 py3-distutils-extra                                                                                                                                                                                   12.2s => [build 3/5] WORKDIR /java-tree-sitter                                                                                                                                                                                                                                                                     0.0s => [build 4/5] COPY . ./                                                                                                                                                                                                                                                                                     4.6s => ERROR [build 5/5] RUN python3 build.py --verbose                                                                                                                                                                                                                                                          0.3s------                                                                                                                                                                                                                                                                                                              > [build 5/5] RUN python3 build.py --verbose:                                                                                                                                                                                                                                                                     0.265 /java-tree-sitter/build.py:5: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives0.265   from distutils.ccompiler import new_compiler as new_c_compiler0.274 make: Entering directory '/java-tree-sitter/tree-sitter'0.277 rm -f lib/src/*.o libtree-sitter.a libtree-sitter.so libtree-sitter.so.0 libtree-sitter.so.0.00.278 make: Leaving directory '/java-tree-sitter/tree-sitter'0.279 make: Entering directory '/java-tree-sitter/tree-sitter'0.282 cc -O3 -Wall -Wextra -Werror -std=gnu99 -fPIC -Ilib/src -Ilib/include   -c -o lib/src/alloc.o lib/src/alloc.c0.291 cc: fatal error: cannot execute 'cc1': execvp: No such file or directory0.291 compilation terminated.0.292 make: *** [<builtin>: lib/src/alloc.o] Error 10.292 make: Leaving directory '/java-tree-sitter/tree-sitter'0.292 Traceback (most recent call last):0.292   File "/java-tree-sitter/build.py", line 174, in <module>0.293     build(args.repositories, args.output, args.system, args.arch, args.verbose)0.293   File "/java-tree-sitter/build.py", line 51, in build0.293     raise RuntimeError("Failed to build tree-sitter library.")0.293 RuntimeError: Failed to build tree-sitter library.------Dockerfile:20--------------------  18 |     COPY . ./  19 |       20 | >>> RUN python3 build.py --verbose  21 |       22 |     FROM scratch AS export--------------------ERROR: failed to solve: process "/bin/sh -c python3 build.py --verbose" did not complete successfully: exit code: 1

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@dabico

[8]ページ先頭

©2009-2025 Movatter.jp