Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • G gtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Librem5
  • debs
  • gtk
  • Issues
  • #2

Closed
Open
Created Jul 03, 2019 by Guido Gunther@guido.guntherOwner

Fails to build

when building on the devkit it fails like

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../gtk -I.. -DG_LOG_DOMAIN=\"Gtk\" -DG_LOG_USE_STRUCTURED=1 -DGTK_VERSION=\"3.24.8\" -DGTK_BINARY_VERSION=\"3.0.0\" -DGTK_COMPILATION -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -DGTK_LIBDIR=\"/usr/lib/aarch64-linux-gnu\" -DGTK_LOCALEDIR=\"/usr/share/locale\" -DGTK_DATADIR=\"/usr/share\" -DGTK_DATA_PREFIX=\"/usr\" -DGTK_SYSCONFDIR=\"/etc\" -DGTK_HOST=\"aarch64-unknown-linux-gnu\" -DGTK_PRINT_BACKENDS=\"file,cups,cloudprint\" -DX11_DATA_PREFIX=\"/usr\" -DISO_CODES_PREFIX=\"/usr\" -I.. -I../gtk -I../../../.. -I../../../../gdk -pthread -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS -DGLIB_MIN_REQUIRED_VERSION=GLIB_VERSION_2_52 -DGLIB_MAX_ALLOWED_VERSION=GLIB_VERSION_2_54 -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -I/usr/include/libdrm -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -fdebug-prefix-map=/home/purism/pkgs/gtk=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c ../../../../gtk/hdy-view-switcher.c  -fPIC -DPIC -o .libs/libgtk_3_la-hdy-view-switcher.o
../../../../gtk/hdy-view-switcher.c: In function ‘gtk_hdy_view_switcher_class_init’:
../../../../gtk/hdy-view-switcher.c:530:24: error: ‘GTK_TYPE_HDY_VIEW_SWITCHER_POLICY’ undeclared (first use in this function); did you mean ‘GTK_TYPE_HDY_VIEW_SWITCHER_BUTTON’?
                        GTK_TYPE_HDY_VIEW_SWITCHER_POLICY, GTK_HDY_VIEW_SWITCHER_POLICY_AUTO,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        GTK_TYPE_HDY_VIEW_SWITCHER_BUTTON
../../../../gtk/hdy-view-switcher.c:530:24: note: each undeclared identifier is reported only once for each function it appears in

this is where it shows up

$ grep -r GTK_TYPE_HDY_VIEW_SWITCHER_POLICY .
./debian/build/deb/gtk/gtkprivatetypebuiltins.h:#define GTK_TYPE_HDY_VIEW_SWITCHER_POLICY (_gtk_hdy_view_switcher_policy_get_type ())
./gtk/hdy-view-switcher-bar.c:                       GTK_TYPE_HDY_VIEW_SWITCHER_POLICY, GTK_HDY_VIEW_SWITCHER_POLICY_NARROW,
./gtk/hdy-view-switcher.c:                       GTK_TYPE_HDY_VIEW_SWITCHER_POLICY, GTK_HDY_VIEW_SWITCHER_POLICY_AUTO,
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking