Your message dated Tue, 21 Aug 2018 19:04:23 +0000
with message-id <e1fsbx1-000aa2...@fasolo.debian.org>
and subject line Bug#906746: fixed in freeorion 0.4.8~RC2-2
has caused the Debian Bug report #906746,
regarding freeorion FTBFS on armel/armhf: virtual memory exhausted: Cannot 
allocate memory
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
906746: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906746
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: freeorion
Version: 0.4.8~RC2-1
Severity: serious
Tags: ftbfs patch

https://buildd.debian.org/status/package.php?p=freeorion

...
[ 18%] Building CXX object 
CMakeFiles/freeorionparseobj.dir/parse/ValueRefParser.cpp.o
/usr/bin/c++  -DBINPATH=\"/usr/bin\" -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LINK 
-DBOOST_OPTIONAL_CONFIG_USE_OLD_IMPLEMENTATION_OF_OPTIONAL -DENABLE_BINRELOC 
-DFREEORION_BUILD_PARSE -DFREEORION_LINUX -DNDEBUG -DSHAREPATH=\"/usr/share\" 
-isystem "/<<PKGBUILDDIR>>/GG"  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -Os -DNDEBUG -fPIC   -Wall -fvisibility=hidden -O3 
-std=c++11 -o CMakeFiles/freeorionparseobj.dir/parse/ValueRefParser.cpp.o -c 
"/<<PKGBUILDDIR>>/parse/ValueRefParser.cpp"
virtual memory exhausted: Cannot allocate memory


Changes in the patch below:
- less debug info (-g1) on all 32bit architectures except i386
- optimizing for size instead of speed with -Os (MinSizeRel)
  does not help with this kind of problems, "Release" is
  appropriate to make cmake not overwrite the added -gq
- build on linux-any

With these changes the build succeeded on armel and mips,
which should cover this kind of problems for all
release architectures.

--- debian/control.old  2018-08-19 19:31:03.498132567 +0000
+++ debian/control      2018-08-19 20:09:50.782947393 +0000
@@ -30,7 +30,7 @@
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-games/freeorion.git
 
 Package: freeorion
-Architecture: alpha amd64 arm64 armel armhf hppa i386 mips64el powerpc ppc64 
ppc64el s390x sparc64 x32
+Architecture: linux-any
 Depends:
  freeorion-data (= ${source:Version}),
  ${misc:Depends},
--- debian/rules.old    2018-08-19 19:21:28.459317241 +0000
+++ debian/rules        2018-08-19 19:50:26.455475862 +0000
@@ -4,14 +4,17 @@
 export CCACHE_DIR=$(CURDIR)/ccache
 DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-WEAK_HOSTS := armel armhf
 
-ifneq (,$(findstring $(DEB_HOST_ARCH),$(WEAK_HOSTS)))
+MAX  := 2
+TYPE := RelWithDebInfo
+
+ifeq (32,$(DEB_HOST_ARCH_BITS))
+ifeq (,$(filter $(DEB_HOST_ARCH), i386))
        MAX  := 1
-       TYPE := MinSizeRel
-else
-       MAX  := 2
-       TYPE := RelWithDebInfo
+       TYPE := Release
+       export DEB_CFLAGS_MAINT_APPEND = -g1
+       export DEB_CXXFLAGS_MAINT_APPEND = -g1
+endif
 endif
 
 %:

--- End Message ---
--- Begin Message ---
Source: freeorion
Source-Version: 0.4.8~RC2-2

