Re: armv7 targeting context: www/qt5-webengine poudriere build tried to use git but did not cause git to be installed to the builder: "sh: git: not found"

From: Mark Millard <marklmi_at_yahoo.com>
Date: Mon, 30 May 2022 19:18:40 UTC
[main-arm64-default also gets such on the FreeBSD build servers.]

On 2022-May-30, at 10:42, Mark Millard <marklmi@yahoo.com> wrote:

> My my attempted bulk -a -c targeting armv7 (on a aarch64 machine
> that can exectue armv7 code) failed, possibly for multiple reasons.
> 
> The first odd things that I've noticed are in the below: Look for
> the "sh: git: not found" notices. For now I'l not mention other
> oddities, as these git ones occur first and might lead to other
> issues.
> 
> 
> --- sub-gn-pro-make_first ---
> ( test -e Makefile.gn || /usr/local/lib/qt5/bin/qmake -o Makefile.gn /wrkdirs/usr/ports/www/qt5-webengine/work/qtwebengine-everywhere-src-5.15.2/src/buildtools/gn.pro -spec /usr/local/lib/qt5/mkspecs/freebsd-clang 'QMAKE_CC=cc -B/usr/local/bin' 'QMAKE_CXX=c++ -B/usr/local/bin' 'QMAKE_LINK_C=cc -B/usr/local/bin' 'QMAKE_LINK_C_SHLIB=cc -B/usr/local/bin' 'QMAKE_LINK=c++ -B/usr/local/bin' 'QMAKE_LINK_SHLIB=c++ -B/usr/local/bin' 'QMAKE_CFLAGS=-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing ' 'QMAKE_CXXFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  ' 'QMAKE_LFLAGS= -Wl,--as-needed -fstack-protector-strong ' QMAKE_LIBS= QMAKE_CFLAGS_DEBUG= QMAKE_CFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= QMAKE_CXXFLAGS_RELEASE= PREFIX=/usr/local CONFIG+=release 'CONFIG-=debug separate_debug_info' QT_CONFIG+=release 'QT_CONFIG-=debug separate_debug_info' ) && /usr/bin/make -f Makefile.gn
> sh: git: not found
> --- sub-configure_target-pro-make_first ---
> ( test -e Makefile.configure_target || /usr/local/lib/qt5/bin/qmake -o Makefile.configure_target /wrkdirs/usr/ports/www/qt5-webengine/work/qtwebengine-everywhere-src-5.15.2/src/buildtools/configure_target.pro -spec /usr/local/lib/qt5/mkspecs/freebsd-clang 'QMAKE_CC=cc -B/usr/local/bin' 'QMAKE_CXX=c++ -B/usr/local/bin' 'QMAKE_LINK_C=cc -B/usr/local/bin' 'QMAKE_LINK_C_SHLIB=cc -B/usr/local/bin' 'QMAKE_LINK=c++ -B/usr/local/bin' 'QMAKE_LINK_SHLIB=c++ -B/usr/local/bin' 'QMAKE_CFLAGS=-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing ' 'QMAKE_CXXFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  ' 'QMAKE_LFLAGS= -Wl,--as-needed -fstack-protector-strong ' QMAKE_LIBS= QMAKE_CFLAGS_DEBUG= QMAKE_CFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= QMAKE_CXXFLAGS_RELEASE= PREFIX=/usr/local CONFIG+=release 'CONFIG-=debug separate_debug_info' QT_CONFIG+=release 'QT_CONFIG-=debug separate_debug_info' ) && /usr/bin/make -f Makefile.configure_target
> --- sub-gn-pro-make_first ---
> sh: git: not found
> . . .
> --- sub-gn_run-pro-make_first ---
> ( test -e Makefile.gn_run || /usr/local/lib/qt5/bin/qmake -o Makefile.gn_run /wrkdirs/usr/ports/www/qt5-webengine/work/qtwebengine-everywhere-src-5.15.2/src/core/gn_run.pro -spec /usr/local/lib/qt5/mk
> specs/freebsd-clang 'QMAKE_CC=cc -B/usr/local/bin' 'QMAKE_CXX=c++ -B/usr/local/bin' 'QMAKE_LINK_C=cc -B/usr/local/bin' 'QMAKE_LINK_C_SHLIB=cc -B/usr/local/bin' 'QMAKE_LINK=c++ -B/usr/local/bin' 'QMAKE
> _LINK_SHLIB=c++ -B/usr/local/bin' 'QMAKE_CFLAGS=-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing ' 'QMAKE_CXXFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  ' 'QMAKE_LFLAGS= -Wl
> ,--as-needed -fstack-protector-strong ' QMAKE_LIBS= QMAKE_CFLAGS_DEBUG= QMAKE_CFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= QMAKE_CXXFLAGS_RELEASE= PREFIX=/usr/local CONFIG+=release 'CONFIG-=debug separate_de
> bug_info' QT_CONFIG+=release 'QT_CONFIG-=debug separate_debug_info' ) && /usr/bin/make -f Makefile.gn_run
> sh: git: not found
> sh: git: not found
> 
> 
> For reference:
> 
> # ~/fbsd-based-on-what-commit.sh -C /usr/ports/
> branch: main
> merge-base: 0a2f0da65b65bb9b3abf7a06815854f3cff063fa
> merge-base: CommitDate: 2022-05-07 18:07:34 +0000
> 0a2f0da65b65 (HEAD -> main) devel/py-tabulate: update to version 0.8.9
> n582877 (--first-parent --count for merge-base)
> 
> # poudriere jail -jmain-CA7-bulk_a -i
> Jail name:         main-CA7-bulk_a
> Jail version:      14.0-CURRENT
> Jail arch:         arm.armv7
> Jail method:       null
> Jail mount:        /usr/obj/DESTDIRs/main-CA7-poud-bulk_a
> Jail fs:           
> Jail updated:      2022-05-23 02:21:24
> Jail pkgbase:      disabled
> 
> # uname -apKU # output line split for readability
> FreeBSD CA72_UFS 14.0-CURRENT FreeBSD 14.0-CURRENT #56
> main-n255745-77649f35a7e5-dirty: Sat May 21 18:48:32 PDT 2022
> root@CA72_16Gp_ZFS:/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch64/sys/GENERIC-NODBG-CA72
> arm64 aarch64 1400059 1400059
> 
> The jail is based on a armv7 build of the same source tree as
> used for the above.

http://ampere2.nyi.freebsd.org/data/main-arm64-default/pd576f1ee73a3_sa7bb120f8b/logs/qt5-webengine-5.15.2_7.log

shows the same sort of messages:

--- sub-gn-pro-make_first ---
sh: git: not found
sh: git: not found
. . .
--- sub-gn_run-pro-make_first ---
( test -e Makefile.gn_run || /usr/local/lib/qt5/bin/qmake -o Makefile.gn_run /wrkdirs/usr/ports/www/qt5-webengine/work/qtwebengine-everywhere-src-5.15.2/src/core/gn_run.pro -spec /usr/local/lib/qt5/mkspecs/freebsd-clang 'QMAKE_CC=cc -B/usr/local/bin' 'QMAKE_CXX=c++ -B/usr/local/bin' 'QMAKE_LINK_C=cc -B/usr/local/bin' 'QMAKE_LINK_C_SHLIB=cc -B/usr/local/bin' 'QMAKE_LINK=c++ -B/usr/local/bin' 'QMAKE_LINK_SHLIB=c++ -B/usr/local/bin' 'QMAKE_CFLAGS=-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing ' 'QMAKE_CXXFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  ' 'QMAKE_LFLAGS= -Wl,--as-needed -fstack-protector-strong ' QMAKE_LIBS= QMAKE_CFLAGS_DEBUG= QMAKE_CFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= QMAKE_CXXFLAGS_RELEASE= PREFIX=/usr/local CONFIG+=release 'CONFIG-=debug separate_debug_info' QT_CONFIG+=release 'QT_CONFIG-=debug separate_debug_info' ) && /usr/bin/make -f Makefile.gn_run
sh: git: not found
sh: git: not found



===
Mark Millard
marklmi at yahoo.com