[MacPorts] #43285: mod_gnutls fails to install

MacPorts noreply at macports.org
Tue Apr 8 11:51:01 PDT 2014


#43285: mod_gnutls fails to install
--------------------+--------------------------------
 Reporter:  jeff@…  |      Owner:  macports-tickets@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.2.1
 Keywords:          |       Port:  mod_gnutls
--------------------+--------------------------------
 This is a fully patched OS X 10.6 Server install:

 {{{
 $ uname -a
 Darwin www.agecon.ucdavis.edu 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun
 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
 }}}

 Here's the verbose install output:

 {{{
 $ sudo port -v install mod_gnutls
 --->  Computing dependencies for mod_gnutls.
 --->  Fetching archive for mod_gnutls
 --->  mod_gnutls-0.5.10_1.darwin_10.x86_64.tbz2 doesn't seem to exist in
 /opt/local/var/macports/incoming/verified
 --->  Attempting to fetch mod_gnutls-0.5.10_1.darwin_10.x86_64.tbz2 from
 http://lil.fr.packages.macports.org/mod_gnutls
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
 --->  Attempting to fetch mod_gnutls-0.5.10_1.darwin_10.x86_64.tbz2 from
 http://nue.de.packages.macports.org/macports/packages/mod_gnutls
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
 --->  Attempting to fetch mod_gnutls-0.5.10_1.darwin_10.x86_64.tbz2 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/mod_gnutls
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--
 0
 --->  Fetching distfiles for mod_gnutls
 --->  Verifying checksums for mod_gnutls
 --->  Checksumming mod_gnutls-0.5.10.tar.bz2
 --->  Extracting mod_gnutls
 --->  Extracting mod_gnutls-0.5.10.tar.bz2
 --->  Applying patches to mod_gnutls
 --->  Applying patch-src_Makefile.in.diff
 patching file src/Makefile.in
 --->  Configuring mod_gnutls
 configure: creating config.nice
 checking whether to enable maintainer-specific portions of Makefiles... no
 checking build system type... x86_64-apple-darwin10.8.0
 checking host system type... x86_64-apple-darwin10.8.0
 checking target system type... x86_64-apple-darwin10.8.0
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... config/install-sh -c -d
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking for gcc... /usr/bin/gcc-4.2
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables...
 checking whether we are cross compiling... no
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether /usr/bin/gcc-4.2 accepts -g... yes
 checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
 checking for style of include used by make... GNU
 checking dependency style of /usr/bin/gcc-4.2... gcc3
 checking for a sed that does not truncate output... /opt/local/bin/gsed
 checking for grep that handles long lines and -e... /bin/grep
 checking for egrep... /bin/grep -E
 checking for fgrep... /bin/grep -F
 checking how to print strings... printf
 checking for ld used by /usr/bin/gcc-4.2... /usr/libexec/gcc/i686-apple-
 darwin10/4.2.1/ld
 checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is
 GNU ld... no
 checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
 checking the name lister (/usr/bin/nm) interface... BSD nm
 checking whether ln -s works... yes
 checking the maximum length of command line arguments... 196608
 checking whether the shell understands some XSI constructs... yes
 checking whether the shell understands "+="... yes
 checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to
 reload object files... -r
 checking for objdump... no
 checking how to recognize dependent libraries... pass_all
 checking for ar... ar
 checking for strip... strip
 checking for ranlib... ranlib
 checking command to parse /usr/bin/nm output from /usr/bin/gcc-4.2
 object... ok
 checking for dsymutil... dsymutil
 checking for nmedit... nmedit
 checking for lipo... lipo
 checking for otool... otool
 checking for otool64... no
 checking for -single_module linker flag... yes
 checking for -exported_symbols_list linker flag... yes
 checking for -force_load linker flag... yes
 checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking for dlfcn.h... yes
 checking for objdir... .libs
 checking if /usr/bin/gcc-4.2 supports -fno-rtti -fno-exceptions... no
 checking for /usr/bin/gcc-4.2 option to produce PIC... -fno-common -DPIC
 checking if /usr/bin/gcc-4.2 PIC flag -fno-common -DPIC works... yes
 checking if /usr/bin/gcc-4.2 static flag -static works... no
 checking if /usr/bin/gcc-4.2 supports -c -o file.o... yes
 checking if /usr/bin/gcc-4.2 supports -c -o file.o... (cached) yes
 checking whether the /usr/bin/gcc-4.2 linker (/usr/libexec/gcc/i686-apple-
 darwin10/4.2.1/ld) supports shared libraries... yes
 checking dynamic linker characteristics... darwin10.8.0 dyld
 checking how to hardcode library paths into programs... immediate
 checking whether stripping libraries is possible... yes
 checking if libtool supports shared libraries... yes
 checking whether to build shared libraries... yes
 checking whether to build static libraries... yes
 checking for Apache 2.0 version >= 2.0.40... yes
 checking whether DEFAULT_EXP_LIBEXECDIR is declared... no
 checking for pkg-config... /opt/local/bin/pkg-config
 checking for libgnutls - version >= 2.10.0... yes
 checking for certtool... /usr/bin/certtool
 checking whether to enable SRP functionality... yes
 checking for apr_memcache_create in -lapr_memcache... no
 configure: *** memcache library not found.
 configure: creating ./config.status
 config.status: creating Makefile
 config.status: creating src/Makefile
 config.status: creating include/mod_gnutls.h
 config.status: creating include/mod_gnutls_config.h
 config.status: executing depfiles commands
 config.status: executing libtool commands
 ---
 Configuration summary for mod_gnutls:

    * mod_gnutls version:        0.5.10
    * Apache Modules directory:  /opt/local/apache2/modules
    * GnuTLS Library version:    3.1.22
    * SRP Authentication:          yes

 ---
 --->  Building mod_gnutls
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_gnutls/mod_gnutls/work/mod_gnutls-0.5.10'
 Making all in src
 make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_gnutls/mod_gnutls/work/mod_gnutls-0.5.10/src'
 /bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -I. -I../include   -I/opt/local/include -Wall
 -I/opt/local/include -I/opt/local/include/p11-kit-1 -I/opt/local/include
 -DENABLE_SRP=1   -pipe -Os -I/opt/local/include -DDARWIN
 -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -I/opt/local/apache2/include
 -I/opt/local/include/apr-1   -I/opt/local/include/apr-1
 -I/opt/local/include  -pipe -Os -arch x86_64 -MT libmod_gnutls_la-
 mod_gnutls.lo -MD -MP -MF .deps/libmod_gnutls_la-mod_gnutls.Tpo -c -o
 libmod_gnutls_la-mod_gnutls.lo `test -f 'mod_gnutls.c' || echo
 './'`mod_gnutls.c
 /bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -I. -I../include   -I/opt/local/include -Wall
 -I/opt/local/include -I/opt/local/include/p11-kit-1 -I/opt/local/include
 -DENABLE_SRP=1   -pipe -Os -I/opt/local/include -DDARWIN
 -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -I/opt/local/apache2/include
 -I/opt/local/include/apr-1   -I/opt/local/include/apr-1
 -I/opt/local/include  -pipe -Os -arch x86_64 -MT libmod_gnutls_la-
 gnutls_io.lo -MD -MP -MF .deps/libmod_gnutls_la-gnutls_io.Tpo -c -o
 libmod_gnutls_la-gnutls_io.lo `test -f 'gnutls_io.c' || echo
 './'`gnutls_io.c
 /bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -I. -I../include   -I/opt/local/include -Wall
 -I/opt/local/include -I/opt/local/include/p11-kit-1 -I/opt/local/include
 -DENABLE_SRP=1   -pipe -Os -I/opt/local/include -DDARWIN
 -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -I/opt/local/apache2/include
 -I/opt/local/include/apr-1   -I/opt/local/include/apr-1
 -I/opt/local/include  -pipe -Os -arch x86_64 -MT libmod_gnutls_la-
 gnutls_cache.lo -MD -MP -MF .deps/libmod_gnutls_la-gnutls_cache.Tpo -c -o
 libmod_gnutls_la-gnutls_cache.lo `test -f 'gnutls_cache.c' || echo
 './'`gnutls_cache.c
 /bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -I. -I../include   -I/opt/local/include -Wall
 -I/opt/local/include -I/opt/local/include/p11-kit-1 -I/opt/local/include
 -DENABLE_SRP=1   -pipe -Os -I/opt/local/include -DDARWIN
 -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -I/opt/local/apache2/include
 -I/opt/local/include/apr-1   -I/opt/local/include/apr-1
 -I/opt/local/include  -pipe -Os -arch x86_64 -MT libmod_gnutls_la-
 gnutls_config.lo -MD -MP -MF .deps/libmod_gnutls_la-gnutls_config.Tpo -c
 -o libmod_gnutls_la-gnutls_config.lo `test -f 'gnutls_config.c' || echo
 './'`gnutls_config.c
 /bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -I. -I../include   -I/opt/local/include -Wall
 -I/opt/local/include -I/opt/local/include/p11-kit-1 -I/opt/local/include
 -DENABLE_SRP=1   -pipe -Os -I/opt/local/include -DDARWIN
 -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -I/opt/local/apache2/include
 -I/opt/local/include/apr-1   -I/opt/local/include/apr-1
 -I/opt/local/include  -pipe -Os -arch x86_64 -MT libmod_gnutls_la-
 gnutls_hooks.lo -MD -MP -MF .deps/libmod_gnutls_la-gnutls_hooks.Tpo -c -o
 libmod_gnutls_la-gnutls_hooks.lo `test -f 'gnutls_hooks.c' || echo
 './'`gnutls_hooks.c
 libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../include
 -I/opt/local/include -Wall -I/opt/local/include
 -I/opt/local/include/p11-kit-1 -I/opt/local/include -DENABLE_SRP=1 -pipe
 -Os -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
 -DDARWIN_10 -I/opt/local/apache2/include -I/opt/local/include/apr-1
 -I/opt/local/include/apr-1 -I/opt/local/include -pipe -Os -arch x86_64 -MT
 libmod_gnutls_la-mod_gnutls.lo -MD -MP -MF .deps/libmod_gnutls_la-
 mod_gnutls.Tpo -c mod_gnutls.c  -fno-common -DPIC -o .libs
 /libmod_gnutls_la-mod_gnutls.o
 libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../include
 -I/opt/local/include -Wall -I/opt/local/include
 -I/opt/local/include/p11-kit-1 -I/opt/local/include -DENABLE_SRP=1 -pipe
 -Os -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
 -DDARWIN_10 -I/opt/local/apache2/include -I/opt/local/include/apr-1
 -I/opt/local/include/apr-1 -I/opt/local/include -pipe -Os -arch x86_64 -MT
 libmod_gnutls_la-gnutls_cache.lo -MD -MP -MF .deps/libmod_gnutls_la-
 gnutls_cache.Tpo -c gnutls_cache.c  -fno-common -DPIC -o .libs
 /libmod_gnutls_la-gnutls_cache.o
 libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../include
 -I/opt/local/include -Wall -I/opt/local/include
 -I/opt/local/include/p11-kit-1 -I/opt/local/include -DENABLE_SRP=1 -pipe
 -Os -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
 -DDARWIN_10 -I/opt/local/apache2/include -I/opt/local/include/apr-1
 -I/opt/local/include/apr-1 -I/opt/local/include -pipe -Os -arch x86_64 -MT
 libmod_gnutls_la-gnutls_io.lo -MD -MP -MF .deps/libmod_gnutls_la-
 gnutls_io.Tpo -c gnutls_io.c  -fno-common -DPIC -o .libs/libmod_gnutls_la-
 gnutls_io.o
 libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../include
 -I/opt/local/include -Wall -I/opt/local/include
 -I/opt/local/include/p11-kit-1 -I/opt/local/include -DENABLE_SRP=1 -pipe
 -Os -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
 -DDARWIN_10 -I/opt/local/apache2/include -I/opt/local/include/apr-1
 -I/opt/local/include/apr-1 -I/opt/local/include -pipe -Os -arch x86_64 -MT
 libmod_gnutls_la-gnutls_config.lo -MD -MP -MF .deps/libmod_gnutls_la-
 gnutls_config.Tpo -c gnutls_config.c  -fno-common -DPIC -o .libs
 /libmod_gnutls_la-gnutls_config.o
 libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../include
 -I/opt/local/include -Wall -I/opt/local/include
 -I/opt/local/include/p11-kit-1 -I/opt/local/include -DENABLE_SRP=1 -pipe
 -Os -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
 -DDARWIN_10 -I/opt/local/apache2/include -I/opt/local/include/apr-1
 -I/opt/local/include/apr-1 -I/opt/local/include -pipe -Os -arch x86_64 -MT
 libmod_gnutls_la-gnutls_hooks.lo -MD -MP -MF .deps/libmod_gnutls_la-
 gnutls_hooks.Tpo -c gnutls_hooks.c  -fno-common -DPIC -o .libs
 /libmod_gnutls_la-gnutls_hooks.o
 In file included from mod_gnutls.c:18:
 ../include/mod_gnutls.h:31:26: error: gnutls/extra.h: No such file or
 directory
 In file included from gnutls_io.c:18:
 ../include/mod_gnutls.h:31:26: error: gnutls/extra.h: No such file or
 directory
 make[1]: *** [libmod_gnutls_la-mod_gnutls.lo] Error 1
 make[1]: *** Waiting for unfinished jobs....
 In file included from gnutls_config.c:19:
 ../include/mod_gnutls.h:31:26: error: gnutls/extra.h: No such file or
 directory
 In file included from gnutls_hooks.c:19:
 ../include/mod_gnutls.h:31:26: error: gnutls/extra.h: No such file or
 directory
 In file included from gnutls_cache.c:19:
 ../include/mod_gnutls.h:31:26: error: gnutls/extra.h: No such file or
 directory
 gnutls_config.c: In function 'mgs_set_rsa_export_file':
 gnutls_config.c:120: warning: 'gnutls_rsa_params_init' is deprecated
 (declared at /opt/local/include/gnutls/compat.h:276)
 gnutls_config.c:129: warning: 'gnutls_rsa_params_import_pkcs1' is
 deprecated (declared at /opt/local/include/gnutls/compat.h:300)
 make[1]: *** [libmod_gnutls_la-gnutls_config.lo] Error 1
 make[1]: *** [libmod_gnutls_la-gnutls_io.lo] Error 1
 gnutls_hooks.c:39: warning: 'gnutls_datum' is deprecated
 gnutls_hooks.c: In function 'mgs_select_virtual_server_cb':
 gnutls_hooks.c:184: warning: 'gnutls_certificate_type_set_priority' is
 deprecated (declared at /opt/local/include/gnutls/compat.h:272)
 gnutls_hooks.c:189: warning: 'gnutls_certificate_type_set_priority' is
 deprecated (declared at /opt/local/include/gnutls/compat.h:272)
 gnutls_hooks.c: In function 'mgs_hook_post_config':
 gnutls_hooks.c:359: warning: 'gnutls_datum' is deprecated
 gnutls_hooks.c:413: warning: 'gnutls_certificate_set_rsa_export_params' is
 deprecated (declared at /opt/local/include/gnutls/compat.h:311)
 gnutls_hooks.c:429: warning:
 'gnutls_certificate_server_set_retrieve_function' is deprecated (declared
 at /opt/local/include/gnutls/compat.h:174)
 gnutls_hooks.c: In function 'create_gnutls_handle':
 gnutls_hooks.c:724: warning: 'gnutls_protocol_set_priority' is deprecated
 (declared at /opt/local/include/gnutls/compat.h:269)
 make[1]: *** [libmod_gnutls_la-gnutls_hooks.lo] Error 1
 make[1]: *** [libmod_gnutls_la-gnutls_cache.lo] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_gnutls/mod_gnutls/work/mod_gnutls-0.5.10/src'
 make: *** [all-recursive] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_gnutls/mod_gnutls/work/mod_gnutls-0.5.10'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_gnutls/mod_gnutls/work/mod_gnutls-0.5.10"
 && /usr/bin/make -j7 -w all
 Exit code: 2
 Error: org.macports.build for port mod_gnutls returned: command execution
 failed
 Warning: targets not executed for mod_gnutls: org.macports.activate
 org.macports.build org.macports.destroot org.macports.install
 Please see the log file for port mod_gnutls for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_gnutls/mod_gnutls/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port mod_gnutls failed
 }}}

 The log referenced above is attached.

-- 
Ticket URL: <https://trac.macports.org/ticket/43285>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list