Bug#853538: marsshooter: ftbfs with GCC-7
Matthias Klose
doko at debian.org
Tue Jan 31 09:33:43 UTC 2017
Package: src:marsshooter
Version: 0.7.6-1
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/marsshooter_0.7.6-1_unstable_gcc7.log
The last lines of the build log are at the end of this report.
To build with GCC 7, either set CC=gcc-7 CXX=g++-7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-7/porting_to.html
[...]
[ 96%] Building CXX object src/CMakeFiles/marsshooter.dir/Weapons/weapons.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>>/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o CMakeFiles/marsshooter.dir/Weapons/weapons.cpp.o -c /<<PKGBUILDDIR>>/src/Weapons/weapons.cpp
[ 96%] Building CXX object src/CMakeFiles/marsshooter.dir/Zones/HomeZone.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>>/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o CMakeFiles/marsshooter.dir/Zones/HomeZone.cpp.o -c /<<PKGBUILDDIR>>/src/Zones/HomeZone.cpp
[ 97%] Building CXX object src/CMakeFiles/marsshooter.dir/Zones/RasterZone.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>>/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o CMakeFiles/marsshooter.dir/Zones/RasterZone.cpp.o -c /<<PKGBUILDDIR>>/src/Zones/RasterZone.cpp
[ 97%] Building CXX object src/CMakeFiles/marsshooter.dir/Zones/TacticalZone.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>>/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o CMakeFiles/marsshooter.dir/Zones/TacticalZone.cpp.o -c /<<PKGBUILDDIR>>/src/Zones/TacticalZone.cpp
[ 98%] Building CXX object src/CMakeFiles/marsshooter.dir/Zones/TeamZone.cpp.o
[ 98%] Building CXX object src/CMakeFiles/marsshooter.dir/Zones/TutorialZone.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>>/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o CMakeFiles/marsshooter.dir/Zones/TeamZone.cpp.o -c /<<PKGBUILDDIR>>/src/Zones/TeamZone.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>>/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o CMakeFiles/marsshooter.dir/Zones/TutorialZone.cpp.o -c /<<PKGBUILDDIR>>/src/Zones/TutorialZone.cpp
[ 99%] Building CXX object src/CMakeFiles/marsshooter.dir/Zones/zones.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>>/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o CMakeFiles/marsshooter.dir/Zones/zones.cpp.o -c /<<PKGBUILDDIR>>/src/Zones/zones.cpp
/<<PKGBUILDDIR>>/src/System/window.cpp: In function 'void window::screenShot()':
/<<PKGBUILDDIR>>/src/System/window.cpp:348:42: warning: 'sf::Image sf::RenderWindow::capture() const' is deprecated [-Wdeprecated-declarations]
sf::Image shot = window_.capture();
^
In file included from /usr/include/SFML/Graphics.hpp:47:0,
from /<<PKGBUILDDIR>>/include/System/window.hpp:25,
from /<<PKGBUILDDIR>>/src/System/window.cpp:18:
/usr/include/SFML/Graphics/RenderWindow.hpp:140:27: note: declared here
SFML_DEPRECATED Image capture() const;
^~~~~~~
[100%] Linking CXX executable ../../marsshooter
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/marsshooter.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,--as-needed CMakeFiles/marsshooter.dir/main.cpp.o CMakeFiles/marsshooter.dir/Controllers/BotController.cpp.o CMakeFiles/marsshooter.dir/Controllers/BotControllerBasicActions.cpp.o CMakeFiles/marsshooter.dir/Controllers/BotControllerChecks.cpp.o CMakeFiles/marsshooter.dir/Controllers/BotControllerDraw.cpp.o CMakeFiles/marsshooter.dir/Controllers/BotControllerHelpers.cpp.o CMakeFiles/marsshooter.dir/Controllers/BotControllerTeamActions.cpp.o CMakeFiles/marsshooter.dir/Controllers/Controller.cpp.o CMakeFiles/marsshooter.dir/Controllers/KeyController.cpp.o CMakeFiles/marsshooter.dir/Controllers/controllers.cpp.o CMakeFiles/marsshooter.dir/DecoObjects/Bolt.cpp.o CMakeFiles/marsshooter.dir/DecoObjects/Cannon.cpp.o CMakeFiles/marsshooter.dir/DecoObjects/Evil.cpp.o CMakeFiles/marsshooter.dir/DecoObjects/PlanetSign.cpp.o CMakeFiles/marsshooter.dir/DecoObjects/ShipHighlight.cpp.o CMakeFiles/marsshooter.dir/DecoObjects/ShipName.cpp.o CMakeFiles/marsshooter.dir/DecoObjects/SunHeat.cpp.o CMakeFiles/marsshooter.dir/DecoObjects/decoObjects.cpp.o CMakeFiles/marsshooter.dir/Games/CannonKeep.cpp.o CMakeFiles/marsshooter.dir/Games/DeathMatch.cpp.o CMakeFiles/marsshooter.dir/Games/Game.cpp.o CMakeFiles/marsshooter.dir/Games/GraveItation.cpp.o CMakeFiles/marsshooter.dir/Games/MenuGame.cpp.o CMakeFiles/marsshooter.dir/Games/Rally.cpp.o CMakeFiles/marsshooter.dir/Games/SpaceBall.cpp.o CMakeFiles/marsshooter.dir/Games/TeamDeathMatch.cpp.o CMakeFiles/marsshooter.dir/Games/Tutorial.cpp.o CMakeFiles/marsshooter.dir/Games/games.cpp.o CMakeFiles/marsshooter.dir/Hud/CountDown.cpp.o CMakeFiles/marsshooter.dir/Hud/GamePoints.cpp.o CMakeFiles/marsshooter.dir/Hud/GameStats.cpp.o CMakeFiles/marsshooter.dir/Hud/LeftLife.cpp.o CMakeFiles/marsshooter.dir/Hud/Logo.cpp.o CMakeFiles/marsshooter.dir/Hud/Message.cpp.o CMakeFiles/marsshooter.dir/Hud/RightLife.cpp.o CMakeFiles/marsshooter.dir/Hud/TabStats.cpp.o CMakeFiles/marsshooter.dir/Hud/hud.cpp.o CMakeFiles/marsshooter.dir/Hud/musicNotify.cpp.o CMakeFiles/marsshooter.dir/Interface/Button.cpp.o CMakeFiles/marsshooter.dir/Interface/Checkbox.cpp.o CMakeFiles/marsshooter.dir/Interface/ColorPicker.cpp.o CMakeFiles/marsshooter.dir/Interface/ColorPickerWindow.cpp.o CMakeFiles/marsshooter.dir/Interface/ComboBox.cpp.o CMakeFiles/marsshooter.dir/Interface/DropDownWindow.cpp.o CMakeFiles/marsshooter.dir/Interface/KeyEdit.cpp.o CMakeFiles/marsshooter.dir/Interface/Label.cpp.o CMakeFiles/marsshooter.dir/Interface/LabeledBox.cpp.o CMakeFiles/marsshooter.dir/Interface/LanguageButton.cpp.o CMakeFiles/marsshooter.dir/Interface/Line.cpp.o CMakeFiles/marsshooter.dir/Interface/RadioButton.cpp.o CMakeFiles/marsshooter.dir/Interface/RadioGroup.cpp.o CMakeFiles/marsshooter.dir/Interface/ShipPreview.cpp.o CMakeFiles/marsshooter.dir/Interface/Slider.cpp.o CMakeFiles/marsshooter.dir/Interface/Tab.cpp.o CMakeFiles/marsshooter.dir/Interface/TabList.cpp.o CMakeFiles/marsshooter.dir/Interface/TextBox.cpp.o CMakeFiles/marsshooter.dir/Interface/TextEdit.cpp.o CMakeFiles/marsshooter.dir/Interface/UiElement.cpp.o CMakeFiles/marsshooter.dir/Interface/UiWindow.cpp.o CMakeFiles/marsshooter.dir/Interface/VerticalSlider.cpp.o CMakeFiles/marsshooter.dir/Interface/toolTip.cpp.o CMakeFiles/marsshooter.dir/Items/CannonControl.cpp.o CMakeFiles/marsshooter.dir/Items/PUFuel.cpp.o CMakeFiles/marsshooter.dir/Items/PUHealth.cpp.o CMakeFiles/marsshooter.dir/Items/PUReverse.cpp.o CMakeFiles/marsshooter.dir/Items/PUShield.cpp.o CMakeFiles/marsshooter.dir/Items/PUSleep.cpp.o CMakeFiles/marsshooter.dir/Items/PowerUp.cpp.o CMakeFiles/marsshooter.dir/Items/items.cpp.o CMakeFiles/marsshooter.dir/Locales/locales.cpp.o CMakeFiles/marsshooter.dir/Media/announcer.cpp.o CMakeFiles/marsshooter.dir/Media/file.cpp.o CMakeFiles/marsshooter.dir/Media/font.cpp.o CMakeFiles/marsshooter.dir/Media/music.cpp.o CMakeFiles/marsshooter.dir/Media/sound.cpp.o CMakeFiles/marsshooter.dir/Media/text.cpp.o CMakeFiles/marsshooter.dir/Media/texture.cpp.o CMakeFiles/marsshooter.dir/Menu/About.cpp.o CMakeFiles/marsshooter.dir/Menu/ChooseLanguage.cpp.o CMakeFiles/marsshooter.dir/Menu/Connect.cpp.o CMakeFiles/marsshooter.dir/Menu/EndMenu.cpp.o CMakeFiles/marsshooter.dir/Menu/EnterName.cpp.o CMakeFiles/marsshooter.dir/Menu/ExitConfirm.cpp.o CMakeFiles/marsshooter.dir/Menu/InfoCK.cpp.o CMakeFiles/marsshooter.dir/Menu/InfoDM.cpp.o CMakeFiles/marsshooter.dir/Menu/InfoGIP.cpp.o CMakeFiles/marsshooter.dir/Menu/InfoHide.cpp.o CMakeFiles/marsshooter.dir/Menu/InfoSB.cpp.o CMakeFiles/marsshooter.dir/Menu/InfoTDM.cpp.o CMakeFiles/marsshooter.dir/Menu/MainMenu.cpp.o CMakeFiles/marsshooter.dir/Menu/NewGameConfirm.cpp.o CMakeFiles/marsshooter.dir/Menu/NewGameMenu.cpp.o CMakeFiles/marsshooter.dir/Menu/OptionsMenu.cpp.o CMakeFiles/marsshooter.dir/Menu/PauseMenu.cpp.o CMakeFiles/marsshooter.dir/Menu/ShaderError.cpp.o CMakeFiles/marsshooter.dir/Menu/ToMainConfirm.cpp.o CMakeFiles/marsshooter.dir/Menu/TutorialWindow.cpp.o CMakeFiles/marsshooter.dir/Menu/WeaponOptions.cpp.o CMakeFiles/marsshooter.dir/Menu/menus.cpp.o CMakeFiles/marsshooter.dir/Particles/AmmoAFK47.cpp.o CMakeFiles/marsshooter.dir/Particles/AmmoBurner.cpp.o CMakeFiles/marsshooter.dir/Particles/AmmoFist.cpp.o CMakeFiles/marsshooter.dir/Particles/AmmoFlubba.cpp.o CMakeFiles/marsshooter.dir/Particles/AmmoH2OMG.cpp.o CMakeFiles/marsshooter.dir/Particles/AmmoInsta.cpp.o CMakeFiles/marsshooter.dir/Particles/AmmoROFLE.cpp.o CMakeFiles/marsshooter.dir/Particles/AmmoRocket.cpp.o CMakeFiles/marsshooter.dir/Particles/AmmoShotgun.cpp.o CMakeFiles/marsshooter.dir/Particles/BurningFragment.cpp.o CMakeFiles/marsshooter.dir/Particles/CannonBall.cpp.o CMakeFiles/marsshooter.dir/Particles/CrushedIce.cpp.o CMakeFiles/marsshooter.dir/Particles/Dust.cpp.o CMakeFiles/marsshooter.dir/Particles/Eruption.cpp.o CMakeFiles/marsshooter.dir/Particles/Explode.cpp.o CMakeFiles/marsshooter.dir/Particles/Fragment.cpp.o CMakeFiles/marsshooter.dir/Particles/FragmentFlame.cpp.o CMakeFiles/marsshooter.dir/Particles/Fuel.cpp.o CMakeFiles/marsshooter.dir/Particles/Heat.cpp.o CMakeFiles/marsshooter.dir/Particles/HeatBurner.cpp.o CMakeFiles/marsshooter.dir/Particles/HeatJet.cpp.o CMakeFiles/marsshooter.dir/Particles/MiniAmmoFlubba.cpp.o CMakeFiles/marsshooter.dir/Particles/MiniFlame.cpp.o CMakeFiles/marsshooter.dir/Particles/MiniFlameSmoke.cpp.o CMakeFiles/marsshooter.dir/Particles/Mud.cpp.o CMakeFiles/marsshooter.dir/Particles/Number.cpp.o CMakeFiles/marsshooter.dir/Particles/PowerUpCollect.cpp.o CMakeFiles/marsshooter.dir/Particles/ShockWave.cpp.o CMakeFiles/marsshooter.dir/Particles/Smoke.cpp.o CMakeFiles/marsshooter.dir/Particles/Spark.cpp.o CMakeFiles/marsshooter.dir/Particles/Star.cpp.o CMakeFiles/marsshooter.dir/Particles/particles.cpp.o CMakeFiles/marsshooter.dir/Players/BotPlayer.cpp.o CMakeFiles/marsshooter.dir/Players/LocalPlayer.cpp.o CMakeFiles/marsshooter.dir/Players/Player.cpp.o CMakeFiles/marsshooter.dir/Players/players.cpp.o CMakeFiles/marsshooter.dir/Shaders/postFX.cpp.o CMakeFiles/marsshooter.dir/SpaceObjects/Ball.cpp.o CMakeFiles/marsshooter.dir/SpaceObjects/BlackHole.cpp.o CMakeFiles/marsshooter.dir/SpaceObjects/Home.cpp.o CMakeFiles/marsshooter.dir/SpaceObjects/Planet.cpp.o CMakeFiles/marsshooter.dir/SpaceObjects/Ship.cpp.o CMakeFiles/marsshooter.dir/SpaceObjects/Sun.cpp.o CMakeFiles/marsshooter.dir/SpaceObjects/Track.cpp.o CMakeFiles/marsshooter.dir/SpaceObjects/balls.cpp.o CMakeFiles/marsshooter.dir/SpaceObjects/physics.cpp.o CMakeFiles/marsshooter.dir/SpaceObjects/ships.cpp.o CMakeFiles/marsshooter.dir/SpaceObjects/spaceObjects.cpp.o CMakeFiles/marsshooter.dir/SpaceObjects/stars.cpp.o CMakeFiles/marsshooter.dir/Specials/Blast.cpp.o CMakeFiles/marsshooter.dir/Specials/FireWall.cpp.o CMakeFiles/marsshooter.dir/Specials/Freezer.cpp.o CMakeFiles/marsshooter.dir/Specials/Heal.cpp.o CMakeFiles/marsshooter.dir/Specials/NoSpecial.cpp.o CMakeFiles/marsshooter.dir/Specials/Shocker.cpp.o CMakeFiles/marsshooter.dir/Specials/Special.cpp.o CMakeFiles/marsshooter.dir/Specials/specials.cpp.o CMakeFiles/marsshooter.dir/System/Color3f.cpp.o CMakeFiles/marsshooter.dir/System/Key.cpp.o CMakeFiles/marsshooter.dir/System/Vector2f.cpp.o CMakeFiles/marsshooter.dir/System/generateName.cpp.o CMakeFiles/marsshooter.dir/System/randomizer.cpp.o CMakeFiles/marsshooter.dir/System/settings.cpp.o CMakeFiles/marsshooter.dir/System/timer.cpp.o CMakeFiles/marsshooter.dir/System/window.cpp.o CMakeFiles/marsshooter.dir/Teams/CKTeam.cpp.o CMakeFiles/marsshooter.dir/Teams/DMTeam.cpp.o CMakeFiles/marsshooter.dir/Teams/GITeam.cpp.o CMakeFiles/marsshooter.dir/Teams/SBTeam.cpp.o CMakeFiles/marsshooter.dir/Teams/TDMTeam.cpp.o CMakeFiles/marsshooter.dir/Teams/Team.cpp.o CMakeFiles/marsshooter.dir/Teams/TutTeam.cpp.o CMakeFiles/marsshooter.dir/Teams/teams.cpp.o CMakeFiles/marsshooter.dir/TrailEffects/FloatingTrail.cpp.o CMakeFiles/marsshooter.dir/TrailEffects/PersistantTrail.cpp.o CMakeFiles/marsshooter.dir/TrailEffects/Trail.cpp.o CMakeFiles/marsshooter.dir/TrailEffects/trailEffects.cpp.o CMakeFiles/marsshooter.dir/Weapons/AFK47.cpp.o CMakeFiles/marsshooter.dir/Weapons/Burner.cpp.o CMakeFiles/marsshooter.dir/Weapons/Fist.cpp.o CMakeFiles/marsshooter.dir/Weapons/Flubba.cpp.o CMakeFiles/marsshooter.dir/Weapons/H2OMG.cpp.o CMakeFiles/marsshooter.dir/Weapons/Insta.cpp.o CMakeFiles/marsshooter.dir/Weapons/ROFLE.cpp.o CMakeFiles/marsshooter.dir/Weapons/RocketLauncher.cpp.o CMakeFiles/marsshooter.dir/Weapons/Shotgun.cpp.o CMakeFiles/marsshooter.dir/Weapons/Weapon.cpp.o CMakeFiles/marsshooter.dir/Weapons/weapons.cpp.o CMakeFiles/marsshooter.dir/Zones/HomeZone.cpp.o CMakeFiles/marsshooter.dir/Zones/RasterZone.cpp.o CMakeFiles/marsshooter.dir/Zones/TacticalZone.cpp.o CMakeFiles/marsshooter.dir/Zones/TeamZone.cpp.o CMakeFiles/marsshooter.dir/Zones/TutorialZone.cpp.o CMakeFiles/marsshooter.dir/Zones/zones.cpp.o -o ../../marsshooter -rdynamic -lsfml-audio -lsfml-graphics -lsfml-window -lsfml-system -lGL -lfribidi -ltag
CMakeFiles/marsshooter.dir/Locales/locales.cpp.o: In function `locales::setCurrentLocale()':
./obj-x86_64-linux-gnu/src/./src/Locales/locales.cpp:188: undefined reference to `sf::String::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const'
CMakeFiles/marsshooter.dir/Locales/locales.cpp.o: In function `locales::load()':
./obj-x86_64-linux-gnu/src/./src/Locales/locales.cpp:156: undefined reference to `sf::String::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const'
CMakeFiles/marsshooter.dir/Media/font.cpp.o: In function `font::getFont(int)':
./obj-x86_64-linux-gnu/src/./src/Media/font.cpp:35: undefined reference to `sf::String::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const'
CMakeFiles/marsshooter.dir/Menu/OptionsMenu.cpp.o: In function `OptionsMenu::checkWidgets()':
./obj-x86_64-linux-gnu/src/./src/Menu/OptionsMenu.cpp:195: undefined reference to `sf::String::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const'
./obj-x86_64-linux-gnu/src/./src/Menu/OptionsMenu.cpp:200: undefined reference to `sf::String::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const'
collect2: error: ld returned 1 exit status
src/CMakeFiles/marsshooter.dir/build.make:5092: recipe for target '../marsshooter' failed
make[3]: *** [../marsshooter] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:88: recipe for target 'src/CMakeFiles/marsshooter.dir/all' failed
make[2]: *** [src/CMakeFiles/marsshooter.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
Makefile:152: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: make -j64 returned exit code 2
debian/rules:6: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
More information about the Pkg-games-devel
mailing list