Package Details: libglade 2.6.4-9

Git Clone URL: https://aur.archlinux.org/libglade.git (read-only, click to copy)
Package Base: libglade
Description: Allows you to load glade interface files in a program at runtime
Upstream URL: http://www.gnome.org
Licenses: LGPL
Submitter: yan12125
Maintainer: xuanruiqi
Last Packager: xuanruiqi
Votes: 66
Popularity: 1.48
First Submitted: 2021-05-13 12:47 (UTC)
Last Updated: 2024-04-03 12:46 (UTC)

Latest Comments

« First ‹ Previous 1 2

bobfin21 commented on 2021-07-24 23:44 (UTC)

Build fails with

ld.lld: error: glade/.libs/libglade-2.0.so: undefined reference to g_module_close [--no-allow-shlib-undefined]
ld.lld: error: glade/.libs/libglade-2.0.so: undefined reference to g_module_build_path [--no-allow-shlib-undefined]
ld.lld: error: glade/.libs/libglade-2.0.so: undefined reference to g_module_make_resident [--no-allow-shlib-undefined]
ld.lld: error: glade/.libs/libglade-2.0.so: undefined reference to g_module_symbol [--no-allow-shlib-undefined]
ld.lld: error: glade/.libs/libglade-2.0.so: undefined reference to g_module_supported [--no-allow-shlib-undefined]
ld.lld: error: glade/.libs/libglade-2.0.so: undefined reference to g_module_open [--no-allow-shlib-undefined]
ld.lld: error: glade/.libs/libglade-2.0.so: undefined reference to g_module_error [--no-allow-shlib-undefined]

xuanruiqi commented on 2021-07-12 21:02 (UTC)

Done!

Lone_Wolf commented on 2021-06-22 11:14 (UTC)

I added options=(lto) to the PKGBUILD and get the same error as you, so you are correct this sw doesn't work with lto .

keep in mind though that lto is still off by default on archlinux systems.

taken from pacman 6.0.0-3 /etc/makepkg.conf file :

Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto)

For this package I agree it would be a good idea to block lto specifically in the PKGBUILD .

xuanruiqi , the aurweb issue that blocked changes to packages moved from repos to aur should be solved now.

https://gitlab.archlinux.org/archlinux/aurweb/-/issues/11

katt commented on 2021-06-22 10:27 (UTC)

@Lone_Wolf It's the defaults as of pacman 6, which I use in my chroot via aurutils. The ones in devtools haven't been updated for pacman 6.

Lone_Wolf commented on 2021-06-22 09:37 (UTC)

No issues building with makepkg or in a clean chroot, your build failure is not LTO related.

==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/katt/build

That line suggests you may be using an aur helper, do you get same error when building with makepkg ?

While old libglade is used by many aur packages, including one maintained by me.

katt commented on 2021-06-02 21:49 (UTC)

Fails to build with LTO, could options=(!lto) be added? I assume no one wants to work on this old piece of software :p

 gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"libglade\" -I.. -I/usr/include/libxml2 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -pthread -DGLADE_LIBDIR=\"/usr/lib\" -DGLADE_PREFIX=\"/usr\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -fvar-tracking-assignments -fdebug-prefix-map=/build/libglade/src=/usr/src/debug -flto -Wall -std=c9x -MT glade-parser.lo -MD -MP -MF .deps/glade-parser.Tpo -c glade-parser.c -o glade-parser.o >/dev/null 2>&1
mv -f .deps/glade-init.Tpo .deps/glade-init.Plo
mv -f .deps/glade-gtk.Tpo .deps/glade-gtk.Plo
mv -f .deps/glade-xml.Tpo .deps/glade-xml.Plo
mv -f .deps/glade-parser.Tpo .deps/glade-parser.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -fvar-tracking-assignments -fdebug-prefix-map=/build/libglade/src=/usr/src/debug -flto -Wall -std=c9x -version-info 0:7:0 -export-symbols-regex "^[^_].*" -no-undefined -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o libglade-2.0.la -rpath /usr/lib glade-init.lo glade-xml.lo glade-parser.lo glade-gtk.lo -lxml2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lharfbuzz -lfontconfig -lfreetype -lglib-2.0  
generating symbol list for `libglade-2.0.la'
/usr/bin/nm -B  .libs/glade-init.o .libs/glade-xml.o .libs/glade-parser.o .libs/glade-gtk.o  |  | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libglade-2.0.exp
../libtool: eval: line 4373: syntax error near unexpected token `|'
../libtool: eval: line 4373: `/usr/bin/nm -B  .libs/glade-init.o .libs/glade-xml.o .libs/glade-parser.o .libs/glade-gtk.o  |  | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libglade-2.0.exp'
make[2]: *** [Makefile:329: libglade-2.0.la] Error 2
make[2]: Leaving directory '/build/libglade/src/libglade-2.6.4/glade'
make[1]: *** [Makefile:457: all-recursive] Error 1
make[1]: Leaving directory '/build/libglade/src/libglade-2.6.4'
make: *** [Makefile:284: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/katt/build