FS#75533 - [libarchive] FTBFS glibc-2.36

Attached to Project: Arch Linux
Opened by Andreas Baumann (andreas_baumann) - Sunday, 07 August 2022, 13:45 GMT
Last edited by Christian Hesse (eworm) - Thursday, 11 August 2022, 07:21 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

In file included from /usr/include/linux/fs.h:19,
from libarchive/archive_read_disk_posix.c:56:
/usr/include/linux/mount.h:95:6: error: redeclaration of ‘enum fsconfig_command’
95 | enum fsconfig_command {

/usr/include/linux/mount.h:96:9: error: redeclaration of enumerator ‘FSCONFIG_SET_FLAG’
96 | FSCONFIG_SET_FLAG = 0, /* Set parameter, supplying no value */
| ^~~~~~~~~~~~~~~~~

This is fixed upstream in master, a2f68263a1da5ad227bcb9cd8fa91b93c8b6c99f

Additional info:
* package version(s): 3.6.1-2

Fixed with 0003-no-sys_mount-linux_fs-includes.patch

git format-patch -k --stdout 2eb700495c4c384cde5c5d4c3e9b9d5d5ca674a8..66d6e8a9166d3a340a16e1bd861fea9e1c186af3 \
> 0003-no-sys_mount-linux_fs-includes.patch

PKGBUILD:

source=("https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc}
'0001-libarchive-Handle-a-calloc-returning-NULL-fixes-1754.patch'
'0002-Validate-entry_bytes_remaining-in-pax_attribute.patch'
'0003-no-sys_mount-linux_fs-includes.patch')
sha256sums=('5a411aceb978f43e626f0c2d1812ddd8807b645ed892453acabd532376c148e6'
'SKIP'
'bc52b2b2b99915894b436c97872d5d50e94c8c7483865a028fad9a710c837fa7'
'38c8d9b00f3259558e67e6fdf790ccbf8ecbba2de101476c2416d87b1679bcb9'
'cdb370df255245de557f0e6b1f780798a954771833d56602633b67db8cacce53')
prepare() {
...
patch -Np1 < ../0003-no-sys_mount-linux_fs-includes.patch
...
This task depends upon

Closed by  Christian Hesse (eworm)
Thursday, 11 August 2022, 07:21 GMT
Reason for closing:  Fixed
Additional comments about closing:  in svn
Comment by Andreas Baumann (andreas_baumann) - Sunday, 07 August 2022, 13:46 GMT
I meant glibc 2.36, of course. :-)
Comment by Toolybird (Toolybird) - Thursday, 11 August 2022, 07:00 GMT

Loading...