Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677778 - games-engines/frotz-2.43-r1 : /.../ld: src/frotz_curses.a(ux_init.o): undefined reference to symbol keypad
Summary: games-engines/frotz-2.43-r1 : /.../ld: src/frotz_curses.a(ux_init.o): undefin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 692810 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-02-12 06:59 UTC by Toralf Förster
Modified: 2019-09-03 22:31 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.20 KB, text/plain)
2019-02-12 06:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,174.04 KB, text/plain)
2019-02-12 06:59 UTC, Toralf Förster
Details
environment (environment,77.04 KB, text/plain)
2019-02-12 06:59 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.50 KB, application/x-bzip)
2019-02-12 06:59 UTC, Toralf Förster
Details
games-engines:frotz-2.43-r1:20190212-044634.log (games-engines:frotz-2.43-r1:20190212-044634.log,9.81 KB, text/plain)
2019-02-12 06:59 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,20.14 KB, application/x-bzip)
2019-02-12 06:59 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 2019-02-12 06:59:06 UTC
cc -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -o frotz src/frotz_common.a src/frotz_curses.a  -lcurses \
	
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/frotz_curses.a(ux_init.o): undefined reference to symbol 'keypad'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.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:165: frotz-curses] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-developer_20190208-112056

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

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

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

emerge -qpvO games-engines/frotz
[ebuild  N    ] games-engines/frotz-2.43-r1  USE="alsa oss"
Comment 1 Toralf Förster gentoo-dev 2019-02-12 06:59:09 UTC
Created attachment 564870 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-02-12 06:59:12 UTC
Created attachment 564872 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-02-12 06:59:15 UTC
Created attachment 564874 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-02-12 06:59:18 UTC
Created attachment 564876 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-02-12 06:59:21 UTC
Created attachment 564878 [details]
games-engines:frotz-2.43-r1:20190212-044634.log
Comment 6 Toralf Förster gentoo-dev 2019-02-12 06:59:23 UTC
Created attachment 564880 [details]
temp.tbz2
Comment 7 Red 2019-08-28 11:46:41 UTC
Is this a duplicate of #692810?

I had the same problems, and as outlined in this forum post:

http://www.pclinuxos.com/forum/index.php?topic=141686.0

the workaround is:

1. Create a file /etc/portage/env/frotz-workaround.conf containing:

>LIB="-lcurses -ltinfo"

2. Edit /etc/portage/package.env:

>games-engines/frotz frotz-workaround.conf
Comment 8 James Le Cuirot gentoo-dev 2019-08-28 20:49:27 UTC
*** Bug 692810 has been marked as a duplicate of this bug. ***
Comment 9 James Le Cuirot gentoo-dev 2019-08-28 22:36:18 UTC
I'm working on a bump. It still uses a static Makefile but it's very different and uses pkg-config, which will fix this.
Comment 10 Larry the Git Cow gentoo-dev 2019-09-03 22:31:30 UTC
The bug has been closed via the following commit(s):

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

commit 99b274ce3fed3473103a1811909a4a521034590f
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2019-09-03 22:12:01 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2019-09-03 22:30:55 +0000

    games-engines/frotz: Drop old 2.43-r1
    
    Closes: https://bugs.gentoo.org/677778
    Package-Manager: Portage-2.3.75, Repoman-2.3.17
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 games-engines/frotz/Manifest                       |  1 -
 .../frotz/files/frotz-2.43-glibc2.10.patch         | 29 ------------
 games-engines/frotz/files/frotz-2.43-ldflags.patch | 20 ---------
 games-engines/frotz/frotz-2.43-r1.ebuild           | 52 ----------------------
 4 files changed, 102 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 96cd29c93318afa743475a047d2a062952ea0afd
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2019-09-03 22:10:33 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2019-09-03 22:30:51 +0000

    games-engines/frotz: Version bump to 2.45_pre20190903, many fixes
    
    Not an actual release but much easier to build than the last one. Also
    uses SDL2 rather than SDL1. Many thanks to upstream for merging all my
    patches so quickly.
    
    Fixes ncurses, prefix, cross-compiling, and probably more I forget.
    
    Bug: https://bugs.gentoo.org/677778
    Package-Manager: Portage-2.3.75, Repoman-2.3.17
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 games-engines/frotz/Manifest                      |  1 +
 games-engines/frotz/frotz-2.45_pre20190903.ebuild | 74 +++++++++++++++++++++++
 games-engines/frotz/metadata.xml                  |  2 +-
 3 files changed, 76 insertions(+), 1 deletion(-)