1.4: test suite does not build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Looks like it some issue with test suite because it does not link correctly

+ cd fsverity-utils-1.4
+ CFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections'
+ CXXFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections'
+ FFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections -I/usr/lib64/gfortran/modules'
+ FCFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections -I/usr/lib64/gfortran/modules'
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ CC=/usr/bin/gcc
+ CXX=/usr/bin/g++
+ FC=/usr/bin/gfortran
+ AR=/usr/bin/gcc-ar
+ NM=/usr/bin/gcc-nm
+ RANLIB=/usr/bin/gcc-ranlib
+ export CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS CC CXX FC AR NM RANLIB
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 check
Rebuilding due to new settings
/usr/bin/gcc -o lib/enable.o -c -Iinclude -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE  -Wall -Wundef -Wdeclaration-after-statement
-Wimplicit-fallthrough -Wmissing-field-initializers
-Wmissing-prototypes -Wstrict-prototypes -Wunused-parameter -Wvla -O2
-g -grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections -fvisibility=hidden lib/enable.c
/usr/bin/gcc -o programs/test_hash_algs.o -c -Iinclude
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  -Wall -Wundef
-Wdeclaration-after-statement -Wimplicit-fallthrough
-Wmissing-field-initializers -Wmissing-prototypes -Wstrict-prototypes
-Wunused-parameter -Wvla -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections programs/test_hash_algs.c
/usr/bin/gcc -o programs/test_sign_digest.o -c -Iinclude
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  -Wall -Wundef
-Wdeclaration-after-statement -Wimplicit-fallthrough
-Wmissing-field-initializers -Wmissing-prototypes -Wstrict-prototypes
-Wunused-parameter -Wvla -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections programs/test_sign_digest.c
/usr/bin/gcc -o programs/cmd_measure.o -c -Iinclude
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  -Wall -Wundef
-Wdeclaration-after-statement -Wimplicit-fallthrough
-Wmissing-field-initializers -Wmissing-prototypes -Wstrict-prototypes
-Wunused-parameter -Wvla -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections programs/cmd_measure.c
/usr/bin/gcc -o programs/cmd_enable.o -c -Iinclude
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  -Wall -Wundef
-Wdeclaration-after-statement -Wimplicit-fallthrough
-Wmissing-field-initializers -Wmissing-prototypes -Wstrict-prototypes
-Wunused-parameter -Wvla -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections programs/cmd_enable.c
/usr/bin/gcc -o programs/cmd_sign.o -c -Iinclude
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  -Wall -Wundef
-Wdeclaration-after-statement -Wimplicit-fallthrough
-Wmissing-field-initializers -Wmissing-prototypes -Wstrict-prototypes
-Wunused-parameter -Wvla -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections programs/cmd_sign.c
/usr/bin/gcc -o programs/cmd_digest.o -c -Iinclude
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  -Wall -Wundef
-Wdeclaration-after-statement -Wimplicit-fallthrough
-Wmissing-field-initializers -Wmissing-prototypes -Wstrict-prototypes
-Wunused-parameter -Wvla -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections programs/cmd_digest.c
/usr/bin/gcc -o lib/utils.o -c -Iinclude -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE  -Wall -Wundef -Wdeclaration-after-statement
-Wimplicit-fallthrough -Wmissing-field-initializers
-Wmissing-prototypes -Wstrict-prototypes -Wunused-parameter -Wvla -O2
-g -grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections -fvisibility=hidden lib/utils.c
/usr/bin/gcc -o programs/cmd_dump_metadata.o -c -Iinclude
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  -Wall -Wundef
-Wdeclaration-after-statement -Wimplicit-fallthrough
-Wmissing-field-initializers -Wmissing-prototypes -Wstrict-prototypes
-Wunused-parameter -Wvla -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections programs/cmd_dump_metadata.c
/usr/bin/gcc -o programs/fsverity.o -c -Iinclude
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  -Wall -Wundef
-Wdeclaration-after-statement -Wimplicit-fallthrough
-Wmissing-field-initializers -Wmissing-prototypes -Wstrict-prototypes
-Wunused-parameter -Wvla -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections programs/fsverity.c
/usr/bin/gcc -o lib/hash_algs.o -c -Iinclude -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE  -Wall -Wundef -Wdeclaration-after-statement
-Wimplicit-fallthrough -Wmissing-field-initializers
-Wmissing-prototypes -Wstrict-prototypes -Wunused-parameter -Wvla -O2
-g -grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections -fvisibility=hidden lib/hash_algs.c
/usr/bin/gcc -o lib/compute_digest.o -c -Iinclude
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  -Wall -Wundef
-Wdeclaration-after-statement -Wimplicit-fallthrough
-Wmissing-field-initializers -Wmissing-prototypes -Wstrict-prototypes
-Wunused-parameter -Wvla -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections -fvisibility=hidden lib/compute_digest.c
/usr/bin/gcc -o programs/utils.o -c -Iinclude -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE  -Wall -Wundef -Wdeclaration-after-statement
-Wimplicit-fallthrough -Wmissing-field-initializers
-Wmissing-prototypes -Wstrict-prototypes -Wunused-parameter -Wvla -O2
-g -grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections programs/utils.c
/usr/bin/gcc -o programs/test_compute_digest.o -c -Iinclude
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  -Wall -Wundef
-Wdeclaration-after-statement -Wimplicit-fallthrough
-Wmissing-field-initializers -Wmissing-prototypes -Wstrict-prototypes
-Wunused-parameter -Wvla -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections programs/test_compute_digest.c
/usr/bin/gcc -o lib/sign_digest.o -c -Iinclude -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE  -Wall -Wundef -Wdeclaration-after-statement
-Wimplicit-fallthrough -Wmissing-field-initializers
-Wmissing-prototypes -Wstrict-prototypes -Wunused-parameter -Wvla -O2
-g -grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections -fvisibility=hidden lib/sign_digest.c
lib/sign_digest.c: In function 'load_pkcs11_private_key':
lib/sign_digest.c:351:9: warning: 'ENGINE_by_id' is deprecated: Since
OpenSSL 3.0 [-Wdeprecated-declarations]
  351 |         engine = ENGINE_by_id("dynamic");
      |         ^~~~~~
