pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/57635: In pkgsrc-2023Q3, trackbar doesn't work with irssi IRC client



>Number:         57635
>Category:       pkg
>Synopsis:       In pkgsrc-2023Q3, trackbar doesn't work with irssi IRC client
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 29 15:15:00 +0000 2023
>Originator:     Gua Chunglim
>Release:        NetBSD 9.3_STABLE (pkgsrc-2023Q3)
>Organization:
>Environment:
NetBSD sirius 9.3_STABLE NetBSD 9.3_STABLE (GENERIC) #131: Tue Sep 19 17:15:30 +07 2023 root@sirius:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
>Description:
Last night, I updated to `pkgsrc-2023Q3`. All builds went fine, but after build and install were done. I found that `trackbar` separating unread messages from read messages for `irssi` IRC client doesn't work. While running irssi, once I did

/script load trackbar.pl
-!- Irssi: Error in script trackbar:
Can't locate object method "get_bookmark" via package "Irssi__TextUI__TextBufferView" at /usr/home//lim/.irssi/scripts/trackbar.pl line 454.

Then I asked people in #irssi IRC channel, they said irssi 1.4.4 doesn't work very well with perl 5.38. They told me I have to do either one in two solutions.

1. patch the source code.

https://codeberg.org/irssi/irssi/releases/download/1.4.4/perl-ntype.patch
https://github.com/irssi/irssi/compare/master...ailin-nemui:irssi:perl5380locale.patch

2. Otherwise, I have to downgrade perl.
>How-To-Repeat:
1. % cd /usr/pkgsrc/chat/irssi
2. % sudo make install clean clean-depends
3. download https://github.com/irssi/scripts.irssi.org/blob/master/scripts/trackbar.pl
4. % mkdir -p ~/.irssi/scripts/autorun
5. % cp path/to/trackbar.pl ~/.irssi/scripts
6. % cd ~/.irssi/scripts/autorun
7. % ln -sf ~/.irssi/scripts/trackbar.pl script.pl
8. % irssi # Launch irssi, we will see an error at the top of message
9. inside irssi, run /script load trackbar.pl # Try loading the script again, still see an error
/script load trackbar.pl
-!- Irssi: Error in script trackbar:
Can't locate object method "get_bookmark" via package "Irssi__TextUI__TextBufferView" at /usr/home//lim/.irssi/scripts/trackbar.pl line 454.
>Fix:
Apply patches or downgrade perl, then launch irssi again.


Home | Main Index | Thread Index | Old Index