• Bug#1060766: dumpasn1: FTBFS with stack-clash-protection on armhf due t

    From Emanuele Rocca@21:1/5 to All on Sat Jan 13 21:30:01 2024
    Source: dumpasn1
    Version: 20210212-3
    Severity: serious
    Tags: patch
    User: debian-arm@lists.debian.org
    Usertags: 32bit-stackclash

    Hi,

    dumpasn1 currently fails to build from source on armhf. The failure is due to an incompatibility between valgrind and stack-clash-protection on 32bit arm reported upstream at: https://bugs.kde.org/show_bug.cgi?id=479699

    While waiting for valgrind to get updated, please cosider addressing the immediate issue by disabling stack-clash-protection on armhf with the following snippet in d/rules:

    ifeq ($(DEB_TARGET_ARCH),armhf)
    export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-stackclash
    else
    export DEB_BUILD_MAINT_OPTIONS = hardening=+all
    endif

    The build error looks like this:

    1052468 | base64 -d
    1052469 Segmentation fault | valgrind --error-exitcode=17 -- "$DUMPASN1" -
    make[1]: *** [debian/rules:24: override_dh_auto_test] Error 139

    You can find the full build logs at: http://qa-logs.debian.net/2024/01/11/armhf/dumpasn1_20210212-3_unstable-armhf.log

    Thanks,
    Emanuele

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