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

Bug 690818

Summary: games-arcade/ninvaders-0.1.1-r1 : /.../ld: view.o: undefined reference to symbol keypad
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 457530    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-arcade:ninvaders-0.1.1-r1:20190727-123014.log
temp.tbz2

Description Toralf Förster gentoo-dev 2019-07-27 12:38:15 UTC
x86_64-pc-linux-gnu-gcc -c  -I. -O2 -pipe -march=native  nInvaders.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -onInvaders globals.o view.o aliens.o ufo.o player.o nInvaders.o -lncurses
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: view.o: undefined reference to symbol 'keypad'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [Makefile:11: nInvaders] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-libressl-20190721-114445

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

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

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.36.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.12.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO games-arcade/ninvaders
[ebuild  N    ] games-arcade/ninvaders-0.1.1-r1
Comment 1 Toralf Förster gentoo-dev 2019-07-27 12:38:17 UTC
Created attachment 584818 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-07-27 12:38:20 UTC
Created attachment 584820 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-07-27 12:38:23 UTC
Created attachment 584822 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-07-27 12:38:26 UTC
Created attachment 584824 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-07-27 12:38:28 UTC
Created attachment 584826 [details]
games-arcade:ninvaders-0.1.1-r1:20190727-123014.log
Comment 6 Toralf Förster gentoo-dev 2019-07-27 12:38:31 UTC
Created attachment 584828 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2019-08-17 22:10:58 UTC
The bug has been closed via the following commit(s):

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

commit f2276060aff07e74dfa501079d9d1191f8c5fccd
Author:     Stefan Strogin <steils@gentoo.org>
AuthorDate: 2019-08-17 22:05:51 +0000
Commit:     Stefan Strogin <steils@gentoo.org>
CommitDate: 2019-08-17 22:07:51 +0000

    games-arcade/ninvaders: fix building with ncurses[tinfo]
    
    Closes: https://bugs.gentoo.org/690818
    Package-Manager: Portage-2.3.71, Repoman-2.3.17
    Signed-off-by: Stefan Strogin <steils@gentoo.org>

 games-arcade/ninvaders/ninvaders-0.1.1-r1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)