Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net-irc/telepathy-idle: fix 100% cpu usage and tests #13221

Closed
wants to merge 1 commit into from
Closed

net-irc/telepathy-idle: fix 100% cpu usage and tests #13221

wants to merge 1 commit into from

Conversation

okias
Copy link
Contributor

@okias okias commented Oct 8, 2019

Added latest fixes from 0.2.0 branch.

  • fixes tests
  • fixes extreme CPU usage.
    It's unlikely that new version (0.2.1 nor 1.x) will be released soon, so
    it's really good idea merge these patches.

Closes: https://bugs.gentoo.org/636576
Closes: https://bugs.gentoo.org/684832

Signed-off-by: David Heidelberg david@ixit.cz

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @okias
Areas affected: ebuilds
Packages affected: net-irc/telepathy-idle

net-irc/telepathy-idle: @gentoo/gnome

Linked bugs

Bugs linked: 636576, 684832


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Oct 8, 2019
@a17r
Copy link
Member

a17r commented Oct 27, 2019

  • Package already is EAPI-7
  • What exactly is it fixing in src_prepare?
  • If it only fixes a test, why revbump?

@okias
Copy link
Contributor Author

okias commented Oct 27, 2019

* Package already is EAPI-7

* What exactly is it fixing in src_prepare?

* If it only fixes a test, why revbump?

I updated description of Pull from commit. Since my first PullReq there been changes to ebuild.

@okias okias changed the title net-irc/telepathy-idle: bump r1 net-irc/telepathy-idle: bump r2 Oct 27, 2019
@a17r
Copy link
Member

a17r commented Oct 27, 2019

Then please change your git commit message title to describe your major fix accordingly, bump r2 is not it. ;)

@okias okias changed the title net-irc/telepathy-idle: bump r2 net-irc/telepathy-idle: fix 100% cpu usage and tests Oct 27, 2019
Added latest fixes from 0.2.0 branch.
- fixes tests
- fixes extreme CPU usage.
- fixes GCC warning
It's unlikely that new version (0.2.1 nor 1.x) will be released soon, so
it's really good idea merge these patches.

---
In function 'strncpy',
    inlined from 'idle_server_connection_send_async' at idle-server-connection.c:593:2:
/usr/include/bits/string_fortified.h:106:10: error: '__builtin_strncpy' specified bound 512 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---

Closes: https://bugs.gentoo.org/636576
Closes: https://bugs.gentoo.org/684832

Signed-off-by: David Heidelberg <david@ixit.cz>
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2019-10-27 18:58 UTC
Newest commit scanned: 4b395e4
Status: ✅ good

No issues found

@gentoo-bot gentoo-bot closed this in bfc9cd8 Dec 4, 2019
@mattst88
Copy link
Contributor

mattst88 commented Dec 4, 2019

I dropped the gcc warning fix, because I think that should be investigated and not papered over.

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR.
Projects
None yet
5 participants