• Bug#1063434: 389-ds-base: Build flags for 32bit architectures

    From Chris Peterson@21:1/5 to All on Sat Feb 10 03:10:02 2024
    This is a multi-part MIME message sent by reportbug.


    Package: 389-ds-base
    Version: 2.4.4+dfsg1-1
    Followup-For: Bug #1063434
    User: ubuntu-devel@lists.ubuntu.com
    Usertags: origin-ubuntu noble ubuntu-patch
    X-Debbugs-Cc: chris.peterson@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

    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 \

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)