Bug 257058 - www/anyterm: segfaults on start
Summary: www/anyterm: segfaults on start
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-08 16:36 UTC by Alex
Modified: 2023-01-19 07:44 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (douglas)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2021-07-08 16:36:23 UTC
FreeBSD 13.0-RELEASE (amd64)
Built 2021-07-08
PORTNAME=       anyterm
PORTVERSION=    1.1.29
PORTREVISION=   22

Compiling/installing www/anyterm with `make install` and running `anytermd` or `anytermd -p 7777 --local-only` results in an immediate SEGFAULT.
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2022-12-02 07:36:53 UTC
The port doesn't seem to be in good shape:

$ anytermd -p 7777 --local-only
ld-elf.so.1: /usr/local/lib/gcc10/libstdc++.so.6: version GLIBCXX_3.4.29 required by /usr/local/sbin/anytermd not found
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-01-18 15:21:24 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bbb372eadafc4b008a83e333e1a3406e904bd9a0

commit bbb372eadafc4b008a83e333e1a3406e904bd9a0
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2023-01-18 15:14:43 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-01-18 15:14:43 +0000

    www/anyterm: mark BROKEN

    When building from ports, it segfaults on startup.
    Package is broken with:

    ld-elf.so.1: /usr/local/lib/gcc10/libstdc++.so.6: version GLIBCXX_3.4.29 required by /usr/local/sbin/anytermd not found

    Maintainer missing for months.

    PR:             257058
    Reported by:    Alex <r7st.guru@gmail.com>

 www/anyterm/Makefile | 2 ++
 1 file changed, 2 insertions(+)
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2023-01-18 15:21:30 UTC
Hi Alex,

Since maintainer is missing, I had to mark this port as BROKEN. As you said, it segfaults on startup (after fixing LD_LIBRARY_PATH in my case) and the current package is also broken.
Comment 4 Daniel Engberg freebsd_committer freebsd_triage 2023-01-18 17:01:46 UTC
Fernando, set deprecated and expiration date while at it. Upstream is dead...

Having a quick look it seems like sysutils/ttyd , https://github.com/vercel/hyper (not packaged) , https://github.com/sergeir82/wetty (not packaged) might be suitable subtitutes.

Possibly also https://github.com/maxmcd/webtty
Comment 5 commit-hook freebsd_committer freebsd_triage 2023-01-18 17:22:48 UTC
A commit in branch 2023Q1 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=44092a48aa6708fdf35dbe431e7803efc4cbcc69

commit 44092a48aa6708fdf35dbe431e7803efc4cbcc69
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2023-01-18 15:14:43 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-01-18 17:17:19 +0000

    www/anyterm: mark BROKEN

    When building from ports, it segfaults on startup.
    Package is broken with:

    ld-elf.so.1: /usr/local/lib/gcc10/libstdc++.so.6: version GLIBCXX_3.4.29 required by /usr/local/sbin/anytermd not found

    Maintainer missing for months.

    PR:             257058
    Reported by:    Alex <r7st.guru@gmail.com>

    (cherry picked from commit bbb372eadafc4b008a83e333e1a3406e904bd9a0)

 www/anyterm/Makefile | 2 ++
 1 file changed, 2 insertions(+)
Comment 6 Fernando Apesteguía freebsd_committer freebsd_triage 2023-01-19 07:44:08 UTC
These two ports might be used as a substitute for www/anytermd:

sysutils/ttyd
www/shellinabox

Cheers.