pateljoel

pateljoel

Member Since 1 year ago

london, mumbai, toronto

Experience Points
0
follower
Lessons Completed
0
follow
Best Reply Awards
1
repos

28 contributions in the last year

Pinned
Activity
Nov
30
2 hours ago
Activity icon
issue

pateljoel issue comment streamlink/streamlink

pateljoel
pateljoel

Vimeo - connection is closing after every full hour of written data

Plugin Issue

  • This is a plugin issue and I have read the contribution guidelines.
  • I am using the latest development version from the master branch.

Description

After every full hour written data streamlink is unable to open URL (Failed to reload playlist) - (403 Client Error: Forbidden for url).

Streamlink closes currently open stream.

BUT, stream is still running and you are still able to start recording again. Every connection just ends after 1 hour and you need to make a new connection.

The problem is that streamlink needs about 1 minute to close down the connection. And my running loop script starts looping after the connection is closed. That means I'm losing at least about 1 minute of possible written data after every full hour.

Reproduction steps / Explicit stream URLs to test

  1. Find a running livestream on vimeo (not a vod)
  2. Download using a link that should look like this "https://vimeo.com/501264363" with streamlink
  3. Command example: streamlink https://vimeo.com/501264363 best -o C:\Users\Yourname\Desktop\filename.ts
  4. Write data for 1 hour and receive a closing connection (while stream is still running)

Log output

