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

Bug 566008

Summary: sys-libs/ncurses-6.0-r1: fails compilation in a crossdev environment
Product: Gentoo Linux Reporter: Yi Yang <ahyangyi>
Component: [OLD] LibraryAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mva
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log (mva)
emerge --info (mva)

Description Yi Yang 2015-11-17 04:51:13 UTC
sys-libs/ncurses-6.0-r1 seems to fail cross-emerge, while sys-libs/ncurses-5.9-r5 works fine. This is probably due to a change of directory structure in ncurses.

Reproducible: Always

Steps to Reproduce:
1. Install a crossdev environment. (I am using armv7a-hardfloat-linux-gnueabi)
2. CHOST=armv7a-hardfloat-linux-gnueabi ARCH=arm cross-emerge =ncurses-6.0-r1

Actual Results:  
(lots of configuration messages)
cp /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0/c++/etip.h.in etip.h
/bin/bash /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0/c++/edit_cfg.sh ../include/ncurses_cfg.h etip.h
substituting autoconf'd values from ../include/ncurses_cfg.h into etip.h
... CPP_HAS_PARAM_INIT 0
... CPP_HAS_STATIC_CAST 1
... ETIP_NEEDS_MATH_EXCEPTION 0
... ETIP_NEEDS_MATH_H 0
... HAVE_BUILTIN_H 0
... HAVE_GPP_BUILTIN_H 0
... HAVE_GXX_BUILTIN_H 0
... HAVE_IOSTREAM 1
... HAVE_TYPEINFO 1
... HAVE_VALUES_H 0
... IOSTREAM_NAMESPACE 1
make[1]: Leaving directory '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/ncurses-6.0-r1/work/
cross/c++'
make -j32 -C progs tic 
make: *** progs: No such file or directory.  Stop.


Expected Results:  
It should compile.
Comment 1 Yi Yang 2015-11-18 05:49:40 UTC
FYI: sys-libs/ncurses-6.0-r1 also seems to cause troubles in gentoo-prefix. While it compiles in gentoo-prefix, many of its dependencies fail compilation in a prefix environment.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2015-11-22 18:12:47 UTC
Please attach the failing build log and emerge --info.
Comment 3 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2015-11-24 16:12:33 UTC
I can confirm same fail on armv7a-softfloat-linux-gnueabi chost (although, it seems to be unrelated to chost). And will attach build log and emerge-info in few minutes.
Comment 4 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2015-11-24 16:24:22 UTC
Created attachment 417752 [details]
build.log (mva)
Comment 5 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2015-11-24 16:25:16 UTC
Created attachment 417754 [details]
emerge --info (mva)
Comment 6 SpanKY gentoo-dev 2015-11-24 17:32:02 UTC

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