pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Libarchive build failure with Glibc 2.36 on Linux
On Thu, Aug 25, 2022 at 12:40:12AM -0400, Nathan Fisher wrote:
> Glibc 2.36 has conflicting definitions of enum fsconfig_command in both
> linux/mount.h and sys/mount.h. This causes a build failure in libarchive as
> well as causing pkgsrc to fail to bootstrap due to libarchive being a
> dependency of several tools.
>
> This can be worked around by removing the include for linux/fs.h in the file
> archive_read_disk_posix.c. However I would not be surprised if this needs to
> be conditional in order to not break other platforms or Glibc versions.
I'm pretty sure it'll only affect Linux.
This upstream commit looks related:
https://github.com/libarchive/libarchive/commit/a2f68263a1da5ad227bcb9cd8fa91b93c8b6c99f
Can you please try out if this fixes the problem for you?
Thomas
Home |
Main Index |
Thread Index |
Old Index