apk-tools build crashed
I am build apk-tools 2.7.2 in ROSA linux Fresh R8 x86_64 and crashed
build result
make
CC src/archive.o
CC src/blob.o
CC src/commit.o
CC src/common.o
CC src/database.o
src/database.c: В функции «map_statfs_flags»:
src/database.c:1460:15: ошибка: «ST_RDONLY» undeclared (first use in
this function)
if (f_flag & ST_RDONLY) mnt_flags |= MS_RDONLY;
^
src/database.c:1460:15: замечание: each undeclared identifier is
reported only once for each function it appears in
src/database.c:1461:15: ошибка: «ST_NOSUID» undeclared (first use in
this function)
if (f_flag & ST_NOSUID) mnt_flags |= MS_NOSUID;
^
src/database.c:1462:15: ошибка: «ST_NODEV» undeclared (first use in
this function)
if (f_flag & ST_NODEV) mnt_flags |= MS_NODEV;
^
src/database.c:1463:15: ошибка: «ST_NOEXEC» undeclared (first use in
this function)
if (f_flag & ST_NOEXEC) mnt_flags |= MS_NOEXEC;
^
src/database.c:1464:15: ошибка: «ST_NOATIME» undeclared (first use in
this function)
if (f_flag & ST_NOATIME) mnt_flags |= MS_NOATIME;
^
src/database.c:1465:15: ошибка: «ST_NODIRATIME» undeclared (first use
in this function)
if (f_flag & ST_NODIRATIME)mnt_flags |= MS_NODIRATIME;
^
src/database.c:1469:15: ошибка: «ST_SYNCHRONOUS» undeclared (first use
in this function)
if (f_flag & ST_SYNCHRONOUS) mnt_flags |= MS_SYNCHRONOUS;
^
src/database.c:1470:15: ошибка: «ST_MANDLOCK» undeclared (first use in
this function)
if (f_flag & ST_MANDLOCK) mnt_flags |= ST_MANDLOCK;
^
make[1]: * [Make.rules:197: src/database.o] Ошибка 1
make: * [Make.rules:264: src/] Ошибка 2
how i can fix it?
sinopsis:
cat /etc/release
ROSA Desktop Fresh R8.1 release 2014.1 for x86_64
uname -a
Linux nb 4.9.41-nrj-desktop-1rosa-x86_64 #1 SMP PREEMPT Fri Aug 11
11:00:08 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
rpm -qa | grep lua
texlive-luatex-0.70.1-16-rosa2014.1.noarch
texlive-luatex.bin-20131212-13-rosa2014.1.x86_64
lib64lua5.1-5.1.5-11-rosa2014.1.x86_64
lua5.1-5.1.5-11-rosa2014.1.x86_64
vlc-plugin-lua-2.2.4-1.1plf-plf2014.1.x86_64
nodejs-lodash._reevaluate-3.0.0-4-rosa2014.1.noarch
lua-posix-33.3.1-2-rosa2014.1.x86_64
lua-5.2.3-6-rosa2014.1.x86_64
lib64lua5.2-5.2.3-6-rosa2014.1.x86_64
lib64lua-devel-5.2.3-6-rosa2014.1.x86_64
lua-sql-sqlite-2.3.3-1-rosa2014.1.x86_64
(from redmine: issue id 7857, created on 2017-09-17, closed on 2019-05-03)
- Changesets:
- Revision 9dc6278c by Timo Teräs on 2017-10-05T13:58:09Z:
import libfetch-2.38 from NetBSD
ftp://ftp.fu-berlin.de/unix/NetBSD/packages/current-src/pkgsrc/net/libfetch/files
libfetch comes (at least) in netbsd and freebsd flavors which
differing functionality. Alpine and Arch package netbsd one,
but it's not widely packaged across other distributions.
We need NetBSD version as it does not use funopen(3) which is not
supported in musl, and supports connection pooling.
FreeBSD seems to be the orignal and better maintained version
with support for SSL CAs, client certificate authentication,
proxy authentication, and improved http redirect handling.
So this imports NetBSD version, and future commits will pick up
the needed improvements from FreeBSD tree.
Incidentally, this also fixes #7857 and likes for good.