Debian Bug report logs -
#667280
minetest: ftbfs with GCC-4.7
Reported by: Matthias Klose <doko@debian.org>
Date: Tue, 3 Apr 2012 23:22:47 UTC
Severity: important
Tags: patch, sid, wheezy
Found in version minetest/0.3.1+dfsg-2
Fixed in version minetest/0.3.1+dfsg-3
Done: Michael Gilbert <mgilbert@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#667280; Package minetest.
(Tue, 03 Apr 2012 23:22:49 GMT) (full text, mbox, link).
Acknowledgement sent
to Matthias Klose <doko@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(Tue, 03 Apr 2012 23:22:52 GMT) (full text, mbox, link).
Message #5 received at maintonly@bugs.debian.org (full text, mbox, reply):
Package: minetest
Version: 0.3.1+dfsg-2
Severity: important
Tags: sid wheezy
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-4.7
The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.
filesys.cpp:236:25: error: 'fork' was not declared in this scope
The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/minetest_0.3.1+dfsg-2_unstable-gcc47.log
The last lines of the build log are at the end of this report.
Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html
To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
[...]
cd /«BUILDDIR»/minetest-0.3.1+dfsg/src && /usr/bin/c++ -DUSE_CMAKE_CONFIG_H -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wno-unused-but-set-variable -ffast-math -Wall -fomit-frame-pointer -pipe -funroll-loops -I/«BUILDDIR»/minetest-0.3.1+dfsg/src -I/usr/include/irrlicht -I/«BUILDDIR»/minetest-0.3.1+dfsg/src/Release -I/usr/include/jthread -o CMakeFiles/minetest.dir/inventory.cpp.o -c /«BUILDDIR»/minetest-0.3.1+dfsg/src/inventory.cpp
/«BUILDDIR»/minetest-0.3.1+dfsg/src/inventory.cpp: In member function 'InventoryItem* InventoryList::takeItem(irr::u32, irr::u32)':
/«BUILDDIR»/minetest-0.3.1+dfsg/src/inventory.cpp:558:9: warning: converting 'false' to pointer type 'InventoryItem*' [-Wconversion-null]
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/minetest-0.3.1+dfsg/CMakeFiles 19
[ 19%] Building CXX object src/CMakeFiles/minetest.dir/debug.cpp.o
cd /«BUILDDIR»/minetest-0.3.1+dfsg/src && /usr/bin/c++ -DUSE_CMAKE_CONFIG_H -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wno-unused-but-set-variable -ffast-math -Wall -fomit-frame-pointer -pipe -funroll-loops -I/«BUILDDIR»/minetest-0.3.1+dfsg/src -I/usr/include/irrlicht -I/«BUILDDIR»/minetest-0.3.1+dfsg/src/Release -I/usr/include/jthread -o CMakeFiles/minetest.dir/debug.cpp.o -c /«BUILDDIR»/minetest-0.3.1+dfsg/src/debug.cpp
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/minetest-0.3.1+dfsg/CMakeFiles 20
[ 20%] Building CXX object src/CMakeFiles/minetest.dir/serialization.cpp.o
cd /«BUILDDIR»/minetest-0.3.1+dfsg/src && /usr/bin/c++ -DUSE_CMAKE_CONFIG_H -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wno-unused-but-set-variable -ffast-math -Wall -fomit-frame-pointer -pipe -funroll-loops -I/«BUILDDIR»/minetest-0.3.1+dfsg/src -I/usr/include/irrlicht -I/«BUILDDIR»/minetest-0.3.1+dfsg/src/Release -I/usr/include/jthread -o CMakeFiles/minetest.dir/serialization.cpp.o -c /«BUILDDIR»/minetest-0.3.1+dfsg/src/serialization.cpp
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/minetest-0.3.1+dfsg/CMakeFiles
[ 20%] Building CXX object src/CMakeFiles/minetest.dir/light.cpp.o
cd /«BUILDDIR»/minetest-0.3.1+dfsg/src && /usr/bin/c++ -DUSE_CMAKE_CONFIG_H -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wno-unused-but-set-variable -ffast-math -Wall -fomit-frame-pointer -pipe -funroll-loops -I/«BUILDDIR»/minetest-0.3.1+dfsg/src -I/usr/include/irrlicht -I/«BUILDDIR»/minetest-0.3.1+dfsg/src/Release -I/usr/include/jthread -o CMakeFiles/minetest.dir/light.cpp.o -c /«BUILDDIR»/minetest-0.3.1+dfsg/src/light.cpp
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/minetest-0.3.1+dfsg/CMakeFiles 21
[ 21%] Building CXX object src/CMakeFiles/minetest.dir/filesys.cpp.o
cd /«BUILDDIR»/minetest-0.3.1+dfsg/src && /usr/bin/c++ -DUSE_CMAKE_CONFIG_H -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wno-unused-but-set-variable -ffast-math -Wall -fomit-frame-pointer -pipe -funroll-loops -I/«BUILDDIR»/minetest-0.3.1+dfsg/src -I/usr/include/irrlicht -I/«BUILDDIR»/minetest-0.3.1+dfsg/src/Release -I/usr/include/jthread -o CMakeFiles/minetest.dir/filesys.cpp.o -c /«BUILDDIR»/minetest-0.3.1+dfsg/src/filesys.cpp
/«BUILDDIR»/minetest-0.3.1+dfsg/src/filesys.cpp: In function 'bool fs::RecursiveDelete(std::string)':
/«BUILDDIR»/minetest-0.3.1+dfsg/src/filesys.cpp:236:25: error: 'fork' was not declared in this scope
/«BUILDDIR»/minetest-0.3.1+dfsg/src/filesys.cpp:254:22: error: 'execv' was not declared in this scope
/«BUILDDIR»/minetest-0.3.1+dfsg/src/filesys.cpp:257:10: error: '_exit' was not declared in this scope
/«BUILDDIR»/minetest-0.3.1+dfsg/src/filesys.cpp:270:1: warning: control reaches end of non-void function [-Wreturn-type]
make[4]: *** [src/CMakeFiles/minetest.dir/filesys.cpp.o] Error 1
make[4]: Leaving directory `/«BUILDDIR»/minetest-0.3.1+dfsg'
make[3]: *** [src/CMakeFiles/minetest.dir/all] Error 2
make[2]: *** [all] Error 2
make[1]: *** [override_dh_auto_build] Error 2
make[3]: Leaving directory `/«BUILDDIR»/minetest-0.3.1+dfsg'
make[2]: Leaving directory `/«BUILDDIR»/minetest-0.3.1+dfsg'
make[1]: Leaving directory `/«BUILDDIR»/minetest-0.3.1+dfsg'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#667280; Package minetest.
(Fri, 20 Apr 2012 03:27:03 GMT) (full text, mbox, link).
Acknowledgement sent
to "P. J. McDermott" <pjm@nac.net>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(Fri, 20 Apr 2012 03:27:03 GMT) (full text, mbox, link).
Message #10 received at 667280@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 667280 + patch
thanks
Attached is a patch to fix this FTBFS. The file src/filesys.cpp is just
missing inclusion of <unistd.h>.
This was tested to work in an experimental root.
--
P. J. McDermott http://www.pehjota.net/ (_/@\_) ,--.
mailto:pjm@nac.net http://identi.ca/pehjota o < o o > / oo \
o \ `-/ | <> |.
o o o "~v /_\--/_/
[fix-ftbfs-gcc-4.7-667280.patch (text/x-patch, attachment)]
Added tag(s) patch.
Request was from "P. J. McDermott" <pjm@nac.net>
to control@bugs.debian.org.
(Fri, 20 Apr 2012 03:27:05 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#667280; Package minetest.
(Sat, 21 Apr 2012 13:15:13 GMT) (full text, mbox, link).
Acknowledgement sent
to gregor herrmann <gregoa@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(Sat, 21 Apr 2012 13:15:13 GMT) (full text, mbox, link).
Message #17 received at 667280@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 662432 + patch
tags 662432 + pending
tags 667280 + pending
thanks
Dear maintainer,
I've prepared an NMU for minetest (versioned as 0.3.1+dfsg-2.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.
Regards.
--
.''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Maryse Nicolai: n/a
[minetest-0.3.1+dfsg-2.1-nmu.diff (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]
Added tag(s) pending.
Request was from gregor herrmann <gregoa@debian.org>
to control@bugs.debian.org.
(Sat, 21 Apr 2012 13:15:18 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#667280; Package minetest.
(Sun, 22 Apr 2012 21:18:44 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Gilbert <mgilbert@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(Sun, 22 Apr 2012 21:21:10 GMT) (full text, mbox, link).
Message #24 received at 667280@bugs.debian.org (full text, mbox, reply):
Hi,
Would you mind canceling this upload? I've uploaded 0.3.1+dfsg-3
yesterday fixing these issues and may take longer than your delay to
reach unstable since it entered NEW (it also adds new packages since I
also fixed another bug which requested a split of the client and
server packages).
http://ftp-master.debian.org/new/minetest_0.3.1+dfsg-3.html
Thanks,
Mike
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#667280; Package minetest.
(Sun, 22 Apr 2012 22:39:04 GMT) (full text, mbox, link).
Acknowledgement sent
to gregor herrmann <gregoa@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(Sun, 22 Apr 2012 22:39:04 GMT) (full text, mbox, link).
Message #29 received at 667280@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Sun, 22 Apr 2012 17:08:41 -0400, Michael Gilbert wrote:
> Would you mind canceling this upload?
Sure, I just sent the dcut commands.
> I've uploaded 0.3.1+dfsg-3
> yesterday fixing these issues and may take longer than your delay to
> reach unstable since it entered NEW (it also adds new packages since I
> also fixed another bug which requested a split of the client and
> server packages).
I saw your upload but wasn't sure if you want the NMU as a fallback
or not; now it's clear :)
Cheers,
gregor
--
.''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Hildegard Knef: Tapetenwechsel
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Michael Gilbert <mgilbert@debian.org>:
You have taken responsibility.
(Mon, 23 Apr 2012 17:39:15 GMT) (full text, mbox, link).
Notification sent
to Matthias Klose <doko@debian.org>:
Bug acknowledged by developer.
(Mon, 23 Apr 2012 17:39:15 GMT) (full text, mbox, link).
Message #34 received at 667280-close@bugs.debian.org (full text, mbox, reply):
Source: minetest
Source-Version: 0.3.1+dfsg-3
We believe that the bug you reported is fixed in the latest version of
minetest, which is due to be installed in the Debian FTP archive:
minetest-common_0.3.1+dfsg-3_all.deb
to main/m/minetest/minetest-common_0.3.1+dfsg-3_all.deb
minetest-dbg_0.3.1+dfsg-3_amd64.deb
to main/m/minetest/minetest-dbg_0.3.1+dfsg-3_amd64.deb
minetest-server_0.3.1+dfsg-3_amd64.deb
to main/m/minetest/minetest-server_0.3.1+dfsg-3_amd64.deb
minetest_0.3.1+dfsg-3.debian.tar.gz
to main/m/minetest/minetest_0.3.1+dfsg-3.debian.tar.gz
minetest_0.3.1+dfsg-3.dsc
to main/m/minetest/minetest_0.3.1+dfsg-3.dsc
minetest_0.3.1+dfsg-3_amd64.deb
to main/m/minetest/minetest_0.3.1+dfsg-3_amd64.deb
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 667280@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Gilbert <mgilbert@debian.org> (supplier of updated minetest 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@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 21 Apr 2012 15:52:14 -0400
Source: minetest
Binary: minetest minetest-dbg minetest-server minetest-common
Architecture: source amd64 all
Version: 0.3.1+dfsg-3
Distribution: unstable
Urgency: low
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Michael Gilbert <mgilbert@debian.org>
Description:
minetest - InfiniMiner/Minecraft-inspired open game world
minetest-common - InfiniMiner/Minecraft-inspired open game world common files
minetest-dbg - InfiniMiner/Minecraft-inspired open game world debugging symbols
minetest-server - InfiniMiner/Minecraft-inspired open game world server
Closes: 662432 667280 668004
Changes:
minetest (0.3.1+dfsg-3) unstable; urgency=low
.
* use debhelper 9 and simplify build hardening
* update my email address
* bump standards to 3.9.3
* build-depend on libpng-dev instead of libpng12-dev (closes: #662432)
* fix gcc 4.7 build failure (closes: #667280)
* split the server into its own package (closes: #668004)
* move binaries to /usr/games in install files
Checksums-Sha1:
5465b11c3166dcfa2e0d45e61158659d2eac06c3 2923 minetest_0.3.1+dfsg-3.dsc
f91d758e42b77e1edac839db6e5679206856ef7e 6683 minetest_0.3.1+dfsg-3.debian.tar.gz
050560397058f02700f14c9f31b98f1d058e4ca3 855860 minetest_0.3.1+dfsg-3_amd64.deb
794e488c1d61b68b82bed8d9fb73741ba421e021 9376206 minetest-dbg_0.3.1+dfsg-3_amd64.deb
ed121a32712a938e7e408d7154ced71bcefceac6 520346 minetest-server_0.3.1+dfsg-3_amd64.deb
cc961d5eb7a9ebe6096f37c408c7b529753162fa 63836 minetest-common_0.3.1+dfsg-3_all.deb
Checksums-Sha256:
87798170ebdbabcc172df55019061a8097dc820c7aff5a5c4e33212712ef953c 2923 minetest_0.3.1+dfsg-3.dsc
ff70e271f2d612ccc9287da01370d65098e998a9d4924397beacb5a4bcad9583 6683 minetest_0.3.1+dfsg-3.debian.tar.gz
97495f72f4f64c1b2123f93d3cc2f38e917447c9c332aa1bea1f86c4e19c9d83 855860 minetest_0.3.1+dfsg-3_amd64.deb
2c5db0875f9c9c6d95d0df1879c42d463fabf3143524c17503b2ff16deb19b2a 9376206 minetest-dbg_0.3.1+dfsg-3_amd64.deb
48e77040a28a2e23ed40c73cfddc1891778a0fb5f0e3c540444357325da8e6a0 520346 minetest-server_0.3.1+dfsg-3_amd64.deb
57a602aa7f80349eeb5a456d204ad95549f5f5caf670f6d5d58aa0abe210b09f 63836 minetest-common_0.3.1+dfsg-3_all.deb
Files:
8a5adae4967f2957c87a2d660d28ffd5 2923 games extra minetest_0.3.1+dfsg-3.dsc
9134b3aa388904d0399ecd009997103a 6683 games extra minetest_0.3.1+dfsg-3.debian.tar.gz
ea2ea540c8775f921d359962290f4822 855860 games extra minetest_0.3.1+dfsg-3_amd64.deb
96e1fcac32e21ef247dc1f5a358ab614 9376206 debug extra minetest-dbg_0.3.1+dfsg-3_amd64.deb
9bd7215dd0ad2db262008781506ef57c 520346 games extra minetest-server_0.3.1+dfsg-3_amd64.deb
0944a8ba579cbdfbb4388b7c5de2c955 63836 games extra minetest-common_0.3.1+dfsg-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQQcBAEBCAAGBQJPkxDYAAoJELjWss0C1vRzqagf/1szfsJB4W78Tp1VWFbv6xpv
zwJ0NUc5tGTPwEAL7ct0Bg1dxhjn83lz0W52g5hoPPllR6N4W+6WtnETXzHAS5L+
0WE1njui6qvXrxRbCnMEKVcr0zTAS66q19xvB/7Z27A8k7zbvt5T7ju1YP8vs0V1
3l09+vwqmARrJRyHpR39gVQMG3mGFK6/rQ3TSnpRXfEFuQ0iLU7HxA9Mocr8odjP
mUoJrZgPa8FUFpG0uBIBiUB/h1MzMAX1hRd562Rc5sKhfpaxd1n97NOMvubJFT0f
ngSeVv6Xi2nsZ03uuPkYxphBmWy5eAE0ZNwTBMF4Bq8Hqukm4hXt7UZ5Vl1ERgZ8
00WJ7afN3WaMP0uNnZDGM9jHFOBsiQJd4mA2f9O7uMVrHEsRKYpS/Im809VKKJYY
r7umOOHBy5jDPLv65OIAyz/uaOqfKb4XB9Mo0sOuD2RLlc0tTpeDSSsqYE4pVhqo
kl7imli78/vOfuSMlCFG+YdcN2IfVPZHt8T7shClU1KYuT7qSNWaiD5pIdsoovW6
FCHU+3u2PUkLOmQvoUcWUV2P87FIcz2YnA2DlkaUU8tbTLClynG087yO4Y00b82v
qu/haQg0aIg7OBV1ow0yr+/TLBOQZdmzOsK06x4h+AQnjPRS8Blwy5Po2CFtd5Ha
DIfSxHVygrZH4svDGxa6glNYOtX3c3FPsnlpbThMzwUHUvZDQ3BBHcXdgy6RghVU
Fi5RnonkJbRIGxpC6b08g0b9ZGfJYj5AKHGKbcJkzyQwXBKm1gEzkV3d3jQsaIT3
p70BzP1EQPsC58KvcWLUVVhXqBo1wVZuKqPBJLYyZS6BDpLDe+7NH2X1cj/pIqZA
FPqnUNlYaNcyJsoyYlD8wl3fipyFanvANdTO+mM6zHT6nm39AcE67DFA3ZKA79xm
9DttwVLri89zDIUVDnOigiZFZmDsn1QAmRwxpyb25/HU30XnGtFrFObgRXLlHSsZ
95EsMX0ubCANVF6X4CyQjVWw9BjYQV9469OTLGdpgGEclHUy+63R3+6RB1L5PKJs
zw3Rin04spku58oM7ibW+enIS1oKPfCB4FLLeHLB/zHzGPw6AwCJx4q8+25JhdBE
5r+Qr579uOFXr3BIuHM1EKfk0cqWOltlqliBpQMGRfW8ozOShGkXToHTt9c/XoGg
o0Y2HFQcYOLcC2tLevA0ak7BGTEoHwK42a+azdjCUhlGL6caKHM+IJgVjDawP5/E
98TXeJjNTuSnnhcmv9EgBJ8CRV2TjeOCWQIMKvrnzM+vS58ru3a3ZphkEg8OzlGA
yvpO4rJWwR+ST4DdCATF0sCOpcUV+dF6hareiOxC+sMEAWUXTeZRsVftBzk8Fvw=
=kbX3
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 22 May 2012 07:40:53 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:
Sun Jul 2 13:15:14 2023;
Machine Name:
bembo
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.