found 1042029 2.45+ds-10
tags 1042029 + patch
thanks

El 26/7/23 a las 23:12, Jerome BENOIT escribió:
Hi Lucas, I could not reproduce the issue in the current Sid environment
(I tried twice) so I am closing the bug. It is highly probable that
your build encountered a resource issue as this software is really heavy to 
build.

Hello.

This is certainly heavy to build.

However, it is so needlessly.

For example, configure.ac unconditionally adds -O3 to CXXFLAGS.
This is already a bug, because packages should honor whatever comes
from dpkg-buildflags (usually -O2).

Trivial patch attached. While I have not tested specifically if it solves
the issue for me, I think it is a patch which should be applied in either case.

[ For the record, I also tried to build this package and it also failed for me.
Last time I tried it was using a machine with 16 GB of RAM and 4 GB of swap.
To put things in perspective, I can build *all* the 35208 source packages 
currently
in trixie with 16 GB of RAM. But not this one ].

Thanks.
--- a/configure.ac
+++ b/configure.ac
@@ -65,7 +65,7 @@ dnl set default visibility
 [CXXFLAGS="-fvisibility=default -fvisibility-inlines-hidden ${CXXFLAGS}"]
 
 dnl set default optimizations
-[CXXFLAGS="-O3 ${CXXFLAGS}"]
+[CXXFLAGS="${CXXFLAGS}"]
 
 dnl disable annoying boost warnings
 [CPPFLAGS="-DBOOST_ALLOW_DEPRECATED_HEADERS ${CPPFLAGS}"]

Reply via email to