From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: Feedback on test of latest pakfire-builder build Date: Mon, 05 Feb 2024 14:44:46 +0100 Message-ID: <70a196f6-3408-437f-8a20-161ed3999a31@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1030806647492048056==" List-Id: --===============1030806647492048056== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Michael, I saw that there were new commits to the pakfire repo so I thought I=20 would test it out and see what happened. The build worked for all stages except for the make check command. This failed with the following result. make check make --no-print-directory check-recursive Making check in . make --no-print-directory tests/libpakfire/main tests/libpakfire/arch=20 tests/libpakfire/archive tests/libpakfire/build tests/libpakfire/cgroup=20 tests/libpakfire/compress tests/libpakfire/config tests/libpakfire/db=20 tests/libpakfire/dependencies tests/libpakfire/digest=20 tests/libpakfire/file tests/libpakfire/httpclient tests/libpakfire/jail=20 tests/libpakfire/key tests/libpakfire/makefile tests/libpakfire/os=20 tests/libpakfire/package tests/libpakfire/packager=20 tests/libpakfire/parser tests/libpakfire/path tests/libpakfire/repo=20 tests/libpakfire/snapshot tests/libpakfire/string tests/libpakfire/util=20 tests/libpakfire/xfer tests/libtestsuite.la \ =C2=A0 tests/python/archive.py tests/python/ctx.py tests/python/keys.py=20 tests/python/jail.py tests/python/package.py =C2=A0 CC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 tests/libpakfire/main-main.o =C2=A0 CC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 tests/libtestsuite_la-testsuit= e.lo tests/testsuite.c: In function 'test_run': tests/testsuite.c:89:35: warning: passing argument 1 of 'pakfire_bind'=20 from incompatible pointer type [-Wincompatible-pointer-types] =C2=A0=C2=A0 89 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r =3D pakfire_bind(t->pakfire, TEST_S= TUB_COMMAND,=20 "/command", 0); =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 ~^~~~~~~~~ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 | =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 struct pakfire * In file included from tests/testsuite.c:28: ./src/libpakfire/include/pakfire/mount.h:42:38: note: expected 'struct=20 pakfire_ctx *' but argument is of type 'struct pakfire *' =C2=A0=C2=A0 42 | int pakfire_bind(struct pakfire_ctx* ctx, struct pakfire* = pakfire, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ~~~~~~~~~~~~~~~~= ~~~~^~~ : warning: passing argument 2 of 'pakfire_bind' from=20 incompatible pointer type [-Wincompatible-pointer-types] tests/testsuite.c:89:46: note: in expansion of macro 'TEST_STUB_COMMAND' =C2=A0=C2=A0 89 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r =3D pakfire_bind(t->pakfire, TEST_S= TUB_COMMAND,=20 "/command", 0); =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | ^~~~~~~~~~~~~~~~~ ./src/libpakfire/include/pakfire/mount.h:42:59: note: expected 'struct=20 pakfire *' but argument is of type 'char *' =C2=A0=C2=A0 42 | int pakfire_bind(struct pakfire_ctx* ctx, struct pakfire* = pakfire, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | ~~~~~~~~~~~~~~~~^~~~~~~ tests/testsuite.c:89:21: error: too few arguments to function 'pakfire_bind' =C2=A0=C2=A0 89 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 r =3D pakfire_bind(t->pakfire, TEST_S= TUB_COMMAND,=20 "/command", 0); =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 ^~~~~~~~~~~~ ./src/libpakfire/include/pakfire/mount.h:42:5: note: declared here =C2=A0=C2=A0 42 | int pakfire_bind(struct pakfire_ctx* ctx, struct pakfire* = pakfire, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0 ^~~~~~~~~~~~ make[3]: *** [Makefile:4574: tests/libtestsuite_la-testsuite.lo] Error 1 make[2]: *** [Makefile:5947: check-am] Error 2 make[1]: *** [Makefile:5285: check-recursive] Error 1 make: *** [Makefile:5951: check] Error 2 I then tried running the pakfire builder with beep and sqlite. In the=20 past beep usually worked okay but sqlite had the file descriptor error. Beep built without any problems but sqlite failed again. There is still=20 a mention about file descriptor but I think it looks a bit different to=20 what was shown in the past. Feb 05 14:24:55 ipfire pakfire[13232]: Command Output: make[1]: Leaving=20 directory '/build/source/sqlite-autoconf-3430100' Feb 05 14:24:55 ipfire pakfire[13232]: Command Output: make: ***=20 [Makefile:915: install-am] Error 2 Feb 05 14:24:55 ipfire pakfire[13232]: The child process exited with code 2 Feb 05 14:24:55 ipfire pakfire[13232]: Build stage 'install' failed with=20 status 2 Feb 05 14:24:55 ipfire pakfire[13232]: Set environment variable:=20 PS1=3Dpakfire-jail \w> Feb 05 14:24:55 ipfire pakfire[13232]: Set environment variable:=20 TERM=3Dxterm-256color Feb 05 14:24:55 ipfire pakfire[13232]: Set environment variable:=20 LANG=3Den_GB.UTF-8 Feb 05 14:24:55 ipfire pakfire[13232]: Executing jail... Feb 05 14:24:55 ipfire pakfire[13232]: Parent has finished initialization Feb 05 14:24:55 ipfire pakfire[13232]: Sending signal... Feb 05 14:24:55 ipfire pakfire[13232]: Waiting for PID 15761 to finish=20 its work Feb 05 14:24:55 ipfire pakfire[13232]: Could not add file descriptor 0=20 to epoll(): Invalid argument Feb 05 14:24:55 ipfire pakfire[13232]: Failed setting up PTY forwarding:=20 Invalid argument Feb 05 14:24:55 ipfire pakfire[13232]: Could not destroy cgroup: Device=20 or resource busy Feb 05 14:24:55 ipfire pakfire[13232]: Freeing jail at 0x5b324d9e5dd0 Feb 05 14:24:55 ipfire pakfire[13232]: Could not destroy cgroup: Device=20 or resource busy Feb 05 14:24:55 ipfire pakfire[13232]: Removing=20 sqlite-3.43.1-1.ipfire3.src at /var/tmp/sqlite-3.43.1-1.ipfire3.src.pfm Regards, Adolf. --=20 Sent from my laptop --===============1030806647492048056==--