Skip to content

Instantly share code, notes, and snippets.

/a.rb

Created November 26, 2016 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/e588259e8da33441ddfe7d29b50cd2cf to your computer and use it in GitHub Desktop.
Save anonymous/e588259e8da33441ddfe7d29b50cd2cf to your computer and use it in GitHub Desktop.
==> Making package: trezord 1.2.0-1 (Sat Nov 26 15:06:11 GMT 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found trezord-1.2.0.tar.gz
-> Found trezord.sysusers
-> Updating trezor-crypto git repo...
Fetching origin
==> Validating source files with sha256sums...
trezord-1.2.0.tar.gz ... Passed
trezord.sysusers ... Passed
trezor-crypto ... Skipped
==> Extracting sources...
-> Extracting trezord-1.2.0.tar.gz with bsdtar
-> Creating working copy of trezor-crypto git repo...
Cloning into 'trezor-crypto'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
Cloning into 'trezor-crypto'...
done.
==> Starting build()...
-- The C compiler identification is GNU 6.2.1
-- The CXX compiler identification is GNU 6.2.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
-- Found CURL: /usr/lib64/libcurl.so (found version "7.51.0")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'libmicrohttpd'
-- Found libmicrohttpd, version 0.9.52
-- Found libmicrohttpd: /usr/lib64/libmicrohttpd.so
CMake Warning at /usr/share/cmake-3.6/Modules/FindBoost.cmake:743 (message):
Imported targets not available for Boost version 106200
Call Stack (most recent call first):
/usr/share/cmake-3.6/Modules/FindBoost.cmake:842 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.6/Modules/FindBoost.cmake:1395 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:63 (find_package)
CMake Warning at /usr/share/cmake-3.6/Modules/FindBoost.cmake:743 (message):
Imported targets not available for Boost version 106200
Call Stack (most recent call first):
/usr/share/cmake-3.6/Modules/FindBoost.cmake:842 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.6/Modules/FindBoost.cmake:1395 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:63 (find_package)
CMake Warning at /usr/share/cmake-3.6/Modules/FindBoost.cmake:743 (message):
Imported targets not available for Boost version 106200
Call Stack (most recent call first):
/usr/share/cmake-3.6/Modules/FindBoost.cmake:842 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.6/Modules/FindBoost.cmake:1395 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:63 (find_package)
CMake Warning at /usr/share/cmake-3.6/Modules/FindBoost.cmake:743 (message):
Imported targets not available for Boost version 106200
Call Stack (most recent call first):
/usr/share/cmake-3.6/Modules/FindBoost.cmake:842 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.6/Modules/FindBoost.cmake:1395 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:63 (find_package)
CMake Warning at /usr/share/cmake-3.6/Modules/FindBoost.cmake:743 (message):
Imported targets not available for Boost version 106200
Call Stack (most recent call first):
/usr/share/cmake-3.6/Modules/FindBoost.cmake:842 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.6/Modules/FindBoost.cmake:1395 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:63 (find_package)
CMake Warning at /usr/share/cmake-3.6/Modules/FindBoost.cmake:743 (message):
Imported targets not available for Boost version 106200
Call Stack (most recent call first):
/usr/share/cmake-3.6/Modules/FindBoost.cmake:842 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.6/Modules/FindBoost.cmake:1395 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:63 (find_package)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.62.0
-- Found the following Boost libraries:
-- regex
-- thread
-- system
-- unit_test_framework
-- program_options
-- chrono
-- Found Protobuf: /usr/lib64/libprotobuf.so;-lpthread (found suitable version "3.0.0", minimum required is "2.5.0")
-- Found JSONCPP: /usr/lib64/libjsoncpp.so
-- Checking for module 'libusb-1.0'
-- Found libusb-1.0, version 1.0.21
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/makepkg/trezord/src/trezord-1.2.0/build
Scanning dependencies of target hidapi
Scanning dependencies of target TrezorCrypto
[ 3%] Building C object vendor/hidapi/libusb/CMakeFiles/hidapi.dir/hid.c.o
[ 11%] Building C object vendor/trezor-crypto/CMakeFiles/TrezorCrypto.dir/aes_modes.c.o
[ 11%] Building C object vendor/trezor-crypto/CMakeFiles/TrezorCrypto.dir/aeskey.c.o
[ 15%] Building C object vendor/trezor-crypto/CMakeFiles/TrezorCrypto.dir/address.c.o
[ 19%] Building C object vendor/trezor-crypto/CMakeFiles/TrezorCrypto.dir/aescrypt.c.o
[ 23%] Building C object vendor/trezor-crypto/CMakeFiles/TrezorCrypto.dir/aestab.c.o
[ 26%] Building C object vendor/trezor-crypto/CMakeFiles/TrezorCrypto.dir/base58.c.o
[ 30%] Building C object vendor/trezor-crypto/CMakeFiles/TrezorCrypto.dir/bignum.c.o
[ 34%] Linking C static library libhidapi.a
[ 38%] Building C object vendor/trezor-crypto/CMakeFiles/TrezorCrypto.dir/bip32.c.o
[ 42%] Building C object vendor/trezor-crypto/CMakeFiles/TrezorCrypto.dir/bip39.c.o
[ 42%] Built target hidapi
[ 46%] Building C object vendor/trezor-crypto/CMakeFiles/TrezorCrypto.dir/ecdsa.c.o
[ 50%] Building C object vendor/trezor-crypto/CMakeFiles/TrezorCrypto.dir/hmac.c.o
[ 53%] Building C object vendor/trezor-crypto/CMakeFiles/TrezorCrypto.dir/nist256p1.c.o
[ 57%] Building C object vendor/trezor-crypto/CMakeFiles/TrezorCrypto.dir/pbkdf2.c.o
[ 61%] Building C object vendor/trezor-crypto/CMakeFiles/TrezorCrypto.dir/rand.c.o
[ 65%] Building C object vendor/trezor-crypto/CMakeFiles/TrezorCrypto.dir/ripemd160.c.o
[ 69%] Building C object vendor/trezor-crypto/CMakeFiles/TrezorCrypto.dir/secp256k1.c.o
[ 73%] Building C object vendor/trezor-crypto/CMakeFiles/TrezorCrypto.dir/sha2.c.o
[ 76%] Building C object vendor/trezor-crypto/CMakeFiles/TrezorCrypto.dir/ed25519-donna/ed25519.c.o
[ 80%] Building C object vendor/trezor-crypto/CMakeFiles/TrezorCrypto.dir/sha3.c.o
[ 84%] Linking C static library libTrezorCrypto.a
[ 84%] Built target TrezorCrypto
Scanning dependencies of target trezord
[ 92%] Building C object CMakeFiles/trezord.dir/src/glibc_compat.c.o
[ 92%] Building CXX object CMakeFiles/trezord.dir/src/main.cpp.o
[ 96%] Building CXX object CMakeFiles/trezord.dir/src/config/config.pb.cc.o
In file included from /tmp/makepkg/trezord/src/trezord-1.2.0/src/config/config.pb.cc:5:0:
/tmp/makepkg/trezord/src/trezord-1.2.0/src/config/config.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
^~~~~
/tmp/makepkg/trezord/src/trezord-1.2.0/src/config/config.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
^~~~~
/tmp/makepkg/trezord/src/trezord-1.2.0/src/config/config.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
^~~~~
/tmp/makepkg/trezord/src/trezord-1.2.0/src/config/config.pb.cc: In function ‘void protobuf_AssignDesc_config_2eproto()’:
/tmp/makepkg/trezord/src/trezord-1.2.0/src/config/config.pb.cc:54:31: error: no matching function for call to ‘google::protobuf::internal::GeneratedMessageReflection::GeneratedMessageReflection(const google::protobuf::Descriptor*&, DeviceDescriptor*&, const int [4], int, int, int, const google::protobuf::DescriptorPool*, google::protobuf::MessageFactory*, long unsigned int)’
sizeof(DeviceDescriptor));
^
In file included from /usr/include/google/protobuf/stubs/common.h:41:0,
from /tmp/makepkg/trezord/src/trezord-1.2.0/src/config/config.pb.h:9,
from /tmp/makepkg/trezord/src/trezord-1.2.0/src/config/config.pb.cc:5:
/usr/include/google/protobuf/generated_message_reflection.h:574:3: note: candidate: google::protobuf::internal::GeneratedMessageReflection::GeneratedMessageReflection(const google::protobuf::internal::GeneratedMessageReflection&)
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(GeneratedMessageReflection);
^
/usr/include/google/protobuf/generated_message_reflection.h:574:3: note: candidate expects 1 argument, 9 provided
In file included from /tmp/makepkg/trezord/src/trezord-1.2.0/src/config/config.pb.cc:14:0:
/usr/include/google/protobuf/generated_message_reflection.h:169:3: note: candidate: google::protobuf::internal::GeneratedMessageReflection::GeneratedMessageReflection(const google::protobuf::Descriptor*, const google::protobuf::Message*, const int*, int, int, int, const void*, int, const google::protobuf::DescriptorPool*, google::protobuf::MessageFactory*, int, int, int)
GeneratedMessageReflection(const Descriptor* descriptor,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/google/protobuf/generated_message_reflection.h:169:3: note: candidate expects 13 arguments, 9 provided
/usr/include/google/protobuf/generated_message_reflection.h:133:3: note: candidate: google::protobuf::internal::GeneratedMessageReflection::GeneratedMessageReflection(const google::protobuf::Descriptor*, const google::protobuf::Message*, const int*, int, int, int, const google::protobuf::DescriptorPool*, google::protobuf::MessageFactory*, int, int, int)
GeneratedMessageReflection(const Descriptor* descriptor,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/google/protobuf/generated_message_reflection.h:133:3: note: candidate expects 11 arguments, 9 provided
/tmp/makepkg/trezord/src/trezord-1.2.0/src/config/config.pb.cc:73:28: error: no matching function for call to ‘google::protobuf::internal::GeneratedMessageReflection::GeneratedMessageReflection(const google::protobuf::Descriptor*&, Configuration*&, const int [5], int, int, int, const google::protobuf::DescriptorPool*, google::protobuf::MessageFactory*, long unsigned int)’
sizeof(Configuration));
^
In file included from /usr/include/google/protobuf/stubs/common.h:41:0,
from /tmp/makepkg/trezord/src/trezord-1.2.0/src/config/config.pb.h:9,
from /tmp/makepkg/trezord/src/trezord-1.2.0/src/config/config.pb.cc:5:
/usr/include/google/protobuf/generated_message_reflection.h:574:3: note: candidate: google::protobuf::internal::GeneratedMessageReflection::GeneratedMessageReflection(const google::protobuf::internal::GeneratedMessageReflection&)
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(GeneratedMessageReflection);
^
/usr/include/google/protobuf/generated_message_reflection.h:574:3: note: candidate expects 1 argument, 9 provided
In file included from /tmp/makepkg/trezord/src/trezord-1.2.0/src/config/config.pb.cc:14:0:
/usr/include/google/protobuf/generated_message_reflection.h:169:3: note: candidate: google::protobuf::internal::GeneratedMessageReflection::GeneratedMessageReflection(const google::protobuf::Descriptor*, const google::protobuf::Message*, const int*, int, int, int, const void*, int, const google::protobuf::DescriptorPool*, google::protobuf::MessageFactory*, int, int, int)
GeneratedMessageReflection(const Descriptor* descriptor,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/google/protobuf/generated_message_reflection.h:169:3: note: candidate expects 13 arguments, 9 provided
/usr/include/google/protobuf/generated_message_reflection.h:133:3: note: candidate: google::protobuf::internal::GeneratedMessageReflection::GeneratedMessageReflection(const google::protobuf::Descriptor*, const google::protobuf::Message*, const int*, int, int, int, const google::protobuf::DescriptorPool*, google::protobuf::MessageFactory*, int, int, int)
GeneratedMessageReflection(const Descriptor* descriptor,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/google/protobuf/generated_message_reflection.h:133:3: note: candidate expects 11 arguments, 9 provided
make[2]: *** [CMakeFiles/trezord.dir/build.make:111: CMakeFiles/trezord.dir/src/config/config.pb.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /tmp/makepkg/trezord/src/trezord-1.2.0/src/core.hpp:22:0,
from /tmp/makepkg/trezord/src/trezord-1.2.0/src/main.cpp:38:
/tmp/makepkg/trezord/src/trezord-1.2.0/src/config/config.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
#error This file was generated by an older version of protoc which is
^~~~~
/tmp/makepkg/trezord/src/trezord-1.2.0/src/config/config.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
#error incompatible with your Protocol Buffer headers. Please
^~~~~
/tmp/makepkg/trezord/src/trezord-1.2.0/src/config/config.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
#error regenerate this file with a newer version of protoc.
^~~~~
make[2]: *** [CMakeFiles/trezord.dir/build.make:87: CMakeFiles/trezord.dir/src/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:69: CMakeFiles/trezord.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment