Date: Mon, 15 May 2023 11:41:29 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271434] devel/rubygem-readline-ext: Mark BROKEN with Ruby 3.3 Message-ID: <bug-271434-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271434 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=3D242190&action= =3Dedit 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. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase= : stage >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D> Staging for rubygem-readline-ext-0.1.5 =3D=3D=3D> rubygem-readline-ext-0.1.5 depends on file: /usr/local/bin/rub= y33 - found =3D=3D=3D> rubygem-readline-ext-0.1.5 depends on file: /usr/local/bin/gem= - found =3D=3D=3D> Generating temporary packing list (cd /wrkdirs/usr/ports/devel/rubygem-readline-ext/work/readline-ext-0.1.5; /usr/bin/env RB_USER_INSTALL=3Dyes LANG=3Den_US.UTF-8 LC_ALL=3Den_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=3D/wrkdirs/usr/ports/devel/rubygem-readline-ext/work/stage/usr/loc= al/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 m= ay need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=3D${opt-dir}/include --with-opt-lib --without-opt-lib=3D${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=3D. --curdir --ruby=3D/usr/local/bin/$(RUBY_BASE_NAME)33 --with-curses-dir --without-curses-dir --with-curses-include --without-curses-include=3D${curses-dir}/include --with-curses-lib --without-curses-lib=3D${curses-dir}/lib --with-ncurses-dir --without-ncurses-dir --with-ncurses-include --without-ncurses-include=3D${ncurses-dir}/include --with-ncurses-lib --without-ncurses-lib=3D${ncurses-dir}/lib --with-termcap-dir --without-termcap-dir --with-termcap-include --without-termcap-include=3D${termcap-dir}/include --with-termcap-lib --without-termcap-lib=3D${termcap-dir}/lib --with-readline-dir --without-readline-dir --with-readline-include --without-readline-include=3D${readline-dir}/include --with-readline-lib --without-readline-lib=3D${readline-dir}/lib --enable-libedit --disable-libedit --with-ncurseslib --without-ncurseslib --with-editline-dir --without-editline-dir --with-editline-include --without-editline-include=3D${editline-dir}/include --with-editline-lib --without-editline-lib=3D${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: =20 /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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271434-7788>