>>> beep: Building main/beep 1.4.12-r1 (using abuild 3.11.0_rc12-r0) started Wed, 19 Apr 2023 23:10:10 +0000 >>> beep: Checking sanity of /home/buildozer/aports/main/beep/APKBUILD... >>> beep: Analyzing dependencies... >>> beep: Installing for build: build-base linux-headers (1/2) Installing linux-headers (6.2-r0) (2/2) Installing .makedepends-beep (20230419.231011) OK: 448 MiB in 99 packages >>> beep: Cleaning up srcdir >>> beep: Cleaning up pkgdir >>> beep: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/beep-1.4.12.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> beep: Fetching beep-1.4.12.tar.gz::https://github.com/spkr-beep/beep/archive/v1.4.12.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 89172 0 89172 0 0 45087 0 --:--:-- 0:00:01 --:--:-- 98k >>> beep: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/beep-1.4.12.tar.gz >>> beep: Checking sha512sums... beep-1.4.12.tar.gz: OK 0001-disable-gcc-ubsan.patch: OK 0002-remove-option-werror.patch: OK 0003-remove-option-werror.patch: OK >>> beep: Unpacking /var/cache/distfiles/v3.18/beep-1.4.12.tar.gz... >>> beep: 0001-disable-gcc-ubsan.patch patching file GNUmakefile >>> beep: 0002-remove-option-werror.patch patching file GNUmakefile >>> beep: 0003-remove-option-werror.patch patching file GNUmakefile #======================================================================= # common_CFLAGS=-g -std=gnu99 -pedantic -Wall -Wextra -Wno-padded -Werror=format-security -Wno-format-nonliteral # CFLAGS=-fasynchronous-unwind-tables -fanalyzer -fstack-protector-strong -fstack-clash-protection -save-temps=obj # CPPFLAGS=-D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS #======================================================================= sed -e 's|@PACKAGE_TARNAME@|beep|g' -e 's|@PACKAGE_VERSION@|1.4.12|g' -e 's|@DEFAULT_FREQ@|440|g' -e 's|@DEFAULT_LENGTH@|200|g' -e 's|@DEFAULT_DELAY@|100|g' -e 's|[@]docdir@|/usr/share/doc/beep|g' < beep-config.h.in > beep-config.h.new mv -f beep-config.h.new beep-config.h gcc -MT beep-library.o -MMD -MP -MF .deps/beep-library.o.dep -DPACKAGE_TARNAME='"beep"' -DPACKAGE_VERSION='"1.4.12"' -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -g -std=gnu99 -pedantic -Wall -Wextra -Wno-padded -Werror=format-security -Wno-format-nonliteral -fasynchronous-unwind-tables -fanalyzer -fstack-protector-strong -fstack-clash-protection -save-temps=obj -o beep-library.o -c beep-library.c sed -e 's|@PACKAGE_TARNAME@|beep|g' -e 's|@PACKAGE_VERSION@|1.4.12|g' -e 's|@DEFAULT_FREQ@|440|g' -e 's|@DEFAULT_LENGTH@|200|g' -e 's|@DEFAULT_DELAY@|100|g' -e 's|[@]docdir@|/usr/share/doc/beep|g' < beep-usage.txt.in > beep-usage.txt.new mv -f beep-usage.txt.new beep-usage.txt gcc -MT beep-drivers.o -MMD -MP -MF .deps/beep-drivers.o.dep -DPACKAGE_TARNAME='"beep"' -DPACKAGE_VERSION='"1.4.12"' -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -g -std=gnu99 -pedantic -Wall -Wextra -Wno-padded -Werror=format-security -Wno-format-nonliteral -fasynchronous-unwind-tables -fanalyzer -fstack-protector-strong -fstack-clash-protection -save-temps=obj -o beep-drivers.o -c beep-drivers.c gcc -MT beep-driver-console.o -MMD -MP -MF .deps/beep-driver-console.o.dep -DPACKAGE_TARNAME='"beep"' -DPACKAGE_VERSION='"1.4.12"' -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -g -std=gnu99 -pedantic -Wall -Wextra -Wno-padded -Werror=format-security -Wno-format-nonliteral -fasynchronous-unwind-tables -fanalyzer -fstack-protector-strong -fstack-clash-protection -save-temps=obj -o beep-driver-console.o -c beep-driver-console.c gcc -MT beep-driver-evdev.o -MMD -MP -MF .deps/beep-driver-evdev.o.dep -DPACKAGE_TARNAME='"beep"' -DPACKAGE_VERSION='"1.4.12"' -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -g -std=gnu99 -pedantic -Wall -Wextra -Wno-padded -Werror=format-security -Wno-format-nonliteral -fasynchronous-unwind-tables -fanalyzer -fstack-protector-strong -fstack-clash-protection -save-temps=obj -o beep-driver-evdev.o -c beep-driver-evdev.c sed -e 's|@PACKAGE_TARNAME@|beep|g' -e 's|@PACKAGE_VERSION@|1.4.12|g' -e 's|@DEFAULT_FREQ@|440|g' -e 's|@DEFAULT_LENGTH@|200|g' -e 's|@DEFAULT_DELAY@|100|g' -e 's|[@]docdir@|/usr/share/doc/beep|g' < beep.1.in > beep.1.new mv -f beep.1.new beep.1 gcc -MT beep-log.o -MMD -MP -MF .deps/beep-log.o.dep -DPACKAGE_TARNAME='"beep"' -DPACKAGE_VERSION='"1.4.12"' -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -g -std=gnu99 -pedantic -Wall -Wextra -Wno-padded -Werror=format-security -Wno-format-nonliteral -fasynchronous-unwind-tables -fanalyzer -fstack-protector-strong -fstack-clash-protection -save-temps=obj -o beep-log.o -c beep-log.c gcc -MT beep-main.o -MMD -MP -MF .deps/beep-main.o.dep -DPACKAGE_TARNAME='"beep"' -DPACKAGE_VERSION='"1.4.12"' -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -g -std=gnu99 -pedantic -Wall -Wextra -Wno-padded -Werror=format-security -Wno-format-nonliteral -fasynchronous-unwind-tables -fanalyzer -fstack-protector-strong -fstack-clash-protection -save-temps=obj -o beep-main.o -c beep-main.c echo '/* Auto-generated from `beep-usage.txt`. Modify that file instead. */' > beep-usage.c echo '#include "beep-usage.h"' >> beep-usage.c echo 'char beep_usage[] =' >> beep-usage.c set -e; IFS=""; while read line; do \ printf ' "%s\\n"\n' "${line}" >> beep-usage.c; \ done < beep-usage.txt echo ' ;' >> beep-usage.c gcc -MT beep-usage.o -MMD -MP -MF .deps/beep-usage.o.dep -DPACKAGE_TARNAME='"beep"' -DPACKAGE_VERSION='"1.4.12"' -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -g -std=gnu99 -pedantic -Wall -Wextra -Wno-padded -Werror=format-security -Wno-format-nonliteral -fasynchronous-unwind-tables -fanalyzer -fstack-protector-strong -fstack-clash-protection -save-temps=obj -o beep-usage.o -c beep-usage.c beep-main.c: In function 'parse_command_line': beep-main.c:318:32: warning: dereference of possibly-NULL '*result.next' [CWE-690] [-Wanalyzer-possible-null-dereference] 318 | result->next->freq = 0; | ~~~~~~~~~~~~~~~~~~~^~~ 'main': event 1 | |beep-main.c:443:5: | 443 | int main(const int argc, char *const argv[]) | | ^~~~ | | | | | (1) entry to 'main' | 'main': event 2 | |beep-main.c:471:8: | 471 | if ((getuid() != geteuid()) || (getgid() != getegid())) { | | ^ | | | | | (2) following 'false' branch... | 'main': event 3 | |beep-main.c:480:10: | 480 | if ((getuid() == 0) || (geteuid() == 0) || | | ^~~~~~~~ | | | | | (3) ...to here | 'main': event 4 | |beep-main.c:496:8: | 496 | if (NULL == parms) { | | ^ | | | | | (4) following 'false' branch (when 'parms' is non-NULL)... | 'main': event 5 | |beep-main.c:500:17: | 500 | parms->freq = 0; | | ~~~~~~~~~~~~^~~ | | | | | (5) ...to here | 'main': event 6 | |beep-main.c:508:5: | 508 | parse_command_line(argc, argv, parms); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (6) calling 'parse_command_line' from 'main' | +--> 'parse_command_line': event 7 | |beep-main.c:227:6: | 227 | void parse_command_line(const int argc, char *const argv[], beep_parms_T *result) | | ^~~~~~~~~~~~~~~~~~ | | | | | (7) entry to 'parse_command_line' | 'parse_command_line': event 8 | |beep-main.c:243:12: | 243 | != EOF) { | 'parse_command_line': events 9-10 | |beep-main.c:245:13: | 245 | int argval_i = -1; | | ^~~~~~~~ | | | | | (9) ...to here |...... | 249 | switch (ch) { | | ~~~~~~ | | | | | (10) following 'case 110:' branch... | 'parse_command_line': events 11-15 | |beep-main.c:313:9: | 313 | case 'n' : /* also --new - create another beep */ | | ^~~~ | | | | | (11) ...to here | 314 | if (result->freq == 0) { | | ~ | | | | | (12) following 'true' branch... | 315 | result->freq = DEFAULT_FREQ; | | ~~~~~~~~~~~~~~~~~~ | | | | | (13) ...to here | 316 | } | 317 | result->next = (beep_parms_T *)malloc(sizeof(beep_parms_T)); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (14) this call could return NULL | 318 | result->next->freq = 0; | | ~~~~~~~~~~~~~~~~~~~~~~ | | | | | (15) '*result.next' could be NULL: unchecked value from (14) | gcc -Wl,-Map=beep.map,--cref -fasynchronous-unwind-tables -fanalyzer -fstack-protector-strong -fstack-clash-protection -save-temps=obj -g -std=gnu99 -pedantic -Wall -Wextra -Wno-padded -Werror=format-security -Wno-format-nonliteral -o beep beep-log.o beep-main.o beep-library.o beep-usage.o beep-drivers.o beep-driver-console.o beep-driver-evdev.o >>> beep: Entering fakeroot... #======================================================================= # common_CFLAGS=-g -std=gnu99 -pedantic -Wall -Wextra -Wno-padded -Werror=format-security -Wno-format-nonliteral # CFLAGS=-fasynchronous-unwind-tables -fanalyzer -fstack-protector-strong -fstack-clash-protection -save-temps=obj # CPPFLAGS=-D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS #======================================================================= install -d -m 0755 /home/buildozer/aports/main/beep/pkg/beep/usr/bin install -d -m 0755 /home/buildozer/aports/main/beep/pkg/beep/usr/share/man/man1 install -d -m 0755 /home/buildozer/aports/main/beep/pkg/beep/usr/share/doc/beep install -d -m 0755 /home/buildozer/aports/main/beep/pkg/beep/usr/share/doc/beep/contrib install -p -m 0755 beep /home/buildozer/aports/main/beep/pkg/beep/usr/bin/beep install -p -m 0644 beep.1 /home/buildozer/aports/main/beep/pkg/beep/usr/share/man/man1/beep.1 install -p -m 0644 COPYING /home/buildozer/aports/main/beep/pkg/beep/usr/share/doc/beep/COPYING install -p -m 0644 CREDITS.md /home/buildozer/aports/main/beep/pkg/beep/usr/share/doc/beep/CREDITS.md install -p -m 0644 NEWS.md /home/buildozer/aports/main/beep/pkg/beep/usr/share/doc/beep/NEWS.md install -p -m 0644 README.md /home/buildozer/aports/main/beep/pkg/beep/usr/share/doc/beep/README.md install -p -m 0644 PERMISSIONS.md /home/buildozer/aports/main/beep/pkg/beep/usr/share/doc/beep/PERMISSIONS.md install -p -m 0755 contrib/failure-beeps /home/buildozer/aports/main/beep/pkg/beep/usr/share/doc/beep/contrib/failure-beeps install -p -m 0755 contrib/success-beeps /home/buildozer/aports/main/beep/pkg/beep/usr/share/doc/beep/contrib/success-beeps install -p -m 0755 contrib/morse/morse2beep.pl /home/buildozer/aports/main/beep/pkg/beep/usr/share/doc/beep/contrib/morse2beep.pl install -p -m 0755 contrib/morse/morse2beep.sed /home/buildozer/aports/main/beep/pkg/beep/usr/share/doc/beep/contrib/morse2beep.sed >>> beep-doc*: Running split function doc... >>> beep-doc*: Preparing subpackage beep-doc... >>> beep-doc*: Running postcheck for beep-doc >>> beep*: Running postcheck for beep >>> beep*: Preparing package beep... >>> beep*: Stripping binaries >>> beep-doc*: Scanning shared objects >>> beep*: Scanning shared objects >>> beep-doc*: Tracing dependencies... >>> beep-doc*: Package size: 108.0 KB >>> beep-doc*: Compressing data... >>> beep-doc*: Create checksum... >>> beep-doc*: Create beep-doc-1.4.12-r1.apk >>> beep*: Tracing dependencies... so:libc.musl-ppc64le.so.1 >>> beep*: Package size: 80.0 KB >>> beep*: Compressing data... >>> beep*: Create checksum... >>> beep*: Create beep-1.4.12-r1.apk >>> beep: Build complete at Wed, 19 Apr 2023 23:10:16 +0000 elapsed time 0h 0m 6s >>> beep: Cleaning up srcdir >>> beep: Cleaning up pkgdir >>> beep: Uninstalling dependencies... (1/2) Purging .makedepends-beep (20230419.231011) (2/2) Purging linux-headers (6.2-r0) OK: 440 MiB in 97 packages >>> beep: Updating the main/ppc64le repository index... >>> beep: Signing the index...