NetBSD Problem Report #59688
From www@netbsd.org Sat Oct 4 16:29:23 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 07B261A923C
for <gnats-bugs@gnats.NetBSD.org>; Sat, 4 Oct 2025 16:29:23 +0000 (UTC)
Message-Id: <20251004162921.EC2C51A9241@mollari.NetBSD.org>
Date: Sat, 4 Oct 2025 16:29:21 +0000 (UTC)
From: ea1abz@gmail.com
Reply-To: ea1abz@gmail.com
To: gnats-bugs@NetBSD.org
Subject: math/octave
X-Send-Pr-Version: www-1.0
>Number: 59688
>Category: pkg
>Synopsis: math/octave
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 04 16:30:00 +0000 2025
>Closed-Date: Tue Oct 07 18:20:39 +0000 2025
>Last-Modified: Wed Oct 15 17:20:01 +0000 2025
>Originator: Ramiro Aceves
>Release: NetBSD 10.1
>Organization:
>Environment:
NetBSD netbsd-nuc.home 10.1 NetBSD 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UTC 2024 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd6
>Description:
When I start octave console I am not able to write anything, keyboard does not work. Both in console and GUI versions.
>How-To-Repeat:
Start octave and try to enter commands.
>Fix:
Yes please.
>Release-Note:
>Audit-Trail:
From: Ramiro Aceves <ea1abz@gmail.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/59688: math/octave
Date: Tue, 7 Oct 2025 08:53:26 +0200
forgot to say that octave belongs to 2025Q3.
From: Ramiro Aceves <ea1abz@gmail.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/59688: math/octave
Date: Tue, 7 Oct 2025 08:54:56 +0200
Just in case it helps, invoking octave like this:
"octave --no-line-editing"
works.
Something readline related?
From: Ramiro Aceves <ea1abz@gmail.com>
To: gnats-bugs@netbsd.org, pkg-manager@netbsd.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Cc:
Subject: Re: pkg/59688: math/octave solved?
Date: Tue, 7 Oct 2025 19:17:35 +0200
El 7/10/25 a las 9:00, Ramiro Aceves via gnats escribió:
> The following reply was made to PR pkg/59688; it has been noted by GNATS.
>
> From: Ramiro Aceves <ea1abz@gmail.com>
> To: gnats-bugs@netbsd.org
> Cc:
> Subject: Re: pkg/59688: math/octave
> Date: Tue, 7 Oct 2025 08:54:56 +0200
>
> Just in case it helps, invoking octave like this:
>
> "octave --no-line-editing"
>
> works.
>
> Something readline related?
>
>
>
Hello.
I have been investigating a bit further. It seems that readline 8.3 has
a bug that breaks octave:
https://github.com/homebrew/homebrew-core/issues/229296
https://lists.gnu.org/archive/html/bug-readline/2025-07/msg00012.html
https://savannah.gnu.org/bugs/?67357
I have just applied this patch to
/usr/pkgsrc/devel/readline/work/readline-8.3/input.c
after doing "make patch" (sorry, I do not know how to apply canonically
to pkgsrc):
https://lists.gnu.org/archive/html/bug-readline/2025-07/txtTYu28QVKRX.txt
I recompiled readline and "make replace".
Now I can write characters in octave prompt.
Regards.
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Tue, 07 Oct 2025 18:20:39 +0000
State-Changed-Why:
Thanks for the debugging! I've added the patch to pkgsrc.
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/59688 CVS commit: pkgsrc/devel/readline
Date: Tue, 7 Oct 2025 18:20:19 +0000
Module Name: pkgsrc
Committed By: wiz
Date: Tue Oct 7 18:20:19 UTC 2025
Modified Files:
pkgsrc/devel/readline: Makefile distinfo
Added Files:
pkgsrc/devel/readline/patches: patch-input.c
Log Message:
readline: fix event hook using upstream patch from mailing list
Should fix octave problems reported in PR 59688
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 pkgsrc/devel/readline/Makefile
cvs rdiff -u -r1.40 -r1.41 pkgsrc/devel/readline/distinfo
cvs rdiff -u -r0 -r1.3 pkgsrc/devel/readline/patches/patch-input.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Ramiro Aceves <ea1abz@gmail.com>
To: gnats-bugs@netbsd.org, pkg-manager@netbsd.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Cc:
Subject: Re: PR/59688 CVS commit: pkgsrc/devel/readline
Date: Wed, 8 Oct 2025 07:47:32 +0200
El 7/10/25 a las 20:25, Thomas Klausner escribió:
> The following reply was made to PR pkg/59688; it has been noted by GNATS.
>
> From: "Thomas Klausner" <wiz@netbsd.org>
> To: gnats-bugs@gnats.NetBSD.org
> Cc:
> Subject: PR/59688 CVS commit: pkgsrc/devel/readline
> Date: Tue, 7 Oct 2025 18:20:19 +0000
>
> Module Name: pkgsrc
> Committed By: wiz
> Date: Tue Oct 7 18:20:19 UTC 2025
>
> Modified Files:
> pkgsrc/devel/readline: Makefile distinfo
> Added Files:
> pkgsrc/devel/readline/patches: patch-input.c
>
> Log Message:
> readline: fix event hook using upstream patch from mailing list
>
> Should fix octave problems reported in PR 59688
>
> Bump PKGREVISION.
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.77 -r1.78 pkgsrc/devel/readline/Makefile
> cvs rdiff -u -r1.40 -r1.41 pkgsrc/devel/readline/distinfo
> cvs rdiff -u -r0 -r1.3 pkgsrc/devel/readline/patches/patch-input.c
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
>
Many thanks!
From: Ramiro Aceves <ea1abz@gmail.com>
To: gnats-bugs@netbsd.org, pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org,
gnats-admin@netbsd.org, wiz@NetBSD.org
Cc:
Subject: Re: pkg/59688 (math/octave)
Date: Wed, 8 Oct 2025 07:47:39 +0200
El 7/10/25 a las 20:20, wiz@NetBSD.org escribió:
> Synopsis: math/octave
>
> State-Changed-From-To: open->closed
> State-Changed-By: wiz@NetBSD.org
> State-Changed-When: Tue, 07 Oct 2025 18:20:39 +0000
> State-Changed-Why:
> Thanks for the debugging! I've added the patch to pkgsrc.
>
>
>
Thanks so much to all.
Regards.
From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/59688 CVS commit: [pkgsrc-2025Q3] pkgsrc/devel/readline
Date: Wed, 15 Oct 2025 17:17:48 +0000
Module Name: pkgsrc
Committed By: maya
Date: Wed Oct 15 17:17:48 UTC 2025
Modified Files:
pkgsrc/devel/readline [pkgsrc-2025Q3]: Makefile distinfo
Added Files:
pkgsrc/devel/readline/patches [pkgsrc-2025Q3]: patch-input.c
Log Message:
Pullup ticket #7008 - requested by wiz
devel/readline: Bug fix
Revisions pulled up:
- devel/readline/Makefile 1.78
- devel/readline/distinfo 1.41
- devel/readline/patches/patch-input.c 1.3
---
Module Name: pkgsrc
Committed By: wiz
Date: Tue Oct 7 18:20:19 UTC 2025
Modified Files:
pkgsrc/devel/readline: Makefile distinfo
Added Files:
pkgsrc/devel/readline/patches: patch-input.c
Log Message:
readline: fix event hook using upstream patch from mailing list
Should fix octave problems reported in PR 59688
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.77.2.1 pkgsrc/devel/readline/Makefile
cvs rdiff -u -r1.40 -r1.40.2.1 pkgsrc/devel/readline/distinfo
cvs rdiff -u -r0 -r1.3.2.2 pkgsrc/devel/readline/patches/patch-input.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.