Trubles compiling lxqt on RPi4

Mark Millard marklmi at
Thu May 13 00:17:45 UTC 2021

bob prohaska fbsd at wrote on
Wed May 12 21:10:02 UTC 2021 :

> Attempts to compile x11/x11-wm/lxqt on a Pi4 running -current
> get stuck with:
> ===>  Building for json-glib-1.6.2_1
> [  1% 1/53] cc -Ijson-glib/ -Ijson-glib -I../json-glib -I. -I.. -I/usr/
> local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -Xclang -fno-color-dia
> gnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -O3 -O2 -fstack-protector-strong 
> -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread '-DG_LOG
> le"' -Wcast-align -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wmissing-n
> oreturn -Wold-style-definition -Wpointer-arith -Wshadow -Wstrict-prototypes -Wunused -Wno-int-conver
> sion -fno-strict-aliasing -Wno-uninitialized -Werror=address -Werror=array-bounds -Werror=empty-body
>  -Werror=format=2 -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werro
> r=missing-braces -Werror=nested-externs -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-t
> ype -Werror=sequence-point -Werror=trigraphs -Werror=undef -Werror=write-strings -fvisibility=hidden
>  -MD -MQ json-glib/ -MF json-gli
> b/ -o json-glib/libjson-glib-1
> -c json-glib/json-enum-types.c
> FAILED: json-glib/
> Is there a workaround? Ports were up-to-date as of today, May 12, 2021.

You are not very explicit about the FreeBSD context and
such, beyond RPi4 (so aarm64/aarch64).

It is also likely that there was more error-type reporting text
than just:

FAILED: json-glib/

The error is from the build attempt for: devel/json-glib instead
of directly from lxqt.

show successful builds of json-glib-1.6.2_1 on/for main [so:
14]. The first used python37 and the 2nd python38 .

Most of the other modern build runs that show json-glib-1.6.2_1
queued indicate that it was skipped because of:


None listed failed builds, so no logs would match your report. indicates that the
last devel/json-glib update was on 2021-Apr-06. (I've not
checked other dependencies, beyond the basicis of the
python3<?> change.)

This may get into things like poudriere based builds vs.
some other ways of building that are more sensitive to
context oddities. But you were not explicit about that
aspect of things.

Mark Millard
marklmi at
( went
away in early 2018-Mar)

More information about the freebsd-ports mailing list