http://bugzilla.suse.com/show_bug.cgi?id=1127769 Bug ID: 1127769 Summary: virt-bootstrap ppc64le build failed 'Architecture is not included: powerpc64le' Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: PowerPC OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: normand@linux.vnet.ibm.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- virt-bootstrap ppc64le build failed 'Architecture is not included: powerpc64le' as reported https://build.opensuse.org/package/show/openSUSE:Factory:PowerPC/virt-bootst... at least since Feb/2018 === [ 52s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' --define 'disturl obs://build.opensuse.org/openSUSE:Factory:PowerPC/standard/27f99cf41cae37eee0d5093157880089-virt-bootstrap' /home/abuild/rpmbuild/SOURCES/virt-bootstrap.spec [ 52s] error: Architecture is not included: powerpc64le === $osc jobhist -l10 openSUSE:Factory:PowerPC/virt-bootstrap standard ppc64le time package reason code build time worker 2017-09-14 03:01:53 virt-bootstrap new build succeeded 0m 38s obs-power8-05:19 2017-10-05 11:04:56 virt-bootstrap source change succeeded 0m 44s obs-power8-02:1 2018-01-31 03:48:05 virt-bootstrap new build succeeded 1m 45s obs-power8-05:32 2018-02-16 21:27:21 virt-bootstrap source change failed 1m 35s obs-power8-01:3 2018-06-02 14:29:56 virt-bootstrap source change failed 2m 45s obs-power8-03:8 2018-08-27 22:22:41 virt-bootstrap new build failed 1m 23s obs-power8-05:19 2018-11-14 14:41:43 virt-bootstrap new build failed 1m 2s obs-power8-05:3 2019-02-01 04:13:24 virt-bootstrap meta change failed 1m 4s obs-power8-07:33 === I identified the source file creating the error message in rpm*/build/parsePreamble.c === static rpmRC checkForValidArchitectures(rpmSpec spec) { char *arch = rpmExpand("%{_target_cpu}", NULL); char *os = rpmExpand("%{_target_os}", NULL); rpmRC rc = RPMRC_FAIL; /* assume failure */ if (!strcmp(arch, "noarch")) { free(arch); arch = rpmExpand("%{_build_cpu}", NULL); } if (isMemberInEntry(spec->buildRestrictions, arch, RPMTAG_EXCLUDEARCH) == 1) { rpmlog(RPMLOG_ERR, _("Architecture is excluded: %s\n"), arch); goto exit; } === Does it mean the %{_target_cpu} is converted to 'powerpc64le' ? and where is it set ? -- You are receiving this mail because: You are on the CC list for the bug.