Package Details: gtk2 2.24.33-5

Git Clone URL: https://aur.archlinux.org/gtk2.git (read-only, click to copy)
Package Base: gtk2
Description: GObject-based multi-platform GUI toolkit (legacy)
Upstream URL: https://www.gtk.org/
Licenses: LGPL-2.1-or-later
Provides: libgailutil.so, libgdk-x11-2.0.so, libgtk-x11-2.0.so
Submitter: City-busz
Maintainer: City-busz
Last Packager: City-busz
Votes: 33
Popularity: 25.68
First Submitted: 2025-10-28 08:37 (UTC)
Last Updated: 2025-10-28 09:01 (UTC)

Latest Comments

1 2 3 Next › Last »

D3SOX commented on 2025-11-15 18:20 (UTC)

No, only adding that fails with the same gettext msgfmt error

Lone_Wolf commented on 2025-11-15 18:18 (UTC)

I notice 2 changes there : disabling LTO and reducing optimization level .

Has just using options=(!lto) been tested ?

D3SOX commented on 2025-11-15 17:21 (UTC)

Claude already suggested using -j1 didn't make a difference. Not sure if you read my comment about the working PKGBUILD

andreas_baumann commented on 2025-11-15 12:59 (UTC) (edited on 2025-11-15 13:05 (UTC) by andreas_baumann)

Interesting, borked toolchain and/or memory issues (or general hardware issues) come to my mind now.. :-)

I also built in a new chroot with gcc 15.2.1, so I doubt it is the toolchain..

gdb info <pid> should give some info, with debug symbols maybe there is a stacktrace, where the thing fails. Also, you can try to build with '-j1' in makepkg.conf instead of parallel, maybe the presure on the system is lower, so the build has a chance to succeed.

D3SOX commented on 2025-11-15 12:56 (UTC)

Sat 2025-11-15 12:52:14 CET  996237 1000 1000 SIGSEGV none     /usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/cc1                                   -
Sat 2025-11-15 12:56:42 CET 1059820 1000 1000 SIGSEGV none     /usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/lto1                                  -

andreas_baumann commented on 2025-11-15 12:49 (UTC)

make[2]: *** [Makefile:338: te.gmo] Aborted (core dumped)

What's coredumpctl telling you about this core dump? Is there something in the journal of the build machine?

D3SOX commented on 2025-11-15 12:47 (UTC) (edited on 2025-11-15 12:53 (UTC) by D3SOX)

Not sure how that helps. If I'd want a build, I could get still get one using downgrade from the official mirrors. Here's my makepkg.conf for reference

FabioLolix commented on 2025-11-15 12:42 (UTC) (edited on 2025-11-15 12:43 (UTC) by FabioLolix)

My build log https://raw.githubusercontent.com/FabioLolix/buildlogs/refs/heads/main/20s/2025/gtk2-2.24.33-5-x86_64-build.log

builded package https://sourceforge.net/projects/fabiololix-os-archive/files/Packages/

D3SOX commented on 2025-11-15 12:35 (UTC) (edited on 2025-11-15 12:40 (UTC) by D3SOX)

I get what you are saying now and I have used this before. But it produces the same output

paru -G gtk2
cd gtk2
extra-x86_64-build -r build
[...]
file=./`echo yi | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -c -o $file yi.po
file=./`echo zh_CN | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -c -o $file zh_CN.po
file=./`echo zh_HK | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -c -o $file zh_HK.po
file=./`echo zh_TW | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -c -o $file zh_TW.po
make[2]: *** [Makefile:338: te.gmo] Aborted (core dumped)
make[2]: Leaving directory '/build/gtk2/src/gtk/po-properties'
make[1]: *** [Makefile:742: all-recursive] Error 1
make[1]: Leaving directory '/build/gtk2/src/gtk'
make: *** [Makefile:634: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/nico/gtk2/build/extra-x86_64/nico/build

Sadly that doesn't help why it doesn't build on my system

FabioLolix commented on 2025-11-15 12:31 (UTC)

sudo pacman -S devtools

run extra-x86_64-build in the same folder of the pkgbuild, you can specify a build dir with -r (that dir will not clear itself, either remove it manually or it will be overwritten the next time you use it)

This will build the package in a clean chroot against the lastest packages (not the one you have installed)