WITHOUT_BINUTILS= based head -r356427 FreeBSD context: x11-toolkits/qt5-gui build fails in poudriere: unable to execute command: Executable "as" doesn't exist!

Mark Millard marklmi at yahoo.com
Wed Apr 22 19:06:15 UTC 2020


[Ports was at -r528828 so this did not check
-r531601 update to 5.14.2 of Qt5.]

This is based on worlds built via WITHOUT_BINUTILS= .

I was checking to see how things are for "[o]ne of the goals of
this process [ExternalGCC] is to deprecate and remove the old
GCC 4.2.1 and binutils 2.17.50 in the base system".

On an aarch64 machine with head -r356427 that has a armv7
world directory tree for the same version that is set up
for poudriere-devel use, I attempted to build ports but I
ran into the following for the indirectly needed qt5-qui
(I un-interlaced the output for easier reading):

--- .obj/pixman-arm-neon-asm.o ---
cc -c -O2 -pipe -mcpu=cortex-a7 -g -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu11 -fvisibility=hidden -fno-exceptions -Wall -W -pthread -fPIC -DQT_ACCESSIBILITY -
DQT_DBUS -DQT_FONTCONFIG -DQT_FREETYPE -DQT_GLIB -DQT_IMAGEFORMAT_PNG -DQT_OPENGL -DQT_SHAPE -DQT_XCB -DQT_XKB -DQT_XKBCOMMON -DQT_XRENDER -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DENABLE_PIXMAN_DRAWH
ELPERS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT
_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_CORE_LIB -fno-integrated-as -I. -I../../include -I../../include/QtGui -I../../include/QtGui/5.13.2
 -I../../include/QtGui/5.13.2/QtGui -I.tracegen -isystem /usr/local/include/libdrm -isystem /usr/local/include/qt5/QtCore/5.13.2 -isystem /usr/local/include/qt5/QtCore/5.13.2/QtCore -isystem /usr/loca
l/include/qt5 -isystem /usr/local/include/qt5/QtCore -I.moc -isystem /usr/local/include/libpng16 -isystem /usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang ../3rdparty/pixman/pixman-arm-ne
on-asm.S -o .obj/pixman-arm-neon-asm.o
. . .
--- .obj/pixman-arm-neon-asm.o ---
cc: error: unable to execute command: Executable "as" doesn't exist!

--- .obj/qdrawhelper_neon_asm.o ---
cc -c -O2 -pipe -mcpu=cortex-a7 -g -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu11 -fvisibility=hidden -fno-exceptions -Wall -W -pthread -fPIC -DQT_ACCESSIBILITY -
DQT_DBUS -DQT_FONTCONFIG -DQT_FREETYPE -DQT_GLIB -DQT_IMAGEFORMAT_PNG -DQT_OPENGL -DQT_SHAPE -DQT_XCB -DQT_XKB -DQT_XKBCOMMON -DQT_XRENDER -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DENABLE_PIXMAN_DRAWH
ELPERS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT
_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_CORE_LIB -fno-integrated-as -I. -I../../include -I../../include/QtGui -I../../include/QtGui/5.13.2
 -I../../include/QtGui/5.13.2/QtGui -I.tracegen -isystem /usr/local/include/libdrm -isystem /usr/local/include/qt5/QtCore/5.13.2 -isystem /usr/local/include/qt5/QtCore/5.13.2/QtCore -isystem /usr/loca
l/include/qt5 -isystem /usr/local/include/qt5/QtCore -I.moc -isystem /usr/local/include/libpng16 -isystem /usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang painting/qdrawhelper_neon_asm.S 
-o .obj/qdrawhelper_neon_asm.o
. . .
--- .obj/qdrawhelper_neon_asm.o ---
cc: error: unable to execute command: Executable "as" doesn't exist!


This suggests that a dependency on a ports binutils is needed
and use of it is needed to keep this building when binutils
2.17.50 is absent in head.

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



More information about the freebsd-ports mailing list