Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251772 - armv5tejl-softfloat-linux-gnueabi - sys-libs/ncurses-5.7 - ../obj_s/ditto.o: In function `main': ditto.c:(.text+0x24c): undefined reference to `use_screen'
Summary: armv5tejl-softfloat-linux-gnueabi - sys-libs/ncurses-5.7 - ../obj_s/ditto.o: ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: ARM Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-20 17:57 UTC by Joe R. Nassimian
Modified: 2010-01-23 19:38 UTC (History)
2 users (show)

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


Attachments
the build.log generated by portage (build.log,545.40 KB, text/plain)
2008-12-20 18:04 UTC, Joe R. Nassimian
Details
the environment file generated by portage (environment,95.16 KB, text/plain)
2008-12-20 18:05 UTC, Joe R. Nassimian
Details
the right emerge --info (emerge--info,3.92 KB, text/plain)
2008-12-20 18:21 UTC, Joe R. Nassimian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe R. Nassimian 2008-12-20 17:57:22 UTC
Compiling manually works fine, but emerging the package fails

Reproducible: Always

Steps to Reproduce:
emerge =ncurses-5.7
Actual Results:  
see build.log & environment.log


emerge --info:
TERM="screen"
TERMCAP="SC|screen|VT 100/ANSI X3.64 virtual terminal:\
        :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\
        :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\
        :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\
        :li#24:co#80:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\
        :cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\
        :im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\
        :ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\
        :ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\
        :se=\E[23m:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:ms:\
        :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\
        :vb=\Eg:G0:as=\E(0:ae=\E(B:\
        :ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\
        :po=\E[5i:pf=\E[4i:Z0=\E[?3h:Z1=\E[?3l:k0=\E[10~:\
        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
        :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:\
        :F2=\E[24~:F3=\E[2P:F4=\E[2Q:F5=\E[2R:F6=\E[2S:\
        :F7=\E[15;2~:F8=\E[17;2~:F9=\E[18;2~:FA=\E[19;2~:kb=^H:\
        :K2=\EOE:kB=\E[Z:kF=\E[1;2B:kR=\E[1;2A:*4=\E[3;2~:\
        :*7=\E[1;2F:#2=\E[1;2H:#3=\E[2;2~:#4=\E[1;2D:%c=\E[6;2~:\
        :%e=\E[5;2~:%i=\E[1;2C:kh=\E[1~:@1=\E[1~:kH=\E[4~:\
        :@7=\E[4~:kN=\E[6~:kP=\E[5~:kI=\E[2~:kD=\E[3~:ku=\EOA:\
        :kd=\EOB:kr=\EOC:kl=\EOD:km:"
USE="7zip acl apache2 arm authdaemond authfile bash-completion berkdb bzip2 clamav clamd cli cracklib crosscompile crypt cups foomaticdb gdbm gpm iconv ipv6 isdnlog maildir mailwrapper midi mudflap ncurses netboot nls nptl nptlonly openmp pam pcre perl php posix postfix pppd procmail python readline reflection samba sasl session slang snmp softquota spl ssl symlink sysfs tcpd tokenizer truetype unicode usb xml xorg zlib {CODECUSE} {FSUSE} {GNOMEUSE} {IMAGEUSE} {MEDIAUSE} {NETUSE} {SECUSE}{MISCUSE}{EXCLUDEUSE} {SYSTEMUSE}" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_anon          authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default            authz_groupfile authz_host authz_owner authz_user autoindex cache                 dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter             file_cache filter headers ident imagemap include info log_config logio            mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer              proxy_connect proxy_http rewrite setenvif so speling status unique_id             userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US fr am de ar" ORION_NAS_DEVICES="linkstation_pro_live" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage sis tdfx trident        vga voodoo"
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES ORION_NAS_DEVICES USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage sis tdfx trident      vga voodoo"
WINDOW="0"
_="/usr/bin/emerge"
Comment 1 Joe R. Nassimian 2008-12-20 18:04:10 UTC
Created attachment 175968 [details]
the build.log generated by portage
Comment 2 Joe R. Nassimian 2008-12-20 18:05:16 UTC
Created attachment 175970 [details]
the environment file generated by portage
Comment 3 Joe R. Nassimian 2008-12-20 18:21:38 UTC
Created attachment 175973 [details]
the right emerge --info

ignore the previous posted emerge --info, as I messed up copying it, this is the right one.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-12-23 06:38:48 UTC
Comment on attachment 175973 [details]
the right emerge --info

I am quite sure that this isn't your `emerge --info' either.
Comment 5 Michael Yang 2009-01-17 22:18:44 UTC
You're probably upgrading from ncurses-5.6 and have ncurses.h somewhere like /usr/local/include/ncurses

ditto.c is looking for the following line:

extern NCURSES_EXPORT(int) use_screen (SCREEN *, NCURSES_SCREEN_CB, void *);

which is located in Ncurses-5.7/include/curses.h

The compile script is including the old ncurses.h which doesn't have it.
Comment 6 SpanKY gentoo-dev 2009-02-08 19:24:05 UTC
yeah, please check that

also post the config.log as an attachment
Comment 7 Kanstantsin Shautsou 2010-01-23 19:38:06 UTC
I get the same error for ncurses-5.7-r3.
Solution: 
emerge -C ncurses && emerge -1 ncurses