We believe that the bug you reported is fixed in the latest version of
freeorion, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 906...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Markus Koschany <a...@debian.org> (supplier of updated freeorion package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 21 Aug 2018 19:48:02 +0200
Source: freeorion
Binary: freeorion freeorion-data
Architecture: source
Version: 0.4.8~RC2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-de...@lists.alioth.debian.org>
Changed-By: Markus Koschany <a...@debian.org>
Description:
 freeorion  - turn-based space empire and galactic conquest game
 freeorion-data - turn-based space empire and galactic conquest game -- data
Closes: 906746
Changes:
 freeorion (0.4.8~RC2-2) unstable; urgency=medium
 .
   * Replace dh_install --fail-missing with dh_missing --fail-missing.
   * Declare compliance with Debian Policy 4.2.0.
   * Fix memory exhaustion issues on 32bit architectures.
     - less debug info (-g1) on all 32bit architectures except i386
     - optimizing for size instead of speed with -Os (MinSizeRel)
       does not help with this kind of problems, "Release" is
       appropriate to make cmake not overwrite the added -gq
     - build on linux-any
     Thanks to Adrian Bunk for the report and patch. (Closes: #906746)
Checksums-Sha1:
 0e7f91ac97179bf6a37496bfee6cb470bfe9f98e 2426 freeorion_0.4.8~RC2-2.dsc
 6a5bb392a1ad4da6cb3f3900c457312834ff80f4 24560 
freeorion_0.4.8~RC2-2.debian.tar.xz
 21e579adecd134671af8550596de95636258f69e 18185 
freeorion_0.4.8~RC2-2_amd64.buildinfo
Checksums-Sha256:
 794507c2cd8abe3217c63509c929c22b5a720946c59e4a78877fbd09f4cefeb0 2426 
freeorion_0.4.8~RC2-2.dsc
 b48a7f92852e4f3a89b1288cc90eaf18b53f9c0e9008d78032518e2c9e5163b5 24560 
freeorion_0.4.8~RC2-2.debian.tar.xz
 9066a9f8d8ebbf05c8ce3dc34837ebf1ef620465d30d49c081b32495630422fb 18185 
freeorion_0.4.8~RC2-2_amd64.buildinfo
Files:
 1fb35b7ee5ebb052106eedcd63261bc2 2426 games optional freeorion_0.4.8~RC2-2.dsc
 759f660870a0bb770fd68c6b418b3d93 24560 games optional 
freeorion_0.4.8~RC2-2.debian.tar.xz
 d894b898655752f2b1cdccd8b57ec5a2 18185 games optional 
freeorion_0.4.8~RC2-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKjBAEBCgCNFiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAlt8XfdfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD
RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQPHGFwb0BkZWJp
YW4ub3JnAAoJENmtFLlRO1HkOl8QAJhdJFzqo1CWsmFwYSYM5oWIb70JQmEyPKqM
DdcsfbruHyzAYWG04FwwRP85T4EfP25XHBEovvh02SVYva6S20fIAug7ReMyNhQR
GfZ831EOZrFIxBJaw8SaA3dWnqwXhxDRPiuyqMKNzTP1UcFZ+7bv7tbYQriYJOH+
BYOtUxV9lVRVzUSdwujEFwD2uExVNLFSvyEbRm0Qxe1dLocNy76HUCjqD6ffgKSv
CSlw48wLBRdmBMABt7y9sB1fhuKDsT+RZxJyu0Qff0trG2DG/P+YgkoQb+MSfzEv
4tGiO3Y9BnjA6m4kez/Ozx/N8VRDceukZ0vfFTQnZsu8wob6R4YY/1ARluF4E+Tw
wu6CRQxPfutJJ0mxx2UQceHvZ95rt6KvjJaiZpIpGGuFrpad7R70sgxYzUHREh7y
EKZr9we8Jav3xY6X1cMrZ37o5bxf9DQChcG1GNKiDgmurnMp28I5CGdzZwr3ocGJ
YCPDsc8sz3fmJV3n46U4wSK5I8oZzK6GfBWg2ygHvB8I43cUqvbyD9mleLBE3TIG
Rc2xLqy4RfQRbeQrE7H6VtWMrUQRwxpzj62AFn+E06wyxwKV1k2CxoYPg4KtG+c4
D4VUQZDx0bnW3vQt+t04hH9e6T2hcFxY29vj8MBG+v4Pf8Ez2N6NIWxHzqTaYqew
v55G8zvC
=tyDc
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to