pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/51535: lang/coreclr build fails when ossp-uuid is installed
>Number: 51535
>Category: pkg
>Synopsis: lang/coreclr build fails when ossp-uuid is installed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 07 11:45:00 +0000 2016
>Originator: Timshel Knoll-Miller <timshel%fluentdevelopment.com.au@localhost>
>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.
Home |
Main Index |
Thread Index |
Old Index