NetBSD Problem Report #56482

From www@netbsd.org  Mon Nov  1 17:51:29 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 762531A9239
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  1 Nov 2021 17:51:29 +0000 (UTC)
Message-Id: <20211101175128.13AE71A923A@mollari.NetBSD.org>
Date: Mon,  1 Nov 2021 17:51:28 +0000 (UTC)
From: cryintothebluesky@gmail.com
Reply-To: cryintothebluesky@gmail.com
To: gnats-bugs@NetBSD.org
Subject: devel/kcoreaddons fails on build on Linux due to devel/libinotify dependency
X-Send-Pr-Version: www-1.0

>Number:         56482
>Category:       pkg
>Synopsis:       devel/kcoreaddons fails on build on Linux due to devel/libinotify dependency
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    markd
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 01 17:55:00 +0000 2021
>Last-Modified:  Thu Nov 04 10:16:47 +0000 2021
>Originator:     Sad Clouds
>Release:        pkgsrc-2021Q3
>Organization:
>Environment:
Linux rp4 5.10.0-0.bpo.8-arm64 #1 SMP Debian 5.10.46-4~bpo10+1 (2021-08-07) aarch64 GNU/Linux
>Description:
devel/libinotify is BSD specific and should not be build on other platforms as it results in the following errors:

ERROR: This package is not available for these platforms: SunOS-*-* Linux-*-*.
ERROR: This package has set PKG_SKIP_REASON:
ERROR: libinotify-0.0.20180201 is not available for Linux-5.10.0-aarch64
*** Error code 1

Stop.
bmake[8]: stopped in /opt/pkgsrc-2021Q3/devel/libinotify
*** Error code 1

Stop.
bmake[7]: stopped in /opt/pkgsrc-2021Q3/devel/kcoreaddons
*** Error code 1

>How-To-Repeat:

>Fix:
Fix the following lines in devel/kcoreaddons/Makefile

.if ${OPSYS} != "SunOS"
.include "../../devel/libinotify/buildlink3.mk"
.endif

either add Linux to the if check, or substitute libinotify with Linux specific package.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->markd
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Thu, 04 Nov 2021 10:16:47 +0000
Responsible-Changed-Why:
Over to maintainer.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

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