Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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



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


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