I suspect that if you just touch plural.c file it will not be regenerated. this should be done after depot download like find . -name plural.c -exec touch {} ;
15 февр. 2023 г., в 16:44, Pranab Kumar Rout cs21m045 cs21m045@smail.iitm.ac.in написал(а):
Hi, I am getting this error while doing:
make run/sculpt KERNEL=hw BOARD=virt_qemu_riscv
I don't have a different setup, I am using the master branch only.
As Alexander pointed out, it looks like I need to downgrade my gnu bison (which is now 3.5.1) to some 2.xx otherwise if its already present in depot, how do I skip the re-generation? Do I have to configure any file? Will it affect my process of building sculpt image? Please advise.
regards, Pranab
On Wed, Feb 15, 2023 at 2:38 PM Alexander Tormasov via users <users@lists.genode.orgmailto:users@lists.genode.org> wrote: I already comment this problem couple weeks ago.
in short, you have too new bison version (probably 3.xx) which generated plural.c file this file (plural.c) is present in depot together with plural.y , and if you get rid of re-generation - it will be compiled.
or you need to install bison version 2.xx.
15 февр. 2023 г., в 11:34, Martin Stein <martin.stein@genode-labs.commailto:martin.stein@genode-labs.com> написал(а):
Hi Pranab,
I'm failing to reproduce your problem. When, on branch genodelabs/master, I do [1], the process finishes successfully. Do you use https://github.com/genodelabs/genode.git and https://github.com/genodelabs/genode-riscv.git with both at branch genodelabs/master or do you have another setup?
Cheers, Martin
[1] ./tool/depot/create local/bin/riscv/bash-minimal -j8 CCACHE=1 UPDATE_VERSIONS=1 FORCE=1 REBUILD=
On 15.02.23 08:25, Pranab Kumar Rout cs21m045 wrote:
Hi, Based on the previous discussion I was able to overcome that obstacle. Now while moving further, I am getting this error in bash_minimal: checking library dependencies... Library ldso_so_support COMPILE so_support.o MERGE ldso_so_support.lib.a Library libc CONVERT libc.symbols.s ASSEMBLE libc.symbols.o MERGE libc.abi.sohttp://libc.abi.so/ <http://libc.abi.sohttp://libc.abi.so/> Library noux MERGE noux.lib.a Library posix CONVERT posix.symbols.s ASSEMBLE posix.symbols.o MERGE posix.abi.sohttp://posix.abi.so/ <http://posix.abi.sohttp://posix.abi.so/> Library libm CONVERT libm.symbols.s ASSEMBLE libm.symbols.o MERGE libm.abi.sohttp://libm.abi.so/ <http://libm.abi.sohttp://libm.abi.so/> Program noux-pkg/bash-minimal/bash-minimal CONFIG bash-minimal BUILD bash-minimal [bash-minimal] [bash-minimal]
[bash-minimal] * * [bash-minimal] * GNU bash, version 4.4.18(1)-release
(riscv64-unknown-elf) [bash-minimal] * * [bash-minimal]
[bash-minimal] [bash-minimal] making lib/intl/libintl.a in ./lib/intl [bash-minimal]
/home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.y:48.1-12: warning: POSIX Yacc does not support %pure_parser [-Wyacc] [bash-minimal] 48 | %pure_parser [bash-minimal] | ^~~~~~~~~~~~ [bash-minimal] /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.y:48.1-12: warning: deprecated directive: ‘%pure_parser’, use ‘%define api.pure’ [-Wdeprecated] [bash-minimal] 48 | %pure_parser [bash-minimal] | ^~~~~~~~~~~~ [bash-minimal] | %define api.pure [bash-minimal] /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.y:49.1-7: warning: POSIX Yacc does not support %expect [-Wyacc] [bash-minimal] 49 | %expect 7 [bash-minimal] | ^~~~~~~ [bash-minimal] /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] [bash-minimal] In file included from /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.y:37: [bash-minimal] /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural-exp.h:104:23: error: conflicting types for ‘libintl_gettextparse’ [bash-minimal] 104 | # define PLURAL_PARSE libintl_gettextparse [bash-minimal] | ^~~~~~~~~~~~~~~~~~~~ [bash-minimal] /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.y:42:25: note: in expansion of macro ‘PLURAL_PARSE’ [bash-minimal] 42 | # define __gettextparse PLURAL_PARSE [bash-minimal] | ^~~~~~~~~~~~ [bash-minimal] /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.c:204:5: note: in expansion of macro ‘__gettextparse’ [bash-minimal] 204 | int __gettextparse (void); [bash-minimal] | ^~~~~~~~~~~~~~ [bash-minimal] /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural-exp.h:104:23: note: previous declaration of ‘libintl_gettextparse’ was here [bash-minimal] 104 | # define PLURAL_PARSE libintl_gettextparse [bash-minimal] | ^~~~~~~~~~~~~~~~~~~~ [bash-minimal] /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural-exp.h:116:12: note: in expansion of macro ‘PLURAL_PARSE’ [bash-minimal] 116 | extern int PLURAL_PARSE PARAMS ((void *arg)); [bash-minimal] | ^~~~~~~~~~~~ [bash-minimal] /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural-exp.h:104:23: error: conflicting types for ‘libintl_gettextparse’ [bash-minimal] 104 | # define PLURAL_PARSE libintl_gettextparse [bash-minimal] | ^~~~~~~~~~~~~~~~~~~~ [bash-minimal] /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.y:42:25: note: in expansion of macro ‘PLURAL_PARSE’ [bash-minimal] 42 | # define __gettextparse PLURAL_PARSE [bash-minimal] | ^~~~~~~~~~~~ [bash-minimal] /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.c:67:25: note: in expansion of macro ‘__gettextparse’ [bash-minimal] 67 | #define yyparse __gettextparse [bash-minimal] | ^~~~~~~~~~~~~~ [bash-minimal] /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.c:1225:1: note: in expansion of macro ‘yyparse’ [bash-minimal] 1225 | yyparse (void) [bash-minimal] | ^~~~~~~ [bash-minimal] /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural-exp.h:104:23: note: previous declaration of ‘libintl_gettextparse’ was here [bash-minimal] 104 | # define PLURAL_PARSE libintl_gettextparse [bash-minimal] | ^~~~~~~~~~~~~~~~~~~~ [bash-minimal] /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural-exp.h:116:12: note: in expansion of macro ‘PLURAL_PARSE’ [bash-minimal] 116 | extern int PLURAL_PARSE PARAMS ((void *arg)); [bash-minimal] | ^~~~~~~~~~~~ [bash-minimal] /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.c: In function ‘libintl_gettextparse’: [bash-minimal] /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.c:68:25: error: too few arguments to function ‘__gettextlex’ [bash-minimal] 68 | #define yylex __gettextlex [bash-minimal] | ^~~~~~~~~~~~ [bash-minimal] /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.c:1403:16: note: in expansion of macro ‘yylex’ [bash-minimal] 1403 | yychar = yylex (&yylval); [bash-minimal] | ^~~~~ [bash-minimal] /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.c:68:25: note: declared here [bash-minimal] 68 | #define yylex __gettextlex [bash-minimal] | ^~~~~~~~~~~~ [bash-minimal] /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.y:71:12: note: in expansion of macro ‘yylex’ [bash-minimal] 71 | static int yylex PARAMS ((YYSTYPE *lval, const char **pexp)); [bash-minimal] | ^~~~~ [bash-minimal] /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.y:180:29: error: ‘arg’ undeclared (first use in this function) [bash-minimal] 180 | ((struct parse_args *) arg)->res = $1; [bash-minimal] | ^~~ [bash-minimal] /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.y:180:29: note: each undeclared identifier is reported only once for each function it appears in [bash-minimal] make[9]: *** [Makefile:175: plural.o] Error 1 [bash-minimal] make[8]: *** [Makefile:668: lib/intl/libintl.a] Error 1 make[7]: *** [/home/pranab/MTP/r5/genode/depot/genodelabs/api/noux/2021-12-16/mk/gnu_build.mk:181http://gnu_build.mk:181/ <http://gnu_build.mk:181http://gnu_build.mk:181/>: built.tag] Error 2 make[6]: *** [var/libdeps:119: bash-minimal.prg] Error 2 make[5]: *** [Makefile:336: gen_deps_and_build_targets] Error 2 make[4]: *** [/home/pranab/MTP/r5/genode/tool/depot/mk/build_bin_archive:208: /home/pranab/MTP/r5/genode/depot/genodelabs/bin/riscv/bash-minimal/2023-02-15.build/bin] Error 1 make[3]: *** [/home/pranab/MTP/r5/genode/depot/var/build.mk:264http://build.mk:264/ <http://build.mk:264http://build.mk:264/>: genodelabs/bin/riscv/bash-minimal/2023-02-15] Error 2 make[2]: *** [/home/pranab/MTP/r5/genode/tool/depot/build:136: execute_generated_build_mk_file] Error 2 make[1]: *** [/home/pranab/MTP/r5/genode/tool/depot/create:59: build] Error 2 make[1]: Leaving directory '/home/pranab/MTP/r5/genode/build/riscv'
I am trying to execute the run/sculpt for KERNEL=hw BOARD=virt_qemu_riscv. also this error persists while executing the run/sculpt_test also. Kindly tell whats the problem and How do I overcome this. I want to build the sculpt for RISC-V arch, but I dont have a board so I am doing it for virt_qemu_riscv. If you have any other resources to follow for this please let me know.
Regards, Pranab
Genode users mailing list users@lists.genode.orgmailto:users@lists.genode.org https://lists.genode.org/listinfo/users
_______________________________________________ Genode users mailing list users@lists.genode.orgmailto:users@lists.genode.org https://lists.genode.org/listinfo/users _______________________________________________ Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users