GithubHelp home page GithubHelp logo

mighty-gerbils / gerbil-libyaml Goto Github PK

View Code? Open in Web Editor NEW
0.0 6.0 0.0 20 KB

Gerbil LibYAML bindings

License: GNU Lesser General Public License v2.1

Scheme 100.00%
gerbil gerbil-scheme scheme

gerbil-libyaml's People

Contributors

vyzo avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gerbil-libyaml's Issues

Installation errors (`Compilation error; gsc exited with nonzero status`)

I am running macOS Sonoma 14.2

> uname -a
Darwin ip-10-0-0-50.ec2.internal 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:59:33 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T8112 arm64

and I get the following errors when trying to install:

> gerbil pkg install github.com/mighty-gerbils/gerbil-libyaml
... cloning github.com/mighty-gerbils/gerbil-libyaml
... pulling
... build github.com/mighty-gerbils/gerbil-libyaml
... compile foreign text/libyaml
GPL Ghostscript 10.02.1 (2023-11-01)
Copyright (C) 2023 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
Unknown switch -ld-options - ignoring
Unknown switch -lyaml - ignoring
Error: /undefined in ;;;
Operand stack:
Execution stack:   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1944   1   3   %oparray_pop   1943   1   3   %oparray_pop   1928   1   3   %oparray_pop   1801   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:   --dict:740/1123(ro)(G)--   --dict:0/20(G)--   --dict:85/200(L)--
Current allocation mode is local
Current file position is 4
GPL Ghostscript 10.02.1: Unrecoverable error, exit code 1
*** ERROR IN std/misc/concurrent-plan#perform-plan/threads__% -- Build Failure at (ssi text/libyaml (gsc text/libyaml -cc-options  -ld-options -lyaml))

*** ERROR IN ? [Error]: Compilation error; gsc exited with nonzero status
--- irritants: 256 
--- continuation backtrace:
[0] error                                                                              
[1] std/make#gsc-compile                                                                                                                                                       (error '"Compilation error; gsc exited with nonzero status" _status101079_)
[2] std/make#build                                                                                                                                                             (std/make#build _g101451101453_ _settings101226_)
[3] std/make#build                                                                                                                                                             (for-each __tmp29519 _submodules101449_)
[4] std/make#%make                                                                                                                                                             (std/make#build __tmp29451 _settings102115_)
[5] std/misc/concurrent-plan#perform-plan/threads__%                                                                                                                           (_perform100397_ _item100603_)
[6] std/misc/concurrent-plan#perform-plan/threads__%                                                                                                                           (_fg-perform100511_ __tmp25844)
[7] std/make#%make                                                                                                                                                             (std/misc/concurrent-plan#perform-plan/threads__% '#f _perform102196_ __tmp29...
*** ERROR IN std/misc/process#run-process__% -- 
*** ERROR IN "misc/process.ss"@28.35-28.46 [ProcessError]: process exited with non-zero status
--- irritants: "/Users/acturner/.gerbil/pkg/github.com/mighty-gerbils/gerbil-libyaml/build.ss" 17920 (path: "/Users/acturner/.gerbil/pkg/github.com/mighty-gerbils/gerbil-libyaml/build.ss" arguments: ("compile") environment: #f directory: "/Users/acturner/.gerbil/pkg/github.com/mighty-gerbils/gerbil-libyaml" stdin-redirection: #t stdout-redirection: #f stderr-redirection: #f pseudo-terminal: #f show-console: #f) 
--- continuation backtrace:
[0] raise                                                                              
[1] std/misc/process#run-process__%                                                                                                                                            ((if (let () (declare (not safe)) (procedure? _check-status568387_)) _check-s...
[2] gerbil/tools/gxpkg#pkg-build__%                                                    
[3] gerbil/tools/gxpkg#install-pkgs                                                    
[4] gerbil/tools/gxpkg#install-pkgs

Getting several undefined items for libyaml

This happens both in docker, and on Arch Linux.
We include :clan/text/yaml
As well as list it as a dependency in gerbil.pkg

/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /tmp/gxc.1695683461.8080697/clan__text__libyaml.o: in function `___clan____text____libyaml_23_40':
clan__text__libyaml.c:(.text+0xcc0): undefined reference to `yaml_scalar_event_initialize'
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /tmp/gxc.1695683461.8080697/clan__text__libyaml.o: in function `___H_clan____text____libyaml':
clan__text__libyaml.c:(.text+0x2124): undefined reference to `yaml_parser_initialize'
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: clan__text__libyaml.c:(.text+0x2230): undefined reference to `yaml_parser_delete'
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: clan__text__libyaml.c:(.text+0x2368): undefined reference to `yaml_parser_set_input_file'
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: clan__text__libyaml.c:(.text+0x24bc): undefined reference to `yaml_parser_set_input_string'
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: clan__text__libyaml.c:(.text+0x2600): undefined reference to `yaml_parser_parse'
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: clan__text__libyaml.c:(.text+0x2974): undefined reference to `yaml_emitter_initialize'
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: clan__text__libyaml.c:(.text+0x2a80): undefined reference to `yaml_emitter_delete'
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: clan__text__libyaml.c:(.text+0x2bb8): undefined reference to `yaml_emitter_set_output_file'
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: clan__text__libyaml.c:(.text+0x2cfc): undefined reference to `yaml_emitter_emit'
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: clan__text__libyaml.c:(.text+0x3070): undefined reference to `yaml_event_delete'
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: clan__text__libyaml.c:(.text+0x3738): undefined reference to `yaml_stream_start_event_initialize'
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: clan__text__libyaml.c:(.text+0x3864): undefined reference to `yaml_stream_end_event_initialize'
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: clan__text__libyaml.c:(.text+0x39a8): undefined reference to `yaml_document_start_event_initialize'
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: clan__text__libyaml.c:(.text+0x3ae4): undefined reference to `yaml_document_end_event_initialize'
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: clan__text__libyaml.c:(.text+0x3ce8): undefined reference to `yaml_sequence_start_event_initialize'
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: clan__text__libyaml.c:(.text+0x3e20): undefined reference to `yaml_sequence_end_event_initialize'
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: clan__text__libyaml.c:(.text+0x3f68): undefined reference to `yaml_mapping_start_event_initialize'
/usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: clan__text__libyaml.c:(.text+0x40a0): undefined reference to `yaml_mapping_end_event_initialize'
collect2: error: ld returned 1 exit status
*** ERROR IN std/misc/concurrent-plan#perform-plan/threads__% -- Build Failure at (exe confluence/confluence)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.