Your message dated Tue, 19 Mar 2024 11:28:35 +0100 with message-id <b5992c9f-5ea7-4066-84dc-75074c5e4d98@sfritsch.de> and subject line Re: Bug#1031034: apr: Missing LFS support triggers FTBFS on other packages has caused the Debian Bug report #1031034, regarding apr: Missing LFS support triggers FTBFS on other packages to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1031034: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031034 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: apr: Missing LFS support triggers FTBFS on other packages
- From: Helge Deller <deller@gmx.de>
- Date: Fri, 10 Feb 2023 17:24:10 +0100
- Message-id: <a43d1420-9890-5aaa-0fc2-f866d24779d1@gmx.de>
Package: apr Tags: ftbfs, hppa, lfs Version: 1.7.2-2 On 32-bit platforms it's necessary to compile programs and libraries with Large File Support (LFS) in order to allow them to function correctly on filesystems with > 2GB or 4GB size. This can be solved by adding "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" to the CFLAGS variable when compiling. apr is currently missing this LFS support and as such it triggers build-from-source errors in other packages like "subversion" or "devscripts" on such 32-bit platforms. There are various possibilities how to add those two defines, e.g. adding DEB_BUILD_MAINT_OPTIONS = future=+lfs or by manually adding the output of getconf LFS_CFLAGS to the CFLAGS variable. Please note, on 64-bit platforms the return value will be empty which is correct as those flags are not needed on 64-bit arches. Here is one suggested patch for apr from me: diff -up ./debian/rules.org ./debian/rules --- ./debian/rules.org 2023-02-10 16:20:07.911340588 +0000 +++ ./debian/rules 2023-02-10 15:54:17.992511554 +0000 @@ -11,6 +11,9 @@ DEB_HOST_ARCH_OS ?= $(shell dpkg-arch DEB_HOST_ARCH_BITS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_BITS) DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +# Enable Large File Support (LFS) if necessary: -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(shell getconf LFS_CFLAGS) + # The 'build' target needs special handling because there there is a directory # named 'build'. .PHONY: build Please apply this (or another patch) to allow apr to build with LFS support. Thanks, Helge
--- End Message ---
--- Begin Message ---
- To: Helge Deller <deller@gmx.de>, 1031034-done@bugs.debian.org
- Subject: Re: Bug#1031034: apr: Missing LFS support triggers FTBFS on other packages
- From: Stefan Fritsch <sf@sfritsch.de>
- Date: Tue, 19 Mar 2024 11:28:35 +0100
- Message-id: <b5992c9f-5ea7-4066-84dc-75074c5e4d98@sfritsch.de>
- Reply-to: Stefan Fritsch <sf@sfritsch.de>, 1031034@bugs.debian.org
- In-reply-to: <9462ac5f-2ec5-c1ea-08a3-a7986ee5967b@sfritsch.de>
- References: <a43d1420-9890-5aaa-0fc2-f866d24779d1@gmx.de> <a43d1420-9890-5aaa-0fc2-f866d24779d1@gmx.de> <853a0636-890a-5bad-8a93-7ce91e98d09c@sfritsch.de> <a43d1420-9890-5aaa-0fc2-f866d24779d1@gmx.de> <9462ac5f-2ec5-c1ea-08a3-a7986ee5967b@sfritsch.de>
version: 1.7.2-3.2 Am 20.06.23 um 20:27 schrieb Stefan Fritsch:It seems a large transition will be needed for 64bit time_t, anyway. And glibc enforces _FILE_OFFSET_BITS=64 if _TIME_BITS=64 is set. apr should do both transitions at the same time.It seems there won't be a transition for i386 but the whole point of i386 is running old binaries.https://wiki.debian.org/ReleaseGoals/64bit-timeThis is fixed now as apr has been rebuilt with 64bit time_t, which implies 64 bit ino_t.
--- End Message ---