[cli][info] Found matching plugin vimeo for URL https://vimeo.com/501264363
[cli][info] Available streams: 240p_alt (worst), 240p, 360p_alt, 360p, 540p_alt, 540p, 720p_alt, 720p, 1080p_alt, 1080p (best)
[cli][info] Opening stream: 1080p (hls)
[download] Written 2.28 GB (59m58s @ 813.4 KB/s)                         
[stream.hls][warning] Failed to reload playlist: Unable to open URL: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8 (403 Client Error: Forbidden for url: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8)
[stream.hls][warning] Failed to reload playlist: Unable to open URL: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8 (403 Client Error: Forbidden for url: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8)
[stream.hls][warning] Failed to reload playlist: Unable to open URL: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8 (403 Client Error: Forbidden for url: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8)
[stream.hls][warning] Failed to reload playlist: Unable to open URL: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8 (403 Client Error: Forbidden for url: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8)
[stream.hls][warning] Failed to reload playlist: Unable to open URL: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8 (403 Client Error: Forbidden for url: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8)
[stream.hls][warning] Failed to reload playlist: Unable to open URL: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8 (403 Client Error: Forbidden for url: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8)
[stream.hls][warning] Failed to reload playlist: Unable to open URL: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8 (403 Client Error: Forbidden for url: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8)
[stream.hls][warning] Failed to reload playlist: Unable to open URL: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8 (403 Client Error: Forbidden for url: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8)
[stream.hls][warning] Failed to reload playlist: Unable to open URL: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8 (403 Client Error: Forbidden for url: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8)
[stream.hls][warning] Failed to reload playlist: Unable to open URL: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8 (403 Client Error: Forbidden for url: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8)
[stream.hls][warning] Failed to reload playlist: Unable to open URL: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8 (403 Client Error: Forbidden for url: https://live-ak.vimeocdn.com/exp=1610843372~acl=%2F85c31005-7e84-4535-b3f4-96dc518a6730%2F%2A~hmac=534e6e8ff3af358e93c3a156cf6eb691f1f576b663e237925694a867328356f0/85c31005-7e84-4535-b3f4-96dc518a6730/chunklist_b6256000.m3u8)
error: Error when reading from stream: Read timeout, exiting
[cli][info] Stream ended
[cli][info] Closing currently open stream...

Gewartet wird  0 Sekunden. Drücken Sie STRG+C, um den Vorgang zu beenden...
[cli][info] Found matching plugin vimeo for URL https://vimeo.com/501264363
[cli][info] Available streams: 240p_alt (worst), 240p, 360p_alt, 360p, 540p_alt, 540p, 720p_alt, 720p, 1080p_alt, 1080p (best)
[cli][info] Opening stream: 1080p (hls)
[download] Written 587.3 MB (15m2s @ 620.4 KB/s)

Additional comments, etc.

I think streamlink is fetching & using a temporary HLS link that works for 1 hour max? Hopefully there is a workaround.

pateljoel
pateljoel

Is there an update on this, this has been affecting me as well.

Nov
29
1 day ago
Activity icon
issue

pateljoel issue comment facebook/react-native

pateljoel
pateljoel

Images on Android only extremely low quality.

Description

I am trying to load high quality images in React Native for a chart application and I am getting low quality images being displayed on Android, Zooming in does not help either, instead it makes the issue worse. iOS is fine, but viewing the same image on Android gives dire results and does not look the same quality as iOS.

I have attached an Expo snack example so that you can compare and Zoom in to see the issue.

Screenshot 2021-10-15 at 16 13 14

React Native version:

0.66

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. Use a high quality PNG image.
  2. Load the image in an Image Viewer or Image Tag.

Expected Results

Describe what you expected to happen.

I expect the image quality to be the same regardless of the platform.

Snack, code example, screenshot, or link to a repository:

https://snack.expo.dev/@joelpateljp/low-quality-image-android-example

pateljoel
pateljoel

Is there any update on this?

Nov
14
2 weeks ago
Activity icon
issue

pateljoel issue weiran/Hackers

pateljoel
pateljoel

gigantic storage space usage

hi, this app is great but it uses a lot of storage space on my phone and there is no way to clear it other than deleting the app.

huge

Activity icon
issue

pateljoel issue comment kostya/lexbor

pateljoel
pateljoel

lexbor build error on crystal 1.1.1 and crystal 1.2.2

hi, currently using crystal for a project and using lexbor, I get this error just by running crystal build src/router.cr -o router

ld: warning: ignoring file  /Users/jptl/Desktop/router/lib/lexbor/src/lexbor/../ext/lexbor-c/build/liblexbor_static.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )
Undefined symbols for architecture x86_64:
  "_lxb_css_parser_create", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_parser_destroy", referenced from:
      _*Lexbor::CssFilter#free:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_parser_init", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_selector_list_destroy_memory", referenced from:
      _*Lexbor::CssFilter#free:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_selectors_parse", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_dom_attr_local_name_noi", referenced from:
      _*Lexbor::Node#attribute_name<Pointer(Void)>:Slice(UInt8) in L-exbor5858N-ode.o
  "_lxb_dom_attr_value_noi", referenced from:
      _*Lexbor::Node#attribute_value<Pointer(Void)>:(Slice(UInt8) | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_element_first_attribute_noi", referenced from:
      _*Lexbor::Node#attributes:Hash(String, String) in L-exbor5858N-ode.o
  "_lxb_dom_element_next_attribute_noi", referenced from:
      _*Lexbor::Node#attributes:Hash(String, String) in L-exbor5858N-ode.o
  "_lxb_dom_node_first_child_noi", referenced from:
      _*Lexbor::Node#child:(Lexbor::Node | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_node_next_noi", referenced from:
      _*Lexbor::Node#next:(Lexbor::Node | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_node_parent_noi", referenced from:
      _*Lexbor::Node#parent:(Lexbor::Node | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_node_tag_id_noi", referenced from:
      _*Lexbor::Node#tag_id:Lexbor::Lib::TagIdT in L-exbor5858N-ode.o
  "_lxb_dom_node_text_content", referenced from:
      _*Lexbor::Node#tag_text_slice:Slice(UInt8) in L-exbor5858N-ode.o
  "_lxb_html_document_create", referenced from:
      _*Lexbor::Parser#initialize:Bool in L-exbor5858P-arser.o
  "_lxb_html_document_destroy", referenced from:
      _*Lexbor::Parser#finalize:Nil in L-exbor5858P-arser.o
  "_lxb_html_document_parse", referenced from:
      _*Lexbor::Parser#parse<Slice(UInt8)>:Lexbor::Parser in L-exbor5858P-arser.o
  "_lxb_selectors_create", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_selectors_destroy", referenced from:
      _*Lexbor::CssFilter#free:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_selectors_find", referenced from:
      _*Lexbor::CssFilter#search_from<Lexbor::Node>:Lexbor::Iterator::Collection in L-exbor5858C-ssF-ilter.o
  "_lxb_selectors_init", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: execution of command failed with code: 1: `cc "${@}" -o /Users/jptl/Desktop/router  -rdynamic -L/opt/crystal/embedded/lib  /Users/jptl/Desktop/router/lib/lexbor/src/lexbor/../ext/lexbor-c/build/liblexbor_static.a -lz `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libcrypto || printf %s '-lcrypto'` -lpcre -lgc -lpthread -L/usr/local/Cellar/libevent/2.1.12/lib -levent -liconv -ldl

i am on macos big sur, i also tried this on the latest crystal but it still doesn't work.

pateljoel
pateljoel

managed to solve problem. thanks

Activity icon
issue

pateljoel issue kostya/lexbor

pateljoel
pateljoel

lexbor build error on crystal 1.1.1 and crystal 1.2.2

hi, currently using crystal for a project and using lexbor, I get this error just by running crystal build src/router.cr -o router

ld: warning: ignoring file  /Users/jptl/Desktop/router/lib/lexbor/src/lexbor/../ext/lexbor-c/build/liblexbor_static.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )
Undefined symbols for architecture x86_64:
  "_lxb_css_parser_create", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_parser_destroy", referenced from:
      _*Lexbor::CssFilter#free:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_parser_init", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_selector_list_destroy_memory", referenced from:
      _*Lexbor::CssFilter#free:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_selectors_parse", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_dom_attr_local_name_noi", referenced from:
      _*Lexbor::Node#attribute_name<Pointer(Void)>:Slice(UInt8) in L-exbor5858N-ode.o
  "_lxb_dom_attr_value_noi", referenced from:
      _*Lexbor::Node#attribute_value<Pointer(Void)>:(Slice(UInt8) | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_element_first_attribute_noi", referenced from:
      _*Lexbor::Node#attributes:Hash(String, String) in L-exbor5858N-ode.o
  "_lxb_dom_element_next_attribute_noi", referenced from:
      _*Lexbor::Node#attributes:Hash(String, String) in L-exbor5858N-ode.o
  "_lxb_dom_node_first_child_noi", referenced from:
      _*Lexbor::Node#child:(Lexbor::Node | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_node_next_noi", referenced from:
      _*Lexbor::Node#next:(Lexbor::Node | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_node_parent_noi", referenced from:
      _*Lexbor::Node#parent:(Lexbor::Node | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_node_tag_id_noi", referenced from:
      _*Lexbor::Node#tag_id:Lexbor::Lib::TagIdT in L-exbor5858N-ode.o
  "_lxb_dom_node_text_content", referenced from:
      _*Lexbor::Node#tag_text_slice:Slice(UInt8) in L-exbor5858N-ode.o
  "_lxb_html_document_create", referenced from:
      _*Lexbor::Parser#initialize:Bool in L-exbor5858P-arser.o
  "_lxb_html_document_destroy", referenced from:
      _*Lexbor::Parser#finalize:Nil in L-exbor5858P-arser.o
  "_lxb_html_document_parse", referenced from:
      _*Lexbor::Parser#parse<Slice(UInt8)>:Lexbor::Parser in L-exbor5858P-arser.o
  "_lxb_selectors_create", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_selectors_destroy", referenced from:
      _*Lexbor::CssFilter#free:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_selectors_find", referenced from:
      _*Lexbor::CssFilter#search_from<Lexbor::Node>:Lexbor::Iterator::Collection in L-exbor5858C-ssF-ilter.o
  "_lxb_selectors_init", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: execution of command failed with code: 1: `cc "${@}" -o /Users/jptl/Desktop/router  -rdynamic -L/opt/crystal/embedded/lib  /Users/jptl/Desktop/router/lib/lexbor/src/lexbor/../ext/lexbor-c/build/liblexbor_static.a -lz `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libcrypto || printf %s '-lcrypto'` -lpcre -lgc -lpthread -L/usr/local/Cellar/libevent/2.1.12/lib -levent -liconv -ldl

