NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.05k stars 14.09k forks source link

Build failure: font-manager #310065

Closed danielgafni closed 6 months ago

danielgafni commented 6 months ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. build font-manager

Just normally using home-manager

Build log

error: builder for '/nix/store/q7yjb9yhxq2n2lzfihd12mswpr8igi3i-font-manager-0.8.8.drv' failed with exit code 1;
       last 25 log lines:
       > cc1: note: unrecognized command-line option '-Wno-incompatible-function-pointer-types' may have been intended to silence earlier diagnostics
       > cc1: note: unrecognized command-line option '-Wno-incompatible-function-pointer-types' may have been intended to silence earlier diagnostics
       > cc1: note: unrecognized command-line option '-Wno-incompatible-function-pointer-types' may have been intended to silence earlier diagnostics
       > cc1: note: unrecognized command-line option '-Wno-incompatible-function-pointer-types' may have been intended to silence earlier diagnostics
       > cc1: note: unrecognized command-line option '-Wno-incompatible-function-pointer-types' may have been intended to silence earlier diagnostics
       > cc1: note: unrecognized command-line option '-Wno-incompatible-function-pointer-types' may have been intended to silence earlier diagnostics
       > cc1: note: unrecognized command-line option '-Wno-incompatible-function-pointer-types' may have been intended to silence earlier diagnostics
       > cc1: note: unrecognized command-line option '-Wno-incompatible-function-pointer-types' may have been intended to silence earlier diagnostics
       > cc1: note: unrecognized command-line option '-Wno-incompatible-function-pointer-types' may have been intended to silence earlier diagnostics
       > cc1: note: unrecognized command-line option '-Wno-incompatible-function-pointer-types' may have been intended to silence earlier diagnostics
       > cc1: note: unrecognized command-line option '-Wno-incompatible-function-pointer-types' may have been intended to silence earlier diagnostics
       > cc1: note: unrecognized command-line option '-Wno-incompatible-function-pointer-types' may have been intended to silence earlier diagnostics
       > cc1: note: unrecognized command-line option '-Wno-incompatible-function-pointer-types' may have been intended to silence earlier diagnostics
       > [150/195] Compiling Vala source ../config.vapi lib/common/font-manager-common.vapi lib/unicode/Unicode-0.8.8.vapi ../src/font-manager/About.vala ../src/font-manager/Application.vala ../src/font-manager/ArchiveManager.vala ../src/font-manager/BaseTreeView.vala ../src/font-manager/Browse.vala ../src/font-manager/Cacheable.vala ../src/font-manager/Categories.vala ../src/font-manager/CellRenderer.vala ../src/font-manager/Collections.vala ../src/font-manager/Compare.vala ../src/font-manager/Controls.vala ../src/font-manager/DatabaseProxy.vala ../src/font-manager/Dialogs.vala ../src/font-manager/FontList.vala ../src/font-manager/Library.vala ../src/font-manager/MainWindow.vala ../src/font-manager/Orthographies.vala ../src/font-manager/Orthography.vala ../src/font-manager/SearchProvider.vala ../src/font-manager/Sidebar.vala ../src/font-manager/TitleBar.vala ../src/font-manager/UserData.vala ../src/font-manager/Utils.vala ../src/font-manager/filters/Category.vala ../src/font-manager/filters/Collection.vala ../src/font-manager/filters/Disabled.vala ../src/font-manager/filters/FontListFilter.vala ../src/font-manager/filters/LanguageFilter.vala ../src/font-manager/filters/Unsorted.vala ../src/font-manager/filters/UserFonts.vala ../src/font-manager/preferences/Desktop.vala ../src/font-manager/preferences/Fontconfig.vala ../src/font-manager/preferences/Preferences.vala ../src/font-manager/preferences/UserActions.vala ../src/font-manager/preferences/UserInterface.vala ../src/font-manager/preferences/UserSources.vala ../src/font-manager/web/google/Filters.vala ../src/font-manager/web/google/FontList.vala ../src/font-manager/web/google/GoogleFonts.vala ../src/font-manager/web/google/Language.vala ../src/font-manager/web/google/PreviewPane.vala ../src/font-manager/web/google/WebFont.vala ../src/font-manager/web/google/Weight.vala
       > FAILED: src/font-manager/font-manager.p/About.c src/font-manager/font-manager.p/Application.c src/font-manager/font-manager.p/ArchiveManager.c src/font-manager/font-manager.p/BaseTreeView.c src/font-manager/font-manager.p/Browse.c src/font-manager/font-manager.p/Cacheable.c src/font-manager/font-manager.p/Categories.c src/font-manager/font-manager.p/CellRenderer.c src/font-manager/font-manager.p/Collections.c src/font-manager/font-manager.p/Compare.c src/font-manager/font-manager.p/Controls.c src/font-manager/font-manager.p/DatabaseProxy.c src/font-manager/font-manager.p/Dialogs.c src/font-manager/font-manager.p/FontList.c src/font-manager/font-manager.p/Library.c src/font-manager/font-manager.p/MainWindow.c src/font-manager/font-manager.p/Orthographies.c src/font-manager/font-manager.p/Orthography.c src/font-manager/font-manager.p/SearchProvider.c src/font-manager/font-manager.p/Sidebar.c src/font-manager/font-manager.p/TitleBar.c src/font-manager/font-manager.p/UserData.c src/font-manager/font-manager.p/Utils.c src/font-manager/font-manager.p/filters/Category.c src/font-manager/font-manager.p/filters/Collection.c src/font-manager/font-manager.p/filters/Disabled.c src/font-manager/font-manager.p/filters/FontListFilter.c src/font-manager/font-manager.p/filters/LanguageFilter.c src/font-manager/font-manager.p/filters/Unsorted.c src/font-manager/font-manager.p/filters/UserFonts.c src/font-manager/font-manager.p/preferences/Desktop.c src/font-manager/font-manager.p/preferences/Fontconfig.c src/font-manager/font-manager.p/preferences/Preferences.c src/font-manager/font-manager.p/preferences/UserActions.c src/font-manager/font-manager.p/preferences/UserInterface.c src/font-manager/font-manager.p/preferences/UserSources.c src/font-manager/font-manager.p/web/google/Filters.c src/font-manager/font-manager.p/web/google/FontList.c src/font-manager/font-manager.p/web/google/GoogleFonts.c src/font-manager/font-manager.p/web/google/Language.c src/font-manager/font-manager.p/web/google/PreviewPane.c src/font-manager/font-manager.p/web/google/WebFont.c src/font-manager/font-manager.p/web/google/Weight.c
       > valac -C -D HAVE_WEBKIT --pkg webkit2gtk-4.0 --pkg libsoup-2.4 --pkg libxml-2.0 --pkg sqlite3 --pkg pango --pkg gtk+-3.0 --pkg gobject-2.0 --pkg gmodule-2.0 --target-glib ' 2.62' --pkg glib-2.0 --pkg gio-unix-2.0 --pkg gio-2.0 --pkg json-glib-1.0 --color=always --directory src/font-manager/font-manager.p --basedir ../src/font-manager --gresources=../src/font-manager/font-manager-gresources.xml --gresourcesdir=src/font-manager/../src/font-manager ../config.vapi lib/common/font-manager-common.vapi lib/unicode/Unicode-0.8.8.vapi ../src/font-manager/About.vala ../src/font-manager/Application.vala ../src/font-manager/ArchiveManager.vala ../src/font-manager/BaseTreeView.vala ../src/font-manager/Browse.vala ../src/font-manager/Cacheable.vala ../src/font-manager/Categories.vala ../src/font-manager/CellRenderer.vala ../src/font-manager/Collections.vala ../src/font-manager/Compare.vala ../src/font-manager/Controls.vala ../src/font-manager/DatabaseProxy.vala ../src/font-manager/Dialogs.vala ../src/font-manager/FontList.vala ../src/font-manager/Library.vala ../src/font-manager/MainWindow.vala ../src/font-manager/Orthographies.vala ../src/font-manager/Orthography.vala ../src/font-manager/SearchProvider.vala ../src/font-manager/Sidebar.vala ../src/font-manager/TitleBar.vala ../src/font-manager/UserData.vala ../src/font-manager/Utils.vala ../src/font-manager/filters/Category.vala ../src/font-manager/filters/Collection.vala ../src/font-manager/filters/Disabled.vala ../src/font-manager/filters/FontListFilter.vala ../src/font-manager/filters/LanguageFilter.vala ../src/font-manager/filters/Unsorted.vala ../src/font-manager/filters/UserFonts.vala ../src/font-manager/preferences/Desktop.vala ../src/font-manager/preferences/Fontconfig.vala ../src/font-manager/preferences/Preferences.vala ../src/font-manager/preferences/UserActions.vala ../src/font-manager/preferences/UserInterface.vala ../src/font-manager/preferences/UserSources.vala ../src/font-manager/web/google/Filters.vala ../src/font-manager/web/google/FontList.vala ../src/font-manager/web/google/GoogleFonts.vala ../src/font-manager/web/google/Language.vala ../src/font-manager/web/google/PreviewPane.vala ../src/font-manager/web/google/WebFont.vala ../src/font-manager/web/google/Weight.vala
       > ../src/font-manager/ArchiveManager.vala:26.97-26.106: error: internal: invalid array_length for given dimension
       >    26 |     public abstract void add_to_archive (string archive, [CCode (array_null_terminated = true)] string? [] uris, bool use_progress_dialog) throws DBusError, IOError;
       >       |                                                                                                 ^~~~~~~~~~
       > ../src/font-manager/ArchiveManager.vala:27.75-27.84: error: internal: invalid array_length for given dimension
       >    27 |     public abstract void compress ([CCode (array_null_terminated = true)] string? [] uris, string destination, bool use_progress_dialog) throws DBusError, IOError;
       >       |                                                                           ^~~~~~~~~~
       > Compilation failed: 2 error(s), 0 warning(s)
       > [151/195] Linking target src/font-viewer/font-viewer
       > ninja: build stopped: subcommand failed.
       For full logs, run 'nix log /nix/store/q7yjb9yhxq2n2lzfihd12mswpr8igi3i-font-manager-0.8.8.drv'.
error (ignored): error: cannot unlink '/tmp/nix-build-eww-+d1fde92.drv-0': Directory not empty
error: 1 dependencies of derivation '/nix/store/x6lzrhc0c9kw5ygcza8m86gab4xksjmw-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/appqq7s110p2icp01n4rbr7hikgvp7ph-home-manager-generation.drv' failed to build

Notify maintainers

@romildo

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
 - host os: `Linux 6.6.28, NixOS, 24.05 (Uakari), 24.05.20240425.7bb2ccd`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"home-manager, nixos-23.11"`
 - nixpkgs: `/nix/store/370qy3d3wg9zhbn5a3dcv6k1q1iigfh4-source````

Add a :+1: reaction to issues you find important.

eclairevoyant commented 6 months ago

https://nixpk.gs/pr-tracker.html?pr=309290 It's not landed in nixos-unstable yet, but all there is to do is wait.

danielgafni commented 5 months ago

The PR is marked as merged in the above tracker URL, but the build is still failing with the same error. Am I missing anything?