<?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>8303</bug_id>
          
          <creation_ts>2015-09-15 18:24:08 +0000</creation_ts>
          <short_desc>dpkg-native incorrectly parsed build_alias during configure task</short_desc>
          <delta_ts>2016-02-16 09:50:32 +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>1.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://errors.yoctoproject.org/Errors/Details/17547/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Saul Wold">sgw</reporter>
          <assigned_to name="Maxin B. John">maxin.john</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>jku</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          <qa_contact name="Mihail Stanciu">stanciux.mihail</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Unknown (Hard to categorize)</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>54105</commentid>
    <comment_count>0</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-09-15 18:24:08 +0000</bug_when>
    <thetext>This occurred on OpenSuse 13.1 machine the configure process fails to complete while attempting to determine build system type

checking build system type... 
configure: error: invalid value of canonical build

Further checking of the build I was not able to reproduce it in place.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54588</commentid>
    <comment_count>1</comment_count>
    <who name="Maxin B. John">maxin.john</who>
    <bug_when>2015-09-24 07:31:16 +0000</bug_when>
    <thetext>dpkg-native build doesn&apos;t fail in Fedora and Ubuntu machines. Will use Opensuse 13.1 to reproduce it as it seems like an Opensuse specific problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54617</commentid>
    <comment_count>2</comment_count>
    <who name="Maxin B. John">maxin.john</who>
    <bug_when>2015-09-24 14:02:41 +0000</bug_when>
    <thetext>First attempt in Opensuse 13.1 couldn&apos;t recreate the build error:

# bitbake dpkg-native
WARNING: Host distribution &quot;openSUSE-project-13.1&quot; has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Parsing recipes: 100% |#########################################| Time: 00:01:42
Parsing of 899 .bb files complete (0 cached, 899 parsed). 1329 targets, 38 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = &quot;1.27.1&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;openSUSE-project-13.1&quot;
TARGET_SYS        = &quot;i586-poky-linux&quot;
MACHINE           = &quot;qemux86&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.8+snapshot-20150924&quot;
TUNE_FEATURES     = &quot;m32 i586&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        
meta-yocto-bsp    = &quot;master:9f66aa1a11b5b45280aa41bf4517ec56ee5f2ab2&quot;

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 114 tasks of which 113 didn&apos;t need to be rerun and all succeeded.

Summary: There was 1 WARNING message shown.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54664</commentid>
    <comment_count>3</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2015-09-25 12:03:50 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; This occurred on OpenSuse 13.1 machine the configure process fails to
&gt; complete while attempting to determine build system type
&gt; 
&gt; checking build system type... 
&gt; configure: error: invalid value of canonical build
&gt; 
&gt; Further checking of the build I was not able to reproduce it in place.

Saul: do you mean you tried this on the autobuilder, and couldn&apos;t reproduce even there?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55354</commentid>
    <comment_count>4</comment_count>
    <who name="Maxin B. John">maxin.john</who>
    <bug_when>2015-10-15 14:50:53 +0000</bug_when>
    <thetext>It will be great to get more info on how to re-create this build error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55587</commentid>
    <comment_count>5</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-10-21 20:39:20 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #0)
&gt; &gt; This occurred on OpenSuse 13.1 machine the configure process fails to
&gt; &gt; complete while attempting to determine build system type
&gt; &gt; 
&gt; &gt; checking build system type... 
&gt; &gt; configure: error: invalid value of canonical build
&gt; &gt; 
&gt; &gt; Further checking of the build I was not able to reproduce it in place.
&gt; 
&gt; Saul: do you mean you tried this on the autobuilder, and couldn&apos;t reproduce
&gt; even there?

Correct, I was not able to reproduce this, I know these heisenbugs are the worst when they are not reproducible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55591</commentid>
    <comment_count>6</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2015-10-22 08:16:23 +0000</bug_when>
    <thetext>
I hate reading generated configure but ... this is what it looks like to me (with configure that works and was built on my Debian Unstable)
 
* we use &quot;--build=x86_64-linux&quot;
* build-aux/config.sub is run with &quot;x86_64-linux&quot; as parameter
* the result is not a proper triplet (does not match &quot;*-*-*&quot;):
        case $ac_cv_build in
        *-*-*) ;;
        *) as_fn_error $? &quot;invalid value of canonical build&quot; &quot;$LINENO&quot; 5;;
        esac


At least my configure even checks that config.sub is there... I have no idea how this could fail as long as config.sub is not ancient, and that shouldn&apos;t happen because autotools.bbclass configure updates it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55592</commentid>
    <comment_count>7</comment_count>
    <who name="Maxin B. John">maxin.john</who>
    <bug_when>2015-10-22 08:27:46 +0000</bug_when>
    <thetext>Opensuse seems to hit a similar bug in the past (configure fails to set architecture in autobuilder environment)

https://bugzilla.novell.com/show_bug.cgi?id=469337</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55851</commentid>
    <comment_count>8</comment_count>
    <who name="Maxin B. John">maxin.john</who>
    <bug_when>2015-10-27 16:04:57 +0000</bug_when>
    <thetext>Another round of attempt to re-create the build failure were unsuccessful. So, moving it to 2.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58947</commentid>
    <comment_count>9</comment_count>
    <who name="Maxin B. John">maxin.john</who>
    <bug_when>2016-02-12 10:36:22 +0000</bug_when>
    <thetext>Another attempt to recreate this error wasn&apos;t fruitful. We haven&apos;t seen this failure again in AB also.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59077</commentid>
    <comment_count>10</comment_count>
    <who name="Mihail Stanciu">stanciux.mihail</who>
    <bug_when>2016-02-16 09:50:32 +0000</bug_when>
    <thetext>Verified unable to reproduce.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>