You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I read the README and I want to compile and add the patches to a SONiC Image that I'll build. I use the command make DEST=<destination path> and I obtain this error: ~/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118 ~/Desktop/SONiC_patch/sonic-linux-kernel Initialized empty Git repository in /home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/.git/ Checking for changes in the working directory ... done Importing patch "packaging-update-abiname.patch" ... done Now at patch "packaging-update-abiname.patch" W: Unable to get GNU type for arm64ilp32 W: Unable to get GNU type for mips64r6 Traceback (most recent call last): File "debian/bin/gencontrol.py", line 682, in <module> Gencontrol()() File "/home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/debian/bin/debian_linux/gencontrol.py", line 109, in __call__ self.do_main(packages, makefile) File "/home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/debian/bin/debian_linux/gencontrol.py", line 130, in do_main self.do_main_recurse(packages, makefile, vars, makeflags, extra) File "/home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/debian/bin/debian_linux/gencontrol.py", line 152, in do_main_recurse makeflags.copy(), extra) File "/home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/debian/bin/debian_linux/gencontrol.py", line 214, in do_arch self.do_arch_recurse(packages, makefile, arch, vars, makeflags, extra) File "/home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/debian/bin/debian_linux/gencontrol.py", line 237, in do_arch_recurse vars.copy(), makeflags.copy(), extra) File "/home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/debian/bin/debian_linux/gencontrol.py", line 251, in do_featureset makeflags, extra) File "/home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/debian/bin/debian_linux/gencontrol.py", line 275, in do_featureset_recurse vars.copy(), makeflags.copy(), extra) File "/home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/debian/bin/debian_linux/gencontrol.py", line 286, in do_flavour vars, makeflags, extra) File "debian/bin/gencontrol.py", line 394, in do_flavour_packages or config_entry_relations.get(compiler), vars)) File "/home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/debian/bin/debian_linux/gencontrol.py", line 351, in substitute return re.sub(r'@([-_a-z0-9]+)@', subst, str(s)) File "/usr/lib/python3.5/re.py", line 182, in sub return _compile(pattern, flags).sub(repl, string, count) File "/home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/debian/bin/debian_linux/gencontrol.py", line 349, in subst return vars[match.group(1)] KeyError: 'gnu-type-package' Makefile:57: recipe for target '/home/diaccio/Desktop/SONiC_patch/sonic-buildimage//linux-headers-4.19.0-9-2-common_4.19.118-2+deb10u1_all.deb' failed make: *** [/home/diaccio/Desktop/SONiC_patch/sonic-buildimage//linux-headers-4.19.0-9-2-common_4.19.118-2+deb10u1_all.deb] Error 1
Can you help me?
The text was updated successfully, but these errors were encountered:
Hi,
I read the README and I want to compile and add the patches to a SONiC Image that I'll build. I use the command
make DEST=<destination path>
and I obtain this error:~/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118 ~/Desktop/SONiC_patch/sonic-linux-kernel Initialized empty Git repository in /home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/.git/ Checking for changes in the working directory ... done Importing patch "packaging-update-abiname.patch" ... done Now at patch "packaging-update-abiname.patch" W: Unable to get GNU type for arm64ilp32 W: Unable to get GNU type for mips64r6 Traceback (most recent call last): File "debian/bin/gencontrol.py", line 682, in <module> Gencontrol()() File "/home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/debian/bin/debian_linux/gencontrol.py", line 109, in __call__ self.do_main(packages, makefile) File "/home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/debian/bin/debian_linux/gencontrol.py", line 130, in do_main self.do_main_recurse(packages, makefile, vars, makeflags, extra) File "/home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/debian/bin/debian_linux/gencontrol.py", line 152, in do_main_recurse makeflags.copy(), extra) File "/home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/debian/bin/debian_linux/gencontrol.py", line 214, in do_arch self.do_arch_recurse(packages, makefile, arch, vars, makeflags, extra) File "/home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/debian/bin/debian_linux/gencontrol.py", line 237, in do_arch_recurse vars.copy(), makeflags.copy(), extra) File "/home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/debian/bin/debian_linux/gencontrol.py", line 251, in do_featureset makeflags, extra) File "/home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/debian/bin/debian_linux/gencontrol.py", line 275, in do_featureset_recurse vars.copy(), makeflags.copy(), extra) File "/home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/debian/bin/debian_linux/gencontrol.py", line 286, in do_flavour vars, makeflags, extra) File "debian/bin/gencontrol.py", line 394, in do_flavour_packages or config_entry_relations.get(compiler), vars)) File "/home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/debian/bin/debian_linux/gencontrol.py", line 351, in substitute return re.sub(r'@([-_a-z0-9]+)@', subst, str(s)) File "/usr/lib/python3.5/re.py", line 182, in sub return _compile(pattern, flags).sub(repl, string, count) File "/home/diaccio/Desktop/SONiC_patch/sonic-linux-kernel/linux-4.19.118/debian/bin/debian_linux/gencontrol.py", line 349, in subst return vars[match.group(1)] KeyError: 'gnu-type-package' Makefile:57: recipe for target '/home/diaccio/Desktop/SONiC_patch/sonic-buildimage//linux-headers-4.19.0-9-2-common_4.19.118-2+deb10u1_all.deb' failed make: *** [/home/diaccio/Desktop/SONiC_patch/sonic-buildimage//linux-headers-4.19.0-9-2-common_4.19.118-2+deb10u1_all.deb] Error 1
Can you help me?
The text was updated successfully, but these errors were encountered: