Debian Bug report logs -
#874186
svgpp: fix FTBFS on 32bit
Reported by: Adrian Bunk <bunk@debian.org>
Date: Sun, 3 Sep 2017 21:45:01 UTC
Severity: important
Tags: patch
Found in version svgpp/1.2.3+dfsg1-2
Fixed in version svgpp/1.2.3+dfsg1-3
Done: Anton Gladky <gladk@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Anton Gladky <gladk@debian.org>:
Bug#874186; Package src:svgpp.
(Sun, 03 Sep 2017 21:45:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Adrian Bunk <bunk@debian.org>:
New Bug report received and forwarded. Copy sent to Anton Gladky <gladk@debian.org>.
(Sun, 03 Sep 2017 21:45:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: svgpp
Version: 1.2.3+dfsg1-2
Severity: important
Tags: patch
https://buildd.debian.org/status/package.php?p=svgpp&suite=sid
...
cc1plus: out of memory allocating 11518920 bytes after a total of 37756928 bytes
samples/CMakeFiles/Sample01e.dir/build.make:65: recipe for target 'samples/CMakeFiles/Sample01e.dir/sample01e.cpp.o' failed
make[4]: *** [samples/CMakeFiles/Sample01e.dir/sample01e.cpp.o] Error 1
Fix by reducing the amount of debug information built
(still enough for backtraces):
--- debian/rules.old 2017-09-03 13:45:27.791242648 +0000
+++ debian/rules 2017-09-03 15:39:02.587525204 +0000
@@ -1,5 +1,12 @@
#!/usr/bin/make -f
+# Reduce size of debug symbols to fix FTBFS due to the
+# 2GB/3GB address space limits on 32bit
+DEB_HOST_ARCH_BITS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_BITS)
+ifeq (32,$(DEB_HOST_ARCH_BITS))
+ export DEB_CXXFLAGS_MAINT_APPEND = -g1
+endif
+
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
In a related question, is it intentional that none of the built
files goes to the package?
Currently libsvgpp-dev has the same contents on different
architectures (I've compared amd64 and i386) and could as
well be binary-all.
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#874186; Package src:svgpp.
(Sun, 03 Sep 2017 22:03:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Anton Gladky <gladk@debian.org>:
Extra info received and forwarded to list.
(Sun, 03 Sep 2017 22:03:07 GMT) (full text, mbox, link).
Message #10 received at 874186@bugs.debian.org (full text, mbox, reply):
Hi Adrian,
thanks for the patch! I will apply it as fast as possible and do
a new upoad.
This library is really a header-only library and needs to be marked
as "all". I still want to test it on different archs to be sure that it
works on them. If there are a better solution for that, I would be
glad to use it.
Best regards
Anton
2017-09-03 23:31 GMT+02:00 Adrian Bunk <bunk@debian.org>:
> Source: svgpp
> Version: 1.2.3+dfsg1-2
> Severity: important
> Tags: patch
>
> https://buildd.debian.org/status/package.php?p=svgpp&suite=sid
>
> ...
> cc1plus: out of memory allocating 11518920 bytes after a total of 37756928 bytes
> samples/CMakeFiles/Sample01e.dir/build.make:65: recipe for target 'samples/CMakeFiles/Sample01e.dir/sample01e.cpp.o' failed
> make[4]: *** [samples/CMakeFiles/Sample01e.dir/sample01e.cpp.o] Error 1
>
> Fix by reducing the amount of debug information built
> (still enough for backtraces):
>
> --- debian/rules.old 2017-09-03 13:45:27.791242648 +0000
> +++ debian/rules 2017-09-03 15:39:02.587525204 +0000
> @@ -1,5 +1,12 @@
> #!/usr/bin/make -f
>
> +# Reduce size of debug symbols to fix FTBFS due to the
> +# 2GB/3GB address space limits on 32bit
> +DEB_HOST_ARCH_BITS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_BITS)
> +ifeq (32,$(DEB_HOST_ARCH_BITS))
> + export DEB_CXXFLAGS_MAINT_APPEND = -g1
> +endif
> +
> export DEB_BUILD_MAINT_OPTIONS = hardening=+all
>
> %:
>
>
>
> In a related question, is it intentional that none of the built
> files goes to the package?
>
> Currently libsvgpp-dev has the same contents on different
> architectures (I've compared amd64 and i386) and could as
> well be binary-all.
Information forwarded
to debian-bugs-dist@lists.debian.org, Anton Gladky <gladk@debian.org>:
Bug#874186; Package src:svgpp.
(Sun, 03 Sep 2017 22:15:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Adrian Bunk <bunk@debian.org>:
Extra info received and forwarded to list. Copy sent to Anton Gladky <gladk@debian.org>.
(Sun, 03 Sep 2017 22:15:05 GMT) (full text, mbox, link).
Message #15 received at 874186@bugs.debian.org (full text, mbox, reply):
On Sun, Sep 03, 2017 at 11:59:01PM +0200, Anton Gladky wrote:
>...
> This library is really a header-only library and needs to be marked
> as "all". I still want to test it on different archs to be sure that it
> works on them. If there are a better solution for that, I would be
> glad to use it.
autopkgtest?
Debian has currently 2 architectures running autopkgtest and
Ubuntu has already more.
> Best regards
>
> Anton
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
Reply sent
to Anton Gladky <gladk@debian.org>:
You have taken responsibility.
(Thu, 21 Sep 2017 19:09:06 GMT) (full text, mbox, link).
Notification sent
to Adrian Bunk <bunk@debian.org>:
Bug acknowledged by developer.
(Thu, 21 Sep 2017 19:09:06 GMT) (full text, mbox, link).
Message #20 received at 874186-close@bugs.debian.org (full text, mbox, reply):
Source: svgpp
Source-Version: 1.2.3+dfsg1-3
We believe that the bug you reported is fixed in the latest version of
svgpp, 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 874186@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Anton Gladky <gladk@debian.org> (supplier of updated svgpp 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 21 Sep 2017 20:43:06 +0200
Source: svgpp
Binary: libsvgpp-dev libsvgpp-doc
Architecture: source
Version: 1.2.3+dfsg1-3
Distribution: unstable
Urgency: medium
Maintainer: Anton Gladky <gladk@debian.org>
Changed-By: Anton Gladky <gladk@debian.org>
Description:
libsvgpp-dev - SVG-framework with parsers for various syntaxes and adapters. Dev
libsvgpp-doc - SVG-framework with parsers for various syntaxes and adapters. Doc
Closes: 874186
Changes:
svgpp (1.2.3+dfsg1-3) unstable; urgency=medium
.
[ Adrian Bunk ]
* [2c459df] Reduce of amount of debug information for 32bit. (Closes: #874186)
.
[ Anton Gladky ]
* [834c29e] Mark libsvgpp-dev as arch: all.
Checksums-Sha1:
7db7844b5bce757f5a26e14bd8e158b51cc8b1c1 2118 svgpp_1.2.3+dfsg1-3.dsc
b2a90eba5b8986dca57bd5a99334385b4e2b941d 4176 svgpp_1.2.3+dfsg1-3.debian.tar.xz
27b6e9dd9bcc434ead8ac5fa4d77cc7c320fae8f 8596 svgpp_1.2.3+dfsg1-3_source.buildinfo
Checksums-Sha256:
dbad8671bd57956ae811a33f73697801a3afb609b5c1a46adf33d873d6aec3b9 2118 svgpp_1.2.3+dfsg1-3.dsc
0d17f5b25061982ba73fcdfa8f5940d3aab99279dbfc20b251d81aae3fe73f1e 4176 svgpp_1.2.3+dfsg1-3.debian.tar.xz
b8917c3be2e2308848c6dbeeca7f5e68110d6e4d925fee2a724b1d1ac98994ee 8596 svgpp_1.2.3+dfsg1-3_source.buildinfo
Files:
80c6ec0e8feaf68b0b908c51bbcef1ad 2118 libs optional svgpp_1.2.3+dfsg1-3.dsc
b31e57f2985673dece8b498b58babe3d 4176 libs optional svgpp_1.2.3+dfsg1-3.debian.tar.xz
cca009f89ffce693affefce123e3f84c 8596 libs optional svgpp_1.2.3+dfsg1-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEu71F6oGKuG/2fnKF0+Fzg8+n/wYFAlnECJAACgkQ0+Fzg8+n
/wZkghAAhXSWmcVNJS+i1GMqRSSPnB2vQeWFD59B+MIeuiONwAwE8ZLje4pFu88b
bPDMv2PQRoXWcW2Y0HQKPwRFrehNC5zbNdGsD2X5dEBhfFKUvlC/VYywdKXsjF1k
ekAzTU7xBw8zGcF6qjK1723a5aV0+119Cx7d/kDhUBQazN3SwfosbGfZyxCxH31I
V4ge62CIxKdHnjShB0WUyQZggOP/y/wj1oG25t20zJBgRbvztuy2S+MeAwymjBIu
2buBXxvwzNKTNNBEfHf+jLUMDuXiIIAboOWStYITjSDdbKz4wyxi38k09Em5Yltj
cUHCaGoga5Std6x5RyYZwIgagytSDSXOyIE1iVDACt6hS+g/5DezSW93hlD8AgOo
Ub2yXiD+/WO9WUAmx6eD+cyR4t6PZkGTtBqGpAl5iE+X4Nfes8NUCjyYKYBmK0RW
Zedpw/bOrGd5ljcBLQShLOLZVKq6e46oYMfTyrUjsMSMy26/E+crMZuTjDo9GPo6
hmZA7ov8SbiON0VfpKb3M71/brgS0LxGDIaiU9OGqm+HGz/16AYEx3CzY+POPsCN
o+mUk8yZHCHJliAsegr3vIBfRea26i8ejNy2HabnPkzx3/e9abSG1Q+TI7MJpD7f
lTC7kDoMdfZ/WDCFUw/uVcEz4C69OEDm3KAV+NzCmufUVr/gY4s=
=Xx73
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 15 Dec 2017 07:28:33 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 13:46:24 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.