[Bug 271434] devel/rubygem-readline-ext: Mark BROKEN with Ruby 3.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 15 May 2023 11:41:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271434 Bug ID: 271434 Summary: devel/rubygem-readline-ext: Mark BROKEN with Ruby 3.3 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: yasu@freebsd.org Assignee: sunpoet@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Created attachment 242190 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=242190&action=edit Patch file ext/readline is removed from Ruby 3.3 and lang/ruby33 doesn't depend on readline/libedit anymore. As a result build of this port fails with Ruby 3.3 as following. =======================<phase: stage >============================ ===> Staging for rubygem-readline-ext-0.1.5 ===> rubygem-readline-ext-0.1.5 depends on file: /usr/local/bin/ruby33 - found ===> rubygem-readline-ext-0.1.5 depends on file: /usr/local/bin/gem - found ===> Generating temporary packing list (cd /wrkdirs/usr/ports/devel/rubygem-readline-ext/work/readline-ext-0.1.5; /usr/bin/env RB_USER_INSTALL=yes LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 /usr/local/bin/gem install -l --no-update-sources --install-dir /wrkdirs/usr/ports/devel/rubygem-readline-ext/work/stage/usr/local/lib/ruby/gems/3.3 --ignore-dependencies --bindir=/wrkdirs/usr/ports/devel/rubygem-readline-ext/work/stage/usr/local/bin --no-document readline-ext-0.1.5.gem -- ) Building native extensions. This could take a while... ERROR: Error installing readline-ext-0.1.5.gem: ERROR: Failed to build gem native extension. current directory: /wrkdirs/usr/ports/devel/rubygem-readline-ext/work/stage/usr/local/lib/ruby/gems/3.3/gems/readline-ext-0.1.5/ext/readline /usr/local/bin/ruby33 extconf.rb checking for tgetnum() in -lncurses... yes checking for readline/readline.h... no checking for editline/readline.h... no *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/local/bin/$(RUBY_BASE_NAME)33 --with-curses-dir --without-curses-dir --with-curses-include --without-curses-include=${curses-dir}/include --with-curses-lib --without-curses-lib=${curses-dir}/lib --with-ncurses-dir --without-ncurses-dir --with-ncurses-include --without-ncurses-include=${ncurses-dir}/include --with-ncurses-lib --without-ncurses-lib=${ncurses-dir}/lib --with-termcap-dir --without-termcap-dir --with-termcap-include --without-termcap-include=${termcap-dir}/include --with-termcap-lib --without-termcap-lib=${termcap-dir}/lib --with-readline-dir --without-readline-dir --with-readline-include --without-readline-include=${readline-dir}/include --with-readline-lib --without-readline-lib=${readline-dir}/lib --enable-libedit --disable-libedit --with-ncurseslib --without-ncurseslib --with-editline-dir --without-editline-dir --with-editline-include --without-editline-include=${editline-dir}/include --with-editline-lib --without-editline-lib=${editline-dir}/lib extconf.rb:62:in `<main>': Neither readline nor libedit was found (RuntimeError) To see why this extension failed to compile, please check the mkmf.log which can be found here: /wrkdirs/usr/ports/devel/rubygem-readline-ext/work/stage/usr/local/lib/ruby/gems/3.3/extensions/amd64-freebsd-13/3.3/readline-ext-0.1.5/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /wrkdirs/usr/ports/devel/rubygem-readline-ext/work/stage/usr/local/lib/ruby/gems/3.3/gems/readline-ext-0.1.5 for inspection. Results logged to /wrkdirs/usr/ports/devel/rubygem-readline-ext/work/stage/usr/local/lib/ruby/gems/3.3/extensions/amd64-freebsd-13/3.3/readline-ext-0.1.5/gem_make.out *** Error code 1 Stop. make: stopped in /usr/ports/devel/rubygem-readline-ext I tried to fix it but couldn't. So mark this port BROKEN with Ruby 3.3 for now. -- You are receiving this mail because: You are the assignee for the bug.