<div dir="ltr">I noticed an issue with the lua SlackBuild that is actually wide spread on SBo.  As an example, lua will not build without adding to the script.<div><br></div><div>Build failure:<blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>gcc -DLUA_USE_LINUX   -c -o ldblib.o ldblib.c</div></div><div><div>gcc -DLUA_USE_LINUX   -c -o liolib.o liolib.c</div></div><div><div>In file included from /usr/include/bits/errno.h:26,</div></div><div><div>                 from /usr/include/errno.h:28,</div></div><div><div>                 from lauxlib.c:9:</div></div><div><div>/usr/include/linux/errno.h:1:10: fatal error: asm/errno.h: No such file or directory</div></div><div><div>    1 | #include <asm/errno.h></div></div><div><div>      |          ^~~~~~~~~~~~~</div></div><div><div>compilation terminated.</div></div><div><div>make[2]: *** [<builtin>: lauxlib.o] Error 1</div></div><div><div>make[2]: *** Waiting for unfinished jobs....</div></div><div><div>In file included from /usr/include/bits/errno.h:26,</div></div><div><div>                 from /usr/include/errno.h:28,</div></div><div><div>                 from liolib.c:8:</div></div><div><div>/usr/include/linux/errno.h:1:10: fatal error: asm/errno.h: No such file or directory</div></div><div><div>    1 | #include <asm/errno.h></div></div><div><div>      |          ^~~~~~~~~~~~~</div></div><div><div>compilation terminated.</div></div><div><div>make[2]: *** [<builtin>: liolib.o] Error 1</div></div><div><div>make[2]: Leaving directory '/tmp/SBo/lua-5.1.5/src'</div></div><div><div>make[1]: *** [Makefile:99: linux] Error 2</div></div><div><div>make[1]: Leaving directory '/tmp/SBo/lua-5.1.5/src'</div></div><div><div>make: *** [Makefile:56: linux] Error 2</div></div></blockquote><br><div>Changing the following in the SlackBuild fixes it for ARM and ARM64:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">--- lua.SlackBuild.orig 2021-03-15 22:24:45.560902023 -0600
</span></span></div><div><span style="font-family:monospace">+++ lua.SlackBuild      2021-03-16 08:20:55.529113247 -0600
</span></div><div><span style="font-family:monospace">@@ -38,6 +38,15 @@
</span></div><div><span style="font-family:monospace"> elif [ "$ARCH" = "x86_64" ]; then
</span></div><div><span style="font-family:monospace">   SLKCFLAGS="-O2 -fPIC"
</span></div><div><span style="font-family:monospace">   LIBDIRSUFFIX="64"
</span></div><div><span style="font-family:monospace">+elif [ "$ARCH" = "armv7hl" ]; then
</span></div><div><span style="font-family:monospace">+  SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
</span></div><div><span style="font-family:monospace">+  LIBDIRSUFFIX=""
</span></div><div><span style="font-family:monospace">+elif [ "$ARCH" = "aarch64" ]; then
</span></div><div><span style="font-family:monospace">+  SLKCFLAGS="-O2 -fPIC"
</span></div><div><span style="font-family:monospace">+  LIBDIRSUFFIX="64"
</span></div><div><span style="font-family:monospace">+else
</span></div><div><span style="font-family:monospace">+  SLKCFLAGS="-O2"
</span></div><div><span style="font-family:monospace">+  LIBDIRSUFFIX=""
</span></div><div><span style="font-family:monospace"> fi
</span></div><div><span style="font-family:monospace">  </span></div><div><span style="font-family:monospace"> set -e</span></div></blockquote><div><br></div><div>This brought on a larger concern I have about SBo as a whole.  Will ARM and soon ARM64 continue to be unsupported by SBo?  Both are official ports of Slackware and should have at least some basic support.  More and more systems will use these architectures due to the increased hardware performance.  ARM is not an isolated issue anymore and it stunts the ports if SBo is too difficult to use on the platforms.</div><div><br></div><div>Best Regards,</div><div>Brent</div><div><font face="monospace"><br></font></div></div></div>