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

Bug 603890

Summary: net-fs/openafs[ncurses] fails to build with sys-libs/ncurses[tinfo]
Product: Gentoo Linux Reporter: pigge2
Component: KeywordingAssignee: NP-Hardass <np-hardass>
Severity: normal CC: bircoph, esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 457530    

Description pigge2 2016-12-28 09:25:26 UTC
i had USE flag 'tinfo' set for ncurses (needed by atom editor) which broke net-fs/openafs.

when USE flag 'tinfo' is enabled for ncurses, openafs will only build with --disable-gtx flag set for openafs

this happens for >=openafs-1.6.17 as far as i can tell.

error message below:
     x86_64-pc-linux-gnu-ranlib libgtx.a
     x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed         -o gtxtest gtxtest.o libgtx.a /var/tmp/portage/net-fs/openafs- /var/tmp/portage/net-fs/openafs- /var/tmp/portage/net-fs/openafs- /var/tmp/portage/net-fs/openafs- /var/tmp/portage/net-fs/openafs- /var/tmp/portage/net-fs/openafs- /var/tmp/portage/net-fs/openafs- /var/tmp/portage/net-fs/openafs- /var/tmp/portage/net-fs/openafs- /var/tmp/portage/net-fs/openafs- -lncurses -lresolv  
     /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c -m 644 libgtx.a /var/tmp/portage/net-fs/openafs-
     x86_64-pc-linux-gnu-gcc -I. -I.. -I../nfs -I/var/tmp/portage/net-fs/openafs- -I/var/tmp/portage/net-fs/openafs- -I/var/tmp/portage/net-fs/openafs- -I/var/tmp/portage/net-fs/openafs- -I/var/tmp/portage/net-fs/openafs- -I/var/tmp/portage/net-fs/openafs- -I/var/tmp/portage/net-fs/openafs- -I/var/tmp/portage/net-fs/openafs- -I/var/tmp/portage/net-fs/openafs- -I/var/tmp/portage/net-fs/openafs- -I/var/tmp/portage/net-fs/openafs- -I/var/tmp/portage/net-fs/openafs- -I/var/tmp/portage/net-fs/openafs- -I/var/tmp/portage/net-fs/openafs- -I/var/tmp/portage/net-fs/openafs- -I/var/tmp/portage/net-fs/openafs- -I/var/tmp/portage/net-fs/openafs- -I/var/tmp/portage/net-fs/openafs- -I/var/tmp/portage/net-fs/openafs-  -O -DKERNEL   -I. -I.. -I/var/tmp/portage/net-fs/openafs-  -D_REENTRANT -DKERNEL -DUKERNEL   -D_LARGEFILE64_SOURCE -c /var/tmp/portage/net-fs/openafs-
     /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../x86_64-pc-linux-gnu/bin/ld: libgtx.a(curseswindows.o): undefined reference to symbol 'raw'
     /lib64/ error adding symbols: DSO missing from command line
     collect2: error: ld returned 1 exit status
     Makefile:179: recipe for target 'gtxtest' failed
     make[3]: *** [gtxtest] Error 1
     make[3]: *** Waiting for unfinished jobs....
Comment 1 Larry the Git Cow gentoo-dev 2019-01-05 14:02:10 UTC
The bug has been closed via the following commit(s):

commit 2ee38441e0210b8d43f22bb8afe100d5c2a1c58c
Author:     Andrew Savchenko <>
AuthorDate: 2019-01-05 13:51:54 +0000
Commit:     Andrew Savchenko <>
CommitDate: 2019-01-05 14:00:13 +0000

    net-fs/openafs: 1.8.2 version bump
    - Update to upstream version 1.8.2 and patches from 1_8_x branch
      till 20181001. This fixes some open Gentoo bugs:
        472184 (probably), 544162, 603890 (likely), 640874, 642542.
    - Merge openafs-kernel back into openafs:
      - save lots of build time (configure, compilling common code);
      - original split was required due to problems in the build system
        (e.g. -j1) which are fixed now.
      Now kernels < 4.21 are supported.
    - Add support for new features:
      - enable gssapi via kerberos;
      - allow to choose between namei and inode file servers;
      - add Tivoli TSM API support;
      - conrol ubik-read-while-write mode;
      - deprecate kauth tools (may be enabled via flag);
      - add support for perl bindings via swig;
    - Docs:
      - build api docs (using doxygen);
      - Build PDF docs, support all three generators (fop, dblatex,
    - Avoid file collision with heimdal (bug 631584).
    The client is tested on various configurations, the server is not.
    Signed-off-by: Andrew Savchenko <>
    Package-Manager: Portage-2.3.53, Repoman-2.3.11

 net-fs/openafs/Manifest             |   3 +
 net-fs/openafs/metadata.xml         |  16 +-
 net-fs/openafs/openafs-1.8.2.ebuild | 341 ++++++++++++++++++++++++++++++++++++
 3 files changed, 358 insertions(+), 2 deletions(-)
Comment 2 Andrew Savchenko gentoo-dev 2019-01-05 14:15:14 UTC
Judging from changes in 1.8.x build system, this issue should be fixed. But I haven't tested it, since I have no setups with separated tinfo and it is not easy to switch.