Created attachment 588580 [details] build.log Specifically it fails at: ``` /var/tmp/portage/app-arch/libarchive-3.4.0/work/libarchive-3.4.0/libarchive/archive_read_support_filter_gzip.c:134:16: warning: 'struct private_data' declared inside parameter list will not be visible outside of this definition or declaration 134 | struct private_data *state) | ^~~~~~~~~~~~ /var/tmp/portage/app-arch/libarchive-3.4.0/work/libarchive-3.4.0/libarchive/archive_read_support_filter_gzip.c: In function 'peek_at_header': /var/tmp/portage/app-arch/libarchive-3.4.0/work/libarchive-3.4.0/libarchive/archive_read_support_filter_gzip.c:157:8: error: dereferencing pointer to incomplete type 'struct private_data' 157 | state->mtime = archive_le32dec(p + 4); | ^~ /var/tmp/portage/app-arch/libarchive-3.4.0/work/libarchive-3.4.0/libarchive/archive_read_support_filter_gzip.c: In function 'gzip_read_header': /var/tmp/portage/app-arch/libarchive-3.4.0/work/libarchive-3.4.0/libarchive/archive_read_support_filter_gzip.c:247:11: error: dereferencing pointer to incomplete type 'struct private_data' 247 | if (state->mtime != 0) | ^~ At top level: /var/tmp/portage/app-arch/libarchive-3.4.0/work/libarchive-3.4.0/libarchive/archive_read_support_filter_gzip.c:240:1: warning: 'gzip_read_header' defined but not used [-Wunused-function] 240 | gzip_read_header(struct archive_read_filter *self, struct archive_entry *entry) | ^~~~~~~~~~~~~~~~ ``` After having added USE=zlib the build succeeds.
Thank you for the report. Please recompile and paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks. Please reopen this ticket (Status:unconfirmed) afterwards.
Already resolved upstream: https://github.com/libarchive/libarchive/issues/1214 https://github.com/libarchive/libarchive/commit/64333cef68d7bcc67bef6ecf177fbeaa549b9139#diff-161d7715df72742ff0f59523762310a6
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2724e477dbeef81ed5f8ad995e738c776379485c commit 2724e477dbeef81ed5f8ad995e738c776379485c Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-09-02 07:07:21 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-09-02 07:07:21 +0000 app-arch/libarchive: Fixed build with USE="-zlib" Thanks-to: Albert W. Hopkins <marduk@letterboxes.org> Thanks-to: Stephan Hartmann <stha09@googlemail.com> Closes: https://bugs.gentoo.org/693202 Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> .../libarchive-3.4.0-without_zlib_build_fix.patch | 160 +++++++++++++++++++++ app-arch/libarchive/libarchive-3.4.0.ebuild | 1 + 2 files changed, 161 insertions(+)