[Pkg-freeipa-devel] Bug#1063434: 389-ds-base: Build flags for 32bit architectures

Chris Peterson chris.peterson at canonical.com
Sat Feb 10 02:07:20 GMT 2024


Package: 389-ds-base
Version: 2.4.4+dfsg1-1
Followup-For: Bug #1063434
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu noble ubuntu-patch
X-Debbugs-Cc: chris.peterson at canonical.com
Control: tags -1 patch

Dear Maintainer,

I see this has been marked for autoremoval, but I have recently
introduced a patch in Ubuntu which fixed builds for armhf. Please see
the attached for a functionally similar patch that should enable builds
on your 32bit architectures (armhf, armel, and i386). I can provide
armhf autopkgtest results shortly.

Thanks,
Chris
-------------- next part --------------
diff -Nru 389-ds-base-2.4.4+dfsg1/debian/rules 389-ds-base-2.4.4+dfsg1/debian/rules
--- 389-ds-base-2.4.4+dfsg1/debian/rules	2024-01-08 07:40:49.000000000 -0800
+++ 389-ds-base-2.4.4+dfsg1/debian/rules	2024-02-08 16:26:51.000000000 -0800
@@ -7,6 +7,9 @@
 ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mips mipsel powerpc powerpcspe sh4))
   export DEB_LDFLAGS_MAINT_APPEND=-latomic
 endif
+ifneq (,$(filter $(DEB_HOST_ARCH), armhf armel i386))
+ export DEB_CFLAGS_MAINT_APPEND=-D_LARGEFILE64_SOURCE
+endif
 
 REALFILE = \
 	bin/ds-logpipe.py \


More information about the Pkg-freeipa-devel mailing list