NetBSD Problem Report #52307

From www@NetBSD.org  Sun Jun 18 02:45:02 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id C5E4D7A208
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 18 Jun 2017 02:45:02 +0000 (UTC)
Message-Id: <20170618024501.92EE57A2A9@mollari.NetBSD.org>
Date: Sun, 18 Jun 2017 02:45:01 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: sysutils/xfce4-diskperf-plugin build fails on -current (and netbsd-8)
X-Send-Pr-Version: www-1.0

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

>Description:
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
${WRKSRC}/panel-plugin/devperf.c

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.
>How-To-Repeat:
Attempt to build sysutils/xfce4-diskperf-plugin under NetBSD-8.99.1
or NetBSD-8.0_BETA.
>Fix:
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

  "sysutils/xfce4-diskperf-plugin/patches/patch-panel-plugin_devperf.c"

should be updated to include the above change.

>Release-Note:

>Audit-Trail:
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52307: sysutils/xfce4-diskperf-plugin build fails on -current
 (and netbsd-8)
Date: Sat, 17 Jun 2017 23:19:25 -0500 (CDT)

 The package has not changed for the past year and the existing patch
 has not changed for nearly two years, so unless an update of the package
 occurs soon, the problem affects pkgsrc-HEAD and the forthcoming
 pkgsrc-2017Q2.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

Responsible-Changed-From-To: pkg-manager->youri
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 19 Jun 2017 08:02:17 +0000
Responsible-Changed-Why:
Over to maintainer


State-Changed-From-To: open->closed
State-Changed-By: youri@NetBSD.org
State-Changed-When: Sun, 13 May 2018 21:19:10 +0000
State-Changed-Why:
xfce4-diskperf-plugin builds fine on -current.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.