Page MenuHomeSolus

Request: sysprof
Closed, ResolvedPublic

Description

Sysprof is an open-source (GPLv3) whole-system profiler for Linux.

Homepage: https://gitlab.gnome.org/GNOME/sysprof (there are several homepages but most of them are out-of-date; this video is a good example of how it is used)

Reason for inclusion: Sysprof is a useful development tool; it can be used to profile almost any function in any program in terms of call percentage, battery usage, disk accesses, network usage, etc. It has special profiling support for the GTK stack. By default, Sysprof includes a CLI frontend and a GTK frontend.

I haven't found anything similar in the package repo. Additionally, Sysprof cannot be installed without root access (and so it should be a package, to avoid having to run sudo ninja install).

Latest source tarball: https://gitlab.gnome.org/GNOME/sysprof/-/archive/sysprof-3-34/sysprof-sysprof-3-34.tar.gz

Event Timeline

Technius created this task.Feb 5 2020, 11:16 PM
Technius updated the task description. (Show Details)Feb 5 2020, 11:20 PM
DataDrake triaged this task as Wishlist priority.Feb 5 2020, 11:35 PM
DataDrake moved this task from Backlog to Accepted For Inclusion on the Package Requests board.
serebit added subscribers: DataDrake, serebit.EditedFeb 6 2020, 12:20 AM

So I attempted to package this, and I ran into something interesting that I'd like your input on, @DataDrake:

serebit@serebit-desktop ~/.solus/sysprof $ sudo eopkg it sysprof-3.35.3-1-1-x86_64.eopkg 
System error. Program terminated.
External dependencies not satisfied: sysprof-devel release 1

serebit@serebit-desktop ~/.solus/sysprof $ sudo eopkg it sysprof-devel-3.35.3-1-1-x86_64.eopkg 
System error. Program terminated.
External dependencies not satisfied: sysprof release 1

serebit@serebit-desktop ~/.solus/sysprof $ sudo eopkg it sysprof-devel-3.35.3-1-1-x86_64.eopkg sysprof-3.35.3-1-1-x86_64.eopkg 
Unhandled internal exception.
Please file a bug report to <http://bugs.pardus.org.tr>.
<class 'pisi.graph.CycleException'>: Encountered cycle ['sysprof', 'sysprof-devel']

Seems like the devel package depend on the base package, and the base package depends on the devel package, so we have a circular dependency. No idea how to resolve this.

That'll do, @joebonrichie. Thanks for the tip.