! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
relink 'libxfce4uiglade.la' error building libxfce4ui
Status:
RESOLVED: INVALID
Product:
Libxfce4ui
Component:
General

Comments

Description Dan MacDonald 2017-12-31 13:25:34 CET
I am trying to build XFCE git under Arch because I want gtk3 / hidpi support. I successfully built and installed xfce4-dev-tools-git, libxfce4util-git and xfconf-devel from the AUR but when trying to build libxfce4ui-git I get this error:

make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/home/dan/.cache/pacaur/libxfce4ui-git/pkg/glade-gtk2-plugin-libxfce4ui-git/usr/share/glade3/catalogs'
 /usr/bin/install -c -m 644 libxfce4ui.xml '/home/dan/.cache/pacaur/libxfce4ui-git/pkg/glade-gtk2-plugin-libxfce4ui-git/usr/share/glade3/catalogs'
 /usr/bin/mkdir -p '/home/dan/.cache/pacaur/libxfce4ui-git/pkg/glade-gtk2-plugin-libxfce4ui-git/usr/lib/glade3/modules'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libxfce4uiglade.la '/home/dan/.cache/pacaur/libxfce4ui-git/pkg/glade-gtk2-plugin-libxfce4ui-git/usr/lib/glade3/modules'
libtool: warning: relinking 'libxfce4uiglade.la'
libtool: install: (cd /home/dan/.cache/pacaur/libxfce4ui-git/src/libxfce4ui/glade; /bin/sh "/home/dan/.cache/pacaur/libxfce4ui-git/src/libxfce4ui/libtool"  --silent --tag CC --mode=relink gcc -pthread -I/usr/include/libgladeui-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -no-undefined -avoid-version -module -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,--as-needed -Wl,-O1 -o libxfce4uiglade.la -rpath /usr/lib/glade3/modules libxfce4uiglade_la-libxfce4ui-glade.lo ../libxfce4ui/libxfce4ui-1.la -lxfce4util -lglib-2.0 -lgladeui-1 -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 -lglib-2.0 -lfontconfig -lfreetype -lxml2 -inst-prefix-dir /home/dan/.cache/pacaur/libxfce4ui-git/pkg/glade-gtk2-plugin-libxfce4ui-git)
/usr/bin/ld: cannot find -lxfce4ui-1
collect2: error: ld returned 1 exit status
libtool:   error: error: relink 'libxfce4uiglade.la' with the above command before installing it
make[2]: *** [Makefile:619: install-glademoduleLTLIBRARIES] Error 1
make[2]: Leaving directory '/home/dan/.cache/pacaur/libxfce4ui-git/src/libxfce4ui/glade'
make[1]: *** [Makefile:897: install-am] Error 2
make[1]: Leaving directory '/home/dan/.cache/pacaur/libxfce4ui-git/src/libxfce4ui/glade'
make: *** [Makefile:736: install-recursive] Error 1
==> ERROR: A failure occurred in package_glade-gtk2-plugin-libxfce4ui-git().
    Aborting...
:: glade-gtk2 is now an orphan package
:: python2-gobject2 is now an orphan package
:: vala is now an orphan package
:: failed to build libxfce4ui-git package(s)
Comment 1 Skunnyk editbugs 2018-01-02 18:30:56 CET
I think it's because libxfce4ui-git from AUR is a split package.
It seems that you don't have libxfce4ui installed at all, so when it try to build the glade-gtk2-plugin-libxfce4ui-git subpackage, so it fails. 
If you already have the libxfce4ui-git package installed, then it can build the subpackage… 
Dependency loop :)

Bug #14132

Reported by:
Dan MacDonald
Reported on: 2017-12-31
Last modified on: 2019-05-04

People

Assignee:
Nick Schermer
CC List:
3 users

Version

Attachments

Additional information