pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/55400: bootstrap broken on FreeBSD following libarchive update
The following reply was made to PR pkg/55400; it has been noted by GNATS.
From: Sevan Janiyan <venture37%geeklan.co.uk@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/55400: bootstrap broken on FreeBSD following libarchive
update
Date: Fri, 19 Jun 2020 23:38:56 +0100
On 19/06/2020 23:35, Sevan Janiyan wrote:
> The API in libarchive has changed also changed and
> pkgtools/pkg_install/files/lib/vulnerabilities-file.c is calling
> functions that do not exist now
>
> From macos 10.15 (same warnings also on FreeBSD):
>
> --- vulnerabilities-file.o ---
> cc -isystem /usr/include -DHAVE_CONFIG_H
> -DDEF_LOG_DIR=\"/tmp/pkg/pkgdb\"
> -I/opt/pkgsrc/bootstrap/work/libnbcompat
> -I/opt/pkgsrc/bootstrap/work/libarchive/libarchive -I. -I.
> -DSYSCONFDIR=\"/tmp/pkg/etc\" -DBOOTSTRAP -g -O2 -c vulnerabilities-file.c
> vulnerabilities-file.c:83:22: warning: implicit declaration of function
> 'archive_read_new' is invalid in C99 [-Wimplicit-function-declaration]
> struct archive *a = archive_read_new();
> ^
> vulnerabilities-file.c:83:18: warning: incompatible integer to pointer
> conversion initializing 'struct archive *' with an expression of type
> 'int' [-Wint-conversion]
> struct archive *a = archive_read_new();
> ^ ~~~~~~~~~~~~~~~~~~
> vulnerabilities-file.c:87:2: warning: implicit declaration of function
> 'archive_read_support_filter_gzip' is invalid in C99
> [-Wimplicit-function-declaration]
> archive_read_support_filter_gzip(a);
> ^
> vulnerabilities-file.c:88:2: warning: implicit declaration of function
> 'archive_read_support_filter_bzip2' is invalid in C99
> [-Wimplicit-function-declaration]
> archive_read_support_filter_bzip2(a);
> ^
> vulnerabilities-file.c:89:2: warning: implicit declaration of function
> 'archive_read_support_filter_xz' is invalid in C99
> [-Wimplicit-function-declaration]
> archive_read_support_filter_xz(a);
> ^
> vulnerabilities-file.c:90:2: warning: implicit declaration of function
> 'archive_read_support_format_raw' is invalid in C99
> [-Wimplicit-function-declaration]
> archive_read_support_format_raw(a);
> ^
>
Actually, this issue is there when building with on libarchive-3.4.0.
Sevan
Home |
Main Index |
Thread Index |
Old Index