armv7: x11-toolkits/qt5-gui still blocked by 'unable to execute command: Executable "as" doesn't exist!' for .obj/qdrawhelper_neon_asm.o and .obj/pixman-arm-neon-asm.o
Mark Millard
marklmi at yahoo.com
Thu Jul 16 02:09:54 UTC 2020
In my poudriere-devel based port upgrade's bulk run I got:
--- .obj/qdrawhelper_neon_asm.o ---
cc: error: unable to execute command: Executable "as" doesn't exist!
cc: error: assembler command failed with exit code 1 (use -v to see invocation)
*** [.obj/qdrawhelper_neon_asm.o] Error code 1
make[1]: stopped in /wrkdirs/usr/ports/x11-toolkits/qt5-gui/work/qtbase-everywhere-src-5.15.0/src/gui
--- .obj/pixman-arm-neon-asm.o ---
cc: error: unable to execute command: Executable "as" doesn't exist!
cc: error: assembler command failed with exit code 1 (use -v to see invocation)
*** [.obj/pixman-arm-neon-asm.o] Error code 1
This was based on head -r363123 of FreeBSD and -r542111 of ports.
The following experiment was sufficient to enable
the x11-toolkits/qt5-gui build to not fail. (I do
not claim it meets all ports-criteria for its
details.)
# svnlite diff /usr/ports/x11-toolkits/qt5-gui/
Index: /usr/ports/x11-toolkits/qt5-gui/Makefile
===================================================================
--- /usr/ports/x11-toolkits/qt5-gui/Makefile (revision 542111)
+++ /usr/ports/x11-toolkits/qt5-gui/Makefile (working copy)
@@ -106,4 +106,10 @@
${MAKE_ARGS} ${INSTALL_TARGET}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "armv6" || ${ARCH} == "armv7"
+BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils
+.endif
+
+.include <bsd.port.post.mk>
===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
More information about the freebsd-ports
mailing list