>>> mysecureshell: Building community/mysecureshell 2.00-r0 (using abuild 3.13.0-r5) started Sun, 25 Aug 2024 14:32:38 +0000 >>> mysecureshell: Checking sanity of /home/buildozer/aports/community/mysecureshell/APKBUILD... >>> mysecureshell: Analyzing dependencies... >>> mysecureshell: Installing for build: build-base openssh musl-dev (1/3) Installing openssh-sftp-server (9.8_p1-r1) (2/3) Installing openssh (9.8_p1-r1) (3/3) Installing .makedepends-mysecureshell (20240825.143332) OK: 251 MiB in 104 packages >>> mysecureshell: Cleaning up srcdir >>> mysecureshell: Cleaning up pkgdir >>> mysecureshell: Cleaning up tmpdir >>> mysecureshell: Fetching https://distfiles.alpinelinux.org/distfiles/edge/mysecureshell-2.00.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 100 617k 100 617k 0 0 4336k 0 --:--:-- --:--:-- --:--:-- 4378k >>> mysecureshell: Fetching https://distfiles.alpinelinux.org/distfiles/edge/mysecureshell-2.00.tar.gz >>> mysecureshell: Checking sha512sums... mysecureshell-2.00.tar.gz: OK 0001-include-types.h.patch: OK >>> mysecureshell: Unpacking /var/cache/distfiles/mysecureshell-2.00.tar.gz... >>> mysecureshell: 0001-include-types.h.patch patching file SftpServer/Encode.c patching file SftpServer/Handle.c patching file SftpState/Main.c patching file SftpWho/Main.c checking whether make sets $(MAKE)... yes checking for loongarch64-alpine-linux-musl-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for sed... /bin/sed checking for sudo... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether gcc needs -traditional... no checking whether ln -s works... yes checking for inline... inline checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for int32_t... yes checking for mode_t... yes checking for off_t... yes checking for ssize_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking return type of signal handlers... void checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for u_int64_t... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for unistd.h... (cached) yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking for sys/param.h... (cached) yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/socket usability... no checking sys/socket presence... no checking for sys/socket... no checking for netinet/in.h... (cached) yes checking sys/acl.h usability... no checking sys/acl.h presence... no checking for sys/acl.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for sys/mount.h... yes checking whether closedir returns void... no checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking whether lstat accepts an empty string... no checking for unistd.h... (cached) yes checking for working chown... yes checking type of array argument to getgroups... gid_t checking for size_t... yes checking for getgroups... yes checking for working getgroups... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for strftime... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking whether stat file-mode macros are broken... no checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for endgrent... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strrchr... yes checking for strstr... yes checking for statfs... yes checking for statvfs... yes checking for getgroups... (cached) yes checking for strlcpy... yes checking for strlcat... yes checking for acl... no checking for acl_get_perm_np... no checking for atexit... yes checking for dup2... yes checking for endpwent... yes checking for gettimeofday... yes checking for memset... yes checking for mkdir... yes checking for realpath... yes checking for regcomp... yes checking for rmdir... yes checking for select... yes checking for setenv... yes checking for memmove... yes checking for openlog... yes checking for syslog... yes checking for closelog... yes checking for vsyslog... yes checking for connect... yes checking for gethostbyaddr... yes checking for gethostbyname... yes checking for inet_ntoa... yes checking for iconv_open... yes checking for iconv_close... yes checking for iconv... yes checking for acl_get_entry in -lacl... no checking for gnutls_hash_init in -lgnutls... no configure: creating ./config.status config.status: creating Makefile config.status: creating install.sh config.status: creating uninstaller.sh config.status: creating utils/sftp-user chmod: utils/sftp-verif: No such file or directory config.status: creating utils/sftp-verif config.status: creating config.h checking for a BSD-compatible install... /usr/bin/install -c MySecureShell has been configured with the following options: Log file: /var/log/sftp-server.log (color: no) User binaries: /usr/bin Shutdown file: /var/lib/misc/sftp.shut Configuration file: /etc/ssh/sftp_config Compilation flags: Option supported: ACL : no Remote Admin : yes UTF-8 Encoding : yes Sftp extension supported: Disk Usage : yes Disk Usage OpenSSH: yes File Hashing : no Compile [Core/main.c] Compile [Core/string.c] Compile [Core/parsing.c] Compile [Core/hash.c] Compile [Core/conf.c] Compile [Core/convert.c] Compile [Core/user.c] Compile [Core/prog.c] Compile [Core/ip.c] Compile [Core/FileSpec.c] Compile [SftpServer/Buffer.c] Compile [SftpServer/Encode.c] Compile [SftpServer/Handle.c] Compile [SftpServer/Send.c] Compile [SftpServer/Sftp.c] Compile [SftpServer/Util.c] Compile [SftpServer/Log.c] Compile [SftpServer/Encoding.c] Compile [SftpServer/Admin.c] Compile [SftpServer/SftpWho.c] Compile [SftpServer/SftpExt.c] Compile [SftpServer/SftpServer.c] Compile [SftpServer/GetUsersInfos.c] Compile [SftpServer/Stats.c] Compile [SftpServer/Access.c] Compile [SftpServer/FileSystem.c] Compile [SftpServer/FileSystemAcl.c] Compile [SftpWho/Main.c] Compile [SftpState/Main.c] Compile [SftpAdmin/Main.c] SftpServer/Encode.c:277:13: warning: 'EncodeACL' defined but not used [-Wunused-function] 277 | static void EncodeACL(tBuffer *b, const char *file) | ^~~~~~~~~ SftpServer/Encode.c:223:13: warning: 'EncodeACLCallBack' defined but not used [-Wunused-function] 223 | static void EncodeACLCallBack(void *data, int type, u_int32_t id, u_int32_t mode) | ^~~~~~~~~~~~~~~~~ In file included from SftpServer/Buffer.h:23, from SftpServer/Global.h:23, from SftpServer/FileSystem.c:31: SftpServer/FileSystem.c: In function 'FSCheckSecurity': SftpServer/Sftp.h:184:65: warning: statement with no effect [-Wunused-value] 184 | #define SSH2_FX_OK 0 | ^ SftpServer/FileSystemAcl.h:37:41: note: in expansion of macro 'SSH2_FX_OK' 37 | #define FSEnumAcl(_A, _B, _C, _D, _E) SSH2_FX_OK | ^~~~~~~~~~ SftpServer/FileSystem.c:247:17: note: in expansion of macro 'FSEnumAcl' 247 | FSEnumAcl(fullPath, 0, FSCheckSecurityACL, &result, &nbEntries); | ^~~~~~~~~ SftpServer/FileSystem.c:244:27: warning: unused variable 'nbEntries' [-Wunused-variable] 244 | u_int32_t nbEntries; | ^~~~~~~~~ SftpServer/FileSystem.c: At top level: SftpServer/FileSystem.c:209:13: warning: 'FSCheckSecurityACL' defined but not used [-Wunused-function] 209 | static void FSCheckSecurityACL(void *data, int type, u_int32_t id, u_int32_t mode) | ^~~~~~~~~~~~~~~~~~ Compile binary [utils/sftp-state] Compile binary [utils/sftp-who] Compile binary [utils/sftp-admin] Compile binary [mysecureshell] >>> WARNING: mysecureshell: APKBUILD does not run any tests! Alpine policy will soon require that packages have any relevant testsuites run during the build process. To fix, either define a check() function, or declare !check in $options to indicate the package does not have a testsuite. >>> mysecureshell: Entering fakeroot... ######################################### # MySecureShell # ######################################### Welcome to the MySecureShell installation script ! Detecting needed files for installation: Existing file mysecureshell [ OK ] Existing file sftp_config [ OK ] Do you want to test MySecureShell (check libraries requirement) ? (Y/n) Test MySecureShell... Test ending This script will made a few operations: - Install MySecureShell in /bin - Make a configuration file in /etc/ssh/sftp_config - Introduce if which MySecureShell as a valid shell - Install utilities in /usr/bin WARNING: The server will shutdown and all sftp connected clients will be killed ! - Do you want to continue installation ? (Y/n) MySecureShell Installation No default ssh folders found. Do you want to create /etc/ssh ? (Y/n) Created /etc/ssh folder [ OK ] MySecureShell file created [ OK ] MySecureShell file created [ OK ] No file /etc/shells. Do you want to create /etc/shells ? (y/N) Installation of tool sftp-who [ OK ] Installation of tool sftp-kill [ OK ] Installation of tool sftp-state [ OK ] Installation of tool sftp-admin [ OK ] Installation of tool sftp-verif [ OK ] Installation of tool sftp-user [ OK ] Do you want to automatically rotate MySecureShell logs ? (Y/n) Initialisation of MySecureShell rotation logs [ OK ] Installation of Manuals [ OK ] Installation Finished ! Note: If you run on Mac OS X, don't forget to copy MSS folder in Applications ! >>> mysecureshell-doc*: Running split function doc... >>> mysecureshell-doc*: Preparing subpackage mysecureshell-doc... >>> mysecureshell-doc*: Running postcheck for mysecureshell-doc >>> mysecureshell*: Running postcheck for mysecureshell >>> mysecureshell*: Preparing package mysecureshell... >>> mysecureshell*: Stripping binaries >>> mysecureshell*: Script found. /bin/sh added as a dependency for mysecureshell-2.00-r0.apk >>> mysecureshell*: Adding .post-install >>> mysecureshell*: Adding .post-deinstall >>> mysecureshell-doc*: Scanning shared objects >>> mysecureshell*: Scanning shared objects >>> mysecureshell-doc*: Tracing dependencies... >>> mysecureshell-doc*: Package size: 52.0 KB >>> mysecureshell-doc*: Compressing data... >>> mysecureshell-doc*: Create checksum... >>> mysecureshell-doc*: Create mysecureshell-doc-2.00-r0.apk >>> mysecureshell*: Tracing dependencies... openssh /bin/sh so:libc.musl-loongarch64.so.1 >>> mysecureshell*: Package size: 216.0 KB >>> mysecureshell*: Compressing data... >>> mysecureshell*: Create checksum... >>> mysecureshell*: Create mysecureshell-2.00-r0.apk >>> mysecureshell: Build complete at Sun, 25 Aug 2024 14:33:39 +0000 elapsed time 0h 1m 1s >>> mysecureshell: Cleaning up srcdir >>> mysecureshell: Cleaning up pkgdir >>> mysecureshell: Uninstalling dependencies... (1/3) Purging .makedepends-mysecureshell (20240825.143332) (2/3) Purging openssh (9.8_p1-r1) (3/3) Purging openssh-sftp-server (9.8_p1-r1) OK: 250 MiB in 101 packages >>> mysecureshell: Updating the community/loongarch64 repository index... >>> mysecureshell: Signing the index...