pkgsrc-Bugs archive

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

pkg/54366: cmake (libuv) fails to build in nightly pkg_comp / pbulk build



>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:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 11 05:15:01 +0000 2019
>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.


Home | Main Index | Thread Index | Old Index