[oe-issues] [Bug 2554] New: broken cross build environment / fix ncurses build

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Sat Jun 23 18:51:49 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=2554

           Summary: broken cross build environment / fix ncurses build
           Product: Openembedded
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Build
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: utx at penguin.cz
         QAContact: tinderbox-oe at gmx.net


While compiling ncurses on OpenSUSE 10.3 alpha, I got lower mentioned error
while installing ncurses.

The error comes from the problem, that at least for cross build OE uses broken
environment - it uses tools from staging/i686-linux/bin but does not include
staging/i686-linux/lib to LD_LIBRARY_PATH (for actual problem it calls tic from
staging with system ncurses library). It means, that it tries to use binaries
with different libraries they were compiled with.

It can cause undefined behavior, that's why I am marking it as major, however
fix can be trivial.

Work-around of this bug:
LD_LIBRARY_PATH=/path/to/OE/tmp/angstrom/staging/i686-linux/lib bitbake
angstrom-x11-image

Error message:
** Building terminfo database, please wait...
Running tic to install
/OE/build/tmp/angstrom/work/armv5te-angstrom-linux-gnueabi/ncurses-5.4-r8/image/usr/share/terminfo
.
..

        You may see messages regarding unknown capabilities, e.g., AX.
        These are extended terminal capabilities which can be compiled
        using
                tic -x
        Read the INSTALL document before doing this - it can cause
        problems for older ncurses applications.

tic: symbol lookup error: tic: undefined symbol: _nc_check_termtype
? tic could not build
/OE/build/tmp/angstrom/work/armv5te-angstrom-linux-gnueabi/ncurses-5.4-r8/image/usr/share/terminfo
make[1]: *** [install.data] Error 1


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list