-
-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Open
Labels
linuxLinux is specifically affectedLinux is specifically affected
Description
brew config AND brew doctor output OR brew gist-logs <formula> link
brew config
HOMEBREW_VERSION: 5.0.5
ORIGIN: https://github.com/Homebrew/brew
HEAD: 70badad488056fb48cf687aa777f2880aac58fe9
Last commit: 3 days ago
Branch: stable
Core tap JSON: 11 Dec 00:14 UTC
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: :0
HOMEBREW_DOWNLOAD_CONCURRENCY: 32
HOMEBREW_FORBID_PACKAGES_FROM_PATHS: set
HOMEBREW_MAKE_JOBS: 16
Homebrew Ruby: 3.4.7 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.4.7/bin/ruby
CPU: 16-core 64-bit zen4
Clang: 21.1.7
Git: 2.43.0 => /bin/git
Curl: 8.5.0 => /bin/curl
Kernel: Linux 6.14.0-37-generic x86_64 GNU/Linux
OS: Linux Mint 22.2 (zara)
Host glibc: 2.39
Host libstdc++: 6.0.33
/usr/bin/gcc: 13.3.0
/usr/bin/ruby: N/A
glibc: N/A
gcc@12: N/A
gcc: N/A
xorg: N/A
brew doctor
Your system is ready to brew.Verification
- My
brew doctoroutput saysYour system is ready to brew.and am still able to reproduce my issue. - I ran
brew updateand am still able to reproduce my issue. - I have resolved all warnings from
brew doctorand that did not fix my problem. - I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.
- My issue is not about a failure to build a formula from source.
What were you trying to do (and why)?
Install evince & gnome-papers, those 2 apps do not open.
What happened (include all command output)?
Before running from console.
export XDG_DATA_DIRS=/home/linuxbrew/.linuxbrew/share:$XDG_DATA_DIRS
evince gives:
...
(org.gnome.Evince:24832): Gtk-CRITICAL **: 08:59:42.248: Unable to load resource for composite template for type 'GtkSearchBar': The resource at “/org/gtk/libgtk/ui/gtksearchbar.ui” does not exist
...
gnome-papers gives:
...
(papers:39232): Gtk-CRITICAL **: 09:08:09.267: Unable to load resource for composite template for type 'AdwStatusPage': The resource at “/org/gnome/Adwaita/ui/adw-status-page.ui” does not exist
...
(papers:44105): Gtk-CRITICAL **: 09:11:43.491: Unable to load resource for composite template for type 'PpsView': The resource at “/org/gnome/papers/ui/view.ui” does not exist
...
evince error can be solved by source building gtk+3, while gnome-papaers errors can be solved by source building libadwaita & gnome-papers. Then both apps work.
File info of homebrew ones:
$ ls -alh /home/linuxbrew/.linuxbrew/Cellar/gtk+3/3.24.51/lib/libgtk-3.so.0.2419.32
-r-xr-xr-x 1 gonwan gonwan 8.4M Dec 11 08:15 /home/linuxbrew/.linuxbrew/Cellar/gtk+3/3.24.51/lib/libgtk-3.so.0.2419.32
$ ls -alh /home/linuxbrew/.linuxbrew/Cellar/libadwaita/1.8.2/lib/libadwaita-1.so.0
-r-xr-xr-x 1 gonwan gonwan 2.5M Dec 11 08:21 /home/linuxbrew/.linuxbrew/Cellar/libadwaita/1.8.2/lib/libadwaita-1.so.0
File info of source building ones:
$ ls -alh /home/linuxbrew/.linuxbrew/Cellar/gtk+3/3.24.51/lib/libgtk-3.so.0.2419.32
-r-xr-xr-x 1 gonwan gonwan 11M Dec 11 08:32 /home/linuxbrew/.linuxbrew/Cellar/gtk+3/3.24.51/lib/libgtk-3.so.0.2419.32
$ ls -alh /home/linuxbrew/.linuxbrew/Cellar/libadwaita/1.8.2/lib/libadwaita-1.so.0
-r-xr-xr-x 1 gonwan gonwan 2.7M Dec 11 08:32 /home/linuxbrew/.linuxbrew/Cellar/libadwaita/1.8.2/lib/libadwaita-1.so.0
They are different in size, and I am not able to find other difference with nm or objdump. Source building works on both Linuxmint 21.3(gcc-11) & Linuxmint 22.2 (gcc-13). gtk/libadwaita just fails to load ui resources in current homebrew build. The ui resources are transpiled into plain C source files, and built into binaries.
What did you expect to happen?
evince & gnome-papers just work.
Step-by-step reproduction instructions (by running brew commands)
...Metadata
Metadata
Assignees
Labels
linuxLinux is specifically affectedLinux is specifically affected