|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
44 + 21 = ?
Subscribe to this entry?

 [2014-03-05 11:29 UTC] skler84 at gmail dot com
From manual page:

Expected result:

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 -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/ -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:
duplicate symbol _gnupg_class_entry in:
ld: 2 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [] Error 1
ERROR: `make' failed


Add a Patch

Pull Requests

Add a Pull Request


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