Build start time: Sat Oct 31 10:45:29 UTC 2026
[ REASON ] : target/debs/bookworm/sonic-twamp_1.0.0_amd64.deb does not exist
[ FLAGS FILE ] : []
[ FLAGS DEPENDS ] : []
[ FLAGS DIFF ] : []
make[1]: warning: -j112 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/sonic/src/sonic-twamp'
# --- 1. Build the engine ---
make -f Makefile.engine clean all
# --- 2. Stage the package ---
rm -rf debian_pkg
mkdir -p debian_pkg/usr/lib debian_pkg/usr/share/doc/sonic-twamp debian_pkg/DEBIAN
install -m 0644 libtwamp_SONiC.01.01.so debian_pkg/usr/lib/
install -m 0644 README.twamp debian_pkg/usr/share/doc/sonic-twamp/
# --- 3. control file ---
echo "Package: sonic-twamp" > debian_pkg/DEBIAN/control
echo "Version: 1.0.0" >> debian_pkg/DEBIAN/control
echo "Architecture: amd64" >> debian_pkg/DEBIAN/control
echo "Maintainer: SONiC Builder " >> debian_pkg/DEBIAN/control
echo "Description: TWAMP (RFC 5357 Full / Light) engine library for SONiC" >> debian_pkg/DEBIAN/control
echo "Depends: libc6, libevent-2.1-7, libssl3" >> debian_pkg/DEBIAN/control
# --- 4. Build the .deb and clean ---
dpkg-deb --build debian_pkg /sonic/target/debs/bookworm/sonic-twamp_1.0.0_amd64.deb
make -f Makefile.engine clean
rm -rf debian_pkg
make[2]: Entering directory '/sonic/src/sonic-twamp'
rm -f libtwamp_SONiC.01.01.so twampInit.o twampUtils.o twampDebug.o twampPing.o twampServer.o twampClient.o twampTimestamp.o twampKeyChains.o twampd.o twampLightServer.o twampSender.o twampClientProto.o twampMonServer.o twampLightSender.o twampCmdLink.o ./lib/nnStr.o ./lib/nnPrefix.o ./lib/nnBuffer.o ./lib/nnList.o ./lib/taskManager.o
#/exthdr.pl
cc -c -fPIC -D__USE_MISC -I. -I./lib -I/usr/include/openssl twampInit.c -o twampInit.o
rm -f twampd
cc -c -fPIC -D__USE_MISC -I. -I./lib -I/usr/include/openssl twampUtils.c -o twampUtils.o
#rm -f /twampd
cc -c -fPIC -D__USE_MISC -I. -I./lib -I/usr/include/openssl twampDebug.c -o twampDebug.o
cc -c -fPIC -D__USE_MISC -I. -I./lib -I/usr/include/openssl twampPing.c -o twampPing.o
#rm -f /libtwamp_SONiC.01.01.so
cc -c -fPIC -D__USE_MISC -I. -I./lib -I/usr/include/openssl twampServer.c -o twampServer.o
cc -c -fPIC -D__USE_MISC -I. -I./lib -I/usr/include/openssl twampClient.c -o twampClient.o
cc -c -fPIC -D__USE_MISC -I. -I./lib -I/usr/include/openssl twampTimestamp.c -o twampTimestamp.o
cc -c -fPIC -D__USE_MISC -I. -I./lib -I/usr/include/openssl twampKeyChains.c -o twampKeyChains.o
cc -c -fPIC -D__USE_MISC -I. -I./lib -I/usr/include/openssl twampd.c -o twampd.o
cc -c -fPIC -D__USE_MISC -I. -I./lib -I/usr/include/openssl twampLightServer.c -o twampLightServer.o
cc -c -fPIC -D__USE_MISC -I. -I./lib -I/usr/include/openssl twampSender.c -o twampSender.o
cc -c -fPIC -D__USE_MISC -I. -I./lib -I/usr/include/openssl twampClientProto.c -o twampClientProto.o
cc -c -fPIC -D__USE_MISC -I. -I./lib -I/usr/include/openssl twampMonServer.c -o twampMonServer.o
cc -c -fPIC -D__USE_MISC -I. -I./lib -I/usr/include/openssl twampLightSender.c -o twampLightSender.o
cc -c -fPIC -D__USE_MISC -I. -I./lib -I/usr/include/openssl twampCmdLink.c -o twampCmdLink.o
cc -c -fPIC -D__USE_MISC -I. -I./lib -I/usr/include/openssl lib/nnStr.c -o lib/nnStr.o
cc -c -fPIC -D__USE_MISC -I. -I./lib -I/usr/include/openssl lib/nnPrefix.c -o lib/nnPrefix.o
cc -c -fPIC -D__USE_MISC -I. -I./lib -I/usr/include/openssl lib/nnBuffer.c -o lib/nnBuffer.o
cc -c -fPIC -D__USE_MISC -I. -I./lib -I/usr/include/openssl lib/nnList.c -o lib/nnList.o
cc -c -fPIC -D__USE_MISC -I. -I./lib -I/usr/include/openssl lib/taskManager.c -o lib/taskManager.o
#cc -o twampd
#rm -f
twampUtils.c: In function 'encryptAesCbc':
twampUtils.c:1027:3: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1027 | AES_set_encrypt_key(pKey, keyLen * 8, &encKey);
| ^~~~~~~~~~~~~~~~~~~
In file included from twampUtils.c:32:
/usr/include/openssl/aes.h:50:5: note: declared here
50 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
| ^~~~~~~~~~~~~~~~~~~
twampUtils.c:1028:3: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1028 | AES_cbc_encrypt(pData, encBuff, dataLen, &encKey, iv, AES_ENCRYPT);
| ^~~~~~~~~~~~~~~
/usr/include/openssl/aes.h:65:6: note: declared here
65 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
| ^~~~~~~~~~~~~~~
twampUtils.c: In function 'decryptAesCbc':
twampUtils.c:1053:3: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1053 | AES_set_decrypt_key(pKey, keyLen * 8, &decKey);
| ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/aes.h:53:5: note: declared here
53 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
| ^~~~~~~~~~~~~~~~~~~
twampUtils.c:1054:3: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1054 | AES_cbc_encrypt(pData, decBuff, dataLen, &decKey, iv, AES_DECRYPT);
| ^~~~~~~~~~~~~~~
/usr/include/openssl/aes.h:65:6: note: declared here
65 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
| ^~~~~~~~~~~~~~~
twampUtils.c: In function 'encryptAesCbc128':
twampUtils.c:1077:3: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1077 | AES_set_encrypt_key(pKey, 128, &encKey);
| ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/aes.h:50:5: note: declared here
50 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
| ^~~~~~~~~~~~~~~~~~~
twampUtils.c:1078:3: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1078 | AES_cbc_encrypt(pData, encBuff, dataLen, &encKey, iv, AES_ENCRYPT);
| ^~~~~~~~~~~~~~~
/usr/include/openssl/aes.h:65:6: note: declared here
65 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
| ^~~~~~~~~~~~~~~
twampUtils.c: In function 'decryptAesCbc128':
twampUtils.c:1100:3: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1100 | AES_set_decrypt_key(pKey, 128, &decKey);
| ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/aes.h:53:5: note: declared here
53 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
| ^~~~~~~~~~~~~~~~~~~
twampUtils.c:1101:3: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1101 | AES_cbc_encrypt(pData, decBuff, dataLen, &decKey, iv, AES_DECRYPT);
| ^~~~~~~~~~~~~~~
/usr/include/openssl/aes.h:65:6: note: declared here
65 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
| ^~~~~~~~~~~~~~~
twampUtils.c: In function 'encryptAesCbc256':
twampUtils.c:1125:3: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1125 | AES_set_encrypt_key(pKey, 256, &encKey);
| ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/aes.h:50:5: note: declared here
50 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
| ^~~~~~~~~~~~~~~~~~~
twampUtils.c:1126:3: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1126 | AES_cbc_encrypt(pData, pEncBuff, dataLen, &encKey, iv, AES_ENCRYPT);
| ^~~~~~~~~~~~~~~
/usr/include/openssl/aes.h:65:6: note: declared here
65 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
| ^~~~~~~~~~~~~~~
twampUtils.c: In function 'decryptAesCbc256':
twampUtils.c:1150:3: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1150 | AES_set_decrypt_key(pKey, 256, &decKey);
| ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/aes.h:53:5: note: declared here
53 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
| ^~~~~~~~~~~~~~~~~~~
twampUtils.c:1151:3: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1151 | AES_cbc_encrypt(pData, pDecBuff, dataLen, &decKey, iv, AES_DECRYPT);
| ^~~~~~~~~~~~~~~
/usr/include/openssl/aes.h:65:6: note: declared here
65 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
| ^~~~~~~~~~~~~~~
twampUtils.c: In function 'encryptAesEcb128':
twampUtils.c:1172:3: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1172 | AES_set_encrypt_key(pKey, keyLen * 8, &encryptKey);
| ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/aes.h:50:5: note: declared here
50 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
| ^~~~~~~~~~~~~~~~~~~
twampUtils.c:1173:3: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1173 | AES_encrypt(pData, pEncBuff, &encryptKey);
| ^~~~~~~~~~~
/usr/include/openssl/aes.h:56:6: note: declared here
56 | void AES_encrypt(const unsigned char *in, unsigned char *out,
| ^~~~~~~~~~~
twampUtils.c: In function 'decryptAesEcb128':
twampUtils.c:1192:3: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1192 | AES_set_decrypt_key(pKey, keyLen * 8, &decryptKey);
| ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/aes.h:53:5: note: declared here
53 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
| ^~~~~~~~~~~~~~~~~~~
twampUtils.c:1193:3: warning: 'AES_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1193 | AES_decrypt(pData, pDecBuff, &decryptKey);
| ^~~~~~~~~~~
/usr/include/openssl/aes.h:59:6: note: declared here
59 | void AES_decrypt(const unsigned char *in, unsigned char *out,
| ^~~~~~~~~~~
cc -fPIC -shared -o libtwamp_SONiC.01.01.so twampInit.o twampUtils.o twampDebug.o twampPing.o twampServer.o twampClient.o twampTimestamp.o twampKeyChains.o twampd.o twampLightServer.o twampSender.o twampClientProto.o twampMonServer.o twampLightSender.o twampCmdLink.o lib/nnStr.o lib/nnPrefix.o lib/nnBuffer.o lib/nnList.o lib/taskManager.o -Wl,-whole-archive -lcrypto -levent -lm -Wl,-no-whole-archive
#rm -f twampInit.o twampUtils.o twampDebug.o twampPing.o twampServer.o twampClient.o twampTimestamp.o twampKeyChains.o twampd.o twampLightServer.o twampSender.o twampClientProto.o twampMonServer.o twampLightSender.o twampCmdLink.o ./lib/nnStr.o ./lib/nnPrefix.o ./lib/nnBuffer.o ./lib/nnList.o ./lib/taskManager.o
# twampd
# libtwamp_SONiC.01.01.so
make[2]: Leaving directory '/sonic/src/sonic-twamp'
dpkg-deb: building package 'sonic-twamp' in '/sonic/target/debs/bookworm/sonic-twamp_1.0.0_amd64.deb'.
make[2]: Entering directory '/sonic/src/sonic-twamp'
rm -f libtwamp_SONiC.01.01.so twampInit.o twampUtils.o twampDebug.o twampPing.o twampServer.o twampClient.o twampTimestamp.o twampKeyChains.o twampd.o twampLightServer.o twampSender.o twampClientProto.o twampMonServer.o twampLightSender.o twampCmdLink.o ./lib/nnStr.o ./lib/nnPrefix.o ./lib/nnBuffer.o ./lib/nnList.o ./lib/taskManager.o
rm -f twampd
#rm -f /twampd
#rm -f /libtwamp_SONiC.01.01.so
make[2]: Leaving directory '/sonic/src/sonic-twamp'
make[1]: Leaving directory '/sonic/src/sonic-twamp'
Build end time: Sat Oct 31 10:45:36 UTC 2026
Elapsed time: 0h 0m 7s
|