NetBSD Problem Report #54366

From www@netbsd.org  Thu Jul 11 05:12:34 2019
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 "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id CDA347A18D
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 11 Jul 2019 05:12:33 +0000 (UTC)
Message-Id: <20190711051232.F236A7A1CB@mollari.NetBSD.org>
Date: Thu, 11 Jul 2019 05:12:33 +0000 (UTC)
From: michael@emte.net.au
Reply-To: michael@emte.net.au
To: gnats-bugs@NetBSD.org
Subject: cmake (libuv) fails to build in nightly pkg_comp / pbulk build
X-Send-Pr-Version: www-1.0

>Number:         54366
>Category:       pkg
>Synopsis:       cmake (libuv) fails to build in nightly pkg_comp / pbulk build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 11 05:15:01 +0000 2019
>Closed-Date:    Tue Jul 19 01:32:17 +0000 2022
>Last-Modified:  Tue Jul 19 01:32:17 +0000 2022
>Originator:     Michael Taylor
>Release:        pkgsrc current at 2019-07-09 11:59 UTC
>Organization:
>Environment:
NetBSD dagonet.omniscient.local 8.1 NetBSD 8.1 (GENERIC) #0: Thu Jun  6 16:04:45 AEST 2019  met@dagonet.omniscient.local:/usr/src/sys/arch/amd64/compile/obj/GENERIC amd64
>Description:
My nightly pkg_comp build started failing whilst compiling cmake with errors like:
----
/data/pkgsrc/work/devel/cmake/work/.buildlink/lib/libuv.a(libuv_la-thread.o): In function `uv_barrier_init':
/data/pkgsrc/work/devel/libuv/work/libuv-1.30.1/src/unix/thread.c:141: undefined reference to `pthread_barrier_init'
----
all 20 or so errors refer to undefined references to pthread functions.

>How-To-Repeat:
checkout pkgsrc current (2019-07-09 11:59 UTC)
$ cd $PKGSRC/devel/cmake
$ make install
>Fix:
This started to happen with commit revision 1.52 to
  /pkgsrc/devel/libuv/Makefile
adding line:
  USE_FEATURES+=strnlen

as a temporary workaround I am commenting out that line and getting a successful build of cmake.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: gutteridge@NetBSD.org
State-Changed-When: Tue, 19 Jul 2022 01:32:17 +0000
State-Changed-Why:
This was resolved some time ago, I can see it's building in this context now.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 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.