i am on macos big sur, i also tried this on the latest crystal but it still doesn't work.

Activity icon
issue

pateljoel issue comment kostya/lexbor

pateljoel
pateljoel

lexbor build error on crystal 1.1.1 and crystal 1.2.2

hi, currently using crystal for a project and using lexbor, I get this error just by running crystal build src/router.cr -o router

ld: warning: ignoring file  /Users/jptl/Desktop/router/lib/lexbor/src/lexbor/../ext/lexbor-c/build/liblexbor_static.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )
Undefined symbols for architecture x86_64:
  "_lxb_css_parser_create", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_parser_destroy", referenced from:
      _*Lexbor::CssFilter#free:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_parser_init", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_selector_list_destroy_memory", referenced from:
      _*Lexbor::CssFilter#free:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_selectors_parse", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_dom_attr_local_name_noi", referenced from:
      _*Lexbor::Node#attribute_name<Pointer(Void)>:Slice(UInt8) in L-exbor5858N-ode.o
  "_lxb_dom_attr_value_noi", referenced from:
      _*Lexbor::Node#attribute_value<Pointer(Void)>:(Slice(UInt8) | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_element_first_attribute_noi", referenced from:
      _*Lexbor::Node#attributes:Hash(String, String) in L-exbor5858N-ode.o
  "_lxb_dom_element_next_attribute_noi", referenced from:
      _*Lexbor::Node#attributes:Hash(String, String) in L-exbor5858N-ode.o
  "_lxb_dom_node_first_child_noi", referenced from:
      _*Lexbor::Node#child:(Lexbor::Node | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_node_next_noi", referenced from:
      _*Lexbor::Node#next:(Lexbor::Node | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_node_parent_noi", referenced from:
      _*Lexbor::Node#parent:(Lexbor::Node | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_node_tag_id_noi", referenced from:
      _*Lexbor::Node#tag_id:Lexbor::Lib::TagIdT in L-exbor5858N-ode.o
  "_lxb_dom_node_text_content", referenced from:
      _*Lexbor::Node#tag_text_slice:Slice(UInt8) in L-exbor5858N-ode.o
  "_lxb_html_document_create", referenced from:
      _*Lexbor::Parser#initialize:Bool in L-exbor5858P-arser.o
  "_lxb_html_document_destroy", referenced from:
      _*Lexbor::Parser#finalize:Nil in L-exbor5858P-arser.o
  "_lxb_html_document_parse", referenced from:
      _*Lexbor::Parser#parse<Slice(UInt8)>:Lexbor::Parser in L-exbor5858P-arser.o
  "_lxb_selectors_create", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_selectors_destroy", referenced from:
      _*Lexbor::CssFilter#free:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_selectors_find", referenced from:
      _*Lexbor::CssFilter#search_from<Lexbor::Node>:Lexbor::Iterator::Collection in L-exbor5858C-ssF-ilter.o
  "_lxb_selectors_init", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: execution of command failed with code: 1: `cc "${@}" -o /Users/jptl/Desktop/router  -rdynamic -L/opt/crystal/embedded/lib  /Users/jptl/Desktop/router/lib/lexbor/src/lexbor/../ext/lexbor-c/build/liblexbor_static.a -lz `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libcrypto || printf %s '-lcrypto'` -lpcre -lgc -lpthread -L/usr/local/Cellar/libevent/2.1.12/lib -levent -liconv -ldl

i am on macos big sur, i also tried this on the latest crystal but it still doesn't work.

pateljoel
pateljoel

here's the output:

ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(parser.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(selector.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(selectors.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(attr.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(document.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(node.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(encoding.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(document.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(encoding.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(node.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(serialize.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(token_attr.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(tokenizer.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(selectors.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(tag.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(array_obj.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(array.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(memory.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(dobject.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(hash.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(mraw.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(serialize.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(shs.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(str.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(log.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(state.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(pseudo_state.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(anb.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(token.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(tokenizer.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(cdata_section.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(character_data.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(document_fragment.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(interface.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(processing_instruction.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(encode.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(res.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(interface.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(parser.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(title_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(token.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(state.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(state_rawtext.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(state_rcdata.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(state_script.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(ns.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(bst.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(conv.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(mem.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(print.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(pseudo.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(state.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(comment.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(document_type.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(text.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(decode.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(big5.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(euc_kr.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(gb18030.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(jis0208.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(iso_2022_jp_katakana.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(range.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(single.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(anchor_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(area_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(audio_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(base_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(body_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(br_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(button_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(canvas_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(d_list_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(data_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(data_list_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(details_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(dialog_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(directory_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(div_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(embed_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(field_set_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(font_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(form_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(frame_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(frame_set_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(head_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(heading_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(hr_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(html_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(iframe_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(image_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(input_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(label_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(legend_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(li_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(link_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(map_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(marquee_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(menu_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(meta_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(meter_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(mod_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(o_list_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(object_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(opt_group_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(option_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(output_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(paragraph_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(param_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(picture_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(pre_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(progress_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(quote_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(script_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(select_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(slot_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(source_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(span_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(style_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(table_caption_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(table_cell_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(table_col_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(table_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(table_row_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(table_section_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(template_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(text_area_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(time_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(error.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(state_comment.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(state_doctype.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(track_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(tree.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_template.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(u_list_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(unknown_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(video_element.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(dtoa.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(strtod.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(syntax.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(error.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(jis0212.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(active_formatting.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(error.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(after_head.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(before_head.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(foreign_content.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_body.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_caption.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_cell.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_column_group.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_frameset.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_head.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_row.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_select.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_select_in_table.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_table.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_table_body.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(initial.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(text.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(open_elements.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(diyfp.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(after_body.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(after_frameset.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(before_html.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_head_noscript.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(in_table_text.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(after_after_body.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
ld: warning: object file (/Users/jptl/Desktop/router/lexbor/src/lexbor/lib/../../ext/lexbor-c/build/liblexbor_static.a(after_after_frameset.c.o)) was built for newer macOS version (11.6) than being linked (11.0)
.............................................................................................*............................................................................................................................................................................*..........................................................*................................................*..........*....

Pending:
  Lexbor::Utils::DetectEncoding find_encodings_in_meta assert
  Lexbor decode_html_entities
  Lexbor::Node self_closed?
  iterators left_iterator with another tree_options
  iterators collection iterator inspect

Finished in 622.18 milliseconds
390 examples, 0 failures, 0 errors, 5 pending
Activity icon
issue

pateljoel issue comment kostya/lexbor

pateljoel
pateljoel

lexbor build error on crystal 1.1.1 and crystal 1.2.2

hi, currently using crystal for a project and using lexbor, I get this error just by running crystal build src/router.cr -o router

ld: warning: ignoring file  /Users/jptl/Desktop/router/lib/lexbor/src/lexbor/../ext/lexbor-c/build/liblexbor_static.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )
Undefined symbols for architecture x86_64:
  "_lxb_css_parser_create", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_parser_destroy", referenced from:
      _*Lexbor::CssFilter#free:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_parser_init", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_selector_list_destroy_memory", referenced from:
      _*Lexbor::CssFilter#free:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_selectors_parse", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_dom_attr_local_name_noi", referenced from:
      _*Lexbor::Node#attribute_name<Pointer(Void)>:Slice(UInt8) in L-exbor5858N-ode.o
  "_lxb_dom_attr_value_noi", referenced from:
      _*Lexbor::Node#attribute_value<Pointer(Void)>:(Slice(UInt8) | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_element_first_attribute_noi", referenced from:
      _*Lexbor::Node#attributes:Hash(String, String) in L-exbor5858N-ode.o
  "_lxb_dom_element_next_attribute_noi", referenced from:
      _*Lexbor::Node#attributes:Hash(String, String) in L-exbor5858N-ode.o
  "_lxb_dom_node_first_child_noi", referenced from:
      _*Lexbor::Node#child:(Lexbor::Node | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_node_next_noi", referenced from:
      _*Lexbor::Node#next:(Lexbor::Node | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_node_parent_noi", referenced from:
      _*Lexbor::Node#parent:(Lexbor::Node | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_node_tag_id_noi", referenced from:
      _*Lexbor::Node#tag_id:Lexbor::Lib::TagIdT in L-exbor5858N-ode.o
  "_lxb_dom_node_text_content", referenced from:
      _*Lexbor::Node#tag_text_slice:Slice(UInt8) in L-exbor5858N-ode.o
  "_lxb_html_document_create", referenced from:
      _*Lexbor::Parser#initialize:Bool in L-exbor5858P-arser.o
  "_lxb_html_document_destroy", referenced from:
      _*Lexbor::Parser#finalize:Nil in L-exbor5858P-arser.o
  "_lxb_html_document_parse", referenced from:
      _*Lexbor::Parser#parse<Slice(UInt8)>:Lexbor::Parser in L-exbor5858P-arser.o
  "_lxb_selectors_create", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_selectors_destroy", referenced from:
      _*Lexbor::CssFilter#free:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_selectors_find", referenced from:
      _*Lexbor::CssFilter#search_from<Lexbor::Node>:Lexbor::Iterator::Collection in L-exbor5858C-ssF-ilter.o
  "_lxb_selectors_init", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: execution of command failed with code: 1: `cc "${@}" -o /Users/jptl/Desktop/router  -rdynamic -L/opt/crystal/embedded/lib  /Users/jptl/Desktop/router/lib/lexbor/src/lexbor/../ext/lexbor-c/build/liblexbor_static.a -lz `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libcrypto || printf %s '-lcrypto'` -lpcre -lgc -lpthread -L/usr/local/Cellar/libevent/2.1.12/lib -levent -liconv -ldl

