NetBSD Problem Report #51535
From timshel@abalone.shels.local Fri Oct 7 11:41:34 2016
Return-Path: <timshel@abalone.shels.local>
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 BF8EC7A26A
for <gnats-bugs@gnats.NetBSD.org>; Fri, 7 Oct 2016 11:41:34 +0000 (UTC)
Message-Id: <20161007102251.4432B5720F@abalone.shels.local>
Date: Fri, 7 Oct 2016 21:22:51 +1100 (AEDT)
From: Timshel Knoll-Miller <timshel@fluentdevelopment.com.au>
Reply-To: Timshel Knoll-Miller <timshel@fluentdevelopment.com.au>
To: gnats-bugs@NetBSD.org
Subject: lang/coreclr build fails when ossp-uuid is installed
X-Send-Pr-Version: 3.95
>Number: 51535
>Category: pkg
>Synopsis: lang/coreclr build fails when ossp-uuid is installed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kamil
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 07 11:45:00 +0000 2016
>Closed-Date: Fri Nov 06 14:01:03 +0000 2020
>Last-Modified: Fri Nov 06 14:01:03 +0000 2020
>Originator: Timshel Knoll-Miller <timshel@fluentdevelopment.com.au>
>Release: NetBSD 7.0_STABLE (20160629)
>Organization:
Fluent Development
>Environment:
System: NetBSD abalone.shels.local 7.0_STABLE NetBSD 7.0_STABLE (GENERIC) #2: Fri Aug 12 05:18:04 AEST 2016 timshel@abalone.shels.local:/store/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
When attempting to build lang/coreclr while the devel/ossp-uuid package is installed, the build fails as it
attempts to use the uuid.h that's provided by ossp-uuid rather than the NetBSD system uuid.h from
/usr/include:
---- lang/coreclr 'make' output: -----
-- Performing Test UNWIND_CONTEXT_IS_UCONTEXT_T - Failed
-- Performing Test HAVE_FULLY_FEATURED_PTHREAD_MUTEXES
-- Performing Test HAVE_FULLY_FEATURED_PTHREAD_MUTEXES - Failed
CMake Error at src/pal/src/configure.cmake:1025 (message):
Cannot find uuid.h
Call Stack (most recent call first):
src/pal/src/CMakeLists.txt:5 (include)
-- Configuring incomplete, errors occurred!
See also "/store/tmp/work/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug/CMakeFiles/CMakeOutput.log".
See also "/store/tmp/work/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug/CMakeFiles/CMakeError.log".
Failed to generate native component build project!
*** Error code 1
Stop.
make[1]: stopped in /store/pkgsrc/pkgsrc/lang/coreclr
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/coreclr
---- end lang/coreclr 'make' output: -----
Relevant section from /store/tmp/work/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug/CMakeFiles/CMakeOutput.log showing
that /usr/pkg/include/uuid.h is from ossp-uuid is being included rather than /usr/include/uuid.h:
---- begin CMakeOutput.log snippet -----
Performing C++ SOURCE FILE Test HAVE_BSD_UUID_H failed with the following output:
Change Dir: /store/tmp/work/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug/CMakeFiles/CMakeTmp
Run Build Command:"/usr/pkg/bin/gmake" "cmTC_62dd0/fast"
/usr/pkg/bin/gmake -f CMakeFiles/cmTC_62dd0.dir/build.make CMakeFiles/cmTC_62dd0.dir/build
gmake[1]: Entering directory '/store/tmp/work/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_62dd0.dir/src.cxx.o
/usr/pkg/bin/clang++ -D_FILE_OFFSET_BITS=64 -O2 -I/usr/pkg/include -I/usr/include -Wall -Wno-null-conversion -std=c++11 -DHAVE_BS
D_UUID_H -o CMakeFiles/cmTC_62dd0.dir/src.cxx.o -c /store/tmp/work/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug/CMakeF
iles/CMakeTmp/src.cxx
/store/tmp/work/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug/CMakeFiles/CMakeTmp/src.cxx:5:10: error: variable has incomplete type 'uuid_t' (aka 'uuid_st')
uuid_t uuid;
^
/usr/pkg/include/uuid.h:93:8: note: forward declaration of 'uuid_st'
struct uuid_st;
^
1 error generated.
CMakeFiles/cmTC_62dd0.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_62dd0.dir/src.cxx.o' failed
gmake[1]: *** [CMakeFiles/cmTC_62dd0.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/store/tmp/work/lang/coreclr/work/coreclr-1.0.0/bin/obj/NetBSD.x64.Debug/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_62dd0/fast' failed
gmake: *** [cmTC_62dd0/fast] Error 2
Return value: 1
Source file was:
#include <uuid.h>
int main(void) {
uuid_t uuid;
uint32_t status;
uuid_create(&uuid, &status);
return 0;
}
---- end CMakeOutput.log snippet -----
>How-To-Repeat:
Install ossp-uuid from devel/ossp-uuid (I have version 1.6.2nb6 causing failures on my system).
Run 'make' from lang/coreclr directory of pkgsrc.
>Fix:
Unknown; my workaround was to remove ossp-uuid but it would be good to see this fixed properly.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->kamil
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Fri, 07 Oct 2016 11:56:42 +0000
Responsible-Changed-Why:
Over to maintainer.
From: Kamil Rytarowski <n54@gmx.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/51535 (lang/coreclr build fails when ossp-uuid is installed)
Date: Fri, 7 Oct 2016 14:56:22 +0200
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--B96kovXejlhxiOvBij0EnBjXp47Cmfoqe
Content-Type: multipart/mixed; boundary="hd54dPtF55X7sXASPBUKD1Xxo38l0T4ln"
From: Kamil Rytarowski <n54@gmx.com>
To: gnats-bugs@NetBSD.org
Message-ID: <33d0c498-5652-5eb4-9776-abcd4c3490af@gmx.com>
Subject: Re: pkg/51535 (lang/coreclr build fails when ossp-uuid is installed)
References: <pr-pkg-51535@gnats.netbsd.org>
<20161007102251.4432B5720F@abalone.shels.local>
<20161007115643.402997A2B6@mollari.NetBSD.org>
In-Reply-To: <20161007115643.402997A2B6@mollari.NetBSD.org>
--hd54dPtF55X7sXASPBUKD1Xxo38l0T4ln
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
There was already an issue with <uuid.h> handling on NetBSD and this
header might conflict on supported targets. I reordered check for
headers hoping it will solve the issues but apparently not.
Looking.
On 07.10.2016 13:56, wiz@NetBSD.org wrote:
> Synopsis: lang/coreclr build fails when ossp-uuid is installed
>=20
> Responsible-Changed-From-To: pkg-manager->kamil
> Responsible-Changed-By: wiz@NetBSD.org
> Responsible-Changed-When: Fri, 07 Oct 2016 11:56:42 +0000
> Responsible-Changed-Why:
> Over to maintainer.
>=20
>=20
>=20
--hd54dPtF55X7sXASPBUKD1Xxo38l0T4ln--
--B96kovXejlhxiOvBij0EnBjXp47Cmfoqe
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJX95t9AAoJEEuzCOmwLnZsg7MQAK3UzMe7Et4IgDDDQ2QEXVxe
NhXkfAVogOQPLrfAVuquFRhDpAfBYpw2PZfBE8gsm34gq8/kdlOsWluJfVIYeDmH
OV9LGKRcqlWg0Nc0z+VG4qhXtz2ZT4nyVXXYLMXQCCr4zx2Pb2kyWnlHKCFuoil/
DgfAw4tPI5fSRweTA23Qad4oXadOvHRooqRI35UoJZ0ZZ1QtdIb75UqRiCMqRPrt
S3OKECVRZ6DzthMdQCqSdJZb0SCnHWCONOd7PT/fmkgklsWRF/0b/4HeHtx8FQKw
TMfS8ha8SlpxdFmR4HQwoTXo3xHYI3zLylQIWoMGcXfF7KZHEuKC+8W16FMQlcmo
qYDGD7LfiT7SOJJan/P4xBC9E16y6GEDhoR98zQuIc21ycd39QQI4L5ZBHY6bn+x
3Cuq8FMnDtN0HLqrRS8oWnU+aem5BJQSxxA6NYgDO/gWQHorhlej9o4wzUp4Zs+p
/I0CTUafUNsLLe+luP2/mmPz/d4buhtu2VItaadCvzMxe+4svfsXIL0S0CMfWTgn
XD0Zd1ulLPqQF7WTZvL/U8Uwz4HLcFL8Jk+fWecp2hjJJVpa2EnH0j7lm4NayjnO
iqkeZqc1S/7Tz7brroCIcmCOqLj7a6Oy68QCu2Ep3QewtRAcRGJK0Q325UeZP+AU
ThDWbFBrRG6lXPySWvBD
=pbS/
-----END PGP SIGNATURE-----
--B96kovXejlhxiOvBij0EnBjXp47Cmfoqe--
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/51535 (lang/coreclr build fails when ossp-uuid is installed)
Date: Fri, 14 Oct 2016 16:24:09 +0000
Not sent to gnats.
------
From: Kamil Rytarowski <n54@gmx.com>
To: gnats-admin@netbsd.org
Subject: Re: pkg/51535 (lang/coreclr build fails when ossp-uuid is installed)
Date: Fri, 7 Oct 2016 15:21:33 +0200
I cannot reproduce it.
My setup:
$ uname -rms
NetBSD 7.99.39 amd64
$ tail -1 /usr/pkgsrc/doc/CHANGES-2016
Updated mail/neomutt to 20161003 [wiz 2016-10-04]
Also I bet that /usr/pkg/include/uuid.h should be hidden for coreclr by
wrappers.
State-Changed-From-To: open->closed
State-Changed-By: kamil@NetBSD.org
State-Changed-When: Fri, 06 Nov 2020 15:01:03 +0100
State-Changed-Why:
Not reproducible.
>Unformatted:
(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.