<?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>6415</bug_id>
          
          <creation_ts>2014-06-06 23:10:25 +0000</creation_ts>
          <short_desc>gawk recipe&apos;s install task is trying to delete files on the host</short_desc>
          <delta_ts>2014-11-13 17:10:52 +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>devtools / tool chain</component>
          <version>1.7</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>6440</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.7</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nitin Kamble">nitin.a.kamble</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</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>43821</commentid>
    <comment_count>0</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2014-06-06 23:10:25 +0000</bug_when>
    <thetext>| make[4]: Entering directory `/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-multilib/build/build/tmp/work/core2-64-poky-linux/gawk/4.1.1-r0/build/extension&apos;
| for i in filefuncs.la fnmatch.la fork.la inplace.la ordchr.la readdir.la readfile.la r evoutput .la revtwoway.la rwarray.la testext.la time.la ; do \
| rm -f /usr/lib64/gawk/$i ; \
| done
| rm: cannot remove &apos;/usr/lib64/gawk/filefuncs.la&apos;: Permission denied
| rm: cannot remove &apos;/usr/lib64/gawk/fnmatch.la&apos;: Permission denied
| rm: cannot remove &apos;/usr/lib64/gawk/fork.la&apos;: Permission denied
| rm: cannot remove &apos;/usr/lib64/gawk/inplace.la&apos;: Permission denied
| rm: cannot remove &apos;/usr/lib64/gawk/ordchr.la&apos;: Permission denied
| rm: cannot remove &apos;/usr/lib64/gawk/readdir.la&apos;: Permission denied
| rm: cannot remove &apos;/usr/lib64/gawk/readfile.la&apos;: Permission denied
| rm: cannot remove &apos;/usr/lib64/gawk/revoutput.la&apos;: Permission denied
| rm: cannot remove &apos;/usr/lib64/gawk/revtwoway.la&apos;: Permission denied
| rm: cannot remove &apos;/usr/lib64/gawk/rwarray.la&apos;: Permission denied
| rm: cannot remove &apos;/usr/lib64/gawk/testext.la&apos;: Permission denied
| rm: cannot remove &apos;/usr/lib64/gawk/time.la&apos;: Permission denied
...
| WARNING: /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-multilib/build/build/tmp/work/core2-64-poky-lin ux/gawk/ 4.1.1-r0/temp/run.do_install.12668:1 exit 1 from
| exit 1
| ERROR: Function failed: do_install (log file is located at /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-multilib/build/build/tmp/work/core2-64-poky-linux/gawk/4.1.1-r0/temp/log.do_install.12668)





Further log is here: 
   http://autobuilder.yoctoproject.org/main/builders/nightly-multilib/builds/127/steps/BuildImages_2/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43899</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2014-06-12 20:55:03 +0000</bug_when>
    <thetext>It seems to be the gawk&apos;s make install, do the do_install_append()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43942</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2014-06-13 14:23:13 +0000</bug_when>
    <thetext>| for i in filefuncs.la fnmatch.la fork.la inplace.la ordchr.la readdir.la readfile.la r evoutput .la revtwoway.la rwarray.la testext.la time.la ; do \
| rm -f /usr/lib64/gawk/$i ; \

This is their makefile, they&apos;ve got an install hook but are not using DESTDIR.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46986</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2014-11-13 17:10:52 +0000</bug_when>
    <thetext>Duplicate of 6440

*** This bug has been marked as a duplicate of bug 6440 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>