Hi All,
please confirm on following
Boost-bus - compilation fails . Is it used? Should be archived @andrewj?
Google-ipmi-i2c - code compiles well, complain in formatting script @
pstrinklesubsys_initcall(i2c_via_ipmi_init);^[[m^M
Traceback (most recent call last):^M
File "/home/lkammath/final_data/unit-test.py", line 826, in <module>^M
check_call_cmd("./format-code.sh", CODE_SCAN_DIR)^M
File "/home/lkammath/final_data/unit-test.py", line 229, in check_call_cmd^M
check_call(cmd)^M
File "/usr/lib/python2.7/subprocess.py", line 190, in check_call^M
raise CalledProcessError(retcode, cmd)^M
subprocess.CalledProcessError: Command '('./format-code.sh', '/home/lkammath/final_data/google-ipmi-i2c')' returned non-zero exit status 1^M
Traceback (most recent call last):^M
File "/home/lkammath/final_data/dbus-unit-test.py", line 91, in <module>^M
Inarp.git - Should be archived @andrewj?
Compilation issue
inarp.c: In function ‘arp_recv’:
inarp.c:433:4: error: taking address of packed member of ‘struct arp_packet’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
433 | &inarp_req.src_ip);
| ^~~~~~~~~~~~~~~~~
In function ‘do_ifreq’,
inlined from ‘get_local_ipaddr’ at inarp.c:182:7,
inlined from ‘arp_recv’ at inarp.c:419:7,
inlined from ‘main’ at inarp.c:480:4:
inarp.c:170:2: error: ‘strncpy’ output may be truncated copying 16 bytes from a string of length 16 [-Werror=stringop-truncation]
170 | strncpy(ifreq->ifr_name, ifname, sizeof(ifreq->ifr_name));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [inarp.o] Error 1
make[1]: Leaving directory `/esw/san5/lkammath/boost/inarp'
make: *** [all] Error 2
In CI environment
ool.la -lncurses -ltinfo -lcrypto^M
copying selected object files to avoid basename conflicts...^M
ar: `u' modifier ignored since `D' is the default (see `U')^M
make[4]: Leaving directory '/home/lkammath/final_data/ipmitool/src/plugins/lan'^M
Making all in lanplus^M
make[4]: Entering directory '/home/lkammath/final_data/ipmitool/src/plugins/lanplus'^M
/bin/bash ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -g -O2 -Wall -Wextra -std=c99 -pedantic -Wformat -Wformat-nonliteral -MT lanplus_crypt_impl.lo -MD -MP -MF .deps/lanplus_crypt_impl.Tpo -c -o lanplus_crypt_impl.lo lanplus_crypt_impl.c^M
lanplus_crypt_impl.c: In function 'lanplus_encrypt_aes_cbc_128':^M
lanplus_crypt_impl.c:158:17: error: storage size of 'ctx' isn't known^M
158 | EVP_CIPHER_CTX ctx;^M
| ^~~^M
lanplus_crypt_impl.c:158:17: warning: unused variable 'ctx' [-Wunused-variable]^M
lanplus_crypt_impl.c: In function 'lanplus_decrypt_aes_cbc_128':^M
lanplus_crypt_impl.c:233:17: error: storage size of 'ctx' isn't known^M
233 | EVP_CIPHER_CTX ctx;^M
| ^~~^M
Smbios-mdr - @brad. Please confirm if used?
No automake env (make)