[Skiboot] [PATCH] specfile: Fix build issues

Stewart Smith stewart at linux.vnet.ibm.com
Tue Feb 23 09:46:53 AEDT 2016

Vasant Hegde <hegdevasant at linux.vnet.ibm.com> writes:
> We have "%{?_smp_mflags}" in specfile. This will initiate multiple jobs.
> In some cases (like opal-prd), we have to first create symbolic link
> and then start compilation. Because of multiple jobs created by make,
> we hit below error.
> ln -sfr ../../ccan ./ccan
> ln -sfr ../common ./common
> ln -sfr ../../libflash ./libflash
> make: *** No rule to make target 'libflash/blocklevel.c', needed by 'libflash-blocklevel.o'.  Stop.
> make: *** Waiting for unfinished jobs....
> make: Leaving directory '/root/rpmbuild/BUILD/skiboot-skiboot-5.1.13/external/opal-prd'
> error: Bad exit status from /var/tmp/rpm-tmp.ZG2RS6 (%build)
> This patch removes "%{?_smp_mflags}" from specfile.

Thanks, merged.

I'd love to see us fix the -j logic in the makefile though.

Stewart Smith
OPAL Architect, IBM.

More information about the Skiboot mailing list