Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 624358

Summary: games-emulation/gens-2.15.5 build failure
Product: Gentoo Linux Reporter: Raymond Jennings <shentino>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Raymond Jennings 2017-07-09 12:38:43 UTC
tkui/support.c: In function ‘addGymFilter’:
gtkui/support.c:1046:25: warning: unused parameter ‘widget’ [-Wunused-parameter]
 addGymFilter(GtkWidget* widget)
                         ^
x86_64-pc-linux-gnu-gcc -DDATADIR=\"/usr/share/games/gens\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -pipe -march=native -ggdb3 -Wall -W -O2 -pipe -march=native -ggdb3 -Wall -W  -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -o gens gens_core/cpu/68k/gens-cpu_68k.o gens_core/cpu/sh2/gens-cpu_sh2.o gens_core/cpu/sh2/gens-sh2.o gens_core/cpu/z80/gens-cpu_z80.o gens_core/sound/gens-pcm.o gens_core/sound/gens-psg.o gens_core/sound/gens-ym2612.o gens_core/gfx/gens-blit2.o gens_core/gfx/gens-hqfilters.o segacd/gens-cd_aspi.o segacd/gens-cd_file.o segacd/gens-cd_sys.o segacd/gens-cdda_mp3.o segacd/gens-lc89510.o mp3_dec/gens-common.o mp3_dec/gens-dct64_i386.o mp3_dec/gens-decode_i386.o mp3_dec/gens-interface.o mp3_dec/gens-layer3.o mp3_dec/gens-tabinit.o sdllayer/gens-g_sdldraw.o sdllayer/gens-g_sdlinput.o sdllayer/gens-g_sdlsound.o util/file/gens-chd.o util/file/gens-rom.o util/file/gens-save.o util/file/gens-ggenie.o util/sound/gens-gym.o util/gfx/gens-scrshot.o util/file/gens-unzip.o util/sound/gens-wave.o port/gens-port.o port/gens-timer.o emulator/gens-ui_proxy.o emulator/gens-g_main.o emulator/gens-gens.o debug/gens-debug.o debug/gens-m68kd.o debug/gens-sh2d.o debug/gens-z80dis.o gtkui/glade/gens-callbacks.o gtkui/glade/gens-interface.o gtkui/gens-support.o emulator/gens-parse.o gens_core/gfx/blit.o gens_core/gfx/hq2x16.o gens_core/gfx/gfx_cd.o gens_core/io/io.o gens_core/mem/mem_m68k.o gens_core/mem/mem_s68k.o gens_core/mem/mem_sh2.o gens_core/mem/mem_z80.o gens_core/misc/misc.o gens_core/sound/pwm.o gens_core/cpu/sh2/sh2a.o gens_core/vdp/vdp_32x.o gens_core/vdp/vdp_io.o gens_core/vdp/vdp_rend.o gens_core/cpu/z80/z80.o ../starscream/main68k/main68k.o ../starscream/sub68k/sub68k.o -lm -lz -lSDL -lpthread -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype   -lc -lrt  -lGL
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `gens_core/gfx/blit.o' is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `gens_core/gfx/hq2x16.o' is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `gens_core/gfx/gfx_cd.o' is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `gens_core/io/io.o' is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `gens_core/mem/mem_m68k.o' is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `gens_core/mem/mem_s68k.o' is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `gens_core/mem/mem_sh2.o' is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `gens_core/mem/mem_z80.o' is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `gens_core/misc/misc.o' is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `gens_core/sound/pwm.o' is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `gens_core/cpu/sh2/sh2a.o' is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `gens_core/vdp/vdp_32x.o' is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `gens_core/vdp/vdp_io.o' is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `gens_core/vdp/vdp_rend.o' is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `gens_core/cpu/z80/z80.o' is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `../starscream/main68k/main68k.o' is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `../starscream/sub68k/sub68k.o' is incompatible with i386:x86-64 output
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:620: gens] Error 1
make[3]: Leaving directory '/var/tmp/portage/games-emulation/gens-2.15.5/work/gens-2.15.5/src/gens'
make[2]: *** [Makefile:205: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/games-emulation/gens-2.15.5/work/gens-2.15.5/src'
make[1]: *** [Makefile:243: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/games-emulation/gens-2.15.5/work/gens-2.15.5'
make: *** [Makefile:182: all] Error 2
 * ERROR: games-emulation/gens-2.15.5::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=games-emulation/gens-2.15.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=games-emulation/gens-2.15.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/games-emulation/gens-2.15.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-emulation/gens-2.15.5/temp/environment'.
 * Working directory: '/var/tmp/portage/games-emulation/gens-2.15.5/work/gens-2.15.5'
 * S: '/var/tmp/portage/games-emulation/gens-2.15.5/work/gens-2.15.5'

>>> Failed to emerge games-emulation/gens-2.15.5, Log file:

>>>  '/var/tmp/portage/games-emulation/gens-2.15.5/temp/build.log'

 * Messages for package games-emulation/gens-2.15.5:

 * ERROR: games-emulation/gens-2.15.5::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=games-emulation/gens-2.15.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=games-emulation/gens-2.15.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/games-emulation/gens-2.15.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-emulation/gens-2.15.5/temp/environment'.
 * Working directory: '/var/tmp/portage/games-emulation/gens-2.15.5/work/gens-2.15.5'
 * S: '/var/tmp/portage/games-emulation/gens-2.15.5/work/gens-2.15.5'
Comment 1 Raymond Jennings 2017-07-09 12:40:43 UTC
What I'd like to know is why gcc is even attempting to build i386 binaries in the first place when my system is amd64.
Comment 2 Raymond Jennings 2017-07-09 12:41:01 UTC
related bug: https://bugs.gentoo.org/show_bug.cgi?id=141101
Comment 3 Raymond Jennings 2017-07-09 12:41:41 UTC
related bug: https://bugs.gentoo.org/show_bug.cgi?id=441876
Comment 4 Raymond Jennings 2017-07-09 12:45:45 UTC
Created attachment 482666 [details]
emerge --info
Comment 5 Pacho Ramos gentoo-dev 2018-04-29 09:50:13 UTC

*** This bug has been marked as a duplicate of bug 441876 ***