Between Fedora-Rawhide-20170406.n.0 - https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20180406.n.0/logs/ppc64/buildinstall-Everything.ppc64.log - and Fedora-Rawhide-20170407.n.0 - https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20180407.n.0/logs/ppc64/buildinstall-Everything.ppc64.log - this error started making the buildInstall compose phase for ppc64 fail: 2018-04-07 08:18:40,285: running ppc.tmpl running ppc.tmpl 2018-04-07 08:18:48,353: command output: /var/tmp/lorax.3lrsa69u/installroot/usr/sbin/wrapper: line 358: /scripts/file-size.sh: No such file or directory command output: /var/tmp/lorax.3lrsa69u/installroot/usr/sbin/wrapper: line 358: /scripts/file-size.sh: No such file or directory 2018-04-07 08:18:48,354: command returned failure (127) The obvious thing that changed between those two dates is the kernel went from 4.17.0-0.rc0.git1.1.fc29.ppc64 to 4.17.0-0.rc0.git4.1.fc29.ppc64. What ppc.tmpl does there is this: ## kernel-wrapper magic that makes the netboot combined ppc{32,64}.img runcmd ${inroot}/${WRAPPER} -p of \ -D ${inroot}/${WRAPPER_DATA} \ -i ${outroot}/${KERNELDIR}/initrd.img \ ${outroot}/${KERNELDIR}/vmlinuz \ -o ${outroot}/${NETIMG} (where $WRAPPER is 'usr/sbin/wrapper' and $inroot is the installroot, in this case var/tmp/lorax.3lrsa69u/installroot ). What kernel-wrapper does is this: # Calculate the vmlinux.strip size ${CROSS}objcopy $objflags "$kernel" "$vmz.$$" strip_size=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" "$vmz.$$") I am not sure where $srctree is supposed to come from or what it's supposed to be, but at present it appears to be nothing at all, which could be the cause of the problem. We also can't see what it was before this broke, as it's not printed anywhere when it works, AFAICS.
Seems it's the right time to get rid of the wrapper thing. It was used in the ppc32 times, but shouldn't be needed any more. The plan is roughly - drop kernel-bootwrapper subpackage - drop ppc64-utils metapackage (IIRC it's listed in comps) - cleanup lorax ppc template to be 64-bit only - use ppc64le as source??
3rd step is done in https://github.com/weldr/lorax/pull/349
first part of 2nd step is https://pagure.io/fedora-comps/pull-request/270 second part will be ppc64-utils retirement
note: 3rd step is not entirely 'done' till there's a Rawhide package build containing the change. I've asked bcl if he can do one.
an update - lorax was built (some time ago) and composes were unblocked - kernel spec changes from https://src.fedoraproject.org/rpms/kernel/pull-request/10 have been applied and kernel-bootwrapper will disappear in the next build
This cleanup has been finished in F-29.
------- Comment From hellerda.com 2018-11-09 08:11 EDT------- After reviewing with my team we have determined that we won't need the kernel-bootwrapper package going forward. Sorry for the false start. Closing this bug.