Closed chris-romanov closed 3 months ago
THIS IS NOT A BUG. These steps have been tested on a clean SNAP 15.
Description:
To achieve a successful build on a clean FreeBSD 15 system, follow the steps below:
pkg install -fy git nano wget cmake gmake ninja png bison autoconf automake binutils
ln -s /usr/local/include/pnglibconf.h /usr/src/lib/libpng/pnglibconf.h ln -s /usr/local/bin/ar /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ar ln -s /usr/local/bin/ranlib /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ranlib
Navigate to the /usr/src/gnu/usr.bin/dbus directory and run: ./configure --without-launchd
TEMP CODE CHANGES
/sys/sys/_clock_id.h
* Linux compatible names. 79 */ 80 #if __BSD_VISIBLE 81 - #define CLOCK_BOOTTIME CLOCK_MONOTONIC **81 + #define CLOCK_BOOTTIME CLOCK_UPTIME** 84 #endif
/Frameworks/CoreText/fontconfig/Makefile
PASTE THIS IN FIRST LINE 2 + ARCH != uname -m 3 + 4 + # Set the TARGET_HOST based on the architecture 5 + .if ${ARCH} == "amd64" 6 + TARGET_HOST = x86_64 7 + .elif ${ARCH} == "aarch64" 8 + TARGET_HOST = aarch64 9 + .else 10 + TARGET_HOST = unsupported 11 + .endif 12 + 13 + # Check if the architecture is supported 14 + .if ${TARGET_HOST} == "unsupported" 15 + $(error Unsupported architecture: ${ARCH}) 16 + .endif
ADD --host=${TARGET_HOST}
--disable-docs --disable-docbook \ --with-pic --disable-cache-build \ --with-sysroot=${OBJTOP}/tmp \ --with-default-fonts=/System/Library/Fonts,/Library/Fonts \ --host=${TARGET_HOST}
@mszoek Hi :) These steps might help stabilize the build in the main branch building.
THIS IS NOT A BUG. These steps have been tested on a clean SNAP 15.
Description:
To achieve a successful build on a clean FreeBSD 15 system, follow the steps below:
pkg install -fy git nano wget cmake gmake ninja png bison autoconf automake binutils
ln -s /usr/local/include/pnglibconf.h /usr/src/lib/libpng/pnglibconf.h ln -s /usr/local/bin/ar /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ar ln -s /usr/local/bin/ranlib /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ranlib
Navigate to the /usr/src/gnu/usr.bin/dbus directory and run: ./configure --without-launchd
TEMP CODE CHANGES
/sys/sys/_clock_id.h
/Frameworks/CoreText/fontconfig/Makefile
PASTE THIS IN FIRST LINE 2 + ARCH != uname -m 3 +
4 + # Set the TARGET_HOST based on the architecture 5 + .if ${ARCH} == "amd64" 6 + TARGET_HOST = x86_64 7 + .elif ${ARCH} == "aarch64" 8 + TARGET_HOST = aarch64 9 + .else 10 + TARGET_HOST = unsupported 11 + .endif 12 +
13 + # Check if the architecture is supported 14 + .if ${TARGET_HOST} == "unsupported" 15 + $(error Unsupported architecture: ${ARCH}) 16 + .endif
ADD --host=${TARGET_HOST}