#1148698 RFS: golang-github-power-devops-perfstat/0.0~git20260916.22a1a46-1 [ITP] -- interface to the AIX libperfstat API

#1148698#5
Date:
2026-09-22 05:31:45 UTC
From:
To:
Dear mentors,

I am looking for a sponsor for my package "golang-github-power-devops-perfstat":

 * Package name     : golang-github-power-devops-perfstat
   Version          : 0.0~git20260916.22a1a46-1
   Upstream contact : Andrey Klyachkin <aklyachkin@gmail.com>
 * URL              : https://github.com/power-devops/perfstat
 * License          : Expat
 * Vcs              : https://salsa.debian.org/go-team/packages/golang-github-power-devops-perfstat
   Section          : golang

The source builds the following binary package:

  golang-github-power-devops-perfstat-dev - interface to the AIX libperfstat API (library)

It closes the ITP #1148685.

The package is maintained in the Debian Go Packaging Team and is available in git:

https://salsa.debian.org/go-team/packages/golang-github-power-devops-perfstat

  git clone https://salsa.debian.org/go-team/packages/golang-github-power-devops-perfstat.git
  # or:  gbp clone https://salsa.debian.org/go-team/packages/golang-github-power-devops-perfstat.git

The full salsa-ci pipeline passes (build, lintian, autopkgtest, piuparts,
blhc, debrebuild, reproducibility, uscan).

If you prefer mentors.debian.net, the package can also be fetched with:

  dget -x https://mentors.debian.net/debian/pool/main/g/golang-github-power-devops-perfstat/golang-github-power-devops-perfstat_0.0~git20260916.22a1a46-1.dsc

Changes for the initial release:

 golang-github-power-devops-perfstat (0.0~git20260916.22a1a46-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1148685)

This module is a transitive dependency of github.com/shirou/gopsutil (already in
Debian). It is required to build gopsutil's reverse dependencies -- such as the
OpenTelemetry Collector -- under the module-aware dh-go build system, in which
the whole module graph must resolve locally even for platform-specific code
(here, AIX, via cgo against libperfstat) that is never compiled on Debian's
architectures. The packaging carries one DEP-3 patch constraining the AIX-only
cgo helper (c_helpers.c/.h) to the "aix" build tag so "go list" succeeds on
Debian's build architectures.

Regards,
 Juan

#1148698#10
Date:
2026-10-15 11:10:41 UTC
From:
To:
Still looking for a sponsor for this one. It is a small, source-only module (an AIX-only interface to libperfstat, shipped with a small //go:build aix patch, not built on any Debian architecture).

It unblocks the dh-go (module-aware) ports of two packages that require it in their module graph via gopsutil/v4. golang-opentelemetry-collector builds green locally with dh-go 1.69 and this package installed. golang-github-googlecloudplatform-opentelemetry-operations-go also blocks on it: its branch upgrade-0.62.0 lists it as a real Build-Depends and its sbuild against sid on 2026-10-06 (dh-go 1.69, collector-dev 0.152.0-1) was Status successful, 11 test packages, 206 PASS, 0 FAIL (https://salsa.debian.org/go-team/packages/golang-github-googlecloudplatform-opentelemetry-operations-go/-/merge_requests/1).

golang-github-shirou-gopsutil's go.mod requires it as well, so it will be needed when gopsutil moves to dh-go.

Packaging is ready on debian/sid, salsa-ci green: https://salsa.debian.org/go-team/packages/golang-github-power-devops-perfstat

Best regards,
Juan