php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66824 Don't compile
Submitted: 2014-03-05 11:29 UTC Modified: 2016-12-14 17:37 UTC
From: skler84 at gmail dot com Assigned: bukka (profile)
Status: Closed Package: gnupg (PECL)
PHP Version: 5.4.25 OS: OS X 10.9.2 (13C64)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: skler84 at gmail dot com
New email:
PHP Version: OS:

 

 [2014-03-05 11:29 UTC] skler84 at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/gnupg.installation
---



Expected result:
----------------
Build gnupg.so

Actual result:
--------------
sudo pecl install gnupg                                                                                              ] 12:21 pm
downloading gnupg-1.3.3.tgz ...
Starting to download gnupg-1.3.3.tgz (19,141 bytes)
......done: 19,141 bytes
5 source files, building
running: phpize
Configuring for:
PHP Api Version:         20100412
Zend Module Api No:      20100525
Zend Extension Api No:   220100525
building in /private/tmp/pear/install/pear-build-rootVL1aQx/gnupg-1.3.3
running: /private/tmp/pear/install/gnupg/configure
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /opt/local/bin/gsed
checking for cc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i386-apple-darwin13.1.0
checking host system type... i386-apple-darwin13.1.0
checking target system type... i386-apple-darwin13.1.0
checking for PHP prefix... /opt/local
checking for PHP includes... -I/opt/local/include/php54/php -I/opt/local/include/php54/php/main -I/opt/local/include/php54/php/TSRM -I/opt/local/include/php54/php/Zend -I/opt/local/include/php54/php/ext -I/opt/local/include/php54/php/ext/date/lib -I/opt/local/include
checking for PHP extension directory... /opt/local/lib/php54/extensions/no-debug-non-zts-20100525
checking for PHP installed headers prefix... /opt/local/include/php54/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking for gnupg support... yes, shared
checking for gnupg files in default path... found in /usr/local/include
checking for gpgme_check_version in -lgpgme... yes
checking for gpg... /opt/local/bin/gpg
checking for ld used by cc... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin13.1.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... no

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /private/tmp/pear/install/pear-build-rootVL1aQx/gnupg-1.3.3/libtool --mode=compile cc  -I. -I/private/tmp/pear/install/gnupg -DPHP_ATOM_INC -I/private/tmp/pear/install/pear-build-rootVL1aQx/gnupg-1.3.3/include -I/private/tmp/pear/install/pear-build-rootVL1aQx/gnupg-1.3.3/main -I/private/tmp/pear/install/gnupg -I/opt/local/include/php54/php -I/opt/local/include/php54/php/main -I/opt/local/include/php54/php/TSRM -I/opt/local/include/php54/php/Zend -I/opt/local/include/php54/php/ext -I/opt/local/include/php54/php/ext/date/lib -I/opt/local/include -I/usr/local/include  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/install/gnupg/gnupg.c -o gnupg.lo
mkdir .libs
 cc -I. -I/private/tmp/pear/install/gnupg -DPHP_ATOM_INC -I/private/tmp/pear/install/pear-build-rootVL1aQx/gnupg-1.3.3/include -I/private/tmp/pear/install/pear-build-rootVL1aQx/gnupg-1.3.3/main -I/private/tmp/pear/install/gnupg -I/opt/local/include/php54/php -I/opt/local/include/php54/php/main -I/opt/local/include/php54/php/TSRM -I/opt/local/include/php54/php/Zend -I/opt/local/include/php54/php/ext -I/opt/local/include/php54/php/ext/date/lib -I/opt/local/include -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/install/gnupg/gnupg.c  -fno-common -DPIC -o .libs/gnupg.o
/bin/sh /private/tmp/pear/install/pear-build-rootVL1aQx/gnupg-1.3.3/libtool --mode=compile cc  -I. -I/private/tmp/pear/install/gnupg -DPHP_ATOM_INC -I/private/tmp/pear/install/pear-build-rootVL1aQx/gnupg-1.3.3/include -I/private/tmp/pear/install/pear-build-rootVL1aQx/gnupg-1.3.3/main -I/private/tmp/pear/install/gnupg -I/opt/local/include/php54/php -I/opt/local/include/php54/php/main -I/opt/local/include/php54/php/TSRM -I/opt/local/include/php54/php/Zend -I/opt/local/include/php54/php/ext -I/opt/local/include/php54/php/ext/date/lib -I/opt/local/include -I/usr/local/include  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/install/gnupg/gnupg_keylistiterator.c -o gnupg_keylistiterator.lo
 cc -I. -I/private/tmp/pear/install/gnupg -DPHP_ATOM_INC -I/private/tmp/pear/install/pear-build-rootVL1aQx/gnupg-1.3.3/include -I/private/tmp/pear/install/pear-build-rootVL1aQx/gnupg-1.3.3/main -I/private/tmp/pear/install/gnupg -I/opt/local/include/php54/php -I/opt/local/include/php54/php/main -I/opt/local/include/php54/php/TSRM -I/opt/local/include/php54/php/Zend -I/opt/local/include/php54/php/ext -I/opt/local/include/php54/php/ext/date/lib -I/opt/local/include -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/install/gnupg/gnupg_keylistiterator.c  -fno-common -DPIC -o .libs/gnupg_keylistiterator.o
/bin/sh /private/tmp/pear/install/pear-build-rootVL1aQx/gnupg-1.3.3/libtool --mode=link cc -DPHP_ATOM_INC -I/private/tmp/pear/install/pear-build-rootVL1aQx/gnupg-1.3.3/include -I/private/tmp/pear/install/pear-build-rootVL1aQx/gnupg-1.3.3/main -I/private/tmp/pear/install/gnupg -I/opt/local/include/php54/php -I/opt/local/include/php54/php/main -I/opt/local/include/php54/php/TSRM -I/opt/local/include/php54/php/Zend -I/opt/local/include/php54/php/ext -I/opt/local/include/php54/php/ext/date/lib -I/opt/local/include -I/usr/local/include  -DHAVE_CONFIG_H  -g -O2   -o gnupg.la -export-dynamic -avoid-version -prefer-pic -module -rpath /private/tmp/pear/install/pear-build-rootVL1aQx/gnupg-1.3.3/modules  gnupg.lo gnupg_keylistiterator.lo -Wl,-rpath,/usr/local/include/lib -L/usr/local/include/lib -lgpgme
cc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/gnupg.so -bundle  .libs/gnupg.o .libs/gnupg_keylistiterator.o  -L/usr/local/include/lib /usr/local/lib/libgpgme.dylib -L/opt/local/lib /usr/local/lib/libgpg-error.dylib  -Wl,-rpath -Wl,/usr/local/include/lib
ld: warning: directory not found for option '-L/usr/local/include/lib'
duplicate symbol _gnupg_keylistiterator_class_entry in:
    .libs/gnupg.o
    .libs/gnupg_keylistiterator.o
duplicate symbol _gnupg_class_entry in:
    .libs/gnupg.o
    .libs/gnupg_keylistiterator.o
ld: 2 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [gnupg.la] Error 1
ERROR: `make' failed

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-02-11 18:42 UTC] jimjag@php.net
-Status: Open +Status: Analyzed
 [2015-02-11 18:42 UTC] jimjag@php.net
Cannot recreate
 [2016-12-14 17:37 UTC] bukka@php.net
-Status: Analyzed +Status: Closed -Assigned To: +Assigned To: bukka
 [2016-12-14 17:37 UTC] bukka@php.net
Fixed in 1.4.0
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC