Trying to build a x86_64 target on a x86_64 host and I got as far as fontconfig which was not downloaded from the PKG_URL in packages/fontconfig/meta. I changed it to what looks like the expected new URL of...
which worked but the build script expects a configure script whereas the tarball instead provides an autogen.sh which generates and then runs the generated configure script. I attempted to replace "do_configure target\" with "../autogen.sh --target\" and that almost worked except now there is this error...
cd build/build.x86_64.eglibc/fontconfig-2.8.0
mkdir -p objdir-host
cd objdir-host
../autogen.sh --host --with-freetype-config=/home/admin/var/www/org/eth-os/openbricks/build/build.x86_64.eglibc/toolchain/bin/freetype-config --with-default-fonts=/usr/share/fonts --without-add-fonts --disable-dependency-tracking --disable-docs
configure.in:64: installing ./config.guess' configure.in:64: installing./config.sub'
configure.in:36: installing ./install-sh' configure.in:36: installing./missing'
doc/Makefile.am: installing `./depcomp'
configure: WARNING: if you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used
configure: error: /bin/sh ../config.sub --with-freetype-config=/home/admin/var/www/org/eth-os/openbricks/build/build.x86_64.eglibc/toolchain/bin/freetype-config failed
configure: WARNING: cache variable ac_cv_host contains a newline
make: *\ [rootfs] Error 1
/home/admin/var/www/org/eth-os/openbricks/build/build.x86_64.eglibc/toolchain/bin/freetype-config does exist but I'm at a loss to know what to try next to continue the overall build.
Trying to build a x86_64 target on a x86_64 host and I got as far as fontconfig which was not downloaded from the PKG_URL in packages/fontconfig/meta. I changed it to what looks like the expected new URL of...
PKG_URL="http://cgit.freedesktop.org/fontconfig/snapshot/fontconfig-${PKG_VERSION}.tar.gz"
which worked but the build script expects a configure script whereas the tarball instead provides an autogen.sh which generates and then runs the generated configure script. I attempted to replace "do_configure target\" with "../autogen.sh --target\" and that almost worked except now there is this error...
./config.guess' configure.in:64: installing
./config.sub' configure.in:36: installing./install-sh' configure.in:36: installing
./missing' doc/Makefile.am: installing `./depcomp' configure: WARNING: if you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used configure: error: /bin/sh ../config.sub --with-freetype-config=/home/admin/var/www/org/eth-os/openbricks/build/build.x86_64.eglibc/toolchain/bin/freetype-config failed configure: WARNING: cache variable ac_cv_host contains a newline make: *\ [rootfs] Error 1/home/admin/var/www/org/eth-os/openbricks/build/build.x86_64.eglibc/toolchain/bin/freetype-config does exist but I'm at a loss to know what to try next to continue the overall build.