Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 2017 16:48:33 -0800
From:      Mark Millard <markmi@dsl-only.net>
To:        zeising@FreeBSD.org
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>, freebsd-x11@freebsd.org
Subject:   Re: amd64 /usr/ports -r457579: x11/xscreensaver fails to build because "error: no member named 'rgba_masks' in 'Visual'" (in xft.c)
Message-ID:  <84BC7516-00E2-4CC2-AA55-66468456CABA@dsl-only.net>
In-Reply-To: <F799394C-14B0-429A-B619-E10B912D7FF1@dsl-only.net>
References:  <F799394C-14B0-429A-B619-E10B912D7FF1@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2017-Dec-30, at 12:26 PM, Mark Millard <markmi at dsl-only.net> =
wrote:

> =46rom the poudriere build log:
>=20
> cc -pedantic -Wall -Wstrict-prototypes -Wnested-externs =
-Wmissing-prototypes -Wno-overlength-strings =
-Wdeclaration-after-statement -no-cpp-precomp -std=3Dc89 =
-U__STRICT_ANSI__ -c -I. -I..  -I/usr/local/include/gtk-2.0 =
-I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 =
-I/usr/local/lib/glib-2.0/include -I/usr/local/include =
-I/usr/local/include/cairo -I/usr/local/include/pixman-1 =
-I/usr/local/include/freetype2 -I/usr/local/include/libdrm =
-I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz =
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 =
-I/usr/local/include/libxml2 -I/usr/local/include/libglade-2.0 =
-D_THREAD_SAFE -pthread  -I/usr/local/include/gdk-pixbuf-2.0 =
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include =
-I/usr/local/include -I/usr/local/include/libpng16 -pthread  =
-DHAVE_CONFIG_H -I/usr/local/include -O2 -pipe  -g -fstack-protector =
-fno-strict-aliasing -std=3Dgnu99 -I/usr/local/include  =
-I/usr/local/include xft.c
> . . .
> xft.c:201:39: error: no member named 'rgba_masks' in 'Visual'
>      red_shift   =3D maskbase (visual->rgba_masks[0]);
>                              ~~~~~~  ^
> xft.c:202:39: error: no member named 'rgba_masks' in 'Visual'
>      red_len     =3D masklen  (visual->rgba_masks[0]);
>                              ~~~~~~  ^
> xft.c:203:39: error: no member named 'rgba_masks' in 'Visual'
>      green_shift =3D maskbase (visual->rgba_masks[1]);
>                              ~~~~~~  ^
> xft.c:204:38: error: no member named 'rgba_masks' in 'Visual'
>      green_len   =3D masklen (visual->rgba_masks[1]);
>                             ~~~~~~  ^
> xft.c:205:39: error: no member named 'rgba_masks' in 'Visual'
>      blue_shift  =3D maskbase (visual->rgba_masks[2]);
>                              ~~~~~~  ^
> xft.c:206:38: error: no member named 'rgba_masks' in 'Visual'
>      blue_len    =3D masklen (visual->rgba_masks[2]);
>                             ~~~~~~  ^
> 6 errors generated.
> gmake[2]: *** [Makefile:192: xft.o] Error 1
> gmake[2]: *** Waiting for unfinished jobs....
> 1 warning generated.
> gmake[2]: Leaving directory =
'/wrkdirs/usr/ports/x11/xscreensaver/work/xscreensaver-5.38/utils'
>=20
>=20
> # svnlite info /usr/ports/ | grep "Re[plv]"
> Relative URL: ^/head
> Repository Root: svn://svn.freebsd.org/ports
> Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
> Revision: 457579
> Last Changed Rev: 457579
>=20
> # uname -apKU
> FreeBSD FBSDFSSD 12.0-CURRENT FreeBSD 12.0-CURRENT  r327364M  amd64 =
amd64 1200054 1200054

I got a response form Walter Schwarzenfeld saying, in essence,
that:

OPTIONS_FILE_UNSET+=3DXFT

is not supported (gets the errors in xft.c).

Enabling XFT let it build.



=3D=3D=3D
Mark Millard
markmi at dsl-only.net





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84BC7516-00E2-4CC2-AA55-66468456CABA>