Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

condaforge 0.8.5 build issues #1058

Closed
cyrush opened this issue Dec 23, 2022 · 2 comments
Closed

condaforge 0.8.5 build issues #1058

cyrush opened this issue Dec 23, 2022 · 2 comments
Labels

Comments

@cyrush
Copy link
Member

cyrush commented Dec 23, 2022

image

Linux:

Missing rpath/ldlib path to libcrypto when running tests:

===== testing package: conduit-0.8.5-py38h3e6c9dc_0 =====
running run_test.py
Traceback (most recent call last):
  File "/home/conda/feedstock_root/build_artifacts/conduit_1671767814500/test_tmp/run_test.py", line 5, in <module>
    import conduit
  File "/home/conda/feedstock_root/build_artifacts/conduit_1671767814500/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.8/site-packages/conduit/__init__.py", line 33, in <module>
    from . import relay
  File "/home/conda/feedstock_root/build_artifacts/conduit_1671767814500/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.8/site-packages/conduit/relay/__init__.py", line 28, in <module>
    from .conduit_relay_python import *
ImportError: libcrypto.so.1.1: cannot open shared object file: No such file or directory

osx_64_mpimpich all versions
still hitting fortran flag vs c compiler issue:

clang-14: error: unknown argument: '-fallow-argument-mismatch'

win64 all versions:

Not happy with gtest

Microsoft (R) Program Maintenance Utility Version 14.29.30147.0
Copyright (C) Microsoft Corporation.  All rights reserved.

	%BUILD_PREFIX%\Library\bin\cmake.exe -S%SRC_DIR%\src -B%SRC_DIR%\build --check-build-system CMakeFiles\Makefile.cmake 0
[  0%] Building CXX object blt/thirdparty_builtin/googletest-master-2020-01-07/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.obj
	cd %SRC_DIR%\build\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest
	%BUILD_PREFIX%\Library\bin\cmake.exe -E cmake_cl_compile_depends --dep-file=CMakeFiles\gtest.dir\src\gtest-all.cc.obj.d --working-dir=%SRC_DIR%\build\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest --filter-prefix="Note: including file: " -- C:\PROGRA~2\MICROS~2\2019\ENTERP~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe @C:\Users\VSSADM~1\AppData\Local\Temp\nm16D8.tmp
gtest-all.cc
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\include\gtest/internal/gtest-port.h(1159): error C3861: 'nanosleep': identifier not found
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\include\gtest/internal/gtest-port.h(1474): error C2011: 'testing::internal::ThreadWithParamBase': 'class' type redefinition
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\include\gtest/internal/gtest-port.h(1273): note: see declaration of 'testing::internal::ThreadWithParamBase'
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\include\gtest/internal/gtest-port.h(1523): error C2953: 'testing::internal::ThreadWithParam': class template has already been defined
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\include\gtest/internal/gtest-port.h(1494): note: see declaration of 'testing::internal::ThreadWithParam'
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\src/gtest-port.cc(282): error C2084: function 'void testing::internal::SleepMilliseconds(int)' already has a body
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\include\gtest/internal/gtest-port.h(1154): note: see previous definition of 'SleepMilliseconds'
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\src/gtest-port.cc(286): error C2653: 'AutoHandle': is not a class or namespace name
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\src/gtest-port.cc(287): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\src/gtest-port.cc(287): error C2550: 'testing::internal::AutoHandle': constructor initializer lists are only allowed on constructor definitions
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\src/gtest-port.cc(287): warning C4508: 'testing::internal::AutoHandle': function should return a value; 'void' return type assumed
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\src/gtest-port.cc(289): error C2653: 'AutoHandle': is not a class or namespace name
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\src/gtest-port.cc(289): error C2065: 'Handle': undeclared identifier
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\src/gtest-port.cc(289): error C2146: syntax error: missing ')' before identifier 'handle'
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\src/gtest-port.cc(290): error C2065: 'handle': undeclared identifier
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\src/gtest-port.cc(290): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\src/gtest-port.cc(290): error C2550: 'void __cdecl testing::internal::`dynamic initializer for 'handle_''(void)': constructor initializer lists are only allowed on constructor definitions
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\src/gtest-port.cc(290): error C2059: syntax error: '{'
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\src/gtest-port.cc(290): error C2143: syntax error: missing ';' before '{'
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\src/gtest-port.cc(290): error C2447: '{': missing function header (old-style formal list?)
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\src/gtest-port.cc(292): error C2653: 'AutoHandle': is not a class or namespace name
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\src/gtest-port.cc(292): error C2523: '<Unknown>::~AutoHandle': destructor tag mismatch
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\src/gtest-port.cc(292): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\src/gtest-port.cc(292): error C2084: function 'int testing::internal::AutoHandle(void)' already has a body
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\src/gtest-port.cc(286): note: see previous definition of 'AutoHandle'
%SRC_DIR%\src\blt\thirdparty_builtin\googletest-master-2020-01-07\googletest\src/gtest-port.cc(293): error C3861: 'Reset': identifier not found

@cyrush
Copy link
Member Author

cyrush commented Jan 8, 2023

This looks like the google test issue:

google/googletest#3577

@cyrush cyrush added the bug label Jan 9, 2023
@cyrush
Copy link
Member Author

cyrush commented Jan 9, 2023

resolve with changes in #1063 and pending conda forge recipe changes that will be applied for conduit 0.8.6 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant