Package Details: libglade 2.6.4-8

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: 59
Popularity: 1.40
First Submitted: 2021-05-13 12:47 (UTC)
Last Updated: 2021-07-12 21:02 (UTC)

Latest Comments

1 2 Next › Last »

Rulatir commented on 2022-11-17 22:22 (UTC)

Experiencing the same issue with the xmlcatalog command. Is any workaround known at this time that will make this package build rather than not build? It is required by driconf, and I want driconf.

Lone_Wolf commented on 2022-02-19 12:06 (UTC) (edited on 2022-02-19 12:07 (UTC) by Lone_Wolf)

Full content of glade.install below .

If you look at the libglade.spec file (from upstream and intended to be used in creating rpm builds) in the source ptarball you see similar commands in %post section .

I'm inclined to interpret that as : upstream wants downstream to run those commands at postinstall , not at build or packaging stage .

The commands themselves LOOK like they could be done in the PKGBUILD though. Feel free to test if it works that way and inform us.

post_install() {
  if [ ! -d etc/xml ]; then
    mkdir -p etc/xml
  fi
  if [ ! -e etc/xml/catalog ]; then
    xmlcatalog --noout --create etc/xml/catalog
  fi
  xmlcatalog --noout --add "system" \
    "http://glade.gnome.org/glade-2.0.dtd" \
    /usr/share/xml/libglade/glade-2.0.dtd etc/xml/catalog
}

pre_upgrade() {
  post_remove
}

post_upgrade() {
  post_install $1
}

# arg 1:  the old package version
post_remove() {
  xmlcatalog --noout --del \
    /usr/share/xml/libglade/glade-2.0.dtd etc/xml/catalog
}

xuanruiqi commented on 2022-02-18 15:28 (UTC)

I can't answer this because I have no idea about the libglade build process. Maybe someone more knowledgeable about libglade could answer.

synthead commented on 2022-02-18 06:37 (UTC)

In the .install file, you have:

  xmlcatalog --noout --add "system" \
    "http://glade.gnome.org/glade-2.0.dtd" \
    /usr/share/xml/libglade/glade-2.0.dtd etc/xml/catalog

Is this something that could be installed via the PKGBUILD and tracked in the package instead?

katt commented on 2021-11-08 13:50 (UTC)

@thebombzen You're expected to have base-devel installed when using AUR, so patch shouldn't be included as makedepends. https://wiki.archlinux.org/title/Arch_User_Repository#Prerequisites

Traneptora commented on 2021-11-08 13:46 (UTC)

You're missing patch as a makedepends. I got dinged by this today on a minimal-ish system.

bobfin21 commented on 2021-07-25 16:34 (UTC) (edited on 2021-07-25 16:36 (UTC) by bobfin21)

I realized that I have -fuse-ld=lld added to CFLAGS in makepkg.conf and if I remove that, this package builds fine. So the issue is only when using lld.


logfiles

libglade-2.6.4-8-x86_64-build.log: http://ix.io/3u3U

libglade-2.6.4-8-x86_64-prepare.log: http://ix.io/2DY7

Lone_Wolf commented on 2021-07-25 09:58 (UTC)

No issues here, run makepkg --log and post the logfiles using a pastebin_service

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!