pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52307: sysutils/xfce4-diskperf-plugin build fails on -current (and netbsd-8)

>Number:         52307
>Category:       pkg
>Synopsis:       sysutils/xfce4-diskperf-plugin build fails on -current (and netbsd-8)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 18 02:50:00 +0000 2017
>Originator:     John D. Baker
>Release:        NetBSD/amd64-8.99.1, pkgsrc-2017Q1
NetBSD x3650 8.99.1 NetBSD 8.99.1 (RACKMOUNT) #135: Mon Jun 12 11:34:53 CDT 2017  sysop%yggdrasil.technoskunk.fur@localhost:/r0/build/current/obj/amd64/sys/arch/amd64/compile/RACKMOUNT amd64

Building "sysutils/xfce4-diskperf-plugin" on NetBSD-8.99.1 (and by
extension, the netbsd-8 branch, fails, complaining about
an "incomplete type", referring to "struct io_sysctl" in

The exact error output was not available for this PR filing.  If
needed, it can likely be re-created and posted in a followup.

The error didn't appear for a long time as the package remained
unchanged and was never selected for replacement until now (forced
rebuild of everything using "rebuild=YES" and 'pkg_rolling-replace').

Package last built around 7.99.66 timeframe did not incur the error.
Attempt to build sysutils/xfce4-diskperf-plugin under NetBSD-8.99.1
or NetBSD-8.0_BETA.
Apply the following patch:

+--- panel-plugin/devperf.c.orig	2017-06-17 20:21:05.377488497 -0500
++++ panel-plugin/devperf.c	2017-06-17 20:33:27.213967124 -0500
+@@ -31,6 +31,7 @@
+ #include <stdio.h>
+ #include <memory.h>
+ #include <string.h>
++#include <sys/iostat.h>
+ #include <errno.h>
+ #include <sys/time.h>

The file


should be updated to include the above change.

Home | Main Index | Thread Index | Old Index