NetBSD Problem Report #53975

From  Thu Feb 14 08:36:47 2019
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id F3BF67A154
	for <>; Thu, 14 Feb 2019 08:36:46 +0000 (UTC)
Message-Id: <>
Date: Thu, 14 Feb 2019 09:36:37 +0100 (CET)
Subject: x11/mate-applets is broken
X-Send-Pr-Version: 3.95

>Number:         53975
>Category:       pkg
>Synopsis:       x11/mate-applets is broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    youri
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 14 08:40:00 +0000 2019
>Last-Modified:  Mon Jul 19 04:12:04 +0000 2021
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.34
The NetBSD Foundation, Inc.
System: NetBSD 8.99.34 NetBSD 8.99.34 (GENERIC64) #41: Mon Feb 11 16:51:45 CET 2019 evbarm
Architecture: aarch64
Machine: evbarm

The x11/mate-applets pkg has multiple issues:

 1) the PLIST vars (cpufreq and batt) are not in the PLIST anymore,
    so building fails everywhere they are not selected
 2) the condition when to enable cpufreq may be wrong (unnecessarily
    too small list of NetBSD architectures)
 3) the pkg only will be able to build cpufreq support if there is
    a source tree at /usr/src, as by default it uses -I /usr/src/sys
    to search for cpufreq.h. This is the default for ACPIINC, a
    ac_subst_var, so should be properly set to "sys" (I guess)


Try to build on non-x86 or check the pkg and configure script.




From: "David H. Gutteridge" <>
Subject: PR/53975 CVS commit: pkgsrc/x11/mate-applets
Date: Sat, 16 Feb 2019 07:22:49 +0000

 Module Name:	pkgsrc
 Committed By:	gutteridge
 Date:		Sat Feb 16 07:22:49 UTC 2019

 Modified Files:
 	pkgsrc/x11/mate-applets: PLIST

 Log Message:
 x11/mate-applets: reflect PLIST conditionals

 Address the first part of PR pkg/53975: add conditional PLIST variables
 for the "batt" and "cpufreq" options.

 To generate a diff of this commit:
 cvs rdiff -u -r1.7 -r1.8 pkgsrc/x11/mate-applets/PLIST

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: pkg-manager->youri
Responsible-Changed-When: Tue, 12 Mar 2019 00:04:06 +0000
Over to youri@ for the remainder of the PR.

From: "David H. Gutteridge" <>
Subject: Re: pkg/53975 (x11/mate-applets is broken)
Date: Tue, 12 Mar 2019 15:29:56 -0400

 jperkin@ suggested changing how PLIST conditionals are handled for this
 package (especially given how long the list is). His suggested approach
 is here:

 Alternately, we could break out the cpufreq and battstat options into
 their own separate PLIST files, another common approach.


State-Changed-From-To: open->feedback
State-Changed-When: Sun, 24 May 2020 10:35:24 +0000
is this fixed?

State-Changed-From-To: feedback->open
State-Changed-When: Mon, 19 Jul 2021 04:12:04 +0000
doesn't appear so


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.