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: 65
Popularity: 1.26
First Submitted: 2021-05-13 12:47 (UTC)
Last Updated: 2024-04-03 12:46 (UTC)

Latest Comments

1 2 Next › Last »

mikearch commented on 2024-09-09 19:20 (UTC) (edited on 2024-09-09 19:21 (UTC) by mikearch)

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

MarsSeed commented on 2024-03-16 19:12 (UTC) (edited on 2024-03-16 19:13 (UTC) by MarsSeed)

Hi,

I'd like to ask you to please follow Debian's example and kindly remove the unneeded python2 opt/make depends, and the following envvar from before ./configure execution inside build():

PYTHON=/usr/bin/python2

Because this was only useful 23+ years ago (pre-2001) to include a libglade-convert script for Glade developers who wanted to convert their even-older Glade scripts to ones that are compatible with the current libglade v2.x.

Thank you in advance if you make this change. It would make it easier to rebuild and reinstall and maintain package dependency chains in the future.

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