sonic-otn / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
3 stars 5 forks source link

compile failed at libotairedis #10

Closed butianzhu closed 2 months ago

butianzhu commented 4 months ago

Hi, there is a compile error at libotairedis. the code branch is otn_pre_202411, and need help. my compile environment is debian 11, the error is below.

dh_install: error: Requested unknown package syncd-vs via -N/--no-package, expected one of: syncd syncd-rpc syncd-ot-vs libotairedis libotairedis-dev libotaivs libotaivs-dev libotaimetadata libotaimetadata-dev syncd-dbg syncd-rpc-dbg syncd-ot-vs-dbg libotairedis-dbg libotaivs-dbg libotaimetadata-dbg dh_install: error: Requested unknown package syncd-vs-dbg via -N/--no-package, expected one of: syncd syncd-rpc syncd-ot-vs libotairedis libotairedis-dev libotaivs libotaivs-dev libotaimetadata libotaimetadata-dev syncd-dbg syncd-rpc-dbg syncd-ot-vs-dbg libotairedis-dbg libotaivs-dbg libotaimetadata-dbg dh_install: warning: Cannot find (any matches for) "usr/bin/syncd*" (tried in ., debian/tmp)

dh_install: warning: syncd-ot-vs missing files: usr/bin/syncd* dh_install: warning: Cannot find (any matches for) "usr/bin/dump_asic_db" (tried in ., debian/tmp)

dh_install: warning: syncd-ot-vs missing files: usr/bin/dump_asic_db dh_install: error: missing files, aborting make[2]: [debian/rules:75: override_dh_install] Error 25 make[2]: Leaving directory '/sonic/src/sonic-otairedis' make[1]: [debian/rules:41: binary-otairedis] Error 2 make[1]: Leaving directory '/sonic/src/sonic-otairedis' dpkg-buildpackage: error: fakeroot debian/rules binary-otairedis subprocess returned exit status 2 [ FAIL LOG END ] [ target/debs/bullseye/libotairedis_1.0.0_amd64.deb ] make: [slave.mk:773: target/debs/bullseye/libotairedis_1.0.0_amd64.deb] Error 1 make[1]: [Makefile.work:627: bullseye] Error 2 make[1]: Leaving directory '/home/buzhu/ws/OTN/sonic-buildimage' make: *** [Makefile:45: target/sonic-vs.img.gz] Error 2

libotairedis_1.0.0_amd64.deb.log

butianzhu commented 4 months ago

I know where is my problem, Now the compile is OK. Thanks!