pkgsrc-Users archive

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

gnutls vs. PAX MPROTECT on i386-current?



As of pkgsrc-2016Q3, trying to build "net/libsoup" on i386-current
(7.99.39 via TNF snapshot of 201610010040Z) fails during configure with:

[...]
checking for glib-networking (glib TLS implementation)... no
configure: error: libsoup requires glib-networking for TLS support.

If you are building a package, you can pass --disable-tls-check to
allow building libsoup anyway (since glib-networking is not actually
required at compile time), but you should be sure to add a runtime
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
[...]

The relevant excerpt from "libsoup"s "config.log" file:

[...]
configure:13625: checking for glib-networking (glib TLS implementation)
configure:13636: gcc -o conftest -O2 -I/usr/include -I/usr/pkg/include -I/usr/pk
g/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthr
ead   -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_38 -I/usr/include -I/usr/pkg/in
clude -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -L
/usr/pkg/lib -lgio-2.0 -lgobject-2.0 -Wl,-R/usr/pkg/lib -lglib-2.0 -lintl   >&5
configure:13636: $? = 0
configure:13636: ./conftest
/usr/pkg/lib/libgnutls.so.30: text relocations
/usr/pkg/lib/libgnutls.so.30: Cannot write-enable text segment: Permission denied
Failed to load module: /usr/pkg/lib/gio/modules/libgiognutls.so
configure:13636: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libsoup"
| #define PACKAGE_TARNAME "libsoup"
| #define PACKAGE_VERSION "2.54.1"
| #define PACKAGE_STRING "libsoup 2.54.1"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=libsoup";
| #define PACKAGE_URL ""
| #define PACKAGE "libsoup"
| #define VERSION "2.54.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define GETTEXT_PACKAGE "libsoup"
| #define HAVE_GMTIME_R 1
| #define HAVE_GNOME 1
| /* end confdefs.h.  */
| #include <gio/gio.h>
| int
| main ()
| {
| return !g_tls_backend_supports_tls (g_tls_backend_get_default ());
|   ;
|   return 0;
| }
configure:13647: result: no
configure:13661: error: libsoup requires glib-networking for TLS support.
[...]


I've also seen the same messages about text relocations and writable
text segment issues for gnutls during the build of "gobject-introspection",
but these seem to have been non-fatal.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index