[Bug 264947] x11-toolkits/libadwaita: build failure on armv7 -- adw-enums-private.h not found

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 29 Jun 2022 04:37:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264947

            Bug ID: 264947
           Summary: x11-toolkits/libadwaita: build failure on armv7 --
                    adw-enums-private.h not found
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: fuz@fuz.su
             Flags: maintainer-feedback?(gnome@FreeBSD.org)
          Assignee: gnome@FreeBSD.org

The port currently does not build on armv7 FreeBSD 13.1 with the following
error message:

FAILED: tests/test-style-manager.p/test-style-manager.c.o 
cc -Itests/test-style-manager.p -Itests -I../tests -Isrc -I../src
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/gtk-4.0
-I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz
-I/usr/local/include/freetype2 -I/usr/local/include/libpng16
-I/usr/local/include/cairo -I/usr/local/include/pixman-1
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/graphene-1.0
-I/usr/local/lib/graphene-1.0/include -I/usr/local/include/gio-unix-2.0
-I/usr/local/include/libepoll-shim -fno-color-diagnostics
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O3 -DHAVE_CONFIG_H
-DADWAITA_COMPILATION -Wcast-align -Wdate-time -Werror=format-security
-Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types
-Werror=missing-declarations -Werror=overflow -Werror=return-type
-Werror=shift-count-overflow -Wformat-nonliteral -Wformat-security -Winit-self
-Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-noreturn
-Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare
-Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition
-Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default
-Wswitch-enum -Wtype-limits -Wundef -Wunused-function -fstack-protector-strong
-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIE -mfpu=neon
-D_THREAD_SAFE -pthread '-DADW_LOG_DOMAIN="Adwaita"'
'-DTEST_DATA_DIR="/wrkdirs/usr/ports/x11-toolkits/libadwaita/work/libadwaita-0e57660217829b3f905f20e1c53aaf42c2302882/tests/data"'
-MD -MQ tests/test-style-manager.p/test-style-manager.c.o -MF
tests/test-style-manager.p/test-style-manager.c.o.d -o
tests/test-style-manager.p/test-style-manager.c.o -c
../tests/test-style-manager.c
In file included from ../tests/test-style-manager.c:10:
../src/adw-settings-private.h:16:10: fatal error: 'adw-enums-private.h' file
not found
#include "adw-enums-private.h"
         ^~~~~~~~~~~~~~~~~~~~~
1 error generated.

It appears that this file is supposed to be generated during
the build, but that doesn't seem to happen.  I'll try to
investigate why this is the case, but I don't have any clear
idea right now.  The port does not seem to have any arm
specific code and it doesn't fail on any other architecture.

Maybe there is some sort of bug in meson that only manifests
itself on arm?

Marking this as high severity as lots of Gnome ports depend on adwaita.

-- 
You are receiving this mail because:
You are the assignee for the bug.