Bug 171636 - mail/php53-imap 5.3.16 fails to build
Summary: mail/php53-imap 5.3.16 fails to build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Florian Smeets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-14 09:20 UTC by freebsd
Modified: 2012-09-14 12:10 UTC (History)
1 user (show)

See Also:


Attachments
config.log (7.00 KB, text/plain)
2012-09-14 09:20 UTC, freebsd
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description freebsd 2012-09-14 09:20:07 UTC
	The configure script attempts to use the unknown "-ssl" option
	for what should probably have been -lssl.

	root@cakebox /usr/ports/mail/php53-imap > make
===>  Found saved configuration for php53-imap-5.3.15
===>  Extracting for php53-imap-5.3.16
=> SHA256 Checksum OK for php-5.3.16.tar.bz2.
===>  Patching for php53-imap-5.3.16
===>  Applying FreeBSD patches for php53-imap-5.3.16
===>   php53-imap-5.3.16 depends on file: /usr/local/lib/libcrypto.so.8 - found
===>   php53-imap-5.3.16 depends on file: /usr/local/bin/phpize - found
===>   php53-imap-5.3.16 depends on file: /usr/local/bin/autoconf-2.69 - found
===>   php53-imap-5.3.16 depends on shared library: c-client4.9 - found
===>  PHPizing for php53-imap-5.3.16
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions
===>  Configuring for php53-imap-5.3.16
===>   FreeBSD 10 autotools fix applied to /var/tmp/export/ports/mail/php53-imap/work/php-5.3.16/ext/imap/build/libtool.m4
===>   FreeBSD 10 autotools fix applied to /var/tmp/export/ports/mail/php53-imap/work/php-5.3.16/ext/imap/acinclude.m4
===>   FreeBSD 10 autotools fix applied to /var/tmp/export/ports/mail/php53-imap/work/php-5.3.16/ext/imap/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /var/tmp/export/ports/mail/php53-imap/work/php-5.3.16/ext/imap/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... /usr/local/bin/gsed
checking whether the C compiler works... no
configure: error: in `/var/tmp/export/ports/mail/php53-imap/work/php-5.3.16/ext/imap':
configure: error: C compiler cannot create executables
See `config.log' for more details
===>  Script "configure" failed unexpectedly.
Please report the problem to flo@FreeBSD.org [maintainer] and attach the
"/var/tmp/export/ports/mail/php53-imap/work/php-5.3.16/ext/imap/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/sbin/pkg_info -Ea).
*** [do-configure] Error code 1

Stop in /export/ports/mail/php53-imap.
*** [build] Error code 1

Stop in /export/ports/mail/php53-imap.

Fix: unknown
How-To-Repeat: 	cd /usr/ports/mail/php53-imap && make
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-14 09:20:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->flo

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-09-14 12:09:45 UTC
Author: flo
Date: Fri Sep 14 11:09:26 2012
New Revision: 304267
URL: http://svn.freebsd.org/changeset/ports/304267

Log:
  - put GDBM and QDBM options into an OPTIONS_SINGLE, the cannot be used
    simultaneously (affects databases/php53-dba) [1]
  - fix a typo introduced in r300957 that prevents mail/php53-imap from
    building [2]
  
  PR:		ports/171636 [2]
  Submitted by:	<freebsd@nagilum.org> [2]
  Reported by:	Shahin Qurbanov <shahin.b.qurbanov@gmail.com> [1]

Modified:
  head/lang/php53/Makefile.ext   (contents, props changed)

Modified: head/lang/php53/Makefile.ext
==============================================================================
--- head/lang/php53/Makefile.ext	Fri Sep 14 10:18:11 2012	(r304266)
+++ head/lang/php53/Makefile.ext	Fri Sep 14 11:09:26 2012	(r304267)
@@ -40,8 +40,10 @@ CONFIGURE_ARGS+=--with-curl=${LOCALBASE}
 .if ${PHP_MODNAME} == "dba"
 CONFIGURE_ARGS+=--enable-dba
 
-OPTIONS_DEFINE=	CDB DB4 GDBM QDBM INIFILE FLATFILE
+OPTIONS_DEFINE=	CDB DB4 DBM INIFILE FLATFILE
 OPTIONS_DEFAULT=	CDB INIFILE FLATFILE
+OPTIONS_SINGLE=	DBM
+OPTIONS_SINGLE_DBM=	GDBM QDBM
 
 CDB_DESC=	cdb database support
 DB4_DESC=	Berkeley DB4 support
@@ -519,7 +521,7 @@ CONFIGURE_ARGS+=--enable-gd-jis-conv
 .if ${PHP_MODNAME} == "imap"
 .	if ${PORT_OPTIONS:MSSL}
 CONFIGURE_ARGS+=--with-imap-ssl=${OPENSSLBASE}
-LDFLAGS+=	-L${OPENSSLLIB} -lcrypto -ssl
+LDFLAGS+=	-L${OPENSSLLIB} -lcrypto -lssl
 .	endif
 .endif
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Florian Smeets freebsd_committer freebsd_triage 2012-09-14 12:10:30 UTC
State Changed
From-To: open->closed

Committed. Thanks!