Bug 184279 - security/gnutls3: does not build on a system where autogen is installed
Summary: security/gnutls3: does not build on a system where autogen is installed
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: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-25 09:20 UTC by Matthias Andree
Modified: 2013-11-26 00:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Andree freebsd_committer freebsd_triage 2013-11-25 09:20:00 UTC
Trying to compile on 9.2-amd64 fails like this:

$ make -C /usr/ports/security/gnutls3 pretty-print-config
+CXX +DOCS +EXAMPLES +LIBTASN1 

$ make
...
gnome-libtool: compile:  cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I./../gl -I./../gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -I/usr/local/include -I/usr/local/include -fPIC -D_THREAD_SAFE -O2 -pipe -march=athlon64 -fstack-protector -fno-strict-aliasing -MT libcmd_srp_la-srptool-args.lo -MD -MP -MF .deps/libcmd_srp_la-srptool-args.Tpo -c srptool-args.c  -fPIC -DPIC -o .libs/libcmd_srp_la-srptool-args.o
In file included from ./../gl/stdlib.h:96,
                 from srptool-args.c:45:
./../gl/unistd.h:121:3: error: #error "Please include config.h first."
In file included from ./../gl/stdlib.h:96,
                 from srptool-args.c:45:
./../gl/unistd.h:606: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
In file included from srptool-args.c:45:
./../gl/stdlib.h:566: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
gmake[4]: *** [libcmd_srp_la-srptool-args.lo] Error 1
gmake[4]: Leaving directory `/var/tmp/usr/ports/security/gnutls3/work/gnutls-3.1.17/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/var/tmp/usr/ports/security/gnutls3/work/gnutls-3.1.17/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/var/tmp/usr/ports/security/gnutls3/work/gnutls-3.1.17/src'
gmake[1]: *** [all-recursive] Fehler 1
gmake[1]: Leaving directory `/var/tmp/usr/ports/security/gnutls3/work/gnutls-3.1.17'
gmake: *** [all] Fehler 2
*** [do-build] Error code 1

Stop in /usr/ports/security/gnutls3.
*** [build] Error code 1

Stop in /usr/ports/security/gnutls3.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-25 09:20:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wg

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 William Grzybowski 2013-11-25 10:34:16 UTC
Hi,

It builds just fine in poudriere 9.2 amd64.
Can you help me identify or reproduce the issue?

Thanks

-- 
William Grzybowski
------------------------------------------
Curitiba/PR - Brasil
Comment 3 Matthias Andree 2013-11-25 22:31:09 UTC
This is a multi-part message in MIME format.
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-11-25 23:59:11 UTC
Author: wg
Date: Mon Nov 25 23:59:04 2013
New Revision: 334906
URL: http://svnweb.freebsd.org/changeset/ports/334906

Log:
  security/gnutls3: fix build without autogen
  
  PR:		ports/184279
  Submitted by:	mandree

Modified:
  head/security/gnutls3/Makefile

Modified: head/security/gnutls3/Makefile
==============================================================================
--- head/security/gnutls3/Makefile	Mon Nov 25 22:49:29 2013	(r334905)
+++ head/security/gnutls3/Makefile	Mon Nov 25 23:59:04 2013	(r334906)
@@ -17,7 +17,7 @@ LIB_DEPENDS=	libgpg-error.so:${PORTSDIR}
 		libidn.so:${PORTSDIR}/dns/libidn \
 		libtspi.so:${PORTSDIR}/security/trousers
 
-GNUTLS_SUFFIX=3
+GNUTLS_SUFFIX=	3
 
 USES=		gmake iconv pkgconfig
 USE_AUTOTOOLS=	libtool
@@ -34,7 +34,8 @@ CONFIGURE_ARGS=	--program-suffix=${GNUTL
 			--disable-guile \
 			--disable-nls \
 			--disable-silent-rules \
-			--disable-hardware-acceleration
+			--disable-hardware-acceleration \
+			--enable-local-libopts
 
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}${GNUTLS_SUFFIX}
 EXAMPLESDIR=	${PREFIX}/share/examples/${PORTNAME}${GNUTLS_SUFFIX}
_______________________________________________
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 5 William Grzybowski freebsd_committer freebsd_triage 2013-11-25 23:59:47 UTC
State Changed
From-To: open->closed

Committed. Thanks!