<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>11907</bug_id>
          
          <creation_ts>2017-08-08 07:54:45 +0000</creation_ts>
          <short_desc>slang: Fail to build sltest for ptest (issue with static linking)</short_desc>
          <delta_ts>2017-08-14 20:18:45 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.4 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Holger Freyther">holger</reporter>
          <assigned_to name="Joe Slater">joe.slater</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>75713</commentid>
    <comment_count>0</comment_count>
    <who name="Holger Freyther">holger</who>
    <bug_when>2017-08-08 07:54:45 +0000</bug_when>
    <thetext>The ptest task is failing as libslang.a is built and linking is missing the library for terminfo. This doesn&apos;t impact the normal compile task


rm -f /home/jenkinsdebian8amd64/jenkins/workspace/Yocto-Master/label/Debian8-AMD64/system-images/build.sysmobts/tmp/work/armv5te-poky-linux-gnueabi/slang/2.3.1a-r0/slang-2.3.1a/src/objs/libslang.a
cd /home/jenkinsdebian8amd64/jenkins/workspace/Yocto-Master/label/Debian8-AMD64/system-images/build.sysmobts/tmp/work/armv5te-poky-linux-gnueabi/slang/2.3.1a-r0/slang-2.3.1a/src/objs &amp;&amp; ar cr libslang.a sltermin.o sldisply.o slutty.o slang.o slarray.o slclass.o slcmd.o slerr.o slgetkey.o slkeymap.o slmalloc.o slmath.o slmemchr.o slmemcmp.o slmemcpy.o slmemset.o slmisc.o slparse.o slprepr.o slregexp.o slrline.o slsearch.o slsmg.o slstd.o sltoken.o sltypes.o slxstrng.o slcurses.o slscroll.o slsignal.o slkeypad.o slerrno.o slstring.o slstruct.o slcmplex.o slarrfun.o slimport.o slpath.o slarith.o slassoc.o slcompat.o slposdir.o slstdio.o slproc.o sltime.o slstrops.o slbstr.o slpack.o slintall.o slistruc.o slposio.o slnspace.o slarrmis.o slospath.o slscanf.o sllower.o slupper.o slischar.o slutf8.o slwcwidth.o slwclut.o slcommon.o sllist.o slexcept.o slfpu.o slsig.o slboseos.o
arm-poky-linux-gnueabi-ranlib /home/jenkinsdebian8amd64/jenkins/workspace/Yocto-Master/label/Debian8-AMD64/system-images/build.sysmobts/tmp/work/armv5te-poky-linux-gnueabi/slang/2.3.1a-r0/slang-2.3.1a/src/objs/libslang.a

libslang.a created in /home/jenkinsdebian8amd64/jenkins/workspace/Yocto-Master/label/Debian8-AMD64/system-images/build.sysmobts/tmp/work/armv5te-poky-linux-gnueabi/slang/2.3.1a-r0/slang-2.3.1a/src/objs
make: Leaving directory &apos;/home/jenkinsdebian8amd64/jenkins/workspace/Yocto-Master/label/Debian8-AMD64/system-images/build.sysmobts/tmp/work/armv5te-poky-linux-gnueabi/slang/2.3.1a-r0/slang-2.3.1a/src&apos;
NOTE: make RPATH= -C src/test sltest
make: Entering directory &apos;/home/jenkinsdebian8amd64/jenkins/workspace/Yocto-Master/label/Debian8-AMD64/system-images/build.sysmobts/tmp/work/armv5te-poky-linux-gnueabi/slang/2.3.1a-r0/slang-2.3.1a/src/test&apos;
arm-poky-linux-gnueabi-gcc  -march=armv5te -marm --sysroot=/home/jenkinsdebian8amd64/jenkins/workspace/Yocto-Master/label/Debian8-AMD64/system-images/build.sysmobts/tmp/work/armv5te-poky-linux-gnueabi/slang/2.3.1a-r0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/jenkinsdebian8amd64/jenkins/workspace/Yocto-Master/label/Debian8-AMD64/system-images/build.sysmobts/tmp/work/armv5te-poky-linux-gnueabi/slang/2.3.1a-r0=/usr/src/debug/slang/2.3.1a-r0 -fdebug-prefix-map=/home/jenkinsdebian8amd64/jenkins/workspace/Yocto-Master/label/Debian8-AMD64/system-images/build.sysmobts/tmp/work/armv5te-poky-linux-gnueabi/slang/2.3.1a-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/jenkinsdebian8amd64/jenkins/workspace/Yocto-Master/label/Debian8-AMD64/system-images/build.sysmobts/tmp/work/armv5te-poky-linux-gnueabi/slang/2.3.1a-r0/recipe-sysroot=   -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed sltest.c -o sltest -I.. -L../objs -lslang -lm
../objs/libslang.a(sldisply.o): In function `tt_tgetstr&apos;:
/usr/src/debug/slang/2.3.1a-r0/slang-2.3.1a/src/sldisply.c:2576: undefined reference to `tgetstr&apos;
../objs/libslang.a(sldisply.o): In function `tt_tgetnum&apos;:
/usr/src/debug/slang/2.3.1a-r0/slang-2.3.1a/src/sldisply.c:2619: undefined reference to `tgetnum&apos;
../objs/libslang.a(sldisply.o): In function `tt_tgetflag&apos;:
/usr/src/debug/slang/2.3.1a-r0/slang-2.3.1a/src/sldisply.c:2635: undefined reference to `tgetflag&apos;
../objs/libslang.a(sldisply.o): In function `SLtt_initialize&apos;:
/usr/src/debug/slang/2.3.1a-r0/slang-2.3.1a/src/sldisply.c:2770: undefined reference to `tgetent&apos;
../objs/libslang.a(sldisply.o): In function `tt_tgetflag&apos;:
/usr/src/debug/slang/2.3.1a-r0/slang-2.3.1a/src/sldisply.c:2635: undefined reference to `tgetflag&apos;
../objs/libslang.a(sldisply.o): In function `tt_tgetnum&apos;:
/usr/src/debug/slang/2.3.1a-r0/slang-2.3.1a/src/sldisply.c:2619: undefined reference to `tgetnum&apos;
../objs/libslang.a(sldisply.o): In function `tt_tgetflag&apos;:
/usr/src/debug/slang/2.3.1a-r0/slang-2.3.1a/src/sldisply.c:2635: undefined reference to `tgetflag&apos;
/usr/src/debug/slang/2.3.1a-r0/slang-2.3.1a/src/sldisply.c:2635: undefined reference to `tgetflag&apos;
/usr/src/debug/slang/2.3.1a-r0/slang-2.3.1a/src/sldisply.c:2635: undefined reference to `tgetflag&apos;
../objs/libslang.a(sldisply.o): In function `tt_tgetnum&apos;:
/usr/src/debug/slang/2.3.1a-r0/slang-2.3.1a/src/sldisply.c:2619: undefined reference to `tgetnum&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75811</commentid>
    <comment_count>1</comment_count>
    <who name="Joe Slater">joe.slater</who>
    <bug_when>2017-08-10 19:19:57 +0000</bug_when>
    <thetext>53fbc13 on master-next should fix this issue.  Looking for terminfo at configure time will not work properly.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>