Build error for library/libjpeg-turbo
The OI source is from 2018. Consequently, there may be a new version of the source, or some of the bugs may have already been fixed. Though the changes have been developed on SPARC hardware, they might correct bugs in some x86 packages. In any case, they should not damage other x86 packages.
On SPARC hardware, I get this build error for library/libjpeg-turbo:
checking if we have SIMD optimisations for cpu type... yes (x86_64) checking for nasm... no checking for nasmw... no checking for yasm... no configure: error: no nasm (Netwide Assembler) found gmake: *** [/dpool.../oi-userland-apr/make-rules/configure.mk:175: .../oi-userland/components/library/libjpeg-turbo/build/sparcv9/6/.configured] Error 1
The reason for the error is that the Makefile always assumes x86. The solution is to set the build type correctly. The patch Makefile.diff accomplishes this change. With it, I had a successful build and a successful publish.