>>> oil: Building testing/oil 0.21.0-r0 (using abuild 3.12.0-r4) started Fri, 15 Mar 2024 23:08:39 +0000 >>> oil: Checking sanity of /home/buildozer/aports/testing/oil/APKBUILD... >>> oil: Analyzing dependencies... >>> oil: Installing for build: build-base readline-dev bash (1/10) Installing libhistory (8.2.10-r0) (2/10) Installing libformw (6.4_p20231125-r0) (3/10) Installing libmenuw (6.4_p20231125-r0) (4/10) Installing libpanelw (6.4_p20231125-r0) (5/10) Installing libncurses++ (6.4_p20231125-r0) (6/10) Installing ncurses-dev (6.4_p20231125-r0) (7/10) Installing readline (8.2.10-r0) (8/10) Installing readline-dev (8.2.10-r0) (9/10) Installing bash (5.2.26-r0) Executing bash-5.2.26-r0.post-install (10/10) Installing .makedepends-oil (20240315.230840) Executing busybox-1.36.1-r21.trigger OK: 385 MiB in 114 packages >>> oil: Cleaning up srcdir >>> oil: Cleaning up pkgdir >>> oil: Cleaning up tmpdir >>> oil: Fetching https://distfiles.alpinelinux.org/distfiles/edge/oil-0.21.0.tar.gz >>> oil: Fetching https://distfiles.alpinelinux.org/distfiles/edge/oil-0.21.0.tar.gz >>> oil: Checking sha512sums... oil-0.21.0.tar.gz: OK >>> oil: Unpacking /var/cache/distfiles/oil-0.21.0.tar.gz... ./configure: Wrote _build/detected-cpp-config.h ./configure: Wrote _build/detected-config.sh ./configure: Wrote _build/detected-config.h build/ovm-compile.sh build-opt _build/oil/ovm-opt _build/oil/module_init.c _build/oil/main_name.c _build/oil/c-module-srcs.txt ~/aports/testing/oil/src/oil-0.21.0/Python-2.7.13 ~/aports/testing/oil/src/oil-0.21.0 In file included from Include/Python.h:78, from Objects/listobject.c:3: Objects/listobject.c: In function 'list_resize': Include/pymem.h:110:41: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 110 | (type *) PyMem_REALLOC((p), (n) * sizeof(type)) ) | ^ Include/pymem.h:77:49: note: in definition of macro 'PyMem_REALLOC' 77 | : realloc((p), (n) ? (n) : 1)) | ^ Objects/listobject.c:62:9: note: in expansion of macro 'PyMem_RESIZE' 62 | PyMem_RESIZE(items, PyObject *, new_allocated); | ^~~~~~~~~~~~ Objects/listobject.c: In function 'list_ass_subscript': Objects/listobject.c:2651:41: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 2651 | PyMem_MALLOC(slicelength*sizeof(PyObject*)); Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ Objects/listobject.c:2732:41: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 2732 | PyMem_MALLOC(slicelength*sizeof(PyObject*)); Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ In file included from Include/Python.h:78, from Objects/dictobject.c:10: Objects/dictobject.c: In function 'dictresize': Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ Objects/dictobject.c:643:20: note: in expansion of macro 'PyMem_NEW' 643 | newtable = PyMem_NEW(PyDictEntry, newsize); | ^~~~~~~~~ In file included from Include/Python.h:78, from Objects/setobject.c:7: Objects/setobject.c: In function 'set_table_resize': Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ Objects/setobject.c:316:20: note: in expansion of macro 'PyMem_NEW' 316 | newtable = PyMem_NEW(setentry, newsize); | ^~~~~~~~~ In file included from Include/Python.h:78, from Objects/structseq.c:4: Objects/structseq.c: In function 'PyStructSequence_InitType': Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ Objects/structseq.c:508:15: note: in expansion of macro 'PyMem_NEW' 508 | members = PyMem_NEW(PyMemberDef, n_members-n_unnamed_members+1); | ^~~~~~~~~ In file included from Include/Python.h:78, from Objects/typeobject.c:3: Objects/typeobject.c: In function 'pmerge': Objects/typeobject.c:1519:44: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 1519 | remain = (int *)PyMem_MALLOC(SIZEOF_INT*to_merge_size); Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ In file included from Include/Python.h:78, from Python/bltinmodule.c:3: Python/bltinmodule.c: In function 'builtin_map': Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ Python/bltinmodule.c:980:17: note: in expansion of macro 'PyMem_NEW' 980 | if ((seqs = PyMem_NEW(sequence, n)) == NULL) { | ^~~~~~~~~ In file included from Include/Python.h:78, from Python/getargs.c:4: Python/getargs.c: In function 'convertsimple': Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ Python/getargs.c:1133:27: note: in expansion of macro 'PyMem_NEW' 1133 | *buffer = PyMem_NEW(char, size + 1); | ^~~~~~~~~ Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ Python/getargs.c:1181:23: note: in expansion of macro 'PyMem_NEW' 1181 | *buffer = PyMem_NEW(char, size + 1); | ^~~~~~~~~ Python/getargs.c:1034:21: warning: variable 'encoding' set but not used [-Wunused-but-set-variable] 1034 | const char *encoding; | ^~~~~~~~ In file included from Include/Python.h:78, from Python/import.c:4: Python/import.c: In function '_PyImport_Init': Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ Python/import.c:168:15: note: in expansion of macro 'PyMem_NEW' 168 | filetab = PyMem_NEW(struct filedescr, countD + countS + 1); | ^~~~~~~~~ Python/import.c: In function 'PyImport_ExtendInittab': Include/pymem.h:110:41: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 110 | (type *) PyMem_REALLOC((p), (n) * sizeof(type)) ) | ^ Include/pymem.h:77:49: note: in definition of macro 'PyMem_REALLOC' 77 | : realloc((p), (n) ? (n) : 1)) | ^ Python/import.c:3525:5: note: in expansion of macro 'PyMem_RESIZE' 3525 | PyMem_RESIZE(p, struct _inittab, i+n+1); | ^~~~~~~~~~~~ In function 'w_long', inlined from 'PyMarshal_WriteLongToFile' at Python/marshal.c:472:5: Python/marshal.c:70:35: warning: 'wf.ptr' may be used uninitialized [-Wmaybe-uninitialized] 70 | else if ((p)->ptr != (p)->end) *(p)->ptr++ = (c); \ | ~~~^~~~~ Python/marshal.c:119:5: note: in expansion of macro 'w_byte' 119 | w_byte((char)( x & 0xff), p); | ^~~~~~ Python/marshal.c: In function 'PyMarshal_WriteLongToFile': Python/marshal.c:466:11: note: 'wf' declared here 466 | WFILE wf; | ^~ In function 'w_long', inlined from 'PyMarshal_WriteLongToFile' at Python/marshal.c:472:5: Python/marshal.c:70:47: warning: 'wf.end' may be used uninitialized [-Wmaybe-uninitialized] 70 | else if ((p)->ptr != (p)->end) *(p)->ptr++ = (c); \ | ~~~^~~~~ Python/marshal.c:119:5: note: in expansion of macro 'w_byte' 119 | w_byte((char)( x & 0xff), p); | ^~~~~~ Python/marshal.c: In function 'PyMarshal_WriteLongToFile': Python/marshal.c:466:11: note: 'wf' declared here 466 | WFILE wf; | ^~ In function 'w_more', inlined from 'w_long' at Python/marshal.c:119:5, inlined from 'PyMarshal_WriteLongToFile' at Python/marshal.c:472:5: Python/marshal.c:77:10: warning: 'wf.str' may be used uninitialized [-Wmaybe-uninitialized] 77 | if (p->str == NULL) | ~^~~~~ Python/marshal.c: In function 'PyMarshal_WriteLongToFile': Python/marshal.c:466:11: note: 'wf' declared here 466 | WFILE wf; | ^~ ../pyext/fastfunc.c: In function 'func_J8EncodeString': ../pyext/fastfunc.c:37:49: warning: pointer targets in passing argument 1 of 'PyString_FromStringAndSize' differ in signedness [-Wpointer-sign] 37 | PyObject *ret = PyString_FromStringAndSize(out.data, out.len); | ~~~^~~~~ | | | unsigned char * In file included from Include/Python.h:99, from ../pyext/fastfunc.c:12: Include/stringobject.h:62:51: note: expected 'const char *' but argument is of type 'unsigned char *' 62 | PyAPI_FUNC(PyObject *) PyString_FromStringAndSize(const char *, Py_ssize_t); | ^~~~~~~~~~~~ ../pyext/fastfunc.c: In function 'func_ShellEncodeString': ../pyext/fastfunc.c:53:49: warning: pointer targets in passing argument 1 of 'PyString_FromStringAndSize' differ in signedness [-Wpointer-sign] 53 | PyObject *ret = PyString_FromStringAndSize(out.data, out.len); | ~~~^~~~~ | | | unsigned char * Include/stringobject.h:62:51: note: expected 'const char *' but argument is of type 'unsigned char *' 62 | PyAPI_FUNC(PyObject *) PyString_FromStringAndSize(const char *, Py_ssize_t); | ^~~~~~~~~~~~ ../pyext/line_input.c: In function 'setup_readline': ../pyext/line_input.c:991:37: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 991 | completer_word_break_characters = | ^ In file included from Include/Python.h:78, from ../pyext/posixmodule.c:6: ../pyext/posixmodule.c: In function 'posix_execv': Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ ../pyext/posixmodule.c:1102:16: note: in expansion of macro 'PyMem_NEW' 1102 | argvlist = PyMem_NEW(char *, argc+1); | ^~~~~~~~~ ../pyext/posixmodule.c: In function 'posix_execve': Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ ../pyext/posixmodule.c:1178:16: note: in expansion of macro 'PyMem_NEW' 1178 | argvlist = PyMem_NEW(char *, argc+1); | ^~~~~~~~~ Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ ../pyext/posixmodule.c:1199:15: note: in expansion of macro 'PyMem_NEW' 1199 | envlist = PyMem_NEW(char *, i + 1); | ^~~~~~~~~ Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ ../pyext/posixmodule.c:1237:13: note: in expansion of macro 'PyMem_NEW' 1237 | p = PyMem_NEW(char, len); | ^~~~~~~~~ In file included from Include/Python.h:78, from Modules/selectmodule.c:9: Modules/selectmodule.c: In function 'update_ufd_array': Include/pymem.h:110:41: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 110 | (type *) PyMem_REALLOC((p), (n) * sizeof(type)) ) | ^ Include/pymem.h:77:49: note: in definition of macro 'PyMem_REALLOC' 77 | : realloc((p), (n) ? (n) : 1)) | ^ Modules/selectmodule.c:337:5: note: in expansion of macro 'PyMem_RESIZE' 337 | PyMem_RESIZE(self->ufds, struct pollfd, self->ufd_len); | ^~~~~~~~~~~~ real 0m42.912s user 0m35.070s sys 0m7.606s objcopy --only-keep-debug _build/oil/ovm-opt _build/oil/ovm-opt.symbols strip -o _build/oil/ovm-opt.stripped _build/oil/ovm-opt # What's the difference with debug symbols? # We need a relative path since it will be _bin/oil.ovm objcopy --add-gnu-debuglink=_build/oil/ovm-opt.symbols _build/oil/ovm-opt.stripped cat _build/oil/ovm-opt.stripped _build/oil/bytecode-opy.zip > _bin/oil.ovm chmod +x _bin/oil.ovm >>> oil: Entering fakeroot... created directory: '/home/buildozer/aports/testing/oil/pkg/' created directory: '/home/buildozer/aports/testing/oil/pkg/oil/' created directory: '/home/buildozer/aports/testing/oil/pkg/oil/usr/' created directory: '/home/buildozer/aports/testing/oil/pkg/oil/usr/bin' '_bin/oil.ovm' -> '/home/buildozer/aports/testing/oil/pkg/oil/usr/bin/oil.ovm' Installed /home/buildozer/aports/testing/oil/pkg/oil/usr/bin/oil.ovm Created 'osh' symlink Created 'ysh' symlink Created 'oil' symlink created directory: '/home/buildozer/aports/testing/oil/pkg/oil/usr/share/' created directory: '/home/buildozer/aports/testing/oil/pkg/oil/usr/share/man/' created directory: '/home/buildozer/aports/testing/oil/pkg/oil/usr/share/man/man1' Installed man page 'doc/osh.1' -> '/home/buildozer/aports/testing/oil/pkg/oil/usr/share/man/man1/osh.1' >>> oil-doc*: Running split function doc... >>> oil-doc*: Preparing subpackage oil-doc... >>> oil-doc*: Running postcheck for oil-doc >>> oil*: Running postcheck for oil >>> oil*: Preparing package oil... >>> oil-doc*: Scanning shared objects >>> oil*: Scanning shared objects >>> oil-doc*: Tracing dependencies... >>> oil-doc*: Package size: 44.0 KB >>> oil-doc*: Compressing data... >>> oil-doc*: Create checksum... >>> oil-doc*: Create oil-doc-0.21.0-r0.apk >>> oil*: Tracing dependencies... so:libc.musl-aarch64.so.1 so:libreadline.so.8 >>> oil*: Package size: 5.6 MB >>> oil*: Compressing data... >>> oil*: Create checksum... >>> oil*: Create oil-0.21.0-r0.apk >>> oil: Build complete at Fri, 15 Mar 2024 23:09:25 +0000 elapsed time 0h 0m 46s >>> oil: Cleaning up srcdir >>> oil: Cleaning up pkgdir >>> oil: Uninstalling dependencies... (1/10) Purging .makedepends-oil (20240315.230840) (2/10) Purging readline-dev (8.2.10-r0) (3/10) Purging libhistory (8.2.10-r0) (4/10) Purging bash (5.2.26-r0) Executing bash-5.2.26-r0.pre-deinstall (5/10) Purging ncurses-dev (6.4_p20231125-r0) (6/10) Purging libncurses++ (6.4_p20231125-r0) (7/10) Purging libpanelw (6.4_p20231125-r0) (8/10) Purging readline (8.2.10-r0) (9/10) Purging libformw (6.4_p20231125-r0) (10/10) Purging libmenuw (6.4_p20231125-r0) Executing busybox-1.36.1-r21.trigger OK: 380 MiB in 104 packages >>> oil: Updating the testing/aarch64 repository index... >>> oil: Signing the index...