ports/111360: dns/libidn & autotools problem

Roman Bogorodskiy novel at FreeBSD.org
Sat Apr 7 19:50:02 UTC 2007


>Number:         111360
>Category:       ports
>Synopsis:       dns/libidn & autotools problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 07 19:50:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Roman Bogorodskiy
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:


>Description:
	On a system with autotools installed dns/libidn fails to build:

	---- buildlog ----
	Making all in doc
	make  all-recursive
	Making all in specifications
	Making all in tld
	Making all in java
	 cd .. && automake19 --gnits  doc/Makefile
	aclocal.m4:14: error: this file was generated for autoconf 2.61.
	You have another version of autoconf.  If you want to use that,
	you should regenerate the build system entirely.
	aclocal.m4:14: the top level
	autom4te259: /usr/local/bin/gm4 failed with exit status: 63
	automake19: autoconf259 failed with exit status: 63
	*** Error code 63

	Stop in /usr/ports/dns/libidn/work/libidn-0.6.10/doc.
	*** Error code 1
	---- log ends ----

	Building in a clean environment (i.e. tinderbox) shows that it tries to
	execute autotools anyway, but after finding out that it's not available
	it gives up and just prints a warning:

	---- buildlog ----
	cd .. && /bin/sh /work/a/ports/dns/libidn/work/libidn-0.6.10/missing --run automake-1.10 --gnits  doc/Makefile
	automake-1.10: not found
	WARNING: `automake-1.10' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
	---- log ends ----

	So not calling automake fixes build on my system, and does not
	seen to do any harm anyway.

	PS I must note I'm running -CURRENT/amd64 with gcc4 and tested
	it on tb3 -CURRENT. I don't think it's gcc4 fault, but it's
	better to mention.

>How-To-Repeat:
	
>Fix:

	

--- libidn.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/dns/libidn/Makefile,v
retrieving revision 1.62
diff -u -r1.62 Makefile
--- Makefile	27 Jan 2007 23:42:06 -0000	1.62
+++ Makefile	7 Apr 2007 19:38:10 -0000
@@ -39,6 +39,8 @@
 post-patch:
 	@${REINPLACE_CMD} -e 's|@image{components}||g' \
 		${WRKSRC}/doc/libidn.texi
+	@${REINPLACE_CMD} -e 's|$$(AUTOMAKE)|${TRUE}|' \
+		${WRKSRC}/doc/Makefile.in
 
 post-install:
 .if !defined(NOPORTDOCS)
--- libidn.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list