Comments (2)
can you post cmake command output?
from ziti-sdk-c.
Here's entire RPM build log starting from prep
section where I do the necessary things in order to built from a github archive..
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UyXgJe
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf ziti-sdk-c-0.22.0
+ /usr/bin/gzip -dc /builddir/build/SOURCES/0.22.0.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd ziti-sdk-c-0.22.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ sed -i 's@DESTINATION lib@DESTINATION lib64@' CMakeLists.txt
+ sed -i /git.cmake/d CMakeLists.txt
+ sed -ri 's@.*HAVE_LIBSODIUM.*@option(HAVE_LIBSODIUM "use and link installed shared libsodium library" ON)@' CMakeLists.txt
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LmHtwl
+ umask 022
+ cd /builddir/build/BUILD
+ cd ziti-sdk-c-0.22.0
+ export ver=0.22.0
+ ver=0.22.0
+ mkdir ./build
~/build/BUILD/ziti-sdk-c-0.22.0/build ~/build/BUILD/ziti-sdk-c-0.22.0
+ pushd ./build
+ cmake3 .. -DCMAKE_BUILD_TYPE=Release '-DCMAKE_CXX_FLAGS:STRING=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' '-DCMAKE_C_FLAGS:STRING=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-error=unused-result' -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64
CMake Warning at CMakeLists.txt:4 (project):
VERSION keyword not followed by a value or was followed by a value that
expanded to nothing.
-- The C compiler identification is GNU 8.3.1
-- The CXX compiler identification is GNU 8.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
project version:
git info:
branch :
hash :
date :
using Unix Makefiles
cross-compiling FALSE
Project: ziti-sdk@v
using mbedTLS libraries
CMake Warning (dev) at build/_deps/mbedtls-src/CMakeLists.txt:5 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
PROJECT_VERSION_PATCH
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found Python3: /usr/bin/python3.6 (found version "3.6.8") found components: Interpreter
uvlink src = /builddir/build/BUILD/ziti-sdk-c-0.22.0/build/_deps/uv_link-src
CMake Error at CMakeLists.txt:73 (if):
if given arguments:
"STREQUAL" "main"
Unknown arguments specified
-- Configuring incomplete, errors occurred!
See also "/builddir/build/BUILD/ziti-sdk-c-0.22.0/build/CMakeFiles/CMakeOutput.log".
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.LmHtwl (%build)
Bad exit status from /var/tmp/rpm-tmp.LmHtwl (%build)
Finish: rpmbuild ziti-0.22.0-1.el8.src.rpm
Finish: build phase for ziti-0.22.0-1.el8.src.rpm
ERROR: Exception(ziti-0.22.0-1.el8.src.rpm) Config(gps-8-x86_64) 0 minutes 32 seconds
INFO: Results and/or logs in: .
ERROR: Command failed:
# bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ziti.spec
from ziti-sdk-c.
Related Issues (20)
- Edge Router connection drops during large transfer HOT 1
- ZITI_LOG=0 results in a message on stderr regardless
- enable api-sessions from jwt
- ziti-sdk-c enroll fails for legit certificate HOT 1
- identity blocked by auth policy emits connect/disconnects events frequently
- unwrapped identity regression HOT 1
- add hostname/domainname to SDK info HOT 1
- ziti_close causes queued write requests to be dropped
- implement CA bundle change event
- extern errors.h
- Ziti_load_context blocks until identity has a service
- Forking Support in Zitilib
- improve Edge Router selection
- services are not bound, and assertion fails when edge router flaps
- unable to recover API session HOT 1
- support edge connection inspection
- Ziti_load_context does not process the pointer as json
- Edge router not removed by ZET when deleted from network and timeouts HOT 1
- transfer up/down rates are always 0
- Bug on ziti_channel_close
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ziti-sdk-c.