[Bug 261636] security/wpa_supplicant: EAPOL_TEST option broken
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 31 Jan 2022 20:19:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261636 Bug ID: 261636 Summary: security/wpa_supplicant: EAPOL_TEST option broken Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: cy@FreeBSD.org Reporter: drs-freebsd@sieborger.nom.za Flags: maintainer-feedback?(cy@FreeBSD.org) Assignee: cy@FreeBSD.org Created attachment 231475 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=231475&action=edit poudriere build log Enabling the EAPOL_TEST option with the 2.10 port breaks the build, as shown in the attached poudriere build log. Simply removing files/patch-src_utils_os.h does allow the build to complete, though I haven't tested the resulting binaries. cc -c -o /wrkdirs/usr/ports/security/wpa_supplicant/work/wpa_supplicant-2.10/build/wpa_supplicant/config_file.o -O2 -pipe -I/usr/local/include -I/usr/include -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/security/wpa_supplicant/work/wpa_supplicant-2.10/src -I/wrkdirs/usr/ports/security/wpa_supplicant/work/wpa_supplicant-2.10/src/utils -Werror -DEAPOL_TEST -DCONFIG_BACKEND_FILE -DCONFIG_IEEE80211R -DCONFIG_MATCH_IFACE -DCONFIG_HS20 -DCONFIG_INTERWORKING -DCONFIG_DRIVER_WIRED -DCONFIG_DRIVER_BSD -DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_LEAP -DEAP_PSK -DEAP_FAST -DEAP_PAX -DEAP_SAKE -DEAP_GPSK -DEAP_GPSK_SHA256 -DEAP_PWD -DEAP_EKE -DCONFIG_WPS -DEAP_WSC -DCONFIG_WPS_NFC -DCONFIG_WPS_OOB -DCONFIG_WPS_ER -DCONFIG_WPS_UPNP -DEAP_IKEV2 -DEAP_TNC -DIEEE8021X_EAPOL -DPKCS12_FUNCS -DCONFIG_SMARTCARD -DEAP_TLS_OPENSSL -DTLS_DEFAULT_CIPHERS=\""DEFAULT:!EXP:!LOW"\" -DCONFIG_DES -DCONFIG_SHA256 -DALL_DH_GROUPS -DCONFIG_ECC -DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX -DCONFIG_CTRL_IFACE_DBUS_NEW -DCONFIG_CTRL_IFACE_DBUS_INTRO -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -DCONFIG_DEBUG_SYSLOG -DCONFIG_GAS -DCONFIG_OFFCHANNEL config_file.c config_file.c:1633:2: error: implicit declaration of function 'os_fdatasync' is invalid in C99 [-Werror,-Wimplicit-function-declaration] os_fdatasync(f); ^ config_file.c:1633:2: note: did you mean 'fdatasync'? /usr/include/unistd.h:389:6: note: 'fdatasync' declared here int fdatasync(int); ^ 1 error generated. gmake[1]: *** [../src/build.rules:89: /wrkdirs/usr/ports/security/wpa_supplicant/work/wpa_supplicant-2.10/build/wpa_supplicant/config_file.o] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/wpa_supplicant/work/wpa_supplicant-2.10/wpa_supplicant' *** Error code 1 Stop. make: stopped in /usr/ports/security/wpa_supplicant -- You are receiving this mail because: You are the assignee for the bug.