<?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>1512</bug_id>
          
          <creation_ts>2011-09-22 10:08:26 +0000</creation_ts>
          <short_desc>intltool-update fails to run due to chained #! lines</short_desc>
          <delta_ts>2011-09-26 07:56:00 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</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>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ian Martin">ian.martin</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>16400</commentid>
    <comment_count>0</comment_count>
    <who name="Ian Martin">ian.martin</who>
    <bug_when>2011-09-22 10:08:26 +0000</bug_when>
    <thetext>intltool-update, a perl script, is executed by the shell instead of native perl.

also affects
 intltool-prepare
 intltool-merge
 intltool-extract

this causes failures in at least:
avahi-0.6.30

replacing 

!#/path/to/sysroot/native/.../usr/bin/perl-native/perl

with
#!/usr/bin/env /path/to/sysroot/native/.../usr/bin/perl-native/perl

fixes the problem on:

yocto 1.1 beta

running

bitbake core-image-basic

host

Centos 5.7 x86_64 kernel 2.6.18</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16429</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-09-22 17:49:30 +0000</bug_when>
    <thetext>What version of poky are you working with, as I believe that we currently do use #!/usr/bin/env nativeperl which covers this issue.  This fix was done pretty recently, around the end of August, so the beta might not have it.

Please confirm this with edison branch from git, this will be the 1.1 release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16474</commentid>
    <comment_count>2</comment_count>
    <who name="Ian Martin">ian.martin</who>
    <bug_when>2011-09-26 07:56:00 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; What version of poky are you working with, as I believe that we currently do
&gt; use #!/usr/bin/env nativeperl which covers this issue.  This fix was done
&gt; pretty recently, around the end of August, so the beta might not have it.
&gt; 
&gt; Please confirm this with edison branch from git, this will be the 1.1 release.

The bug was in the poky beta tarball.

Rested with the edison branch rev 41c564fe605fa4685fd27b1721e3424ac8a96db1

This problem is no longer present.

Thanks</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>