pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/devel/glib2



I'm afraid, the glib2-libelf-issue is still not fixed. I'm sure
someone upstream needs to learn autoconf:

checking for LIBELF... no
checking for elf_begin in -lelf... yes
checking for elf_getshdrstrndx in -lelf... no
checking for elf_getshdrnum in -lelf... no
checking libelf.h usability... no
checking libelf.h presence... no
checking for libelf.h... no

Yet none of these tests seem to be used later on. Especially
elf_getshdrstrndx and elf_getshdrnum are used unconditionally. These
are functions missing from Solaris' libelf. Even after running "bmake
configure", forcing "#define HAVE_LIBELF 0" and resume build, I get

Undefined                       first referenced
 symbol                             in file
elf_getshdrstrndx                   gresource-gresource-tool.o
elf_getshdrnum                      gresource-gresource-tool.o
ld: fatal: Symbol referencing errors. No output written to .libs/gresource
collect2: error: ld returned 1 exit status

As I don't want to get on your nerves any longer (with this issue :),
I added this as a local patch and fixed my local PLIST accordingly:

--- gio/Makefile.in     2012/07/23 08:52:34     1.1
+++ gio/Makefile.in     2012/07/23 08:52:42
@@ -76,7 +76,7 @@
 @OS_COCOA_TRUE@am__append_21 = -framework Foundation
 bin_PROGRAMS = gio-querymodules$(EXEEXT) glib-compile-schemas$(EXEEXT) \
        glib-compile-resources$(EXEEXT) gsettings$(EXEEXT) \
-       gdbus$(EXEEXT) gresource$(EXEEXT)
+       gdbus$(EXEEXT)
 subdir = gio
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4macros/gtk-doc.m4 \


-- 
Joern Clausen
http://thebloeg.blogspot.com/
http://www.oe-files.de/photography/



Home | Main Index | Thread Index | Old Index