pkgsrc-Bugs archive

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

Re: pkg/54555: security/gnutls 3.6.9 runs afoul of PAX MPROTECT and text relocations on netbsd-9/i386



The following reply was made to PR pkg/54555; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%consolidated.net@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/54555: security/gnutls 3.6.9 runs afoul of PAX MPROTECT and
 text relocations on netbsd-9/i386
Date: Sun, 29 Sep 2019 10:48:50 -0500 (CDT)

 On i386-current (9.99.12), "gimp", "sane-frontends" and "xsane" all fail
 in the configure phase claiming not to have found "glib-networking"
 (gimp example):
 
 
 checking for glib-networking (GIO TLS implementation)... no
 configure: Eeeeeeeeeeeeeeeeeeeeek! Missing dep: glib-networking
 [...]
 Error: GIMP configuration failed.
 
   - Error: missing dependency glib-networking
       *** Test for glib-networking failed. This is required.
 
 See the file 'INSTALL' for more help.
 *** Error code 1
 
 Stop.
 make[1]: stopped in /x/pkgsrc/graphics/gimp
 *** Error code 1
 
 Stop.
 make: stopped in /x/pkgsrc/graphics/gimp
 
 
 although "glib-networking" is installed and up to date.
 
 Looking at gimp's config.log file shows this is more i386-gnutls fallout
 (PR pkg/54555):
 
 [...]
 configure:24128: checking for glib-networking (GIO TLS implementation)
 configure:24148: gcc -o conftest -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Werror=missing-prototypes  -Wmissing-declarations -Winit-self -Wpointer-arith  -Wmissing-format-attribute -Wformat-security -Wlogical-op -Wtype-limits -fno-common -fdiagnostics-show-option -Wreturn-type   -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -pthread  -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Wl,-E -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib conftest.c -lexecinfo  -L/usr/pkg/lib -lgio-2.0 -lgobject-2.0 -lintl -Wl,-R/usr/pkg/lib -lglib-2.0  >&5
 configure:24148: $? = 0
 configure:24148: ./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:24148: $? = 1
 configure: program exited with status 1
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "GIMP"
 | #define PACKAGE_TARNAME "gimp"
 | #define PACKAGE_VERSION "2.10.12"
 | #define PACKAGE_STRING "GIMP 2.10.12"
 | #define PACKAGE_BUGREPORT "https://gitlab.gnome.org/GNOME/gimp/issues/new";
 | #define PACKAGE_URL ""
 | #define GIMP_PKGCONFIG_VERSION "2.0"
 | #define GIMP_TOOL_VERSION "2.0"
 | #define GETTEXT_PACKAGE "gimp20"
 | #define HAVE_CXX14 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 ARCH_X86 1
 | #define STDC_HEADERS 1
 | #define HAVE_SYS_WAIT_H 1
 | #define TIME_WITH_SYS_TIME 1
 | #define HAVE_EXECINFO_H 1
 | #define HAVE_FCNTL_H 1
 | #define HAVE_SYS_PARAM_H 1
 | #define HAVE_SYS_TIME_H 1
 | #define HAVE_SYS_TIMES_H 1
 | #define HAVE_SYS_WAIT_H 1
 | #define HAVE_UNISTD_H 1
 | #define HAVE_LIBEXECINFO 1
 | #define HAVE_VPRINTF 1
 | #define HAVE_ALLOCA 1
 | #define HAVE_FSYNC 1
 | #define HAVE_DIFFTIME 1
 | #define HAVE_MMAP 1
 | #define HAVE_LOCALE_H 1
 | #define HAVE_LC_MESSAGES 1
 | #define HAVE_BIND_TEXTDOMAIN_CODESET 1
 | #define HAVE_GETTEXT 1
 | #define HAVE_DCGETTEXT 1
 | #define ENABLE_NLS 1
 | /* end confdefs.h.  */
 | #include <gio/gio.h>
 | int
 | main ()
 | {
 | return !g_tls_backend_supports_tls (g_tls_backend_get_default ());
 |   ;
 |   return 0;
 | }
 configure:24159: result: no
 configure:24164: Eeeeeeeeeeeeeeeeeeeeek! Missing dep: glib-networking
 [...]
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  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