Monday, February 27, 2023

Re: mruby 3.2.0

I have no problem removing the mruby flavor of h2o. I hope to be able
to do that soon.

-Otto

On Mon, Feb 27, 2023 at 03:34:11PM +0000, Jeremy Evans wrote:

> On 02/27 01:42, Stuart Henderson wrote:
> > On 2023/02/25 21:42, Jeremy Evans wrote:
> > > Simple update to the latest version of mruby. Tests pass on amd64, and
> > > nothing depends on it. Looks like the 3.1.0 update was missed.
> >
> > www/h2o FLAVOR=mruby fails during link with this update. There are
> > rather a lot of commits in h2o upstream relating to mruby including at
> > least some to do with mruby 3.1.0 API, but there has been no upstream
> > release in a long time
> > (https://github.com/h2o/h2o/issues/2317#issuecomment-874828988)
> >
> > Might be simplest to remove the mruby flavour of h2o if nobody is
> > actually using it...
>
> This is odd, because h20 does not declare a dependency on lang/mruby.
> Might be fixable by adjusting the h20 build system to not pick up an
> installed copy.
>
> However, there is no pressing need for the mruby update, it can wait for
> a bit for otto@ (MAINTAINER) to fix.
>
> Thanks,
> Jeremy
>
> > LD ../../../build-amd64-mruby/mruby/host/bin/mirb
> > mirb.c(/usr/obj/ports/h2o-2.2.6-mruby/build-amd64-mruby/mruby/host/mrbgems/mruby-bin-mirb/tools/mirb/mirb.o:(main)): warning: strcpy() is almost always misused, please use strlcpy()
> > mirb.c(/usr/obj/ports/h2o-2.2.6-mruby/build-amd64-mruby/mruby/host/mrbgems/mruby-bin-mirb/tools/mirb/mirb.o:(main)): warning: strcat() is almost always misused, please use strlcat()
> > ld: error: undefined symbol: mrb_exc_get_id
> > >>> referenced by mruby_onig_regexp.c
> > >>> mruby_onig_regexp.o:(onig_regexp_initialize) in archive /usr/obj/ports/h2o-2.2.6-mruby/build-amd64-mruby/mruby/host/lib/libmruby.a
> > >>> referenced by mruby_onig_regexp.c
> > >>> mruby_onig_regexp.o:(onig_regexp_initialize) in archive /usr/obj/ports/h2o-2.2.6-mruby/build-amd64-mruby/mruby/host/lib/libmruby.a
> > >>> referenced by mruby_onig_regexp.c
> > >>> mruby_onig_regexp.o:(onig_regexp_equal) in archive /usr/obj/ports/h2o-2.2.6-mruby/build-amd64-mruby/mruby/host/lib/libmruby.a
> > >>> referenced 8 more times
> >
> > ld: error: undefined symbol: mrb_ensure_string_type
> > >>> referenced by mruby_onig_regexp.c
> > >>> mruby_onig_regexp.o:(onig_regexp_match) in archive /usr/obj/ports/h2o-2.2.6-mruby/build-amd64-mruby/mruby/host/lib/libmruby.a
> >
> > ld: error: undefined symbol: mrb_sym_name_len
> > >>> referenced by mruby_onig_regexp.c
> > >>> mruby_onig_regexp.o:(match_data_actual_index) in archive /usr/obj/ports/h2o-2.2.6-mruby/build-amd64-mruby/mruby/host/lib/libmruby.a
> > cc: error: linker command failed with exit code 1 (use -v to see invocation)
> > mirb.c(/usr/obj/ports/h2o-2.2.6-mruby/build-amd64-mruby/mruby/host/mrbgems/mruby-bin-mirb/tools/mirb/mirb.o:(main)): warning: strcpy() is almost always misused, please use strlcpy()
> > mirb.c(/usr/obj/ports/h2o-2.2.6-mruby/build-amd64-mruby/mruby/host/mrbgems/mruby-bin-mirb/tools/mirb/mirb.o:(main)): warning: strcat() is almost always misused, please use strlcat()
> > ld: error: undefined symbol: mrb_exc_get_id
> > >>> referenced by mruby_onig_regexp.c
> > >>> mruby_onig_regexp.o:(onig_regexp_initialize) in archive /usr/obj/ports/h2o-2.2.6-mruby/build-amd64-mruby/mruby/host/lib/libmruby.a
> > >>> referenced by mruby_onig_regexp.c
> > >>> mruby_onig_regexp.o:(onig_regexp_initialize) in archive /usr/obj/ports/h2o-2.2.6-mruby/build-amd64-mruby/mruby/host/lib/libmruby.a
> > >>> referenced by mruby_onig_regexp.c
> > >>> mruby_onig_regexp.o:(onig_regexp_equal) in archive /usr/obj/ports/h2o-2.2.6-mruby/build-amd64-mruby/mruby/host/lib/libmruby.a
> > >>> referenced 8 more times
> >
> > ld: error: undefined symbol: mrb_ensure_string_type
> > >>> referenced by mruby_onig_regexp.c
> > >>> mruby_onig_regexp.o:(onig_regexp_match) in archive /usr/obj/ports/h2o-2.2.6-mruby/build-amd64-mruby/mruby/host/lib/libmruby.a
> >
> > ld: error: undefined symbol: mrb_sym_name_len
> > >>> referenced by mruby_onig_regexp.c
> > >>> mruby_onig_regexp.o:(match_data_actual_index) in archive /usr/obj/ports/h2o-2.2.6-mruby/build-amd64-mruby/mruby/host/lib/libmruby.a
> > cc: error: linker command failed with exit code 1 (use -v to see invocation)
> > rake aborted!

No comments:

Post a Comment