Package Details: h2o-git 2.2.0.8224-1

Git Clone URL: https://aur.archlinux.org/h2o-git.git (read-only, click to copy)
Package Base: h2o-git
Description: Optimized HTTP server with support for HTTP/1.x and HTTP/2
Upstream URL: https://github.com/h2o/h2o
Licenses: MIT
Conflicts: h2o, libh2o
Provides: h2o, libh2o
Submitter: mytbk
Maintainer: mytbk (phoepsilonix)
Last Packager: phoepsilonix
Votes: 2
Popularity: 0.000002
First Submitted: 2019-02-06 07:05 (UTC)
Last Updated: 2024-12-21 05:30 (UTC)

Latest Comments

« First ‹ Previous 1 2

rageltman commented on 2021-01-29 19:49 (UTC)

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/y.tab.c
[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/y.tab.c -> ../../mruby/host/mrbgems/mruby-compiler/core/y.tab.o
[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] 
[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 (UTC)

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 (UTC)

Also how to get rid of:

==> WARNING: Package contains reference to $srcdir

usr/lib/libh2o-evloop.a

usr/lib/libh2o.a

usr/bin/h2o

usr/bin/h2o-httpclient

tee commented on 2019-09-15 00:48 (UTC) (edited on 2020-02-22 23:59 (UTC) by tee)

Also add

-DCMAKE_INSTALL_SYSCONFDIR=/etc \

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.