From: Ramesh GK <ram...@ho...> - 2023-03-13 22:20:35
|
Hi Lonnie, I observed the build is failing intermittently. For now I had to additionally add MAKE1 to the build command and it appears to be compiling properly. Not sure why it is behaving differently between buildroot 2011.x and 2019.x versions but thought of sharing the info just in case it might help. Thanks Ramesh GK 408.462.0408 ________________________________ From: Ramesh GK <ram...@ho...> Sent: Monday, March 13, 2023 4:05 PM To: AstLinux Developers Mailing List <ast...@li...> Subject: Re: [Astlinux-devel] Error during ex-vi build Yes, agreed. Thanks Ramesh GK 408.462.0408 ________________________________ From: Lonnie Abelbeck <li...@lo...> Sent: Sunday, March 12, 2023 7:38 PM To: AstLinux Developers Mailing List <ast...@li...> Subject: Re: [Astlinux-devel] Error during ex-vi build Hi Ramesh, thanks for tracking that down. In AstLinux those dependencies are satisfied when ex-vi is built, so it has always worked. Lonnie > On Mar 12, 2023, at 5:37 PM, Ramesh GK <ram...@ho...> wrote: > > Hi Lonnie, > > I found the cause of the issue from this thread and did some independent testing with that package only. Thought of sharing this info. > > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgnats.netbsd.org%2F51345&data=05%7C01%7C%7C5471052dc05647abe8fe08db2352f573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638142611432542274%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=tJX0Bx%2Fs5j161XkIh8pmcffmRqeAZQ%2FH%2BTW8OFlUQCo%3D&reserved=0<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgnats.netbsd.org%2F51345&data=05%7C01%7C%7Cf56817009d87488bc13408db23fe4ecf%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638143347413835559%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=uUAKNf2Yklr3Ao%2FrluL2Df%2BEDUUnCzsOC39QM1VEsHw%3D&reserved=0> > > ex-vi requires the below dependencies to identify the library "uxre" > > host-pkgconf host-ncurses ncurses > > Thanks > Ramesh GK > 408.462.0408 > > > From: Lonnie Abelbeck <li...@lo...> > Sent: Sunday, February 5, 2023 7:51 AM > To: AstLinux Developers Mailing List <ast...@li...> > Subject: Re: [Astlinux-devel] Error during ex-vi build > > Hi Ramesh, > > For reference, here is ex-vi building on Debian 11 with the next pre-1.5.0 version, toolchain: glibc 2.31, binutils 2.35.1, gcc 9.4.0, using crosstool-ng-1.25.0 > -- > In file included from ex_vput.c:82: > ex_vput.c: In function 'vinschar': > ex.h:554:57: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration] > 554 | #define colsc(c) (mb_cur_max > 1 && ((c)&0177) != (c) ? wcwidth(c) : 1) > | ^~~~~~~ > ex_vput.c:593:11: note: in expansion of macro 'colsc' > 593 | insmc1 = colsc(c) - 1; > | ^~~~~ > /home/dev/astlinux/trunk/output/host/usr/bin/x86_64-unknown-linux-gnu-gcc -DCHDIR -DFASTTAG -DUCVISUAL -DMB -DBIT8 -DTIOCGWINSZ -DVMUNIX -DEXRECOVER=\"/usr/local/libexec/exrecover\" -DEXPRESERVE=\"/usr/local/libexec/expreserve\" -I./libuxre -DUXRE -c ex_vwind.c > /home/dev/astlinux/trunk/output/host/usr/bin/x86_64-unknown-linux-gnu-gcc -DCHDIR -DFASTTAG -DUCVISUAL -DMB -DBIT8 -DTIOCGWINSZ -DVMUNIX -DEXRECOVER=\"/usr/local/libexec/exrecover\" -DEXPRESERVE=\"/usr/local/libexec/expreserve\" -I./libuxre -DUXRE -c printf.c > /home/dev/astlinux/trunk/output/host/usr/bin/x86_64-unknown-linux-gnu-gcc -DCHDIR -DFASTTAG -DUCVISUAL -DMB -DBIT8 -DTIOCGWINSZ -DVMUNIX -DEXRECOVER=\"/usr/local/libexec/exrecover\" -DEXPRESERVE=\"/usr/local/libexec/expreserve\" -I./libuxre -DUXRE -c ex_version.c > /home/dev/astlinux/trunk/output/host/usr/bin/x86_64-unknown-linux-gnu-gcc -o ex ex.o ex_addr.o ex_cmds.o ex_cmds2.o ex_cmdsub.o ex_data.o ex_extern.o ex_get.o ex_io.o ex_put.o ex_re.o ex_set.o ex_subr.o ex_tagio.o ex_temp.o ex_tty.o ex_unix.o ex_v.o ex_vadj.o ex_vget.o ex_vmain.o ex_voper.o ex_vops.o ex_vops2.o ex_vops3.o ex_vput.o ex_vwind.o printf.o ex_version.o mapmalloc.o -Llibterm -lncurses -L./libuxre -luxre > size ex > text data bss dec hex filename > 234182 5144 171800 411126 645f6 ex > make[1]: Leaving directory '/home/dev/astlinux/trunk/output/build/ex-vi-050325' > -- > > Quick look, many CFLAGS (passed as FEATURES="...") are missing from your build. Also note the "-I./libuxre -DUXRE" in the gcc's above. > > Lonnie > > > > On Feb 5, 2023, at 12:41 AM, Ramesh GK <ram...@ho...> wrote: > > > > Hi Lonnie et al, > > > > I moved my build system to slackware64 14.2 live and facing an issue with building ex-vi. I tried to find this library but could not able to get more info. please let know if you have any insight on this. > > > > --- > > /mnt/rdisk/builds/buildroot-2022-build-x86_64-generic-4.4cip-5-2023.02/mht/host/bin/x86_64-mht-linux-gnu-gcc -o exrecover exrecover.o mapmalloc.o > > In file included from ex_vops.c:82:0: > > ex_vops.c: In function ‘vchange’: > > ex.h:554:57: warning: implicit declaration of function ‘wcwidth’ [-Wimplicit-function-declaration] > > #define colsc(c) (mb_cur_max > 1 && ((c)&0177) != (c) ? wcwidth(c) : 1) > > ^ > > ex_vops.c:678:7: note: in expansion of macro ‘colsc’ > > if (colsc(c) > 1) > > ^ > > In file included from ex_vput.c:82:0: > > ex_vput.c: In function ‘vinschar’: > > /mnt/rdisk/builds/buildroot-2022-build-x86_64-generic-4.4cip-5-2023.02/mht/host/bin/x86_64-mht-linux-gnu-gcc -DVMUNIX -I. -c regfree.c > > ex.h:554:57: warning: implicit declaration of function ‘wcwidth’ [-Wimplicit-function-declaration] > > #define colsc(c) (mb_cur_max > 1 && ((c)&0177) != (c) ? wcwidth(c) : 1) > > ^ > > ex_vput.c:593:11: note: in expansion of macro ‘colsc’ > > insmc1 = colsc(c) - 1; > > ^ > > /mnt/rdisk/builds/buildroot-2022-build-x86_64-generic-4.4cip-5-2023.02/mht/host/bin/x86_64-mht-linux-gnu-gcc -DVMUNIX -I. -c regnfa.c > > /mnt/rdisk/builds/buildroot-2022-build-x86_64-generic-4.4cip-5-2023.02/mht/host/bin/x86_64-mht-linux-gnu-gcc -o expreserve expreserve.o > > /mnt/rdisk/builds/buildroot-2022-build-x86_64-generic-4.4cip-5-2023.02/mht/host/bin/x86_64-mht-linux-gnu-gcc -DVMUNIX -I. -c regparse.c > > /mnt/rdisk/builds/buildroot-2022-build-x86_64-generic-4.4cip-5-2023.02/mht/host/bin/x86_64-mht-linux-gnu-gcc -DVMUNIX -I. -c stubs.c > > /mnt/rdisk/builds/buildroot-2022-build-x86_64-generic-4.4cip-5-2023.02/mht/host/bin/x86_64-mht-linux-gnu-gcc -o ex ex.o ex_addr.o ex_cmds.o ex_cmds2.o ex_cmdsub.o ex_data.o ex_extern.o ex_get.o ex_io.o ex_put.o ex_re.o ex_set.o ex_subr.o ex_tagio.o ex_temp.o ex_tty.o ex_unix.o ex_v.o ex_vadj.o ex_vget.o ex_vmain.o ex_voper.o ex_vops.o ex_vops2.o ex_vops3.o ex_vput.o ex_vwind.o printf.o ex_version.o mapmalloc.o -Llibterm -lncurses -L./libuxre -luxre > > /mnt/rdisk/toolchains/br-2022-x86_64-4.4.302-cip72-5.5.0/x86_64-mht-linux-gnu/bin/../lib/gcc/x86_64-mht-linux-gnu/5.5.0/../../../../x86_64-mht-linux-gnu/bin/ld: cannot find -luxre > > collect2: error: ld returned 1 exit status > > Makefile:267: recipe for target 'ex' failed > > make[2]: *** [ex] Error 1 > > make[2]: *** Waiting for unfinished jobs.... > > ar cr libuxre.a bracket.o _collelem.o _collmult.o regcomp.o regdfa.o regerror.o regexec.o regfree.o regnfa.o regparse.o stubs.o > > package/pkg-generic.mk:302: recipe for target '/mnt/rdisk/builds/buildroot-2022-build-x86_64-generic-4.4cip-5-2023.02/mht/build/ex-vi-050325/.stamp_built' failed > > make[1]: *** [/mnt/rdisk/builds/buildroot-2022-build-x86_64-generic-4.4cip-5-2023.02/mht/build/ex-vi-050325/.stamp_built] Error 2 > > Makefile:23: recipe for target '_all' failed > > make: *** [_all] Error 2 > > --- > > > > Thanks > > Ramesh GK > > 408.462.0408 > > > > _______________________________________________ > > Astlinux-devel mailing list > > Ast...@li... > > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fastlinux-devel&data=05%7C01%7C%7C5471052dc05647abe8fe08db2352f573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638142611432698480%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=AKgw7rXsQJz97NqSwRep9eqimpgASTzdHe2oIf9HzJA%3D&reserved=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fastlinux-devel&data=05%7C01%7C%7Cf56817009d87488bc13408db23fe4ecf%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638143347413835559%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=E6lgCk1c3uXgp%2Be05lvQ7N4XFDtb%2FKiiTPZM%2FQ2KJlI%3D&reserved=0> > > > > _______________________________________________ > Astlinux-devel mailing list > Ast...@li... > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fastlinux-devel&data=05%7C01%7C%7C5471052dc05647abe8fe08db2352f573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638142611432698480%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=AKgw7rXsQJz97NqSwRep9eqimpgASTzdHe2oIf9HzJA%3D&reserved=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fastlinux-devel&data=05%7C01%7C%7Cf56817009d87488bc13408db23fe4ecf%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638143347413835559%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=E6lgCk1c3uXgp%2Be05lvQ7N4XFDtb%2FKiiTPZM%2FQ2KJlI%3D&reserved=0> > _______________________________________________ > Astlinux-devel mailing list > Ast...@li... > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fastlinux-devel&data=05%7C01%7C%7C5471052dc05647abe8fe08db2352f573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638142611432698480%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=AKgw7rXsQJz97NqSwRep9eqimpgASTzdHe2oIf9HzJA%3D&reserved=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fastlinux-devel&data=05%7C01%7C%7Cf56817009d87488bc13408db23fe4ecf%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638143347413835559%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=E6lgCk1c3uXgp%2Be05lvQ7N4XFDtb%2FKiiTPZM%2FQ2KJlI%3D&reserved=0> _______________________________________________ Astlinux-devel mailing list Ast...@li... https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fastlinux-devel&data=05%7C01%7C%7C5471052dc05647abe8fe08db2352f573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638142611432698480%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=AKgw7rXsQJz97NqSwRep9eqimpgASTzdHe2oIf9HzJA%3D&reserved=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fastlinux-devel&data=05%7C01%7C%7Cf56817009d87488bc13408db23fe4ecf%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638143347413835559%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=E6lgCk1c3uXgp%2Be05lvQ7N4XFDtb%2FKiiTPZM%2FQ2KJlI%3D&reserved=0> |