Package Details: lib32-libidl2 0.8.14-4

Git Clone URL: https://aur.archlinux.org/lib32-libidl2.git (read-only)
Package Base: lib32-libidl2
Description: A front-end for CORBA 2.2 IDL and Netscape's XPIDL (32 bit)
Upstream URL: http://www.gnome.org/
Licenses: LGPL
Submitter: thr
Maintainer: thr
Last Packager: thr
Votes: 2
Popularity: 0.019754
First Submitted: 2015-10-01 13:51
Last Updated: 2016-06-09 01:52

Latest Comments

Tom_G commented on 2016-05-23 14:11

I had the same issue. I looks like it is using the 64 bit pkgconfig path. The patch below fixed it for me.

diff --git a/PKGBUILD b/PKGBUILD
index 8a183ba..22c2353 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,7 @@ options=('!libtool' '!emptydirs')
build() {
cd libIDL-$pkgver

- ./configure --prefix=/usr --libdir=/usr/lib32 CC='gcc -m32'
+ ./configure --prefix=/usr --libdir=/usr/lib32 CC='gcc' CFLAGS='-m32' PKG_CONFIG_PATH='/usr/lib32/pkgconfig/'
make
}

faultylee commented on 2016-05-16 09:03

I'm getting the following error when building. I then tested gcc without "-m32", build successful, but I need the x86 version. Dependency issue?

GEN parser.c
CC libIDL_2_la-parser.lo
In file included from /usr/lib/glib-2.0/include/glibconfig.h:9:0,
from /usr/include/glib-2.0/glib/gtypes.h:32,
from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from util.h:35,
from ./parser.y:33:
/usr/include/glib-2.0/glib/gtypes.h: In function ‘_GLIB_CHECKED_ADD_U64’:
/usr/include/glib-2.0/glib/gmacros.h:232:53: error: size of array ‘_GStaticAssertCompileTimeAssertion_0’ is negative
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] G_GNUC_UNUSED
^
/usr/include/glib-2.0/glib/gmacros.h:229:47: note: in definition of macro ‘G_PASTE_ARGS’
#define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2
^~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:232:44: note: in expansion of macro ‘G_PASTE’
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] G_GNUC_UNUSED
^~~~~~~
/usr/include/glib-2.0/glib/gtypes.h:422:3: note: in expansion of macro ‘G_STATIC_ASSERT’
G_STATIC_ASSERT(sizeof (unsigned long long) == sizeof (guint64));
^~~~~~~~~~~~~~~
./parser.y: In function ‘__IDL_parse’:
./parser.y:901:11: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
IDL_tree p, literal;
^
./parser.y:1355:29: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘IDL_longlong_t {aka long int}’ [-Wformat=]
yywarningv (IDL_WARNING1, "Cannot use negative value %"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./parser.y:1355:29: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘IDL_longlong_t {aka long int}’ [-Wformat=]
Makefile:535: recipe for target 'libIDL_2_la-parser.lo' failed
make[2]: *** [libIDL_2_la-parser.lo] Error 1
make[2]: Leaving directory '/home/faulty/.cache/pacaur/lib32-libidl2/src/libIDL-0.8.14'
Makefile:750: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/faulty/.cache/pacaur/lib32-libidl2/src/libIDL-0.8.14'
Makefile:366: recipe for target 'all' failed
make: *** [all] Error 2