[Pkg-nagios-devel] Bug#1068473: icinga2: crashes on startup on ppc64el

Sebastiaan Couwenberg sebastic at xs4all.nl
Sat Apr 6 07:01:27 BST 2024


On 4/5/24 9:51 PM, Aurelien Jarno wrote:
> For Bookworm given we can not fix the compiler easily, I propose to just
> build icinga2 with -O1 on ppc64el. If you are fine with that option, I
> can take care of proposing a patch and submitting it to the stable
> release team.

A patch for this is very welcome. How do you propose to implement that? 
Something like this maybe?

  --- a/debian/rules
  +++ b/debian/rules
  @@ -9,6 +9,11 @@ include /usr/share/dpkg/architecture.mk

   export CTEST_OUTPUT_ON_FAILURE=1

  +ifneq (,$(filter $(DEB_HOST_ARCH), ppc64el))
  +  export DEB_CXXFLAGS_STRIP = -O2
  +  export DEB_CXXFLAGS_MAINT_APPEND = -O1
  +endif
  +
   ifneq (,$(filter $(DEB_HOST_ARCH), armel mips mipsel powerpc))
     export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic 
-Wl,--as-needed
   endif

Note that we ignore test failures on ppc64el which might have caught 
this issue. Upstream doesn't care about those architectures, so we're on 
our own to resolve issues on architectures other than amd64/i386/arm64. 
Pretty much all packages I maintain don't have actual users on non-amd64 
architectures, so I don't consider it worth the effort to ask the 
porters for help, they should spend their time on packages that are 
actually used. With DSA's use of icinga2 on porterboxes it's the 
exception to the norm.

PowerPC porters, can you help fix the test failures of icinga2 on ppc64el?

Kind Regards,

Bas

-- 
  GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



More information about the Pkg-nagios-devel mailing list