-
Notifications
You must be signed in to change notification settings - Fork 10
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
Build error with Linux #24
Comments
Can you tell me more about your system? What Linux distribution (including version) do you use? What command(s) did you use to acquire 4diac-fbe? |
Thank you Jörg, git clone https://github.com/eclipse-4diac/4diac-fbe -b release --recurse-submodules I try the -b develop but same error HTH |
Hmm okay, seems like cmake picks up something from your fedora environment which I can't check since I don't have access to any RPM-based distribution. I have an idea for a temporary workaround, can you try adding the following line to
|
Hello Jörg, |
Ok, great. I leave this open so I can implement a proper fix in a future release. Until then the workaround should have no downsides. |
Wow, wonderful! |
My dream of coming to the Eclipse 4diac Winter School has vanished so I have tried 4diac-fbe and I am defeated.
On Linux I get this error:
...
Installing libressl...
-- Install configuration: "Debug"
-- Installing: /home/ferrim/4diac-fbe/build/debug/lib/pkgconfig
-- Installing: /home/ferrim/4diac-fbe/build/debug/lib/pkgconfig/libcrypto.pc
-- Installing: /home/ferrim/4diac-fbe/build/debug/lib/pkgconfig/libssl.pc
-- Installing: /home/ferrim/4diac-fbe/build/debug/lib/pkgconfig/libtls.pc
-- Installing: /home/ferrim/4diac-fbe/build/debug/lib/pkgconfig/openssl.pc
-- Installing: /home/ferrim/4diac-fbe/build/debug/etc/ssl/cert.pem
-- Installing: /home/ferrim/4diac-fbe/build/debug/etc/ssl/openssl.cnf
-- Installing: /home/ferrim/4diac-fbe/build/debug/etc/ssl/x509v3.cnf
-- Installing: /home/ferrim/4diac-fbe/build/debug/etc/ssl/certs
-- Installing: /home/ferrim/4diac-fbe/build/debug/lib/libcrypto.a
-- Installing: /home/ferrim/4diac-fbe/build/debug/lib/libssl.a
-- Installing: /home/ferrim/4diac-fbe/build/debug/bin/ocspcheck
-- Installing: /home/ferrim/4diac-fbe/build/debug/share/man/man8/ocspcheck.8
-- Installing: /home/ferrim/4diac-fbe/build/debug/bin/openssl
-- Installing: /home/ferrim/4diac-fbe/build/debug/share/man/man1/openssl.1
-- Installing: /home/ferrim/4diac-fbe/build/debug/lib/libtls.a
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/.
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./tls.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/aes.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/asn1.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/asn1t.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/bio.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/blowfish.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/bn.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/buffer.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/camellia.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/cast.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/chacha.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/cmac.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/cms.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/comp.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/conf.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/conf_api.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/crypto.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/ct.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/curve25519.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/des.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/dh.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/dsa.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/dso.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/dtls1.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/ec.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/ecdh.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/ecdsa.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/engine.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/err.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/evp.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/gost.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/hkdf.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/hmac.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/idea.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/kdf.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/lhash.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/md4.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/md5.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/modes.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/obj_mac.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/objects.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/ocsp.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/opensslconf.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/opensslfeatures.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/opensslv.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/ossl_typ.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/pem.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/pem2.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/pkcs12.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/pkcs7.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/poly1305.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/rand.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/rc2.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/rc4.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/ripemd.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/rsa.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/sha.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/safestack.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/sm3.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/sm4.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/srtp.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/ssl.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/ssl2.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/ssl23.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/ssl3.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/stack.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/tls1.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/ts.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/txt_db.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/ui.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/ui_compat.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/whrlpool.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/x509.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/x509_verify.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/x509_vfy.h
-- Installing: /home/ferrim/4diac-fbe/build/debug/include/./openssl/x509v3.h
Building paho.mqtt.c...
Extracting v1.3.6.tar.gz...
Entering '/home/ferrim/4diac-fbe/build/debug/cget/build/paho.mqtt.c/build', source dir '/home/ferrim/4diac-fbe/build/debug/cget/build/paho.mqtt.c/src'
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/ferrim/4diac-fbe/toolchains/x86_64-linux-musl/bin/x86_64-linux-musl-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/ferrim/4diac-fbe/toolchains/x86_64-linux-musl/bin/x86_64-linux-musl-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:15 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- CMake version: 3.25.2
-- CMake system name: Linux
-- Timestamp is 1970-01-01T00:00:00Z
CMake Error at /home/ferrim/4diac-fbe/toolchains/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:411 (message):
Unknown keywords given to FIND_PACKAGE_HANDLE_STANDARD_ARGS(): " rpm
-qp[ildc] PACKAGE.rpm
127"
Call Stack (most recent call first):
/home/ferrim/4diac-fbe/toolchains/share/cmake-3.25/Modules/FindPkgConfig.cmake:99 (find_package_handle_standard_args)
/home/ferrim/4diac-fbe/toolchains/share/cmake-3.25/Modules/FindOpenSSL.cmake:149 (find_package)
src/CMakeLists.txt:190 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/ferrim/4diac-fbe/build/debug/cget/build/paho.mqtt.c/build/CMakeFiles/CMakeOutput.log".
/home/ferrim/4diac-fbe/toolchains/etc/cget/cget.sh: Exiting with exit status 1 due to error
./compile.sh: Dependencies of configuration 'debug' failed
./compile.sh: Exiting due to error
Any suggestions?
Thanks
The text was updated successfully, but these errors were encountered: