Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710198 - games-strategy/naev-0.6.1-r1 : fails to build with -fno-common or gcc-10
Summary: games-strategy/naev-0.6.1-r1 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard: ~arch only
Keywords: PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-19 17:45 UTC by Toralf Förster
Modified: 2021-02-17 09:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.93 KB, text/plain)
2020-02-19 17:45 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,99.77 KB, text/plain)
2020-02-19 17:45 UTC, Toralf Förster
Details
environment (environment,99.46 KB, text/plain)
2020-02-19 17:46 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.07 KB, application/x-bzip)
2020-02-19 17:46 UTC, Toralf Förster
Details
games-strategy:naev-0.6.1-r1:20200219-102840.log (games-strategy:naev-0.6.1-r1:20200219-102840.log,364.82 KB, text/plain)
2020-02-19 17:46 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.51 KB, application/x-bzip)
2020-02-19 17:46 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,31.92 KB, application/x-bzip)
2020-02-19 17:46 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-02-19 17:45:52 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -include ../src/config.h -I../src -I../lib/csparse -I/usr/include/SDL2 -D_REENTRANT -DSDLKey=SDL_Keycode -DSDLMod=SDL_Keymod -DSDL_BUTTON_WHEELUP=SDL_BUTTON_X1 -DSDL_BUTTON_WHEELDOWN=SDL_BUTTON_X2 -DKMOD_LMETA=KMOD_LGUI -DKMOD_RMETA=KMOD_RGUI -DSDLK_NUMLOCK=SDLK_NUMLOCKCLEAR -DSDLK_SCROLLOCK=SDLK_SCROLLLOCK -DSDLK_RMETA=SDLK_RGUI -DSDLK_LMETA=SDLK_LGUI -D_GNU_SOURCE=1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/SDL2 -D_REENTRANT -O2 -pipe -march=native -fno-common -c -o unidiff.o unidiff.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -include ../src/config.h -I../src -I../lib/csparse -I/usr/include/SDL2 -D_REENTRANT -DSDLKey=SDL_Keycode -DSDLMod=SDL_Keymod -DSDL_BUTTON_WHEELUP=SDL_BUTTON_X1 -DSDL_BUTTON_WHEELDOWN=SDL_BUTTON_X2 -DKMOD_LMETA=KMOD_LGUI -DKMOD_RMETA=KMOD_RGUI -DSDLK_NUMLOCK=SDLK_NUMLOCKCLEAR -DSDLK_SCROLLOCK=SDLK_SCROLLLOCK -DSDLK_RMETA=SDLK_RGUI -DSDLK_LMETA=SDLK_LGUI -D_GNU_SOURCE=1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/SDL2 -D_REENTRANT -O2 -pipe -march=native -fno-common -c -o weapon.o weapon.c
x86_64-pc-linux-gnu-gcc -include ../src/config.h -I../src -I../lib/csparse -I/usr/include/SDL2 -D_REENTRANT -DSDLKey=SDL_Keycode -DSDLMod=SDL_Keymod -DSDL_BUTTON_WHEELUP=SDL_BUTTON_X1 -DSDL_BUTTON_WHEELDOWN=SDL_BUTTON_X2 -DKMOD_LMETA=KMOD_LGUI -DKMOD_RMETA=KMOD_RGUI -DSDLK_NUMLOCK=SDLK_NUMLOCKCLEAR -DSDLK_SCROLLOCK=SDLK_SCROLLLOCK -DSDLK_RMETA=SDLK_RGUI -DSDLK_LMETA=SDLK_LGUI -D_GNU_SOURCE=1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/SDL2 -D_REENTRANT -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o naev ai.o array.o background.o board.o camera.o claim.o collision.o colour.o comm.o cond.o conf.o console.o damagetype.o debris.o dev.o dev_outfit.o dev_planet.o dev_ship.o dev_system.o dev_sysedit.o dev_uniedit.o dialogue.o economy.o equipment.o escort.o event.o explosion.o faction.o fleet.o font.o gui.o gui_omsg.o gui_osd.o hook.o info.o input.o intro.o joystick.o land.o land_outfits.o land_shipyard.o load.o log.o map.o map_find.o map_overlay.o md5.o menu.o mission.o music.o music_openal.o music_sdlmix.o naev.o ndata.o nebula.o news.o nfile.o nlua.o nlua_bkg.o nlua_camera.o nlua_cli.o nlua_col.o nlua_commodity.o nlua_diff.o nlua_evt.o nlua_faction.o nlua_gfx.o nlua_gui.o nlua_hook.o nlua_jump.o nlua_misn.o nlua_music.o nlua_naev.o nlua_news.o nlua_outfit.o nlua_pilot.o nlua_planet.o nlua_player.o nlua_rnd.o nlua_ship.o nlua_space.o nlua_system.o nlua_tex.o nlua_time.o nlua_tk.o nlua_tut.o nlua_var.o nlua_vec2.o nmath.o nondata.o npng.o npc.o nstring.o ntime.o nxml.o nxml_lua.o nzip.o opengl.o opengl_ext.o opengl_matrix.o opengl_render.o opengl_tex.o opengl_vbo.o options.o outfit.o pause.o perlin.o physics.o pilot.o pilot_cargo.o pilot_ew.o pilot_heat.o pilot_hook.o pilot_outfit.o pilot_weapon.o plasmaf.o player.o player_autonav.o player_gui.o queue.o rng.o save.o ship.o shipstats.o slots.o sound.o sound_openal.o sound_sdlmix.o space.o spfx.o start.o tech.o threadpool.o toolkit.o unidiff.o weapon.o -lm ../src/tk/widget/libwidget.a ../lib/csparse/libcsparse.a -lSDL2 -lxml2 -lfreetype -llua -lm -lvorbis -lvorbisfile -lpng16 -lz -lzip -lGL -lGLU -lopenal -lSDL2_mixer -lSDL2 -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: background.o:(.bss+0x0): multiple definition of `nglCompressedTexImage2D'; ai.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: background.o:(.bss+0x8): multiple definition of `nglDeleteBuffers'; ai.o:(.bss+0x8): first defined here

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20200216-164747

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 19 Feb 2020 08:07:32 +0000

emerge -qpvO games-strategy/naev
[ebuild  N    ] games-strategy/naev-0.6.1-r1  USE="mixer openal -debug"
Comment 1 Toralf Förster gentoo-dev 2020-02-19 17:45:55 UTC
Created attachment 614540 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-19 17:45:58 UTC
Created attachment 614542 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-19 17:46:00 UTC
Created attachment 614544 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-19 17:46:03 UTC
Created attachment 614546 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-19 17:46:06 UTC
Created attachment 614548 [details]
games-strategy:naev-0.6.1-r1:20200219-102840.log
Comment 6 Toralf Förster gentoo-dev 2020-02-19 17:46:09 UTC
Created attachment 614550 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-19 17:46:12 UTC
Created attachment 614552 [details]
temp.tbz2
Comment 8 Azamat H. Hackimov 2020-05-29 12:40:23 UTC
This issue fixed here https://github.com/naev/naev/commit/97e0a890d56d0b2db98882ba5f734c291cfeb650 but this not a trivial case. They decided to switch new GL functions generator which has no problems with -fno-common options. We need new release from upstream...
Comment 9 Azamat H. Hackimov 2020-05-29 17:00:06 UTC
Upstream issue https://github.com/naev/naev/issues/1001
Comment 10 Larry the Git Cow gentoo-dev 2021-02-17 09:37:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=236930ddd73c1677139292253af01b5b8c33c0ba

commit 236930ddd73c1677139292253af01b5b8c33c0ba
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-17 09:36:16 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-02-17 09:36:16 +0000

    games-strategy/naev: Bump to 0.8.1
    
    Closes: https://bugs.gentoo.org/710198
    Closes: https://bugs.gentoo.org/739368
    Closes: https://github.com/gentoo/gentoo/pull/19058
    
    Co-authored-by: Azamat H. Hackimov azamat.hackimov@gmail.com
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 games-strategy/naev/Manifest          |  1 +
 games-strategy/naev/naev-0.8.1.ebuild | 63 +++++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)