Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603890 - net-fs/openafs[ncurses] fails to build with sys-libs/ncurses[tinfo]
Summary: net-fs/openafs[ncurses] fails to build with sys-libs/ncurses[tinfo]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Keywording (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Adam Feldman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tinfo
  Show dependency tree
 
Reported: 2016-12-28 09:25 UTC by pigge2
Modified: 2019-01-05 14:15 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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-1.6.18.3/work/openafs-1.6.18.3/lib/librx.a /var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/lib/liblwp.a /var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/lib/libsys.a /var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/lib/libcmd.a /var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/lib/libkauth.a /var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/lib/libauth.a /var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/lib/librxkad.a /var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/lib/libdes.a /var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/lib/libafscom_err.a /var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/lib/util.a -lncurses -lresolv  
     /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c -m 644 libgtx.a /var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/lib/libgtx.a
     x86_64-pc-linux-gnu-gcc -I. -I.. -I../nfs -I/var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/src -I/var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/src/afs -I/var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/src/afs/UKERNEL -I/var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/src/config -I/var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/src/rx -I/var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/src/rx/UKERNEL -I/var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/src/rxkad -I/var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/src/util -I/var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/src -I/var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/src/afs/UKERNEL -I/var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/src/afs -I/var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/src/util -I/var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/src/rxkad -I/var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/src/config -I/var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/src/fsint -I/var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/src/vlserver -I/var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/src/libuafs -I/var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/include -I/var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/include/afs  -O -DKERNEL   -I. -I.. -I/var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/src/config  -D_REENTRANT -DKERNEL -DUKERNEL   -D_LARGEFILE64_SOURCE -c /var/tmp/portage/net-fs/openafs-1.6.18.3/work/openafs-1.6.18.3/src/rx/rx_rdwr.c
     /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/libtinfo.so.6: 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):

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

commit 2ee38441e0210b8d43f22bb8afe100d5c2a1c58c
Author:     Andrew Savchenko <bircoph@gentoo.org>
AuthorDate: 2019-01-05 13:51:54 +0000
Commit:     Andrew Savchenko <bircoph@gentoo.org>
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,
        docbook2pdf).
    - Avoid file collision with heimdal (bug 631584).
    
    The client is tested on various configurations, the server is not.
    
    Closes: https://bugs.gentoo.org/472184
    Closes: https://bugs.gentoo.org/544162
    Closes: https://bugs.gentoo.org/603890
    Closes: https://bugs.gentoo.org/631584
    Closes: https://bugs.gentoo.org/640874
    Closes: https://bugs.gentoo.org/642542
    Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
    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.