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.
dpkg-native build doesn't fail in Fedora and Ubuntu machines. Will use Opensuse 13.1 to reproduce it as it seems like an Opensuse specific problem.
First attempt in Opensuse 13.1 couldn't recreate the build error: # bitbake dpkg-native WARNING: Host distribution "openSUSE-project-13.1" 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 = "1.27.1" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "openSUSE-project-13.1" TARGET_SYS = "i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "1.8+snapshot-20150924" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "master:9f66aa1a11b5b45280aa41bf4517ec56ee5f2ab2" NOTE: Preparing RunQueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks NOTE: Tasks Summary: Attempted 114 tasks of which 113 didn't need to be rerun and all succeeded. Summary: There was 1 WARNING message shown.
(In reply to comment #0) > 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. Saul: do you mean you tried this on the autobuilder, and couldn't reproduce even there?
It will be great to get more info on how to re-create this build error.
(In reply to comment #3) > (In reply to comment #0) > > 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. > > Saul: do you mean you tried this on the autobuilder, and couldn't reproduce > even there? Correct, I was not able to reproduce this, I know these heisenbugs are the worst when they are not reproducible.
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 "--build=x86_64-linux" * build-aux/config.sub is run with "x86_64-linux" as parameter * the result is not a proper triplet (does not match "*-*-*"): case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 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't happen because autotools.bbclass configure updates it.
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
Another round of attempt to re-create the build failure were unsuccessful. So, moving it to 2.1
Another attempt to recreate this error wasn't fruitful. We haven't seen this failure again in AB also.
Verified unable to reproduce.