In file included from lib/sign_digest.c:23:
/usr/include/openssl/engine.h:336:31: note: declared here
  336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
      |                               ^~~~~~~~~~~~
lib/sign_digest.c:356:9: warning: 'ENGINE_ctrl_cmd_string' is
deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  356 |         if (!ENGINE_ctrl_cmd_string(engine, "SO_PATH",
      |         ^~
In file included from lib/sign_digest.c:23:
/usr/include/openssl/engine.h:479:5: note: declared here
  479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name,
const char *arg,
      |     ^~~~~~~~~~~~~~~~~~~~~~
lib/sign_digest.c:358:13: warning: 'ENGINE_ctrl_cmd_string' is
deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  358 |             !ENGINE_ctrl_cmd_string(engine, "ID", "pkcs11", 0) ||
      |             ^
In file included from lib/sign_digest.c:23:
/usr/include/openssl/engine.h:479:5: note: declared here
  479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name,
const char *arg,
      |     ^~~~~~~~~~~~~~~~~~~~~~
lib/sign_digest.c:359:13: warning: 'ENGINE_ctrl_cmd_string' is
deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  359 |             !ENGINE_ctrl_cmd_string(engine, "LIST_ADD", "1", 0) ||
      |             ^
In file included from lib/sign_digest.c:23:
/usr/include/openssl/engine.h:479:5: note: declared here
  479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name,
const char *arg,
      |     ^~~~~~~~~~~~~~~~~~~~~~
lib/sign_digest.c:360:13: warning: 'ENGINE_ctrl_cmd_string' is
deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  360 |             !ENGINE_ctrl_cmd_string(engine, "LOAD", NULL, 0) ||
      |             ^
In file included from lib/sign_digest.c:23:
/usr/include/openssl/engine.h:479:5: note: declared here
  479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name,
const char *arg,
      |     ^~~~~~~~~~~~~~~~~~~~~~
lib/sign_digest.c:361:13: warning: 'ENGINE_ctrl_cmd_string' is
deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  361 |             !ENGINE_ctrl_cmd_string(engine, "MODULE_PATH",
      |             ^
In file included from lib/sign_digest.c:23:
/usr/include/openssl/engine.h:479:5: note: declared here
  479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name,
const char *arg,
      |     ^~~~~~~~~~~~~~~~~~~~~~
lib/sign_digest.c:363:13: warning: 'ENGINE_init' is deprecated: Since
OpenSSL 3.0 [-Wdeprecated-declarations]
  363 |             !ENGINE_init(engine)) {
      |             ^
In file included from lib/sign_digest.c:23:
/usr/include/openssl/engine.h:620:27: note: declared here
  620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e);
      |                           ^~~~~~~~~~~
lib/sign_digest.c:365:17: warning: 'ENGINE_free' is deprecated: Since
OpenSSL 3.0 [-Wdeprecated-declarations]
  365 |                 ENGINE_free(engine);
      |                 ^~~~~~~~~~~
In file included from lib/sign_digest.c:23:
/usr/include/openssl/engine.h:493:27: note: declared here
  493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
      |                           ^~~~~~~~~~~
lib/sign_digest.c:368:9: warning: 'ENGINE_load_private_key' is
deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  368 |         *pkey_ret = ENGINE_load_private_key(engine,
sig_params->pkcs11_keyid,
      |         ^
In file included from lib/sign_digest.c:23:
/usr/include/openssl/engine.h:638:11: note: declared here
  638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id,
      |           ^~~~~~~~~~~~~~~~~~~~~~~
lib/sign_digest.c:370:9: warning: 'ENGINE_finish' is deprecated: Since
OpenSSL 3.0 [-Wdeprecated-declarations]
  370 |         ENGINE_finish(engine);
      |         ^~~~~~~~~~~~~
In file included from lib/sign_digest.c:23:
/usr/include/openssl/engine.h:628:27: note: declared here
  628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e);
      |                           ^~~~~~~~~~~~~
lib/sign_digest.c:371:9: warning: 'ENGINE_free' is deprecated: Since
OpenSSL 3.0 [-Wdeprecated-declarations]
  371 |         ENGINE_free(engine);
      |         ^~~~~~~~~~~
In file included from lib/sign_digest.c:23:
/usr/include/openssl/engine.h:493:27: note: declared here
  493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
      |                           ^~~~~~~~~~~
/usr/bin/gcc-ar cr libfsverity.a lib/compute_digest.o lib/enable.o
lib/hash_algs.o lib/sign_digest.o lib/utils.o
/usr/bin/gcc -o test_hash_algs programs/test_hash_algs.o
programs/utils.o -Wall -Wundef -Wdeclaration-after-statement
-Wimplicit-fallthrough -Wmissing-field-initializers
-Wmissing-prototypes -Wstrict-prototypes -Wunused-parameter -Wvla -O2
-g -grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lcrypto
/usr/bin/ld: programs/test_hash_algs.o: in function `main':
/home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_hash_algs.c:21:
undefined reference to `libfsverity_get_digest_size'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_hash_algs.c:22:
undefined reference to `libfsverity_get_hash_name'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_hash_algs.c:23:
undefined reference to `libfsverity_find_hash_alg_by_name'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_hash_algs.c:24:
undefined reference to `libfsverity_find_hash_alg_by_name'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_hash_algs.c:26:
undefined reference to `libfsverity_get_digest_size'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_hash_algs.c:27:
undefined reference to `libfsverity_get_hash_name'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_hash_algs.c:29:
undefined reference to `libfsverity_get_digest_size'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_hash_algs.c:31:
undefined reference to `libfsverity_get_hash_name'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_hash_algs.c:33:
undefined reference to `libfsverity_find_hash_alg_by_name'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_hash_algs.c:36:
undefined reference to `libfsverity_get_digest_size'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_hash_algs.c:38:
undefined reference to `libfsverity_get_hash_name'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_hash_algs.c:40:
undefined reference to `libfsverity_find_hash_alg_by_name'
/usr/bin/ld: programs/utils.o: in function `install_libfsverity_error_handler':
/home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/utils.c:102:
undefined reference to `libfsverity_set_error_callback'
collect2: error: ld returned 1 exit status
make: *** [Makefile:194: test_hash_algs] Error 1
make: *** Waiting for unfinished jobs....
/usr/bin/gcc -o test_sign_digest programs/test_sign_digest.o
programs/utils.o -Wall -Wundef -Wdeclaration-after-statement
-Wimplicit-fallthrough -Wmissing-field-initializers
-Wmissing-prototypes -Wstrict-prototypes -Wunused-parameter -Wvla -O2
-g -grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lcrypto
/usr/bin/ld: programs/test_sign_digest.o: in function `main':
/home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_sign_digest.c:41:
undefined reference to `libfsverity_sign_digest'
/usr/bin/ld: programs/utils.o: in function `install_libfsverity_error_handler':
/home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/utils.c:102:
undefined reference to `libfsverity_set_error_callback'
collect2: error: ld returned 1 exit status
make: *** [Makefile:194: test_sign_digest] Error 1
/usr/bin/gcc -o test_compute_digest programs/test_compute_digest.o
programs/utils.o -Wall -Wundef -Wdeclaration-after-statement
-Wimplicit-fallthrough -Wmissing-field-initializers
-Wmissing-prototypes -Wstrict-prototypes -Wunused-parameter -Wvla -O2
-g -grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lcrypto
/usr/bin/ld: programs/test_compute_digest.o: in function `main':
/home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_compute_digest.c:419:
undefined reference to `libfsverity_compute_digest'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_compute_digest.c:423:
undefined reference to `libfsverity_get_digest_size'
/usr/bin/ld: programs/test_compute_digest.o: in function `fix_digest_and_print':
/home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_compute_digest.c:165:
undefined reference to `libfsverity_get_hash_name'
/usr/bin/ld: programs/test_compute_digest.o: in function `test_invalid_params':
/home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_compute_digest.c:202:
undefined reference to `libfsverity_set_error_callback'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_compute_digest.c:204:
undefined reference to `libfsverity_compute_digest'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_compute_digest.c:210:
undefined reference to `libfsverity_compute_digest'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_compute_digest.c:211:
undefined reference to `libfsverity_compute_digest'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_compute_digest.c:212:
undefined reference to `libfsverity_compute_digest'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_compute_digest.c:217:
undefined reference to `libfsverity_compute_digest'
/usr/bin/ld: programs/test_compute_digest.o:/home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/test_compute_digest.c:219:
more undefined references to `libfsverity_compute_digest' follow
/usr/bin/ld: programs/utils.o: in function `install_libfsverity_error_handler':
/home/tkloczko/rpmbuild/BUILD/fsverity-utils-1.4/programs/utils.c:102:
undefined reference to `libfsverity_set_error_callback'
collect2: error: ld returned 1 exit status
make: *** [Makefile:194: test_compute_digest] Error 1
/usr/bin/gcc -o fsverity programs/utils.o programs/cmd_digest.o
programs/cmd_sign.o programs/fsverity.o programs/cmd_dump_metadata.o
programs/cmd_enable.o programs/cmd_measure.o libfsverity.a -Wall
-Wundef -Wdeclaration-after-statement -Wimplicit-fallthrough
-Wmissing-field-initializers -Wmissing-prototypes -Wstrict-prototypes
-Wunused-parameter -Wvla -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections
-ffunction-sections -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lcrypto

BTW I have two questions:
1) Is it possible to move the git repo to github or gitlab to provide
a better communication platform? (tickets and github provides email
notifications when a new release is tagged) or at least organise a
live mirror with enabled issue tracker?
2) Would you accept a patch providing build fsverity-utils build
framework using GNU autotools or meson?

kloczek
-- 
Tomasz Kłoczko | LinkedIn: http://lnkd.in/FXPWxH




[Index of Archives]     [linux Cryptography]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite News]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]

  Powered by Linux