Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bmake: "/usr/share/mk/*" line n: Malformed conditional #134

Closed
VehementHam opened this issue Mar 29, 2024 · 4 comments
Closed

bmake: "/usr/share/mk/*" line n: Malformed conditional #134

VehementHam opened this issue Mar 29, 2024 · 4 comments

Comments

@VehementHam
Copy link

VehementHam commented Mar 29, 2024

Whenever I try to install a packgae I recieve an error similar to this:

bmake: "/home/vehementham/.Git/pkgsrc/games/0ad/options.mk" line 9: Malformed conditional (${PKG_OPTIONS:Mtests})
bmake: "/home/vehementham/.Git/pkgsrc/games/0ad/options.mk" line 20: Malformed conditional (${PKG_OPTIONS:Meditor})
bmake: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake: "/home/vehementham/.Git/pkgsrc/games/0ad/options.mk" line 9: Malformed conditional (${PKG_OPTIONS:Mtests})
bmake: "/home/vehementham/.Git/pkgsrc/games/0ad/options.mk" line 20: Malformed conditional (${PKG_OPTIONS:Meditor})
bmake: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake: Fatal errors encountered -- cannot continue
bmake: stopped in /home/vehementham/.Git/pkgsrc/games/0ad

Or this:

bmake[1]: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[1]: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[1]: Fatal errors encountered -- cannot continue
bmake: "/home/vehementham/.Git/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo "";  /usr/pkg/sbin/pkg_info -K /usr/pkg/pkgdb -Q PKG_OPTIONS libepoxy 2>/dev/null  || { cd ../../graphics/libepoxy  && /usr/bin/bmake _MAKE=/usr/bin/bmake OPSYS=Linux OS_VERSION=6.6.22 OPSYS_VERSION=060622 HOST_MACHINE_ARCH=x86_64 LOWER_OPSYS=linux _PKGSRCDIR=/home/vehementham/.Git/pkgsrc PKGTOOLS_VERSION=20240307 show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
bmake[1]: "/home/vehementham/.Git/pkgsrc/graphics/MesaLib/features.mk" line 21: Malformed conditional (${X11_TYPE} == "modular")
bmake[1]: "/home/vehementham/.Git/pkgsrc/graphics/MesaLib/features.mk" line 21: Malformed conditional (${X11_TYPE} == "modular")
bmake[1]: "/home/vehementham/.Git/pkgsrc/x11/libX11/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular" &&  !exists(${X11BASE}/lib/pkgconfig/x11.pc) &&  !exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/x11.pc))
bmake[1]: "/home/vehementham/.Git/pkgsrc/x11/libX11/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular" &&  !exists(${X11BASE}/lib/pkgconfig/x11.pc) &&  !exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/x11.pc))
bmake[1]: "/home/vehementham/.Git/pkgsrc/x11/libX11/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular" &&  !exists(${X11BASE}/lib/pkgconfig/x11.pc) &&  !exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/x11.pc))
bmake[1]: "/home/vehementham/.Git/pkgsrc/x11/libX11/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular" &&  !exists(${X11BASE}/lib/pkgconfig/x11.pc) &&  !exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/x11.pc))
bmake[1]: "/home/vehementham/.Git/pkgsrc/x11/libXext/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular" &&  !exists(${X11BASE}/lib/pkgconfig/xext.pc) &&  !exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/xext.pc))
bmake[1]: "/home/vehementham/.Git/pkgsrc/x11/libXrandr/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular" &&  !exists(${X11BASE}/lib/pkgconfig/xrandr.pc) &&  !exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/xrandr.pc))
bmake[1]: "/home/vehementham/.Git/pkgsrc/x11/libXxf86vm/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular")
bmake[1]: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[1]: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[1]: "/home/vehementham/.Git/pkgsrc/graphics/MesaLib/features.mk" line 21: Malformed conditional (${X11_TYPE} == "modular")
bmake[1]: "/home/vehementham/.Git/pkgsrc/x11/libX11/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular" &&  !exists(${X11BASE}/lib/pkgconfig/x11.pc) &&  !exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/x11.pc))
bmake[1]: "/home/vehementham/.Git/pkgsrc/x11/libXext/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular" &&  !exists(${X11BASE}/lib/pkgconfig/xext.pc) &&  !exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/xext.pc))
bmake[1]: "/home/vehementham/.Git/pkgsrc/x11/libXrandr/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular" &&  !exists(${X11BASE}/lib/pkgconfig/xrandr.pc) &&  !exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/xrandr.pc))
bmake[1]: "/home/vehementham/.Git/pkgsrc/x11/libXxf86vm/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
Illegal option --
Illegal option -e
bmake[1]: Fatal errors encountered -- cannot continue
bmake: "/home/vehementham/.Git/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo "";  /usr/pkg/sbin/pkg_info -K /usr/pkg/pkgdb -Q PKG_OPTIONS MesaLib 2>/dev/null  || { cd ../../graphics/MesaLib  && /usr/bin/bmake _MAKE=/usr/bin/bmake OPSYS=Linux OS_VERSION=6.6.22 OPSYS_VERSION=060622 HOST_MACHINE_ARCH=x86_64 LOWER_OPSYS=linux _PKGSRCDIR=/home/vehementham/.Git/pkgsrc PKGTOOLS_VERSION=20240307 PKG_BUILD_OPTIONS.libepoxy=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/graphics/libepoxy show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
bmake[1]: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[1]: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[2]: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[3]: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[3]: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[3]: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[3]: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[3]: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[3]: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[3]: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[3]: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[3]: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[3]: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[3]: Fatal errors encountered -- cannot continue
bmake[2]: "/home/vehementham/.Git/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo "";  /usr/pkg/sbin/pkg_info -K /usr/pkg/pkgdb -Q PKG_OPTIONS heimdal 2>/dev/null  || { cd ../../security/heimdal  && /usr/bin/bmake LOWER_OPSYS=linux show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
bmake[3]: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[3]: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[3]: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[3]: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[3]: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[3]: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[3]: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[3]: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[3]: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[3]: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[3]: Fatal errors encountered -- cannot continue
bmake[2]: "/home/vehementham/.Git/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo "";  /usr/pkg/sbin/pkg_info -K /usr/pkg/pkgdb -Q PKG_OPTIONS sqlite3 2>/dev/null  || { cd ../../databases/sqlite3  && /usr/bin/bmake LOWER_OPSYS=linux PKG_BUILD_OPTIONS.heimdal=\ bmake\[3\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/security/heimdal show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
bmake[2]: Fatal errors encountered -- cannot continue
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo "";  /usr/pkg/sbin/pkg_info -K /usr/pkg/pkgdb -Q PKG_OPTIONS libcups 2>/dev/null  || { cd ../../print/libcups  && /usr/bin/bmake LOWER_OPSYS=linux show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
bmake[2]: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[2]: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[2]: Fatal errors encountered -- cannot continue
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo "";  /usr/pkg/sbin/pkg_info -K /usr/pkg/pkgdb -Q PKG_OPTIONS gnutls 2>/dev/null  || { cd ../../security/gnutls  && /usr/bin/bmake LOWER_OPSYS=linux PKG_BUILD_OPTIONS.libcups=\ bmake\[2\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/print/libcups show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
bmake[1]: Fatal errors encountered -- cannot continue
bmake: "/home/vehementham/.Git/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo "";  /usr/pkg/sbin/pkg_info -K /usr/pkg/pkgdb -Q PKG_OPTIONS qt5-qtbase 2>/dev/null  || { cd ../../x11/qt5-qtbase  && /usr/bin/bmake _MAKE=/usr/bin/bmake OPSYS=Linux OS_VERSION=6.6.22 OPSYS_VERSION=060622 HOST_MACHINE_ARCH=x86_64 LOWER_OPSYS=linux _PKGSRCDIR=/home/vehementham/.Git/pkgsrc PKGTOOLS_VERSION=20240307 PKG_BUILD_OPTIONS.libepoxy=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/graphics/libepoxy PKG_BUILD_OPTIONS.MesaLib=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/graphics/MesaLib show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
bmake[1]: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[1]: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[1]: Fatal errors encountered -- cannot continue
bmake: "/home/vehementham/.Git/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo "";  /usr/pkg/sbin/pkg_info -K /usr/pkg/pkgdb -Q PKG_OPTIONS sqlite3 2>/dev/null  || { cd ../../databases/sqlite3  && /usr/bin/bmake _MAKE=/usr/bin/bmake OPSYS=Linux OS_VERSION=6.6.22 OPSYS_VERSION=060622 HOST_MACHINE_ARCH=x86_64 LOWER_OPSYS=linux _PKGSRCDIR=/home/vehementham/.Git/pkgsrc PKGTOOLS_VERSION=20240307 PKG_BUILD_OPTIONS.libepoxy=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/graphics/libepoxy PKG_BUILD_OPTIONS.MesaLib=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/graphics/MesaLib PKG_BUILD_OPTIONS.qt5-qtbase=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/x11/qt5-qtbase show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
bmake[1]: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[1]: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[1]: Fatal errors encountered -- cannot continue
bmake: "/home/vehementham/.Git/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo "";  /usr/pkg/sbin/pkg_info -K /usr/pkg/pkgdb -Q PKG_OPTIONS freetype2 2>/dev/null  || { cd ../../graphics/freetype2  && /usr/bin/bmake _MAKE=/usr/bin/bmake OPSYS=Linux OS_VERSION=6.6.22 OPSYS_VERSION=060622 HOST_MACHINE_ARCH=x86_64 LOWER_OPSYS=linux _PKGSRCDIR=/home/vehementham/.Git/pkgsrc PKGTOOLS_VERSION=20240307 PKG_BUILD_OPTIONS.libepoxy=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/graphics/libepoxy PKG_BUILD_OPTIONS.MesaLib=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/graphics/MesaLib PKG_BUILD_OPTIONS.qt5-qtbase=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/x11/qt5-qtbase PKG_BUILD_OPTIONS.sqlite3=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/databases/sqlite3 show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
bmake[2]: "/home/vehementham/.Git/pkgsrc/x11/libICE/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular"  &&  !exists(${X11BASE}/lib/pkgconfig/ice.pc) &&  !exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/ice.pc))
bmake[2]: "/home/vehementham/.Git/pkgsrc/x11/libSM/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular" &&  !exists(${X11BASE}/lib/pkgconfig/sm.pc) &&  !exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/sm.pc))
bmake[2]: "/home/vehementham/.Git/pkgsrc/x11/libX11/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular" &&  !exists(${X11BASE}/lib/pkgconfig/x11.pc) &&  !exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/x11.pc))
bmake[2]: "/home/vehementham/.Git/pkgsrc/x11/libX11/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular" &&  !exists(${X11BASE}/lib/pkgconfig/x11.pc) &&  !exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/x11.pc))
bmake[2]: "/home/vehementham/.Git/pkgsrc/x11/libXext/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular" &&  !exists(${X11BASE}/lib/pkgconfig/xext.pc) &&  !exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/xext.pc))
bmake[2]: "/home/vehementham/.Git/pkgsrc/x11/libXi/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular" &&  !defined(BUILDLINK_API_DEPENDS.libXi))
bmake[2]: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[2]: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[2]: "/home/vehementham/.Git/pkgsrc/x11/libICE/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular"  &&  !exists(${X11BASE}/lib/pkgconfig/ice.pc) &&  !exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/ice.pc))
bmake[2]: "/home/vehementham/.Git/pkgsrc/x11/libSM/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular" &&  !exists(${X11BASE}/lib/pkgconfig/sm.pc) &&  !exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/sm.pc))
bmake[2]: "/home/vehementham/.Git/pkgsrc/x11/libX11/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular" &&  !exists(${X11BASE}/lib/pkgconfig/x11.pc) &&  !exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/x11.pc))
bmake[2]: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[2]: Fatal errors encountered -- cannot continue
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo "";   -Q PKG_OPTIONS pulseaudio 2>/dev/null  || { cd ../../audio/pulseaudio  && /usr/bin/bmake LOWER_OPSYS=linux show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
bmake[2]: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[2]: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[2]: Fatal errors encountered -- cannot continue
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo "";   -Q PKG_OPTIONS lame 2>/dev/null  || { cd ../../audio/lame  && /usr/bin/bmake LOWER_OPSYS=linux PKG_BUILD_OPTIONS.pulseaudio=\ bmake\[2\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/audio/pulseaudio show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
bmake[1]: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[1]: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[1]: Fatal errors encountered -- cannot continue
bmake: "/home/vehementham/.Git/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo "";  /usr/pkg/sbin/pkg_info -K /usr/pkg/pkgdb -Q PKG_OPTIONS qt5-qtmultimedia 2>/dev/null  || { cd ../../x11/qt5-qtmultimedia  && /usr/bin/bmake _MAKE=/usr/bin/bmake OPSYS=Linux OS_VERSION=6.6.22 OPSYS_VERSION=060622 HOST_MACHINE_ARCH=x86_64 LOWER_OPSYS=linux _PKGSRCDIR=/home/vehementham/.Git/pkgsrc PKGTOOLS_VERSION=20240307 PKG_BUILD_OPTIONS.libepoxy=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/graphics/libepoxy PKG_BUILD_OPTIONS.MesaLib=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/graphics/MesaLib PKG_BUILD_OPTIONS.qt5-qtbase=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/x11/qt5-qtbase PKG_BUILD_OPTIONS.sqlite3=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/databases/sqlite3 PKG_BUILD_OPTIONS.freetype2=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/graphics/freetype2 show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
bmake[1]: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[1]: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[1]: Fatal errors encountered -- cannot continue
bmake: "/home/vehementham/.Git/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo "";  /usr/pkg/sbin/pkg_info -K /usr/pkg/pkgdb -Q PKG_OPTIONS gpgme 2>/dev/null  || { cd ../../security/gpgme  && /usr/bin/bmake _MAKE=/usr/bin/bmake OPSYS=Linux OS_VERSION=6.6.22 OPSYS_VERSION=060622 HOST_MACHINE_ARCH=x86_64 LOWER_OPSYS=linux _PKGSRCDIR=/home/vehementham/.Git/pkgsrc PKGTOOLS_VERSION=20240307 PKG_BUILD_OPTIONS.libepoxy=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/graphics/libepoxy PKG_BUILD_OPTIONS.MesaLib=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/graphics/MesaLib PKG_BUILD_OPTIONS.qt5-qtbase=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/x11/qt5-qtbase PKG_BUILD_OPTIONS.sqlite3=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/databases/sqlite3 PKG_BUILD_OPTIONS.freetype2=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/graphics/freetype2 PKG_BUILD_OPTIONS.qt5-qtmultimedia=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/x11/qt5-qtmultimedia show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/bsd.options.mk" line 392: warning: duplicate script for target "show-options" ignored
bmake[1]: "/usr/share/mk/options.mk" line 102: warning: using previous script for "show-options" defined here
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/bsd.options.mk" line 395: warning: duplicate script for target "show-options" ignored
bmake[1]: "/usr/share/mk/options.mk" line 102: warning: using previous script for "show-options" defined here
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/bsd.options.mk" line 416: warning: duplicate script for target "show-options" ignored
bmake[1]: "/usr/share/mk/options.mk" line 102: warning: using previous script for "show-options" defined here
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/bsd.options.mk" line 417: warning: duplicate script for target "show-options" ignored
bmake[1]: "/usr/share/mk/options.mk" line 102: warning: using previous script for "show-options" defined here
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/bsd.options.mk" line 418: warning: duplicate script for target "show-options" ignored
bmake[1]: "/usr/share/mk/options.mk" line 102: warning: using previous script for "show-options" defined here
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/bsd.options.mk" line 419: warning: duplicate script for target "show-options" ignored
bmake[1]: "/usr/share/mk/options.mk" line 102: warning: using previous script for "show-options" defined here
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/bsd.options.mk" line 420: warning: duplicate script for target "show-options" ignored
bmake[1]: "/usr/share/mk/options.mk" line 102: warning: using previous script for "show-options" defined here
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/bsd.options.mk" line 421: warning: duplicate script for target "show-options" ignored
bmake[1]: "/usr/share/mk/options.mk" line 102: warning: using previous script for "show-options" defined here
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/bsd.options.mk" line 422: warning: duplicate script for target "show-options" ignored
bmake[1]: "/usr/share/mk/options.mk" line 102: warning: using previous script for "show-options" defined here
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/bsd.options.mk" line 423: warning: duplicate script for target "show-options" ignored
bmake[1]: "/usr/share/mk/options.mk" line 102: warning: using previous script for "show-options" defined here
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/bsd.options.mk" line 424: warning: duplicate script for target "show-options" ignored
bmake[1]: "/usr/share/mk/options.mk" line 102: warning: using previous script for "show-options" defined here
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/bsd.options.mk" line 425: warning: duplicate script for target "show-options" ignored
bmake[1]: "/usr/share/mk/options.mk" line 102: warning: using previous script for "show-options" defined here
bmake[2]: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[2]: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[2]: Fatal errors encountered -- cannot continue
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo "";  /usr/pkg/sbin/pkg_info -K /usr/pkg/pkgdb -Q PKG_OPTIONS libxml2 2>/dev/null  || { cd ../../textproc/libxml2  && /usr/bin/bmake LOWER_OPSYS=linux show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
bmake[2]: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[2]: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[2]: Fatal errors encountered -- cannot continue
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo "";  /usr/pkg/sbin/pkg_info -K /usr/pkg/pkgdb -Q PKG_OPTIONS llvm 2>/dev/null  || { cd ../../lang/llvm  && /usr/bin/bmake LOWER_OPSYS=linux PKG_BUILD_OPTIONS.libxml2=\ bmake\[2\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/textproc/libxml2 show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
bmake[2]: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[2]: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[2]: Fatal errors encountered -- cannot continue
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo "";   -Q PKG_OPTIONS gnutls 2>/dev/null  || { cd ../../security/gnutls  && /usr/bin/bmake LOWER_OPSYS=linux show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
bmake[2]: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[2]: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[2]: Fatal errors encountered -- cannot continue
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo "";   -Q PKG_OPTIONS lame 2>/dev/null  || { cd ../../audio/lame  && /usr/bin/bmake LOWER_OPSYS=linux PKG_BUILD_OPTIONS.gnutls=\ bmake\[2\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/security/gnutls show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
bmake[2]: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[2]: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[2]: Fatal errors encountered -- cannot continue
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo "";   -Q PKG_OPTIONS x264 2>/dev/null  || { cd ../../multimedia/x264  && /usr/bin/bmake LOWER_OPSYS=linux PKG_BUILD_OPTIONS.gnutls=\ bmake\[2\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/security/gnutls PKG_BUILD_OPTIONS.lame=\ bmake\[2\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/audio/lame show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
bmake[1]: "/home/vehementham/.Git/pkgsrc/x11/libX11/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular" &&  !exists(${X11BASE}/lib/pkgconfig/x11.pc) &&  !exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/x11.pc))
bmake[1]: "/home/vehementham/.Git/pkgsrc/x11/libX11/buildlink3.mk" line 5: Malformed conditional (${X11_TYPE} != "modular" &&  !exists(${X11BASE}/lib/pkgconfig/x11.pc) &&  !exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/x11.pc))
bmake[2]: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[2]: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[2]: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[2]: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[2]: Fatal errors encountered -- cannot continue
bmake[1]: "/home/vehementham/.Git/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo "";   -Q PKG_OPTIONS libxml2 2>/dev/null  || { cd ../../textproc/libxml2  && /usr/bin/bmake LOWER_OPSYS=linux PKG_BUILD_OPTIONS.gnutls=\ bmake\[2\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/security/gnutls PKG_BUILD_OPTIONS.lame=\ bmake\[2\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/audio/lame PKG_BUILD_OPTIONS.x264=\ bmake\[2\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/multimedia/x264 show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
bmake[1]: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[1]: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[1]: Fatal errors encountered -- cannot continue
bmake: "/home/vehementham/.Git/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo "";  /usr/pkg/sbin/pkg_info -K /usr/pkg/pkgdb -Q PKG_OPTIONS ffmpeg5 2>/dev/null  || { cd ../../multimedia/ffmpeg5  && /usr/bin/bmake _MAKE=/usr/bin/bmake OPSYS=Linux OS_VERSION=6.6.22 OPSYS_VERSION=060622 HOST_MACHINE_ARCH=x86_64 LOWER_OPSYS=linux _PKGSRCDIR=/home/vehementham/.Git/pkgsrc PKGTOOLS_VERSION=20240307 PKG_BUILD_OPTIONS.libepoxy=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/graphics/libepoxy PKG_BUILD_OPTIONS.MesaLib=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/graphics/MesaLib PKG_BUILD_OPTIONS.qt5-qtbase=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/x11/qt5-qtbase PKG_BUILD_OPTIONS.sqlite3=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/databases/sqlite3 PKG_BUILD_OPTIONS.freetype2=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/graphics/freetype2 PKG_BUILD_OPTIONS.qt5-qtmultimedia=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/x11/qt5-qtmultimedia PKG_BUILD_OPTIONS.gpgme=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/security/gpgme PKG_BUILD_OPTIONS.qt5-qttools=\ llvm show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
bmake[1]: "/usr/share/mk/own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[1]: "/usr/share/mk/own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[1]: "/usr/share/mk/own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 109: Malformed conditional (${MK_INSTALL_AS_USER} == "yes")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 217: Malformed conditional (${MK_LINKLIB} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 222: Malformed conditional (${MK_MAN} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 226: Malformed conditional (${MK_OBJ} == "no")
bmake[1]: "/usr/share/mk/bsd.own.mk" line 231: Malformed conditional (${MK_SHARE} == "no")
bmake[1]: Fatal errors encountered -- cannot continue
bmake: "/home/vehementham/.Git/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo "";  /usr/pkg/sbin/pkg_info -K /usr/pkg/pkgdb -Q PKG_OPTIONS cairo 2>/dev/null  || { cd ../../graphics/cairo  && /usr/bin/bmake _MAKE=/usr/bin/bmake OPSYS=Linux OS_VERSION=6.6.22 OPSYS_VERSION=060622 HOST_MACHINE_ARCH=x86_64 LOWER_OPSYS=linux _PKGSRCDIR=/home/vehementham/.Git/pkgsrc PKGTOOLS_VERSION=20240307 PKG_BUILD_OPTIONS.libepoxy=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/graphics/libepoxy PKG_BUILD_OPTIONS.MesaLib=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/graphics/MesaLib PKG_BUILD_OPTIONS.qt5-qtbase=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/x11/qt5-qtbase PKG_BUILD_OPTIONS.sqlite3=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/databases/sqlite3 PKG_BUILD_OPTIONS.freetype2=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/graphics/freetype2 PKG_BUILD_OPTIONS.qt5-qtmultimedia=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/x11/qt5-qtmultimedia PKG_BUILD_OPTIONS.gpgme=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/security/gpgme PKG_BUILD_OPTIONS.qt5-qttools=\ llvm PKG_BUILD_OPTIONS.ffmpeg5=\ bmake\[1\]:\ stopped\ in\ /home/vehementham/.Git/pkgsrc/multimedia/ffmpeg5 show-var VARNAME=PKG_OPTIONS; }" returned non-zero status

I am on Alpine Linux.

@bsiegert
Copy link
Contributor

This sounds like you are using the wrong make. Make sure you are really using the bmake installed by pkgsrc, not some tool named bmake from your Linux distribution.

The fact that it refers to /usr/share/mk is highly suspicious.

Try an explicit /usr/pkg/bin/bmake package-install.

@VehementHam
Copy link
Author

apk info bmake
doas (vehementham@localhost) password: 
bmake-20240314-r0 description:
Portable version of the NetBSD make build tool

bmake-20240314-r0 webpage:
https://www.crufty.net/help/sjg/bmake.html

bmake-20240314-r0 installed size:
696 KiB

@bsiegert
Copy link
Contributor

Exactly. This won't work.

  1. Uninstall the bmake package from Alpine Linux.
  2. cd pkgsrc/bootstrap; ./bootstrap --prefix /usr/pkg (or whatever directory you would like).
  3. export PATH=/usr/pkg/bin:/usr/pkg/sbin:$PATH
  4. Use bmake package-install to install your packages.

The crucial thing is that pkgsrc only works with the bmake it has built during the bootstrap process.

@VehementHam
Copy link
Author

Alright thanks

netbsd-srcmastr pushed a commit that referenced this issue Apr 3, 2024
Changelog:


    Fix potential DoS issue with p2c header (4ee7708)
    Build updates (#148) (dae5654)
    Display pkg_config in test logs (#134) (5e45732)
netbsd-srcmastr pushed a commit that referenced this issue Jun 28, 2024
Changelog:
### GMime 3.2.15

* Fixed the g_mime_object_get_header API definition to note that it can return null
* Fixed a memory leak in address_parse() (issue #159)
* Added custom header folding logic for the Newsgroups: header (issue #162)
* Fixed a configure issue regarding ac_cv_sys_file_offset_bits (issue #158)
* Fixed an infinite loop in the Content-Type and Content-Disposition parameter
  serialization logic (issue #165)

### GMime 3.2.14

* Avoid clearing the header list of a GMimeMessage when adding addresses to an address header. (issue #129)
* Added the internet_address_list_append_parse() prototype definition to internet-address.h. (issue #128)
* Use gtk-doc ulink syntax in doc comments instead of `<a href=...>`. (issue #131)
* Fixed rfc2047 token decoding logic for base64 encodings. (issue #133)
* Properly handle GDateTime UTC offsets with non-zero seconds. (issue #134)
* Improved introspection data for bindings such as Vala.
* Improved address name quoting.
* Added a GNotifyDestroy to the GMimeParserOptions callback.
* Fixed the URL linkifier logic to properly handle links without a '/' before the query string.
* Fixed the URL linkifier logic to handle domains that start with numbers. (issue #152)
* Reverted base64 decoder optimizations from 3.2.10 and 3.2.11 to support chunked base64. (issue #150)

### GMime 3.2.13

* Optimized parsing of messages with lots of address headers. (issue #126)

### GMime 3.2.12

* Fixed a memory leak in g_mime_gpgme_get_decrypt_result().

* Updated vapigen.m4, introspection.m4, and gpgme.m4 to improve cross-platform builds.

* Add and use ax_lib_socket_nsl.m4 so that systems that do not require linkage with libnsl
  are not forced to link with it unnecessesarily.

* Changed the build system to no longer use dolt (which is obsolete).

### GMime 3.2.11

* Fixed a bug in the base64 decoder. D'oh!

### GMime 3.2.10

* Improved performance of base64 encoder by ~5%.

* Improved performance of base64 decoder by ~25%.

* Unref the autocrypt header after adding it to the list. (issue #118)

* Work around a bug in g_time_zone_new_offset() by using identifiers instead. (issue #120)

### GMime 3.2.9

* g_mime_multipart_signed_verify() now allows type/subtype and type/x-subtype signature parts. (issue #115)

* Fixed header folding logic to avoid folding the first line of a header value. (issue #112 and issue #113)

* Fixed bugs discovered by static analysis. (issue #110)

* Fixed GMimeStreamPipe to set errno to ESPIPE for seek/tell/length methods.

* Fixed GMimeCertificates to prefer gpgme_user_id_t's address field over the email field. (issue #102)

### GMime 3.2.8

* Various fixes to Vala (and other?) language bindings. (issue #96 and issue #101)

* Enabled build for PPC64LE architecture (issue #100)

* Added g_mime_object_write_content_to_stream() (issue #97)

* Fixed parameter list parsing logic to not report a warning when everything is valid.

* Fixed the parser to handle MIME parts without headers -or- content of any kind.
netbsd-srcmastr pushed a commit that referenced this issue Nov 27, 2024
v0.8.2

Mostly frontend improvements, the highlights being improved video/audio sync and more flexible

input/hotkey mapping. Also adds Genesis overclocking support.

Input/hotkey configuration is not compatible with previous versions; input configuration is now stored in a different format, and all input-related settings will one-time revert to defaults if using a config file from a previous version

Save states are not compatible with previous versions
New Features

    Video/audio sync improvements which should enable significantly improved frame pacing without needing to rely on 60Hz VSync (which can cause very noticeable input latency on some platforms)
        Added a new "frame time sync" option that uses the host system clock to match the emulated system's framerate and frame timing as closely as possible without relying on host GPU synchronization (i.e. VSync)
        Added a new option for dynamic audio resampling ratio, which periodically adjusts the audio resampling ratio to try and avoid audio buffer underflows and overflows (which both cause audio popping)
            This is implemented in a very conservative way in order to avoid audible differences in audio pitch, so it is not completely guaranteed to prevent audio buffer underflow/overflow
        Audio sync now checks the audio buffer size every 16 samples enqueued rather than only checking once per frame, which should significantly reduce stuttering when audio sync is enabled without VSync or frame time sync
        Adjusted default sync/audio settings values to hopefully make stuttering and audio popping less likely when running with default settings
        In the GUI, video/audio sync settings have been moved to a new window under Settings > Synchronization
    Input mapping overhaul to make input mapping/configuration more flexible (#134 / #137)
        Keyboard and gamepad settings are no longer separate configurations; each system now supports up to 2 mappings for each emulated button where each mapping can be a keyboard key, a gamepad input, or a mouse button
        Key/input/button combinations (2 or 3 simultaneous inputs) are now supported for mappings in addition to individual keys/inputs
        Hotkeys can now be mapped to gamepad inputs, mouse buttons, and combinations in addition to individual keyboard keys
        Each input settings window now has a button to apply one of two keyboard presets for P1 inputs, one with arrow keys mapped to the d-pad and one with WASD mapped to the d-pad
    Added a new set of hotkeys for saving/loading specific save state slots (#134)
    (Genesis / Sega CD / 32X) Added an option to overclock the main Genesis CPU (the 68000) by decreasing the master clock divider, which can reduce or eliminate slowdown in games (#133)
        Note that this is a fairly naive form of overclocking that works very well in many games but very poorly in some games; use with caution
        As far as SCD/32X, from my testing overclocking the 68000 almost always causes problems in 32X games (which are normally bottlenecked on SH-2 speed anyway), but it does fix slowdown in some Sega CD games
    (SMS / Game Gear) Replaced the "double Z80 CPU speed" setting with an option to overclock at finer granularity by decreasing the Z80 master clock divider
        Same caveat as above regarding this form of overclocking working very poorly in some games, and this is more of an issue for SMS/Game Gear than it is for Genesis/Sega CD
    Added an option to only hide the mouse cursor when in fullscreen, in addition to the previous settings of "always hide" and "never hide"
    Added an option to change the fullscreen mode from borderless to exclusive
    Added an option to change the audio output frequency from 48000 Hz to 44100 Hz

Improvements

    (Genesis / Sega CD) Slightly improved performance by advancing the emulated clock in larger intervals while a long VDP DMA is in progress
    (32X) Slightly improved performance by optimizing SH-2 instruction decoding
    (GB) Improved video frame delivery behavior when the PPU is powered off to make it play a little nicer with VSync and frame time sync
    The emulator window is now explicitly focused/raised when a game is loaded; previously this wouldn't always happen automatically, particularly on Windows

Fixes

    (Sega CD) Slightly extended the delay between a game sending a CDD Play/Read command and the CD drive reading the first sector; this fixes Time Gal having excruciatingly long "load times"
        "Load times" in quotes because the game was actually getting confused and repeatedly re-reading the same CD-ROM sectors until various interrupts happened to trigger at exactly the right times relative to each other
    (Sega CD) Fixed a bug where some backend settings would not correctly persist after loading a save state (they would temporarily revert to what they were when the save state was created)

v0.8.1

Small release with mostly bugfixes and a few save state-related features

SMS/Game Gear and NES save states are not compatible with previous versions, other systems' save states should be compatible
Features

    Made the game save file and save state locations configurable (#132)
        Can be set to the same folder as the ROM image (same as previous behavior), subdirectories in the emulator folder, or custom paths
    Added a new --load-save-state <SLOT> command-line arg to load a specific save state slot at game launch (#132)
    Added an option to attempt to load the most recently saved state when launching a game
        If this option is set when there are no save states or the most recent state cannot be loaded, the game will boot normally
    (Game Gear) Added an option to render at SMS resolution (256x192) instead of native resolution (160x144)
        The expanded parts of the frame often contain garbage because they weren't meant to be visible, but they sometimes contain an expanded playfield

Fixes

    (Sega CD) Fixed a bug where loading a save state could possibly crash the emulator due to a stack overflow; this was particularly likely to happen on Windows due to the small default stack size
        This was caused by the state deserialization code inadvertently deserializing some very large arrays into the stack before moving them to the heap, rather than deserializing directly into the heap
    (SMS/Game Gear) Fixed the VDP display disabled implementation so that it properly blanks the display rather than leaving the previous frame onscreen
    (SMS) Fixed the NTSC/PAL and SMS Model settings not having any effect when loading a game from a .zip/.7z file rather than a .sms file
    (NES) Fixed multiple bugs related to how the PPU determines what color to display when rendering is disabled while PPUADDR points to palette RAM; this fixes Micro Machines having a solid gray bar in the middle of the title screen, as well as several test ROMs that rely on this hardware quirk for high-color display (#53 / #55 / #56)
    GUI: Saving or loading a save state slot from the GUI window now also changes the selected save state slot
    CLI: Fixed

    the 32X option missing from the help text for the --hardware arg (#131)
    The video memory viewer window now renders without VSync; this fixes likely stuttering and audio popping while the memory viewer window is open
netbsd-srcmastr pushed a commit that referenced this issue Dec 2, 2024
(NEWS.md is not updated to 1.1.7)
# s2 1.1.5

* fix compiler problem on Alpine 3.19.0 (#251)

# s2 1.1.4

* Updated more tests to pass on a forthcoming waldo package update (#237).

# s2 1.1.3

* Made a test less strict to pass tests on Alpine Linux (#218, #220).
* Updated tests to pass on forthcoming waldo package update (@hadley, #226).
* Updated vendored file modifications to suppress a multi-line comment
  warning on gcc (#214, #227).

# s2 1.1.2

- Fixed test for `as.data.frame()` for `s2_cell()` to comply with new wk
  version and the latest release of R (#207).
- Fix unary union of an empty multipolygon (#208).
- Added `#include <cstdint>` to an Abseil header to fix compilation with
  gcc13 (#209, #210).
- Update internal Abseil to 20220623.1 LTS (#213).

# s2 1.1.1

- Fix new CRAN check warnings (#202, #203).

# s2 1.1.0

- Fix for s2 build on Windows with R <= 3.6.x (#142)
- Fix for s2 build on MacOS with multiple openssl versions (#142, #145, #146)
- Fix for s2 build on 32-bit openssl (#143, #147)
- Added `s2_convex_hull()` and `s2_convex_hull_agg()` (@spiry34, #150,
  #151, #163).
- Added `max_distance` argument to `s2_closest_edges()`, making
  distance-constrained k-nearest neighbours possible (#125, #156, #162).
- Added a spherical `s2_point_on_surface()` implementation for polygons
  (@kylebutts, #152, #161)
- Added a `s2_cell_union()` vector class to represent cell coverings and
  operators to generate them from an s2 geography vector (e.g.,
  `s2_covering_cell_ids()`). Cell unions are useful as compact representations
  of spherical geometry and can be used like a bounding box to determine
  a possible intersection with one or more geographies (#85, #94, #164).
- Refactored the simple features compatability layer into a standalone
  code base for potential future use in a Python adaptation (#165).
- Migrate input and output to non-deprecated wk package handlers and writers
  (#101, #165, #168).
- Make `s2_union_agg()` more efficient using a recursive merge strategy
  (#103, #165).
- Fix package build on Raspberry Pi (#169, #171).
- Fix warning on clang14 when compiling with `-O0` (#167, #172).
- Added `s2_prepared_dwithin()` and fixed `s2_dwithin_matrix()` such that it
  efficiently uses the index (#157, #174).
- Updated `s2_lnglat()` and `s2_point()` to use `wk::xy()` (a record-style
  vctr) to represent point coordinates. This is much faster than the previous
  representation which relied on `list()` of external pointers (#181, #159).
- Added arguments `planar` and `tessellate_tol_m` to `s2_as_text()`,
  `s2_as_binary()`. Use `planar = TRUE` and set `tessellate_tol_m` to the
  maximum error for your use-case to automatically subdivide edges to
  preserve or "straight" lines in Plate carree projection on import (#182).
- Added arguments `planar` and `tessellate_tol_m` to `s2_geog_from_text()`, and
  `s2_geog_from_wkb()`. Use `planar = TRUE` and set `tessellate_tol_m` to the
  maximum error for your use-case to automatically subdivide edges to
  ensure or "straight" lines in Plate carree projection on export (#182).

# s2 1.0.7

- Update the internal copy of s2geometry to use updated Abseil,
  fixing a compiler warning on gcc-11 (#79, #134).
netbsd-srcmastr pushed a commit that referenced this issue Dec 2, 2024
# wk 0.9.4

- Ensure package tests pass against sf 1.0-18 (#224, #225).

# wk 0.9.3

- Ensure package compiles with `STRICT_R_HEADERS=1` (#222).

# wk 0.9.2

- Add `wk_crs()` and `wk_set_crs()` methods for `bbox` (#213)
- Fix wk_trans inconsistent meta flags handling (#217)
- Ensure package builds on arm64 for Windows (#220)

# wk 0.9.1

- Fix format strings/arguments for R-devel (#209).

# wk 0.9.0

## Breaking changes

- The common well-known binary representation of POINT EMPTY (i.e.,
  POINT (nan nan)) is now handled as POINT EMPTY allowing empty points
  to roundtrip through `wkb()` vectors (#196, #204).
- `xy(NA, NA)` is now read as a null feature instead of POINT EMPTY. This
  preserves the invariant that null features can also be identified using
  `is.na()` (#205).
- `xy(NaN, NaN)` is now read as POINT EMPTY and `is.na(xy(NaN, NaN))`
  now returns `FALSE`. This means that both EMPTY and null points can roundtrip
  through `xy()` (#205).

## Bugfixes and improvements

- `wk_meta()` now contains a new column `is_empty`, which is `TRUE`
  for any feature that contains at least one non-empty coordinate. This allows
  more efficient detection of features with zero coordinates (#197, #199).
- Updated PROJ data to use the latest pull of the database packaged with
  PROJ 9.3.0 (#201).
- The wk package now compiles once again on gcc 4.8 (#203, #206).
- Fixed `sfc_writer()` to correctly attach the `classes` attribute to
  sfc output with mixed geometry types (#195).
- Function `sfc_writer()` now has an argument `promote_multi` to write any
  input as the MULTI variant. This makes it more likely that an input vector
  will be read as a single geometry type (#198).
- The `wk_collection_filter()` now correctly increments the `part_id` when
  calling the child handler (@brownag, #194).

# wk 0.8.0

* Added `wkb_to_hex()` (@anthonynorth, #183).
* Implemented `vctrs::vec_proxy_equal()` for `wkb()` vctrs
  (@anthonynorth, #183).
* Fixed `sfc_writer()`, which had returned NULL for some inputs
  (e.g., via `wk_collection()`) (@anthonynorth, #182, #186).
* Added `wk_clockwise()` and `wk_counterclockwise()` to re-wind polygon rings
  (@anthonynorth, #188).
* New replacement-function mode for `wk_coords<-()` for in-place modification
  of coordinates (@mdsumner, #187).
* New function `wk_trans_explicit()` migrated from crs2crs (@mdsumner, #187).

# wk 0.7.3

* Fix tests for updated waldo package (#178).

# wk 0.7.2

* Fix use-after-free warnings.

# wk 0.7.1

* Fix implicit reliance on error `as.data.frame.default()`,
  which no longer occurs in r-devel (#166).

# wk 0.7.0

* Remove legacy headers that are no longer used by any downstream package
  (#146).
* `validate_wk_wkt()` now errors for an object that does not inherit from
  'wk_wkt' (#123, #146).
* Added `wk_crs_projjson()` to get a JSON representation of a CRS object.
  To make lookup possible based on shortcut-style CRS objects (e.g.,
  `"EPSG:4326"` or `4326`), added data objects `wk_proj_crs_view` and
  `wk_proj_crs_json` that contain cached versions of rendered PROJJSON
  based on the latest PROJ version (#147).
* Added a `wk_crs_proj_definition()` method for `wk_crs_inherit()` (#136,
  #147).
* Conversion to sf now uses the `sfc_writer()` for all wk classes, making
  conversions faster and fixing at least one issue with conversion of NA
  geometries to sf (#135).
* `wk_plot()` now plots `NULL`/`NA` geometries and mixed geometry types
  more reliably (#142, #143, #149).
* Exported EMPTY geometries to well-known text now include dimension
  (e.g., `POINT Z EMPTY`) (#141, #150).
* Fixed bug where `wk_polygon()` doubled some points when the input contained
  closed rings (#134, #151).
* Fixed bug where `wk_count()` exposed uninitialized values for empty input
  (#139, #153).
* The `xy_writer()` now opportunistically avoids allocating vectors for Z
  or M values unless they are actually needed (#131, #154).
* Added example WKT for all geometry types and dimensions plus helper
  `wk_example()` to access them and set various properties (#155).
* Fixes warnings when compiling with `-Wstrict-prototypes` (#157, #158).
* Removed `wk_chunk_map_feature()` in favour of using chunking strategies
  directly (#132, #159).
* Optimized `wk_coords()` for `xy()` objects (#138, #160).
* Added accessor methods for record-style vectors: `rct_xmin()`, `rct_xmax()`,
  `rct_ymin()`, `rct_ymax()`, `rct_width()`, `rct_height()`, `crc_center()`,
  `crc_x()`, `crc_y()`, `crc_r()`, `xy_x()`, `xy_y()`, `xy_z()`, and `xy_m()`
  (#144, #161).
* Added rectangle operators `rct_intersects()`, `rct_contains()`,
  and `rct_intersection()` (#161).

# wk 0.6.0

* Fixed `wk_affine_rescale()` to apply the translate and scale
  operations in the correct order (#94).
* Add `wk_handle_slice()` and `wk_chunk_map_feature()` to support
  a chunk + apply workflow when working with large vectors (#101, #107).
* C and R code was rewritten to avoid materializing ALTREP vectors
  (#103, #109).
* Added a `wk_crs_proj_definition()` generic for foreign CRS objects
  (#110, #112).
* Added `wk_crs_longlat()` helper to help promote authority-compliant
  CRS choices (#112).
* Added `wk_is_geodesic()`, `wk_set_geodesic()`, and argument `geodesic`
  in `wkt()` and `wkb()` as a flag for objects whose edges must
  be interpolated along a spherical/ellipsoidal trajectory (#112).
* Added `sf::st_geometry()` and `sf::st_sfc()` methods for wk geometry
  vectors for better integration with sf (#113, #114).
* Refactored well-known text parser to be more reusable and faster
  (#115, #104).
* Minor performance enhancement for `is.na()` and `validate_wk_wkb()`
  when called on a very long `wkb()` vector (#117).
* Fixed issue with `validate_wk_wkb()` and `validate_wk_wkt()`, which failed
  for most valid objects (#119).
* Added `wk_envelope()` and `wk_envelope_handler()` to compute feature-wise
  bounding boxes (#120, #122).
* Fixed headers and tests to pass on big endian systems (#105, #122).
* Incorporated the geodesic attribute into vctrs methods, data frame
  columns, and bbox/envelope calculation (#124, #125).
* Fix `as_xy()` for nested data frames and geodesic objects (#126, #128).
* Remove deprecated `wkb_problems()`, `wkt_problems()`, `wkb_format()`,
  and `wkt_format()` (#129).
* `wk_plot()` is now an S3 generic (#130).

# wk 0.5.0

* Fixed bugs relating to the behaviour of wk classes as
  vectors (#64, #65, #67, #70).
* `crc()` objects are now correctly exported as polygons
  with a closed loop (#66, #70).
* Added `wk_vertices()` and `wk_coords()` to extract individual
  coordinate values from geometries with optional identifying
  information. For advanced users, the `wk_vertex_filter()`
  can be used as part of a pipeline to export coordinates
  as point geometries to another handler (#69, #71).
* Added `wk_flatten()` to extract geometries from collections.
  For advanced users, the `wk_flatten_filter()` can be used as
  part of a pipeline (#75, #78).
* `options("max.print")` is now respected by all vector classes
  (#72, #74).
* Moved implementation of plot methods from wkutils to wk to
  simplify the dependency structure of both packages (#80, #76).
* Added `wk_polygon()`, `wk_linestring()`, and `wk_collection()`
  to construct polygons, lines, and collections. For advanced
  users, `wk_polygon_filter()`, `wk_linestring_filter()`, and
  `wk_collection_filter()` can be used as part of a pipeline
  (#77, #84).
* Added a C-level transform struct that can be used to simplify
  the the common pattern of transforming coordinates. These
  structs can be created by other packages; however, the
  `wk_trans_affine()` and `wk_trans_set()` transforms are
  also built using this feature. These are run using the
  new `wk_transform()` function and power the new
  `wk_set_z()`, `wk_set_m()`, `wk_drop_z()`, `wk_drop_m()`,
  functions (#87, #88, #89).

# wk 0.4.1

* Fix LTO and MacOS 3.6.2 check errors (#61).

# wk 0.4.0

* Removed `wksxp()` in favour of improved `sf::st_sfc()` support
  (#21).
* Rewrite existing readers, writers, and handlers, using
  a new C API (#13).
* Use new C API in favour of header-only approach for all
  wk functions (#19, #22).
* Use cpp11 to manage safe use of callables that may longjmp
  from C++.
* Vector classes now propagate `attr(, "crs")`, and check
  that operations that involve more than one vector have
  compatable CRS objects as determined by `wk_crs_equal()`.
* Added an R-level framework for other packages to implement
  wk readers and handlers: `wk_handle()`, `wk_translate()`,
  and `wk_writer()` (#37).
* Added a native reader and writer for `sf::st_sfc()` objects
  and implemented R-level generics for sfc, sfg, sf, and bbox
  objects (#28, #29, #38, #45).
* Implement `crc()` vector class to represent circles (#40).
* Added a 2D cartesian bounding box handler (`wk_bbox()`) (#42).
* Refactored unit tests reflecting use of the new API and
  for improved test coverage (#44, #45, #46).
* Added `wk_meta()`, `wk_vector_meta()`, and `wk_count()` to
  inspect properties of vectors (#53).
* Modified all internal handlers such that they work with vectors
  of unknown length (#54).

# wk 0.3.4

* Fixed reference to `wkutils::plot.wk_wksxp()`, which
  no longer exists.

# wk 0.3.3

* Fixed WKB import of ZM geometries that do not use EWKB.
* Added `xy()`, `xyz()`, `xym()` and `xyzm()` classes
  to efficiently store point geometries.
* Added the `rct()` vector class to efficiently store
  two-dimensional rectangles.
* Fixed the CRAN check  failure caused by a circular
  dependency with  the wkutils package.
* Added S3 methods to coerce sf objects to and from
  `wkt()`, `wkb()` and `wksxp()`.

# wk 0.3.2

* Fixed EWKB output for collections and multi-geometries
  that included SRID (#3).
* Fixed CRAN check errors related to exception handling on
  MacOS/R 3.6.2.

# wk 0.3.1

* Added a `NEWS.md` file to track changes to the package.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants