Changes between Version 1 and Version 2 of Ticket #68333, comment 11


Ignore:
Timestamp:
Oct 15, 2023, 11:38:59 PM (13 months ago)
Author:
barracuda156
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #68333, comment 11

    v1 v2  
    5858:info:build make[1]: *** Waiting for unfinished jobs....
    5959}}}
    60 {{{
    61 :info:build [ 21%] Generating fido_cred_user_id_len.3
    62 :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/build/man && ln -sf fido_cred_new.3 fido_cred_user_id_len.3
    63 :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/libfido2-1.13.0/src/hid_osx.c: In function 'get_path':
    64 :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/libfido2-1.13.0/src/hid_osx.c:176:18: error: implicit declaration of function 'IOHIDDeviceGetService'; did you mean 'IOHIDDeviceGetReport'? [-Wimplicit-function-declaration]
    65 :info:build   176 |         if ((s = IOHIDDeviceGetService(dev)) == MACH_PORT_NULL) {
    66 :info:build       |                  ^~~~~~~~~~~~~~~~~~~~~
    67 :info:build       |                  IOHIDDeviceGetReport
    68 :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/libfido2-1.13.0/src/hid_osx.c:176:18: warning: conversion to 'io_service_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion]
    69 :info:build [ 21%] Generating fido_cred_user_id_ptr.3
    70 :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/build/man && ln -sf fido_cred_new.3 fido_cred_user_id_ptr.3
    71 :info:build [ 21%] Generating fido_cred_user_name.3
    72 :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/build/man && ln -sf fido_cred_new.3 fido_cred_user_name.3
    73 :info:build [ 21%] Generating fido_cred_x5c_len.3
    74 :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/build/man && ln -sf fido_cred_new.3 fido_cred_x5c_len.3
    75 :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/libfido2-1.13.0/src/hid_osx.c:181:13: error: implicit declaration of function 'IORegistryEntryGetRegistryEntryID'; did you mean 'IORegistryEntryGetParentEntry'? [-Wimplicit-function-declaration]
    76 :info:build   181 |         if (IORegistryEntryGetRegistryEntryID(s, &id) != KERN_SUCCESS) {
    77 :info:build       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    78 :info:build       |             IORegistryEntryGetParentEntry
    79 :info:build [ 21%] Generating fido_cred_x5c_ptr.3
    80 :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/build/man && ln -sf fido_cred_new.3 fido_cred_x5c_ptr.3
    81 :info:build [ 21%] Generating fido_cred_verify_self.3
    82 :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/build/man && ln -sf fido_cred_verify.3 fido_cred_verify_self.3
    83 :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/libfido2-1.13.0/src/hid_osx.c: In function 'fido_hid_manifest':
    84 :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/libfido2-1.13.0/src/hid_osx.c:260:13: error: 'kIOHIDManagerOptionNone' undeclared (first use in this function); did you mean 'IOHIDManagerOpen'?
    85 :info:build   260 |             kIOHIDManagerOptionNone)) == NULL) {
    86 :info:build       |             ^~~~~~~~~~~~~~~~~~~~~~~
    87 :info:build       |             IOHIDManagerOpen
    88 :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/libfido2-1.13.0/src/hid_osx.c:260:13: note: each undeclared identifier is reported only once for each function it appears in
    89 :info:build [ 21%] Generating fido_credman_del_dev_rk.3
    90 :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/build/man && ln -sf fido_credman_metadata_new.3 fido_credman_del_dev_rk.3
    91 :info:build [ 23%] Generating fido_credman_get_dev_metadata.3
    92 :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/build/man && ln -sf fido_credman_metadata_new.3 fido_credman_get_dev_metadata.3
    93 :info:build [ 23%] Generating fido_credman_get_dev_rk.3
    94 :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/build/man && ln -sf fido_credman_metadata_new.3 fido_credman_get_dev_rk.3
    95 :info:build [ 23%] Building C object src/CMakeFiles/fido2_shared.dir/__/openbsd-compat/clock_gettime.c.o
    96 :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/build/src && /opt/local/bin/gcc-mp-13 -DHAVE_ARC4RANDOM_BUF -DHAVE_ASPRINTF -DHAVE_CBOR_H -DHAVE_CLOCK_GETTIME -DHAVE_DEV_URANDOM -DHAVE_ERR_H -DHAVE_GETLINE -DHAVE_GETOPT -DHAVE_GETPAGESIZE -DHAVE_OPENSSLV_H -DHAVE_POSIX_IOCTL -DHAVE_READPASSPHRASE -DHAVE_SIGNAL_H -DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRSEP -DHAVE_SYSCONF -DHAVE_UNISTD_H -DOPENSSL_API_COMPAT=0x10100000L -DTLS=__thread -D_FIDO_INTERNAL -D_FIDO_MAJOR=1 -D_FIDO_MINOR=13 -D_FIDO_PATCH=0 -Dfido2_shared_EXPORTS -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/libfido2-1.13.0/src -D_POSIX_C_SOURCE=200809L -D_BSD_SOURCE -D_DARWIN_C_SOURCE -D__STDC_WANT_LIB_EXT1__=1 -std=c99 -pipe -I/opt/local/libexec/openssl3/include -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -arch ppc -mmacosx-version-min=10.6 -fPIC -Wall -Wextra -Wshadow -Wcast-qual -Wwrite-strings -Wmissing-prototypes -Wbad-function-cast -Wimplicit-fallthrough -pedantic -pedantic-errors -fstack-protector-all -Wno-unused-result -MD -MT src/CMakeFiles/fido2_shared.dir/__/openbsd-compat/clock_gettime.c.o -MF CMakeFiles/fido2_shared.dir/__/openbsd-compat/clock_gettime.c.o.d -o CMakeFiles/fido2_shared.dir/__/openbsd-compat/clock_gettime.c.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/libfido2-1.13.0/openbsd-compat/clock_gettime.c
    97 :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/libfido2-1.13.0/src/hid_osx.c: In function 'disable_sigpipe':
    98 :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/libfido2-1.13.0/src/hid_osx.c:370:23: error: 'F_SETNOSIGPIPE' undeclared (first use in this function)
    99 :info:build   370 |         if (fcntl(fd, F_SETNOSIGPIPE, &disabled) == -1) {
    100 :info:build       |                       ^~~~~~~~~~~~~~
    101 :info:build [ 23%] Generating fido_credman_get_dev_rp.3
    102 :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/build/man && ln -sf fido_credman_metadata_new.3 fido_credman_get_dev_rp.3
    103 :info:build [ 23%] Generating fido_credman_metadata_free.3
    104 :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/build/man && ln -sf fido_credman_metadata_new.3 fido_credman_metadata_free.3
    105 :info:build [ 23%] Generating fido_credman_rk.3
    106 :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/libfido2-1.13.0/src/hid_osx.c: In function 'get_ioreg_entry':
    107 :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/libfido2-1.13.0/src/hid_osx.c:392:13: error: implicit declaration of function 'IORegistryEntryIDMatching'; did you mean 'IORegistryEntryInPlane'? [-Wimplicit-function-declaration]
    108 :info:build   392 |             IORegistryEntryIDMatching(id)));
    109 :info:build       |             ^~~~~~~~~~~~~~~~~~~~~~~~~
    110 :info:build       |             IORegistryEntryInPlane
    111 :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/libfido2-1.13.0/src/hid_osx.c:392:13: error: passing argument 2 of 'IOServiceGetMatchingService' makes pointer from integer without a cast [-Wint-conversion]
    112 :info:build   392 |             IORegistryEntryIDMatching(id)));
    113 :info:build       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    114 :info:build       |             |
    115 :info:build       |             int
    116 :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/build/man && ln -sf fido_credman_metadata_new.3 fido_credman_rk.3
    117 :info:build In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_libfido2/libfido2/work/libfido2-1.13.0/src/hid_osx.c:17:
    118 :info:build /System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:335:25: note: expected 'CFDictionaryRef' {aka 'const struct __CFDictionary *'} but argument is of type 'int'
    119 :info:build   335 |         CFDictionaryRef matching );
    120 :info:build       |         ~~~~~~~~~~~~~~~~^~~~~~~~
    121 :info:build make[2]: *** [src/CMakeFiles/fido2_shared.dir/hid_osx.c.o] Error 1
    122 :info:build make[2]: *** Waiting for unfinished jobs....
    123 }}}
     60
     61So just throwing it away does not work, at least on old systems. (I have no environment to test every OS in between.)