Package Details: h2o-git

Git Clone URL: (read-only, click to copy)
Package Base: h2o-git
Description: Optimized HTTP server with support for HTTP/1.x and HTTP/2
Upstream URL:
Licenses: MIT
Conflicts: h2o, libh2o
Provides: h2o, libh2o
Submitter: mytbk
Maintainer: mytbk
Last Packager: mytbk
Votes: 1
Popularity: 0.45
First Submitted: 2019-02-06 07:05
Last Updated: 2021-06-26 11:25

Latest Comments

mytbk commented on 2021-06-13 13:06

I'm using an h2o build without mruby for a long time. I've just built with mruby enabled and found it hard to build. After patching parse.y, there's still another build problem.

rageltman commented on 2021-01-29 19:49

Might need to run with --update or the like:

[2021-01-29T07:24:50.407Z] CC    ../../mruby/host/mrbgems/gem_init.c -> ../../mruby/host/mrbgems/gem_init.o
[2021-01-29T07:24:50.407Z] YACC  mrbgems/mruby-compiler/core/parse.y -> ../../mruby/host/mrbgems/mruby-compiler/core/
[2021-01-29T07:24:50.407Z] /build/h2o-git/src/h2o/deps/mruby/mrbgems/mruby-compiler/core/parse.y:1133.1-12: warning: deprecated directive: ‘%pure-parser’, use ‘%define api.pure’ [-Wdeprecated]
[2021-01-29T07:24:50.407Z]  1133 | %pure-parser
[2021-01-29T07:24:50.407Z]       | ^~~~~~~~~~~~
[2021-01-29T07:24:50.407Z]       | %define api.pure
[2021-01-29T07:24:50.407Z] /build/h2o-git/src/h2o/deps/mruby/mrbgems/mruby-compiler/core/parse.y: warning: fix-its can be applied.  Rerun with option '--update'. [-Wother]
[2021-01-29T07:24:50.407Z] CC    ../../mruby/host/mrbgems/mruby-compiler/core/ -> ../../mruby/host/mrbgems/mruby-compiler/core/
[2021-01-29T07:24:50.407Z] CC    ../mruby-onig-regexp/src/mruby_onig_regexp.c -> ../../mruby/host/mrbgems/mruby-onig-regexp/src/mruby_onig_regexp.o
[2021-01-29T07:24:50.407Z] AR    ../../mruby/host/lib/libmruby_core.a 
[2021-01-29T07:24:50.407Z] ar: creating /build/h2o-git/src/h2o/mruby/host/lib/libmruby_core.a
[2021-01-29T07:24:50.407Z] LD    ../../mruby/host/bin/mrbc 
[2021-01-29T07:24:50.407Z]       MRBC mrbgems/mruby-toplevel-ext/mrblib/toplevel.rb 
[2021-01-29T07:24:50.407Z] rake aborted!
[2021-01-29T07:24:50.407Z] exit
[2021-01-29T07:24:50.407Z] make[2]: *** [CMakeFiles/mruby.dir/build.make:76: CMakeFiles/mruby] Error 1
[2021-01-29T07:24:50.407Z] make[1]: *** [CMakeFiles/Makefile2:505: CMakeFiles/mruby.dir/all] Error 2
[2021-01-29T07:24:50.407Z] make: *** [Makefile:149: all] Error 2
[2021-01-29T07:24:50.407Z] ==> ERROR: A failure occurred in build().
[2021-01-29T07:24:50.407Z]     Aborting...
script returned exit code 255

tee commented on 2019-09-15 01:15

Also add sed -i 's|example|/usr/share/doc/h2o/example|' examples/h2o/h2o.conf in build()

tee commented on 2019-09-15 00:57

Also how to get rid of:

==> WARNING: Package contains reference to $srcdir





tee commented on 2019-09-15 00:48

Also add


to cmake otherwise running h2o outside of / gives an error h2o could not open configuration file etc/h2o.conf: No such file or directory

Add this to the non-git package too if you can.