Summary: | dev-util/cgdb-0.7.0: segv when built against ncurses[tinfo] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | admnd, balint, esigra, jsmolic, jstein, oli.huber, zima |
Priority: | Normal | Keywords: | PATCH, PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=669096 https://github.com/gentoo/gentoo/pull/17131 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 696408 | ||
Bug Blocks: | 457530 | ||
Attachments: |
cgdb-0.7.0-tinfow.patch
upstream patch |
Description
Michał Górny
![]() ![]() ![]() ![]() Ping. I postponed it again, I'm moving in my new place next month, I intend to catch up on everything I said I'd do after that. Also if it becomes more urgent for anyone, dont hesitate to tell it to me here. This bug affects me, because ncurses[tinfo] is needed for youcompleteme, see: https://github.com/ycm-core/YouCompleteMe/issues/778 Created attachment 586710 [details, diff]
cgdb-0.7.0-tinfow.patch
I made this patch, that solves the issue for me.
Hi, I'm installed but haven't reconfigured everything yet, I'll take a look and test your patch on 08/19, thank you for your contribution ;) Thanks for the patch, works here too. Confirmed it works. I havent taken time to talk to upstream/include patch in repo. I'll try contacting upstream first as dropping the patch in /etc/portage/patches is enough atm. I've used the patch 0.7.1 and it works fine. I've put in my overlay: https://github.com/billiob/gentoo-overlay/tree/master/dev-util/cgdb This is the very same issue described in the Gentoo bug #651552 Also see the bug #720328 which has the exact same root cause. (In reply to Balint SZENTE from comment #4) > Created attachment 586710 [details, diff] [details, diff] > cgdb-0.7.0-tinfow.patch > > I made this patch, that solves the issue for me. This patch fixes the issue for me also (tested under ~amd64). Created attachment 635562 [details, diff] upstream patch Upstream added this fix back in January 2020 to fix this issue. Seems to work here. Reference: https://github.com/cgdb/cgdb/commit/a8a567fc46fca4ca10a23016e2fe9055669b9102 (In reply to Olivier Huber from comment #12) > Upstream added this fix back in January 2020 to fix this issue. Seems to > work here. > > Reference: > https://github.com/cgdb/cgdb/commit/a8a567fc46fca4ca10a23016e2fe9055669b9102 Upstream Git issue: https://github.com/cgdb/cgdb/issues/219 A recent 0.7.1 does not exhibit the issue. Also see: Gentoo bug #696408 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29c378d889d06d2f1631a4e36750bec7fbd2269a commit 29c378d889d06d2f1631a4e36750bec7fbd2269a Author: Jakov Smolic <jakov.smolic@sartura.hr> AuthorDate: 2020-08-15 13:44:15 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-09-05 07:53:46 +0000 dev-util/cgdb: revbump for bugfixes Closes: https://bugs.gentoo.org/730138 Closes: https://bugs.gentoo.org/682386 Closes: https://bugs.gentoo.org/678006 Closes: https://bugs.gentoo.org/630512 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: Joonas Niilola <juippis@gentoo.org> dev-util/cgdb/cgdb-0.7.0-r2.ebuild | 68 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bf78890f5cca3110c700f56e2c661bae3d4c607 commit 7bf78890f5cca3110c700f56e2c661bae3d4c607 Author: Jakov Smolic <jakov.smolic@sartura.hr> AuthorDate: 2020-08-15 13:19:23 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-09-05 07:53:46 +0000 dev-util/cgdb: bump to 0.7.1 Closes: https://bugs.gentoo.org/696408 Bug: https://bugs.gentoo.org/682386 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: Joonas Niilola <juippis@gentoo.org> dev-util/cgdb/Manifest | 1 + dev-util/cgdb/cgdb-0.7.1.ebuild | 68 +++++++++++++++++++++++++++++++++++++ dev-util/cgdb/files/cgdb-test.patch | 55 ++++++++++++++++++++++++++++++ 3 files changed, 124 insertions(+) |