Bug 272675 - www/newsboat: coredump with SIGSEGV and build failures
Summary: www/newsboat: coredump with SIGSEGV and build failures
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Robert Clausecker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-23 09:51 UTC by Daniel Ebdrup Jensen
Modified: 2023-10-04 20:13 UTC (History)
3 users (show)

See Also:
mt-bugs: maintainer-feedback+
fuz: merge-quarterly+


Attachments
fix build on 14-CURRENT (445 bytes, patch)
2023-08-04 12:50 UTC, Marko Turk
mt-bugs: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Ebdrup Jensen freebsd_committer freebsd_triage 2023-07-23 09:51:31 UTC
The package currently available on the FreeBSD package mirrors has started exhibiting SIGSEV coredumps when fetching RSS/Atom feeds from the urls file.

In investigating this, I discovered that I couldn't build it locally with debug symbols, and eventually learned that the build cluster has had build failures for about a month [1].

As of creating this bug, there are currently no open reports mentioning this, so I figure it's probably a good idea to get one in as I'd love for this port to work.

1: https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p150bed43bfd4_sbc310a95c5/logs/newsboat-2.30.1_4.log
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2023-07-23 17:05:49 UTC
^Triage: reporter is committer, assign accordingly.
Comment 2 Marko Turk 2023-08-04 12:50:47 UTC
Created attachment 243837 [details]
fix build on 14-CURRENT
Comment 3 Marko Turk 2023-08-04 12:50:57 UTC
Hi,

the build fails on 14-CURRENT only, the attached patch fixes the problem.

Regarding coredumps that you see, is it for some specific feed that I could try?

Marko
Comment 4 Daniel Ebdrup Jensen freebsd_committer freebsd_triage 2023-09-07 15:03:11 UTC
This port has apparently started working again after a blanket fix by both@ in commit 54a44c5ab24, so I'm closing this bug report.
Comment 5 Marko Turk 2023-09-25 13:55:21 UTC
Hi,

can we still merge the patch? Other ports use the cargo env for building, newsboat should too.

Marko
Comment 6 Robert Clausecker freebsd_committer freebsd_triage 2023-10-04 17:20:21 UTC
Sure thing.  Will MFH into 2023Q4 to prevent future issues.
Comment 7 commit-hook freebsd_committer freebsd_triage 2023-10-04 20:04:37 UTC
A commit in branch main references this bug:

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

commit cf9c28003077703463187991bc153f8e7cd954d8
Author:     Marko Turk <mt-bugs@markoturk.info>
AuthorDate: 2023-10-04 17:19:32 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-10-04 20:01:39 +0000

    www/newsboat: obey CARGO_ENV

    PR:             272675
    Reported by:    debdrup
    MFH:            2023Q4

 www/newsboat/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 8 commit-hook freebsd_committer freebsd_triage 2023-10-04 20:13:45 UTC
A commit in branch 2023Q4 references this bug:

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

commit e1282dc5177efad32da83f4d26512cef876f79ec
Author:     Marko Turk <mt-bugs@markoturk.info>
AuthorDate: 2023-10-04 17:19:32 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-10-04 20:13:06 +0000

    www/newsboat: obey CARGO_ENV

    PR:             272675
    Reported by:    debdrup
    MFH:            2023Q4

    (cherry picked from commit cf9c28003077703463187991bc153f8e7cd954d8)

 www/newsboat/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)