From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: Errors when updating IPFire-3.x pakfire Date: Mon, 25 Sep 2023 16:15:03 +0100 Message-ID: In-Reply-To: <80828ab4-3819-46d5-884b-28464ed3bcc3@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8085871251621375975==" List-Id: --===============8085871251621375975== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Adolf, I am doing some larger rewrites of some parts of the code. So things might br= eak. However, please pull again and let me know if this problem is fixed for you. Best, -Michael > On 25 Sep 2023, at 15:47, Adolf Belka wrote: >=20 > I did a git pull on my IPFire-3.x local repo and a lot of changes were uplo= aded. >=20 > I then ran make -j$(nproc) and quite a few errors occurred. >=20 > I then re-cloned the pakfire repo and went through the whole autogen.sh and= configure with no problems but again with the make there were errors as belo= w. >=20 > Regards, > Adolf >=20 >=20 > make -j$(nproc) > YACC src/libpakfire/parser/grammar.c > updating src/libpakfire/parser/grammar.h > make --no-print-directory all-recursive > Making all in . > LEX src/libpakfire/parser/scanner.c > CC src/libpakfire/libpakfire_la-arch.lo > CC src/libpakfire/libpakfire_la-archive.lo > CC src/libpakfire/libpakfire_la-build.lo > CC src/libpakfire/libpakfire_la-cgroup.lo > CC src/libpakfire/libpakfire_la-compress.lo > CC src/libpakfire/libpakfire_la-config.lo > CC src/libpakfire/libpakfire_la-db.lo > CC src/libpakfire/libpakfire_la-dependencies.lo > CC src/libpakfire/libpakfire_la-digest.lo > CC src/libpakfire/libpakfire_la-dist.lo > CC src/libpakfire/libpakfire_la-downloader.lo > CC src/libpakfire/libpakfire_la-fhs.lo > CC src/libpakfire/libpakfire_la-file.lo > src/libpakfire/file.c:90:10: warning: #warning TODO data [-Wcpp] > 90 | #warning TODO data > | ^~~~~~~ > CC src/libpakfire/libpakfire_la-filelist.lo > src/libpakfire/file.c: In function '__pakfire_file_check_cf_protection_aarc= h64': > src/libpakfire/file.c:2695:11: warning: #warning TODO [-Wcpp] > 2695 | # warning TODO > | ^~~~~~~ > CC src/libpakfire/libpakfire_la-jail.lo > CC src/libpakfire/libpakfire_la-key.lo > CC src/libpakfire/libpakfire_la-linter.lo > CC src/libpakfire/libpakfire_la-logging.lo > CC src/libpakfire/libpakfire_la-mount.lo > CC src/libpakfire/libpakfire_la-package.lo > CC src/libpakfire/libpakfire_la-packager.lo > CC src/libpakfire/libpakfire_la-packagelist.lo > CC src/libpakfire/libpakfire_la-pakfire.lo > CC src/libpakfire/libpakfire_la-parser.lo > CC src/libpakfire/libpakfire_la-problem.lo > CC src/libpakfire/libpakfire_la-progressbar.lo > CC src/libpakfire/libpakfire_la-pwd.lo > CC src/libpakfire/libpakfire_la-repo.lo > CC src/libpakfire/libpakfire_la-repolist.lo > CC src/libpakfire/libpakfire_la-scriptlet.lo > CC src/libpakfire/libpakfire_la-snapshot.lo > CC src/libpakfire/libpakfire_la-solution.lo > CC src/libpakfire/libpakfire_la-string.lo > CC src/libpakfire/libpakfire_la-transaction.lo > CC src/libpakfire/libpakfire_la-ui.lo > src/libpakfire/ui.c:91:34: warning: 'pakfire_ui_append_solution' defined bu= t not used [-Wunused-function] > 91 | static struct pakfire_solution** pakfire_ui_append_solution( > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > src/libpakfire/ui.c:44:12: warning: 'pakfire_ui_enter_number' defined but n= ot used [-Wunused-function] > 44 | static int pakfire_ui_enter_number(struct pakfire* pakfire, const c= har* question, > | ^~~~~~~~~~~~~~~~~~~~~~~ > CC src/libpakfire/libpakfire_la-util.lo > CC src/libpakfire/parser/libpakfire_parser_la-grammar.lo > CC src/libpakfire/parser/libpakfire_parser_la-scanner.lo > CC src/libpakfire/libpakfire_internal_la-arch.lo > CC src/libpakfire/libpakfire_internal_la-archive.lo > CC src/libpakfire/libpakfire_internal_la-build.lo > CC src/libpakfire/libpakfire_internal_la-cgroup.lo > CC src/libpakfire/libpakfire_internal_la-compress.lo > CC src/libpakfire/libpakfire_internal_la-config.lo > CC src/libpakfire/libpakfire_internal_la-db.lo > CC src/libpakfire/libpakfire_internal_la-dependencies.lo > CC src/libpakfire/libpakfire_internal_la-digest.lo > CC src/libpakfire/libpakfire_internal_la-dist.lo > CC src/libpakfire/libpakfire_internal_la-downloader.lo > CC src/libpakfire/libpakfire_internal_la-fhs.lo > CC src/libpakfire/libpakfire_internal_la-file.lo > src/libpakfire/file.c:90:10: warning: #warning TODO data [-Wcpp] > 90 | #warning TODO data > | ^~~~~~~ > CC src/libpakfire/libpakfire_internal_la-filelist.lo > src/libpakfire/file.c: In function '__pakfire_file_check_cf_protection_aarc= h64': > src/libpakfire/file.c:2695:11: warning: #warning TODO [-Wcpp] > 2695 | # warning TODO > | ^~~~~~~ > CC src/libpakfire/libpakfire_internal_la-jail.lo > CC src/libpakfire/libpakfire_internal_la-key.lo > CC src/libpakfire/libpakfire_internal_la-linter.lo > CC src/libpakfire/libpakfire_internal_la-logging.lo > CC src/libpakfire/libpakfire_internal_la-mount.lo > CC src/libpakfire/libpakfire_internal_la-package.lo > CC src/libpakfire/libpakfire_internal_la-packager.lo > CC src/libpakfire/libpakfire_internal_la-packagelist.lo > CC src/libpakfire/libpakfire_internal_la-pakfire.lo > CC src/libpakfire/libpakfire_internal_la-parser.lo > CC src/libpakfire/libpakfire_internal_la-problem.lo > CC src/libpakfire/libpakfire_internal_la-progressbar.lo > CC src/libpakfire/libpakfire_internal_la-pwd.lo > CC src/libpakfire/libpakfire_internal_la-repo.lo > CC src/libpakfire/libpakfire_internal_la-repolist.lo > CC src/libpakfire/libpakfire_internal_la-scriptlet.lo > CC src/libpakfire/libpakfire_internal_la-snapshot.lo > CC src/libpakfire/libpakfire_internal_la-solution.lo > CC src/libpakfire/libpakfire_internal_la-string.lo > CC src/libpakfire/libpakfire_internal_la-transaction.lo > CC src/libpakfire/libpakfire_internal_la-ui.lo > src/libpakfire/ui.c:91:34: warning: 'pakfire_ui_append_solution' defined bu= t not used [-Wunused-function] > 91 | static struct pakfire_solution** pakfire_ui_append_solution( > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > src/libpakfire/ui.c:44:12: warning: 'pakfire_ui_enter_number' defined but n= ot used [-Wunused-function] > 44 | static int pakfire_ui_enter_number(struct pakfire* pakfire, const c= har* question, > | ^~~~~~~~~~~~~~~~~~~~~~~ > CC src/libpakfire/libpakfire_internal_la-util.lo > CCLD libpakfire-parser.la > CC src/cli/lib/libcli_la-command.lo > CC src/cli/lib/libcli_la-dump.lo > src/cli/lib/dump.c: In function 'cli_dump_packagelist': > src/cli/lib/dump.c:53:16: warning: implicit declaration of function 'pakfir= e_packagelist_walk'; did you mean 'pakfire_packagelist_push'? [-Wimplicit-fun= ction-declaration] > 53 | return pakfire_packagelist_walk(list, __cli_dump_package, &= flags); > | ^~~~~~~~~~~~~~~~~~~~~~~~ > | pakfire_packagelist_push > src/cli/lib/dump.c:53:16: warning: nested extern declaration of 'pakfire_pa= ckagelist_walk' [-Wnested-externs] > CCLD libpakfire.la > GEN src/scripts/pakfire-builder > GEN src/scripts/pakfire-client > GEN src/scripts/pakfire-daemon > ASCIIDOC man/pakfire.xml > ASCIIDOC man/pakfire-archive-format.xml > ASCIIDOC man/pakfire-deps.xml > GEN src/systemd/pakfire-daemon.service > CC src/cli/pakfire/pakfire-main.o > CC src/cli/pakfire/pakfire-check.o > CC src/cli/pakfire/pakfire-clean.o > CC src/cli/pakfire/pakfire-info.o > CC src/cli/pakfire/pakfire-install.o > src/cli/pakfire/install.c: In function =E2=80=98parse_argv=E2=80=99: > src/cli/pakfire/install.c:77:53: error: =E2=80=98PAKFIRE_JOB_BEST=E2=80=99 = undeclared (first use in this function) > 77 | config.job_flags |=3D PAKFIRE_JOB_B= EST; > | ^~~~~~~~~~~~~~~~ > src/cli/pakfire/install.c:77:53: note: each undeclared identifier is report= ed only once for each function it appears in > src/cli/pakfire/install.c:81:61: error: =E2=80=98PAKFIRE_TRANSACTION_ALLOW_= DOWNGRADE=E2=80=99 undeclared (first use in this function) > 81 | config.transaction_flags |=3D PAKFI= RE_TRANSACTION_ALLOW_DOWNGRADE; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > CC src/cli/pakfire/pakfire-provides.o > src/cli/pakfire/install.c:85:61: error: =E2=80=98PAKFIRE_TRANSACTION_ALLOW_= UNINSTALL=E2=80=99 undeclared (first use in this function) > 85 | config.transaction_flags |=3D PAKFI= RE_TRANSACTION_ALLOW_UNINSTALL; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > src/cli/pakfire/install.c:89:61: error: =E2=80=98PAKFIRE_TRANSACTION_WITHOU= T_RECOMMENDED=E2=80=99 undeclared (first use in this function) > 89 | config.transaction_flags |=3D PAKFI= RE_TRANSACTION_WITHOUT_RECOMMENDED; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > src/cli/pakfire/install.c: In function =E2=80=98cli_install=E2=80=99: > src/cli/pakfire/install.c:115:13: warning: implicit declaration of function= =E2=80=98pakfire_transaction_create=E2=80=99; did you mean =E2=80=98pakfire_= transaction_count=E2=80=99? [-Wimplicit-function-declaration] > 115 | r =3D pakfire_transaction_create(&transaction, pakfire, con= fig.transaction_flags); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > | pakfire_transaction_count > src/cli/pakfire/install.c:115:13: warning: nested extern declaration of =E2= =80=98pakfire_transaction_create=E2=80=99 [-Wnested-externs] > src/cli/pakfire/install.c:123:21: warning: implicit declaration of function= =E2=80=98pakfire_transaction_request=E2=80=99; did you mean =E2=80=98pakfire= _transaction_run=E2=80=99? [-Wimplicit-function-declaration] > 123 | r =3D pakfire_transaction_request(transaction, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > | pakfire_transaction_run > src/cli/pakfire/install.c:123:21: warning: nested extern declaration of =E2= =80=98pakfire_transaction_request=E2=80=99 [-Wnested-externs] > src/cli/pakfire/install.c:124:33: error: =E2=80=98PAKFIRE_JOB_INSTALL=E2=80= =99 undeclared (first use in this function); did you mean =E2=80=98PAKFIRE_CL= I_INSTALL_H=E2=80=99? > 124 | PAKFIRE_JOB_INSTALL, argv[i], confi= g.job_flags); > | ^~~~~~~~~~~~~~~~~~~ > | PAKFIRE_CLI_INSTALL_H > src/cli/pakfire/install.c:132:13: warning: implicit declaration of function= =E2=80=98pakfire_transaction_solve=E2=80=99; did you mean =E2=80=98pakfire_t= ransaction_count=E2=80=99? [-Wimplicit-function-declaration] > 132 | r =3D pakfire_transaction_solve(transaction, 0, &problems); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > | pakfire_transaction_count > src/cli/pakfire/install.c:132:13: warning: nested extern declaration of =E2= =80=98pakfire_transaction_solve=E2=80=99 [-Wnested-externs] > src/cli/pakfire/install.c:144:13: error: too few arguments to function =E2= =80=98pakfire_transaction_run=E2=80=99 > 144 | r =3D pakfire_transaction_run(transaction); > | ^~~~~~~~~~~~~~~~~~~~~~~ > In file included from src/cli/pakfire/install.c:26: > /usr/include/pakfire/transaction.h:39:5: note: declared here > 39 | int pakfire_transaction_run(struct pakfire_transaction* transaction= , int flags); > | ^~~~~~~~~~~~~~~~~~~~~~~ > make[2]: *** [Makefile:3842: src/cli/pakfire/pakfire-install.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > make[1]: *** [Makefile:4602: all-recursive] Error 1 > make: *** [Makefile:2118: all] Error 2 >=20 > --=20 > Sent from my laptop >=20 --===============8085871251621375975==--