Poudriere gives Error: Filesystem touched during build

Hi. I am getting build_fs_violation error while trying to test the port.

Code:
=>> Checking for filesystem violations... done
=>> Error: Filesystem touched during build:
extra: usr/local/lib/python3.11/site-packages/blueprintcompiler/language/__pycache__
extra: usr/local/lib/python3.11/site-packages/blueprintcompiler/outputs/__pycache__
extra: usr/local/lib/python3.11/site-packages/blueprintcompiler/outputs/xml/__pycache__
extra: usr/local/lib/python3.11/site-packages/blueprintcompiler/__pycache__
build of net-im/flare | flare-0.15.0.629.f7.a8 ended at Tue Aug 20 15:26:03 +03 2024
build time: 00:07:52
!!! build failure encountered !!!
[00:08:01] Error: Build failed in phase: build_fs_violation
[141x64-default] [flare] [failed/build_fs_violation] Queued: 99 Built: 0  Failed: 1  Skipped: 0  Ignored: 98 Fetched: 0  Tobuild: 0   Time: 00:08:00
[00:08:01] Logs: /poudriere/data/logs/bulk/141x64-default/flare
[00:08:01] Cleaning up
[00:08:01] Unmounting file systems

Makefile has that env variable to prevent this issue but it doesn't work.
Code:
# Don't create __pycache__ directory when executing blueprint-compiler
# This is a workaround to avoid filesystem violations during poudriere build
MAKE_ENV+=      ${CARGO_ENV} \
                PYTHONDONTWRITEBYTECODE=1

BUILD_DEPENDS=  blueprint-compiler:devel/blueprint-compiler

Complete Makefile:
Code:
PORTNAME=    flare
DISTVERSION=    0.15.0-629fa7a8
CATEGORIES=    net-im

MAINTAINER=    nxjoseph@protonmail.com
COMMENT=    Chat with your friends on Signal
WWW=        https://gitlab.com/schmiddi-on-mobile/flare

LICENSE=    AGPLv3
LICENSE_FILE=    ${WRKSRC}/LICENSE

BUILD_DEPENDS=    blueprint-compiler:devel/blueprint-compiler \
        protoc:devel/protobuf
LIB_DEPENDS=    libdbus-1.so:devel/dbus \
        libgdk_pixbuf-2.0.so:graphics/gdk-pixbuf2 \
        libsecret-1.so:security/libsecret
RUN_DEPENDS=    gnome-keyring:security/gnome-keyring

USES=        cargo desktop-file-utils gettext gnome meson pkgconfig
USE_GITLAB=    yes
GL_ACCOUNT=    schmiddi-on-mobile
GL_TAGNAME=    629fa7a8a9fe164b6ad6c350cf5a08c995aa512e
USE_GNOME=    gtk40 gtksourceview5 libadwaita
GLIB_SCHEMAS=    de.schmidhuberj.Flare.gschema.xml

CARGO_BUILD=    no
CARGO_INSTALL=    no
CARGO_TEST=    no

MAKE_ENV+=    ${CARGO_ENV} \
        PYTHONDONTWRITEBYTECODE=1

# XXX add libspelling for spell-checking support
# https://gitlab.gnome.org/chergert/libspelling (no port yet)
OPTIONS_DEFINE=        FEEDBACK
FEEDBACK_DESC=        for vibrating notifications
FEEDBACK_LIB_DEPENDS=    libfeedback-0.0.so:accessibility/feedbackd

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1400091 || (${OSVERSION} >= 1302507 && \
    ${OSVERSION} < 1400000))
CFLAGS+=    -Wno-error=incompatible-function-pointer-types
.endif

post-patch:
    @${REINPLACE_CMD} -e '/update_desktop_database/d' \
        ${WRKSRC}/meson.build
# Make each cargo subcommand very verbose
# Add explicit <triple> subdir for --target from USES=cargo
    @${REINPLACE_CMD} -e "/cargo_options =/s/ '--/&verbose', &verbose', &/" \
        -e "/cp/s,'target',& / '${CARGO_BUILD_TARGET}'," \
        ${WRKSRC}/src/meson.build

do-install:
    ${MKDIR} ${STAGEDIR}${PREFIX}/share/dbus-1/system-services \
        ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas \
        ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps \
        ${STAGEDIR}${PREFIX}/share/icons/hicolor/symbolic/apps \
        ${STAGEDIR}${PREFIX}/share/metainfo
    ${INSTALL_PROGRAM} ${WRKSRC}/${MESON_BUILD_DIR}/target/${CARGO_BUILD_TARGET}/*/flare \
        ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/${MESON_BUILD_DIR}/data/de.schmidhuberj.Flare.service \
        ${STAGEDIR}${PREFIX}/share/dbus-1/system-services/
    ${INSTALL_DATA} ${WRKSRC}/${MESON_BUILD_DIR}/data/de.schmidhuberj.Flare.desktop \
        ${STAGEDIR}${PREFIX}/share/applications/
    ${INSTALL_DATA} ${WRKSRC}/_build/data/de.schmidhuberj.Flare.metainfo.xml \
        ${STAGEDIR}${PREFIX}/share/metainfo/
    ${INSTALL_DATA} ${WRKSRC}/data/de.schmidhuberj.Flare.gschema.xml \
        ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/
    ${INSTALL_DATA} ${WRKSRC}/data/icons/de.schmidhuberj.Flare.svg \
        ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/
    ${INSTALL_DATA} ${WRKSRC}/data/icons/de.schmidhuberj.Flare-symbolic.svg \
        ${STAGEDIR}${PREFIX}/share/icons/hicolor/symbolic/apps/

.include <bsd.port.mk>
 
Back
Top