Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 2020 19:09:47 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        FreeBSD ports <freebsd-ports@freebsd.org>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>, Ed Maste <emaste@freebsd.org>
Subject:   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
Message-ID:  <9180C2BD-DFB2-48C0-9A05-7CCE56A542D7@yahoo.com>
References:  <9180C2BD-DFB2-48C0-9A05-7CCE56A542D7.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- /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
=20
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} =3D=3D "armv6" || ${ARCH} =3D=3D "armv7"
+BUILD_DEPENDS+=3D ${LOCALBASE}/bin/as:devel/binutils
+.endif
+
+.include <bsd.port.post.mk>



=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9180C2BD-DFB2-48C0-9A05-7CCE56A542D7>