i am on macos big sur, i also tried this on the latest crystal but it still doesn't work.

pateljoel
pateljoel

here's the output:

cd src/ext && make package
git clone https://github.com/lexbor/lexbor.git ./lexbor-c
Cloning into './lexbor-c'...
remote: Enumerating objects: 6239, done.
remote: Counting objects: 100% (825/825), done.
remote: Compressing objects: 100% (532/532), done.
remote: Total 6239 (delta 408), reused 544 (delta 226), pack-reused 5414
Receiving objects: 100% (6239/6239), 4.44 MiB | 1.86 MiB/s, done.
Resolving deltas: 100% (4249/4249), done.
cd lexbor-c && git reset --hard fcff658c77199b81623178e5ab6be17d0d4e24c8
HEAD is now at fcff658 Merge pull request #125 from diracsbracket/casting
cd ./lexbor-c && mkdir -p build && sed '/GNUInstallDirs/d' ./CMakeLists.txt > ./CMakeLists.tmp.txt && mv ./CMakeLists.tmp.txt ./CMakeLists.txt && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release && make lexbor_static -j 4
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Project name: lexbor
-- Build without Threads
-- Lexbor version: 2.1.0
-- The C compiler identification is AppleClang 13.0.0.13000029
-- The CXX compiler identification is AppleClang 13.0.0.13000029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for ceil
-- Looking for ceil - found
-- Append module: core (1.4.0)
-- Append module: css (0.3.0)
-- Append module: dom (1.4.0)
-- Append module: encoding (2.0.1)
-- Append module: html (2.2.0)
-- Append module: ns (1.2.0)
-- Append module: selectors (0.1.0)
-- Append module: tag (1.2.0)
-- Append module: utils (0.3.0)
-- CFLAGS:  -O2 -Wall -pedantic -pipe -std=c99 -fPIC
-- CXXFLAGS:  -O2 
-- Feature ASAN: disable
-- Feature Fuzzer: disable
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jptl/Desktop/router/lexbor/src/ext/lexbor-c/build
[  0%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/array.c.o
[  2%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/array_obj.c.o
[  2%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/avl.c.o
[  2%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/bst.c.o
[  2%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/conv.c.o
[  2%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/bst_map.c.o
[  4%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/diyfp.c.o
[  4%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/dobject.c.o
[  4%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/dtoa.c.o
[  4%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/hash.c.o
[  4%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/in.c.o
[  6%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/mem.c.o
[  6%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/mraw.c.o
[  6%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/plog.c.o
[  6%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/print.c.o
[  8%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/serialize.c.o
[  8%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/shs.c.o
[  8%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/str.c.o
[ 10%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/strtod.c.o
[ 10%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/core/utils.c.o
[ 10%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/ports/posix/lexbor/core/fs.c.o
[ 10%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/ports/posix/lexbor/core/memory.c.o
[ 12%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/ports/posix/lexbor/core/perf.c.o
[ 12%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/log.c.o
[ 12%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/parser.c.o
[ 12%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/selectors/pseudo.c.o
[ 14%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/selectors/pseudo_state.c.o
[ 14%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/selectors/selector.c.o
[ 14%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/selectors/selectors.c.o
[ 14%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/selectors/state.c.o
[ 16%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/syntax/anb.c.o
[ 16%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/syntax/parser.c.o
[ 16%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/syntax/state.c.o
[ 18%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/syntax/syntax.c.o
[ 18%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/syntax/token.c.o
[ 18%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/syntax/tokenizer.c.o
[ 18%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/css/syntax/tokenizer/error.c.o
[ 20%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/collection.c.o
[ 20%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/exception.c.o
[ 20%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interface.c.o
[ 20%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/attr.c.o
[ 22%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/cdata_section.c.o
[ 22%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/character_data.c.o
[ 22%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/comment.c.o
[ 22%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/document.c.o
[ 24%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/document_fragment.c.o
[ 24%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/document_type.c.o
[ 24%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/element.c.o
[ 26%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/event_target.c.o
[ 26%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/node.c.o
[ 26%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/processing_instruction.c.o
[ 26%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/shadow_root.c.o
[ 28%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/dom/interfaces/text.c.o
[ 28%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/big5.c.o
[ 28%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/decode.c.o
[ 28%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/encode.c.o
[ 30%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/encoding.c.o
[ 30%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/euc_kr.c.o
[ 30%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/gb18030.c.o
[ 30%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/iso_2022_jp_katakana.c.o
[ 32%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/jis0208.c.o
[ 32%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/jis0212.c.o
[ 32%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/range.c.o
[ 34%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/res.c.o
[ 34%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/encoding/single.c.o
[ 34%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/encoding.c.o
[ 34%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interface.c.o
[ 36%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/anchor_element.c.o
[ 36%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/area_element.c.o
[ 36%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/audio_element.c.o
[ 36%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/base_element.c.o
[ 38%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/body_element.c.o
[ 38%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/br_element.c.o
[ 38%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/button_element.c.o
[ 40%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/d_list_element.c.o
[ 40%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/canvas_element.c.o
[ 40%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/data_element.c.o
[ 40%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/data_list_element.c.o
[ 42%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/details_element.c.o
[ 42%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/dialog_element.c.o
[ 42%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/directory_element.c.o
[ 42%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/div_element.c.o
[ 44%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/document.c.o
[ 44%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/embed_element.c.o
[ 44%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/element.c.o
[ 44%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/field_set_element.c.o
[ 46%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/font_element.c.o
[ 46%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/form_element.c.o
[ 46%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/frame_element.c.o
[ 46%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/frame_set_element.c.o
[ 48%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/head_element.c.o
[ 48%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/heading_element.c.o
[ 48%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/hr_element.c.o
[ 50%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/html_element.c.o
[ 50%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/iframe_element.c.o
[ 50%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/input_element.c.o
[ 50%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/image_element.c.o
[ 52%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/label_element.c.o
[ 52%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/legend_element.c.o
[ 52%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/li_element.c.o
[ 52%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/link_element.c.o
[ 54%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/map_element.c.o
[ 54%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/media_element.c.o
[ 54%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/marquee_element.c.o
[ 54%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/menu_element.c.o
[ 56%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/meta_element.c.o
[ 56%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/meter_element.c.o
[ 56%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/o_list_element.c.o
[ 56%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/mod_element.c.o
[ 58%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/object_element.c.o
[ 60%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/opt_group_element.c.o
[ 60%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/option_element.c.o
[ 60%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/output_element.c.o
[ 60%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/paragraph_element.c.o
[ 62%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/param_element.c.o
[ 62%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/pre_element.c.o
[ 62%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/picture_element.c.o
[ 62%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/progress_element.c.o
[ 62%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/quote_element.c.o
[ 62%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/script_element.c.o
[ 64%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/select_element.c.o
[ 64%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/slot_element.c.o
[ 64%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/source_element.c.o
[ 64%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/span_element.c.o
[ 66%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/style_element.c.o
[ 66%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/table_caption_element.c.o
[ 66%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/table_element.c.o
[ 66%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/table_cell_element.c.o
[ 68%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/table_col_element.c.o
[ 68%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/table_row_element.c.o
[ 68%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/table_section_element.c.o
[ 70%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/text_area_element.c.o
[ 70%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/template_element.c.o
[ 70%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/time_element.c.o
[ 70%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/u_list_element.c.o
[ 70%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/title_element.c.o
[ 72%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/track_element.c.o
[ 72%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/unknown_element.c.o
[ 72%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/video_element.c.o
[ 74%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/interfaces/window.c.o
[ 74%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/node.c.o
[ 74%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/parser.c.o
[ 76%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/serialize.c.o
[ 76%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/token.c.o
[ 76%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/token_attr.c.o
[ 76%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tokenizer.c.o
[ 76%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tokenizer/state.c.o
[ 78%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tokenizer/error.c.o
[ 78%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tokenizer/state_comment.c.o
[ 78%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tokenizer/state_doctype.c.o
[ 80%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tokenizer/state_rawtext.c.o
[ 80%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tokenizer/state_rcdata.c.o
[ 80%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tokenizer/state_script.c.o
[ 80%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree.c.o
[ 82%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/active_formatting.c.o
[ 82%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/error.c.o
[ 82%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/after_after_body.c.o
[ 84%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/after_after_frameset.c.o
[ 84%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/after_body.c.o
[ 84%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/after_frameset.c.o
[ 86%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/after_head.c.o
[ 86%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/before_head.c.o
[ 86%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/before_html.c.o
[ 86%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/foreign_content.c.o
[ 86%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_body.c.o
[ 88%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_caption.c.o
[ 88%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_cell.c.o
[ 88%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_column_group.c.o
[ 88%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_frameset.c.o
[ 90%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_head.c.o
[ 90%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_head_noscript.c.o
[ 90%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_row.c.o
[ 92%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_select.c.o
[ 92%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_select_in_table.c.o
[ 92%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_table.c.o
[ 92%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_table_body.c.o
[ 94%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_template.c.o
[ 94%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/in_table_text.c.o
[ 94%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/initial.c.o
[ 94%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/insertion_mode/text.c.o
[ 96%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/open_elements.c.o
[ 96%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/html/tree/template_insertion.c.o
[ 96%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/ns/ns.c.o
[ 96%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/selectors/selectors.c.o
[ 98%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/tag/tag.c.o
[ 98%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/utils/http.c.o
[ 98%] Building C object CMakeFiles/lexbor_static.dir/source/lexbor/utils/warc.c.o
[100%] Linking C static library liblexbor_static.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: liblexbor_static.a(perf.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: liblexbor_static.a(parser.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: liblexbor_static.a(template_insertion.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: liblexbor_static.a(perf.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: liblexbor_static.a(parser.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: liblexbor_static.a(template_insertion.c.o) has no symbols
[100%] Built target lexbor_static
Activity icon
issue

pateljoel issue kostya/lexbor

pateljoel
pateljoel

lexbor build erorr on crystal 1.1.1 and crystal 1.2.2

hi, currently using crystal for a project and using lexbor, I get this error just by running crystal build src/router.cr -o router

ld: warning: ignoring file  /Users/jptl/Desktop/router/lib/lexbor/src/lexbor/../ext/lexbor-c/build/liblexbor_static.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )
Undefined symbols for architecture x86_64:
  "_lxb_css_parser_create", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_parser_destroy", referenced from:
      _*Lexbor::CssFilter#free:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_parser_init", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_selector_list_destroy_memory", referenced from:
      _*Lexbor::CssFilter#free:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_css_selectors_parse", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_dom_attr_local_name_noi", referenced from:
      _*Lexbor::Node#attribute_name<Pointer(Void)>:Slice(UInt8) in L-exbor5858N-ode.o
  "_lxb_dom_attr_value_noi", referenced from:
      _*Lexbor::Node#attribute_value<Pointer(Void)>:(Slice(UInt8) | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_element_first_attribute_noi", referenced from:
      _*Lexbor::Node#attributes:Hash(String, String) in L-exbor5858N-ode.o
  "_lxb_dom_element_next_attribute_noi", referenced from:
      _*Lexbor::Node#attributes:Hash(String, String) in L-exbor5858N-ode.o
  "_lxb_dom_node_first_child_noi", referenced from:
      _*Lexbor::Node#child:(Lexbor::Node | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_node_next_noi", referenced from:
      _*Lexbor::Node#next:(Lexbor::Node | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_node_parent_noi", referenced from:
      _*Lexbor::Node#parent:(Lexbor::Node | Nil) in L-exbor5858N-ode.o
  "_lxb_dom_node_tag_id_noi", referenced from:
      _*Lexbor::Node#tag_id:Lexbor::Lib::TagIdT in L-exbor5858N-ode.o
  "_lxb_dom_node_text_content", referenced from:
      _*Lexbor::Node#tag_text_slice:Slice(UInt8) in L-exbor5858N-ode.o
  "_lxb_html_document_create", referenced from:
      _*Lexbor::Parser#initialize:Bool in L-exbor5858P-arser.o
  "_lxb_html_document_destroy", referenced from:
      _*Lexbor::Parser#finalize:Nil in L-exbor5858P-arser.o
  "_lxb_html_document_parse", referenced from:
      _*Lexbor::Parser#parse<Slice(UInt8)>:Lexbor::Parser in L-exbor5858P-arser.o
  "_lxb_selectors_create", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_selectors_destroy", referenced from:
      _*Lexbor::CssFilter#free:Nil in L-exbor5858C-ssF-ilter.o
  "_lxb_selectors_find", referenced from:
      _*Lexbor::CssFilter#search_from<Lexbor::Node>:Lexbor::Iterator::Collection in L-exbor5858C-ssF-ilter.o
  "_lxb_selectors_init", referenced from:
      _*Lexbor::CssFilter#initialize<String>:Nil in L-exbor5858C-ssF-ilter.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: execution of command failed with code: 1: `cc "${@}" -o /Users/jptl/Desktop/router  -rdynamic -L/opt/crystal/embedded/lib  /Users/jptl/Desktop/router/lib/lexbor/src/lexbor/../ext/lexbor-c/build/liblexbor_static.a -lz `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libcrypto || printf %s '-lcrypto'` -lpcre -lgc -lpthread -L/usr/local/Cellar/libevent/2.1.12/lib -levent -liconv -ldl

i am on macos big sur, i also tried this on the latest crystal but it still doesn't work.

Oct
29
1 month ago
Activity icon
issue

pateljoel issue vime-js/vime

pateljoel
pateljoel

bug: demo page does not work

I go to the demo page and I get this instead.

demo_not_working
Oct
28
1 month ago
Activity icon
issue

pateljoel issue vime-js/vime

pateljoel
pateljoel

feat: Disabling PiP control

Feature Request

Vime version: v5.0.33

Describe the Feature Request

I would like the PiP control disabled just like how the captions can be disabled in Vime

Describe Preferred Solution

The ability to disable pip control shown below, the captions can be disabled but not the PiP.

Screenshot 2021-10-28 at 11 20 15
Activity icon
issue

pateljoel issue comment facebook/react-native

pateljoel
pateljoel

Images on Android only extremely low quality.

Description

I am trying to load high quality images in React Native for a chart application and I am getting low quality images being displayed on Android, Zooming in does not help either, instead it makes the issue worse. iOS is fine, but viewing the same image on Android gives dire results and does not look the same quality as iOS.

I have attached an Expo snack example so that you can compare and Zoom in to see the issue.

Screenshot 2021-10-15 at 16 13 14

React Native version:

0.66

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. Use a high quality PNG image.
  2. Load the image in an Image Viewer or Image Tag.

Expected Results

Describe what you expected to happen.

I expect the image quality to be the same regardless of the platform.

Snack, code example, screenshot, or link to a repository:

https://snack.expo.dev/@joelpateljp/low-quality-image-android-example

pateljoel
pateljoel
Oct
20
1 month ago
Activity icon
issue

pateljoel issue comment facebook/react-native

pateljoel
pateljoel

Images on Android only extremely low quality.

Description

I am trying to load high quality images in React Native for a chart application and I am getting low quality images being displayed on Android, Zooming in does not help either, instead it makes the issue worse. iOS is fine, but viewing the same image on Android gives dire results and does not look the same quality as iOS.

I have attached an Expo snack example so that you can compare and Zoom in to see the issue.

Screenshot 2021-10-15 at 16 13 14

React Native version:

0.66

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. Use a high quality PNG image.
  2. Load the image in an Image Viewer or Image Tag.

Expected Results

Describe what you expected to happen.

I expect the image quality to be the same regardless of the platform.

Snack, code example, screenshot, or link to a repository:

https://snack.expo.dev/@joelpateljp/low-quality-image-android-example

pateljoel
pateljoel

I’m sure I’m not the only one having this serious issue on Android, has there been any movement on this?

Oct
15
1 month ago
Activity icon
issue

pateljoel issue comment cars10/elasticvue

pateljoel
pateljoel

[FEAT] Batch Importer UI

Is this a planned feature for elasticvue as a way to batch import in the UI would be really helpful

Thanks.

pateljoel
pateljoel

Oh I didn’t know about that.

I have a huge dataset and I’m not familiar with the bulk api as it doesn’t look like it’s easy to use, not to mention time consuming.

Activity icon
issue

pateljoel issue facebook/react-native

pateljoel
pateljoel

Images on Android only extremely low quality.

Description

I am trying to load high quality images in React Native for a chart application and I am getting low quality images being displayed on Android, Zooming in does not help either, instead it makes the issue worse. iOS is fine, but viewing the same image on Android gives dire results and does not look the same quality as iOS.

I have attached an Expo snack example so that you can compare and Zoom in to see the issue.

Screenshot 2021-10-15 at 16 13 14

React Native version:

0.66

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. Use a high quality PNG image.
  2. Load the image in an Image Viewer or Image Tag.

Expected Results

Describe what you expected to happen.

I expect the image quality to be the same regardless of the platform.

Snack, code example, screenshot, or link to a repository:

https://snack.expo.dev/@joelpateljp/low-quality-image-android-example

Oct
11
1 month ago
Activity icon
issue

pateljoel issue cars10/elasticvue

pateljoel
pateljoel

[FEAT] Batch Importer UI

Is this a planned feature for elasticvue as a way to batch import in the UI would be really helpful

Thanks.

Oct
8
1 month ago
Activity icon
issue

pateljoel issue devrnt/react-use-intercom

pateljoel
pateljoel

How to get new message from Intercom

Is there a way or an event to listen to get a new message from the Intercom widget as JSON or equivalent?

This would be useful in getting the actual message contents of an Intercom message.

Oct
6
1 month ago
Activity icon
issue

pateljoel issue comment luckyframework/lucky

pateljoel
pateljoel

Error: undefined method 'load_manifest' for Lucky::AssetHelpers:Module

Describe the bug I get an error when running ./script/setup

To Reproduce Steps to reproduce the behavior:

  1. Go through the Lucky overview guide:
  2. Run ./script/setup
  3. Error is shown below:
▸ Creating the database
Showing last frame. Use --error-trace for full trace.

In src/app.cr:4:21

 4 | Lucky::AssetHelpers.load_manifest "public/mix-manifest.json"
                         ^------------
Error: undefined method 'load_manifest' for Lucky::AssetHelpers:Module

Expected behavior Setup should complete as expected.

Versions (please complete the following information):

  • Lucky version (check in shard.lock): 0.28.0
  • Crystal version (crystal --version): Crystal 1.1.1 [6d9a1d583] (2021-07-26)
  • OS: Mac OS Catalina
pateljoel
pateljoel

@jwoertink Thanks for the reply, I'll try these steps again and report back.

Activity icon
issue

pateljoel issue comment getsentry/sentry-go

pateljoel
pateljoel

Add Fiber integration

Fiber integration

pateljoel
pateljoel

Would be nice if this was merged in with official support for Fiber and Sentry. Are there any issues @rhcarvalho?

Sep
26
2 months ago
Activity icon
issue

pateljoel issue luckyframework/lucky

pateljoel
pateljoel

Error: undefined method 'load_manifest' for Lucky::AssetHelpers:Module

Describe the bug I get an error when running ./script/setup

To Reproduce Steps to reproduce the behavior:

  1. Go through the Lucky overview guide:
  2. Run ./script/setup
  3. Error is shown below:
▸ Creating the database
Showing last frame. Use --error-trace for full trace.

In src/app.cr:4:21

 4 | Lucky::AssetHelpers.load_manifest "public/mix-manifest.json"
                         ^------------
Error: undefined method 'load_manifest' for Lucky::AssetHelpers:Module

Expected behavior Setup should complete as expected.

Versions (please complete the following information):

  • Lucky version (check in shard.lock): 0.28.0
  • Crystal version (crystal --version): Crystal 1.1.1 [6d9a1d583] (2021-07-26)
  • OS: Mac OS Catalina
Aug
30
3 months ago
Activity icon
issue

pateljoel issue gofiber/fiber

pateljoel
pateljoel

Feature Request 🚀: Skip successful requests option for ratelimit middleware

It would be nice if it is possible for an option to skip successful requests much like the express rate limit library for node:

express-rate-limit#skipsuccessfulrequests

Thanks.

Aug
29
3 months ago
Activity icon
issue

pateljoel issue typesense/typesense

pateljoel
pateljoel

[Feature Request] Docker Alpine Image for Typesense

Is there a docker alpine image for the Typesense or any plans for this in the future?

Thanks.