From mexas@bristol.ac.uk  Wed Mar  5 09:15:41 2014
Return-Path: <mexas@bristol.ac.uk>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 2F9CE199
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  5 Mar 2014 09:15:41 +0000 (UTC)
Received: from eu1sys200aog104.obsmtp.com (eu1sys200aog104.obsmtp.com [207.126.144.117])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 7F700EA5
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  5 Mar 2014 09:15:40 +0000 (UTC)
Received: from mail-wg0-f41.google.com ([74.125.82.41]) (using TLSv1) by eu1sys200aob104.postini.com ([207.126.147.11]) with SMTP
	ID DSNKUxbrOnj6liOF/7Vg5RWrcFuFkhU6cRyN@postini.com; Wed, 05 Mar 2014 09:15:40 UTC
Received: by mail-wg0-f41.google.com with SMTP id n12so850980wgh.0
        for <FreeBSD-gnats-submit@freebsd.org>; Wed, 05 Mar 2014 01:15:38 -0800 (PST)
Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241])
        by mx.google.com with ESMTPSA id bj3sm8658705wjb.14.2014.03.05.01.15.37
        for <FreeBSD-gnats-submit@freebsd.org>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Wed, 05 Mar 2014 01:15:37 -0800 (PST)
Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1])
	by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id s259FZsL050042
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 5 Mar 2014 09:15:35 GMT
	(envelope-from mexas@mech-cluster241.men.bris.ac.uk)
Received: (from mexas@localhost)
	by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id s259FZV1050041;
	Wed, 5 Mar 2014 09:15:35 GMT
	(envelope-from mexas)
Message-Id: <201403050915.s259FZV1050041@mech-cluster241.men.bris.ac.uk>
Date: Wed, 05 Mar 2014 01:15:37 -0800 (PST)
From: Anton Shterenlikht <mexas@bris.ac.uk>
Sender: Anton Shterenlikht <mexas@bristol.ac.uk>
Reply-To: Anton Shterenlikht <mexas@bris.ac.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: math/fftw: 11.0-CURRENT r262690 ia64: ports tree at r347001: /usr/local/lib/gcc46/libgcc_s.so: could not read symbols: File in wrong format
X-Send-Pr-Version: 3.114
X-GNATS-Notify:

>Number:         187274
>Category:       ports
>Synopsis:       math/fftw: 11.0-CURRENT r262690 ia64: ports tree at r347001: /usr/local/lib/gcc46/libgcc_s.so: could not read symbols: File in wrong format
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tijl
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 05 09:20:00 UTC 2014
>Closed-Date:    Wed Mar 05 18:29:22 CET 2014
>Last-Modified:  Fri Mar  7 13:50:00 UTC 2014
>Originator:     Anton Shterenlikht
>Release:        FreeBSD 11.0-CURRENT ia64
>Organization:
University of Bristol	
>Environment:
System: FreeBSD mech-as221.men.bris.ac.uk 11.0-CURRENT FreeBSD 11.0-CURRENT #12 r260914M: Sun Mar  2 15:40:58 GMT 2014     root@mech-as221.men.bris.ac.uk:/usr/obj/usr/src/sys/UZI  ia64


	
>Description:

building in this poudriere jail:

# poudriere jails -l
JAILNAME             VERSION              ARCH    METHOD  PATH
ia64-11              11.0-CURRENT r262690 ia64    svn+https /pdr/jails/ia64-11

With the poudriere ports tree at r347001.

Error:

/bin/sh /usr/local/bin/libtool  --tag=CC   --mode=link cc  -O2 -pipe -fno-strict-aliasing -version-info 2:7:0 -Wl,-rpath=/usr/local/lib/gcc46  -L/usr/local/lib/gcc46 -B/usr/local/bin -o libfftw.la -rpath /usr/local/lib fn_1.lo fn_2.lo fn_3.lo fn_4.lo fn_5.lo fn_6.lo fn_7.lo fn_8.lo fn_9.lo fn_10.lo fn_11.lo fn_12.lo fn_13.lo fn_14.lo fn_15.lo fn_16.lo fn_32.lo fn_64.lo ftw_2.lo ftw_3.lo ftw_4.lo ftw_5.lo ftw_6.lo ftw_7.lo ftw_8.lo ftw_9.lo ftw_10.lo ftw_16.lo ftw_32.lo ftw_64.lo fni_1.lo fni_2.lo fni_3.lo fni_4.lo fni_5.lo fni_6.lo fni_7.lo fni_8.lo fni_9.lo fni_10.lo fni_11.lo fni_12.lo fni_13.lo fni_14.lo fni_15.lo fni_16.lo fni_32.lo fni_64.lo ftwi_2.lo ftwi_3.lo ftwi_4.lo ftwi_5.lo ftwi_6.lo ftwi_7.lo ftwi_8.lo ftwi_9.lo ftwi_10.lo ftwi_16.lo ftwi_32.lo ftwi_64.lo timer.lo config.lo planner.lo twiddle.lo executor.lo generic.lo fftwnd.lo malloc.lo wisdom.lo wisdomio.lo putils.lo rader.lo fftwf77.lo  -lm 
libtool: link: cc -shared  -fPIC -DPIC  .libs/fn_1.o .libs/fn_2.o .libs/fn_3.o .libs/fn_4.o .libs/fn_5.o .libs/fn_6.o .libs/fn_7.o .libs/fn_8.o .libs/fn_9.o .libs/fn_10.o .libs/fn_11.o .libs/fn_12.o .libs/fn_13.o .libs/fn_14.o .libs/fn_15.o .libs/fn_16.o .libs/fn_32.o .libs/fn_64.o .libs/ftw_2.o .libs/ftw_3.o .libs/ftw_4.o .libs/ftw_5.o .libs/ftw_6.o .libs/ftw_7.o .libs/ftw_8.o .libs/ftw_9.o .libs/ftw_10.o .libs/ftw_16.o .libs/ftw_32.o .libs/ftw_64.o .libs/fni_1.o .libs/fni_2.o .libs/fni_3.o .libs/fni_4.o .libs/fni_5.o .libs/fni_6.o .libs/fni_7.o .libs/fni_8.o .libs/fni_9.o .libs/fni_10.o .libs/fni_11.o .libs/fni_12.o .libs/fni_13.o .libs/fni_14.o .libs/fni_15.o .libs/fni_16.o .libs/fni_32.o .libs/fni_64.o .libs/ftwi_2.o .libs/ftwi_3.o .libs/ftwi_4.o .libs/ftwi_5.o .libs/ftwi_6.o .libs/ftwi_7.o .libs/ftwi_8.o .libs/ftwi_9.o .libs/ftwi_10.o .libs/ftwi_16.o .libs/ftwi_32.o .libs/ftwi_64.o .libs/timer.o .libs/config.o .libs/planner.o .libs/twiddle.o .libs/executor.o .libs/generic.o .lib
 s/fftwnd.o .libs/malloc.o .libs/wisdom.o .libs/wisdomio.o .libs/putils.o .libs/rader.o .libs/fftwf77.o   -L/usr/local/lib/gcc46 -lm  -O2 -Wl,-rpath=/usr/local/lib/gcc46   -Wl,-soname -Wl,libfftw.so.2 -o .libs/libfftw.so.2
/usr/local/lib/gcc46/libgcc_s.so: could not read symbols: File in wrong format
gmake[3]: *** [libfftw.la] Error 1
gmake[3]: Leaving directory `/wrkdirs/usr/ports/math/fftw/work/fftw-2.1.5/fftw'

Full build log:

http://eis.bris.ac.uk/~mexas/logs/fftw-2.1.5_7.log

Note: this report supersedes:
http://www.freebsd.org/cgi/query-pr.cgi?pr=184992,
which can be now closed.

	
>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: tijl 
State-Changed-When: Wed Mar 5 18:27:54 CET 2014 
State-Changed-Why:  
It should work now in r347124. 


Responsible-Changed-From-To: freebsd-ports-bugs->tijl 
Responsible-Changed-By: tijl 
Responsible-Changed-When: Wed Mar 5 18:27:54 CET 2014 
Responsible-Changed-Why:  
It should work now in r347124. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=187274 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/187274: commit references a PR
Date: Wed,  5 Mar 2014 17:27:35 +0000 (UTC)

 Author: tijl
 Date: Wed Mar  5 17:27:27 2014
 New Revision: 347124
 URL: http://svnweb.freebsd.org/changeset/ports/347124
 QAT: https://qat.redports.org/buildarchive/r347124/
 
 Log:
   - Add USES=libtool to fix linker problem on FreeBSD/i386 8.x and
     FreeBSD/ia64.
   - Remove patch-configure.in (not needed) and remove USE_AUTOTOOLS.
   - Add OPTIONS_EXCLUDE=DOCS to math/fftw-float slave port.
   - Simplify Makefile a little.
   
   PR:		ports/187274
 
 Deleted:
   head/math/fftw/files/patch-configure.in
 Modified:
   head/math/fftw-float/Makefile
   head/math/fftw/Makefile
   head/math/fftw/pkg-plist
 
 Modified: head/math/fftw-float/Makefile
 ==============================================================================
 --- head/math/fftw-float/Makefile	Wed Mar  5 17:16:06 2014	(r347123)
 +++ head/math/fftw-float/Makefile	Wed Mar  5 17:27:27 2014	(r347124)
 @@ -1,11 +1,10 @@
  # Created by: Michael Johnson <ahze@ahze.net>
  # $FreeBSD$
  
 -PORTREVISION=	3
 -
  COMMENT=	Fast C routines (Single Percision)
  
  FFTW_FLAVOR=	float
  MASTERDIR=	${.CURDIR}/../../math/fftw
 +OPTIONS_EXCLUDE=DOCS
  
  .include "${MASTERDIR}/Makefile"
 
 Modified: head/math/fftw/Makefile
 ==============================================================================
 --- head/math/fftw/Makefile	Wed Mar  5 17:16:06 2014	(r347123)
 +++ head/math/fftw/Makefile	Wed Mar  5 17:27:27 2014	(r347124)
 @@ -3,13 +3,12 @@
  
  PORTNAME=	fftw
  PORTVERSION=	2.1.5
 -PORTREVISION?=	7
 +PORTREVISION?=	8
  CATEGORIES=	math
  MASTER_SITES=	ftp://ftp.fftw.org/pub/fftw/ 		\
  		ftp://ftp.fftw.org/pub/fftw/old/ 	\
  		ftp://theory.lcs.mit.edu/pub/fftw/	\
  		ftp://pm.cse.rmit.edu.au/pub/dsp/fftw/
 -PKGNAMESUFFIX=	${FFTW_PKGNAMESUFFIX}
  
  MAINTAINER=	ports@FreeBSD.org
  COMMENT?=	Fast C routines to compute the Discrete Fourier Transform
 @@ -20,16 +19,14 @@ OPTIONS_DEFINE=	DOCS
  
  # current flavors: default, float
  FFTW_FLAVOR?=	default
 -FFTW_SUFIX=
  
 -USES=		fortran gmake
 -USE_AUTOTOOLS=	aclocal automake autoconf libtool
 -ACLOCAL_ARGS=	-I ${LOCALBASE}/share/aclocal
 -AUTOMAKE_ARGS=	--add-missing
 -CONFIGURE_ENV=	MAKEINFO="makeinfo --no-split"
 +GNU_CONFIGURE=	yes
  CONFIGURE_ARGS=	--enable-shared
 +USES=		fortran gmake libtool
  USE_LDCONFIG=	yes
  
 +BROKEN_sparc64=	does not build
 +
  PLIST_SUB=	FFTW_SUFX="${FFTW_SUFX}"
  
  PORTSCOUT=	limit:^2\.
 @@ -37,11 +34,10 @@ PORTSCOUT=	limit:^2\.
  .if ${FFTW_FLAVOR}=="float"
  CONFIGURE_ARGS+=	--enable-float --enable-type-prefix
  FFTW_SUFX=		s
 -FFTW_PKGNAMESUFFIX=	-float
 -PLIST_SUB+=	DEF="@comment "
 +PKGNAMESUFFIX=		-float
  .else
 +FFTW_SUFIX=
  INFO=			fftw
 -PLIST_SUB+=	DEF=""
  .endif
  
  .include <bsd.port.options.mk>
 @@ -50,12 +46,8 @@ PLIST_SUB+=	DEF=""
  CONFIGURE_ARGS+=	--enable-i386-hacks
  .endif
  
 -.if ${ARCH} == "sparc64"
 -BROKEN=		does not build
 -.endif
 -
  post-patch:
 -	@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc | |' ${WRKSRC}/Makefile.am
 +	@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc | |' ${WRKSRC}/Makefile.in
  
  post-build:
  .if ${FFTW_FLAVOR}=="default"
 
 Modified: head/math/fftw/pkg-plist
 ==============================================================================
 --- head/math/fftw/pkg-plist	Wed Mar  5 17:16:06 2014	(r347123)
 +++ head/math/fftw/pkg-plist	Wed Mar  5 17:27:27 2014	(r347124)
 @@ -4,9 +4,11 @@ lib/lib%%FFTW_SUFX%%fftw.a
  lib/lib%%FFTW_SUFX%%fftw.la
  lib/lib%%FFTW_SUFX%%fftw.so
  lib/lib%%FFTW_SUFX%%fftw.so.2
 +lib/lib%%FFTW_SUFX%%fftw.so.2.0.7
  lib/lib%%FFTW_SUFX%%rfftw.a
  lib/lib%%FFTW_SUFX%%rfftw.la
  lib/lib%%FFTW_SUFX%%rfftw.so
  lib/lib%%FFTW_SUFX%%rfftw.so.2
 -%%DEF%%%%PORTDOCS%%%%DOCSDIR%%/fftw.ps
 -%%DEF%%%%PORTDOCS%%@dirrm %%DOCSDIR%%
 +lib/lib%%FFTW_SUFX%%rfftw.so.2.0.7
 +%%PORTDOCS%%%%DOCSDIR%%/fftw.ps
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%
 _______________________________________________
 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"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/187274: commit references a PR
Date: Fri,  7 Mar 2014 13:41:02 +0000 (UTC)

 Author: tijl
 Date: Fri Mar  7 13:40:55 2014
 New Revision: 347381
 URL: http://svnweb.freebsd.org/changeset/ports/347381
 QAT: https://qat.redports.org/buildarchive/r347381/
 
 Log:
   Patch makefiles so libtool passes -B${LOCALBASE}/bin to the compiler in
   link mode.  Normally USES=libtool deals with this, but the libtool script
   in this port is too old to patch easily.
   
   PR:		ports/187274
 
 Modified:
   head/math/fftw/Makefile
 
 Modified: head/math/fftw/Makefile
 ==============================================================================
 --- head/math/fftw/Makefile	Fri Mar  7 12:53:40 2014	(r347380)
 +++ head/math/fftw/Makefile	Fri Mar  7 13:40:55 2014	(r347381)
 @@ -48,6 +48,9 @@ CONFIGURE_ARGS+=	--enable-i386-hacks
  
  post-patch:
  	@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc | |' ${WRKSRC}/Makefile.in
 +	@${REINPLACE_CMD} -e '/^LINK/s|$$(CCLD)|& -Wc,-B${LOCALBASE}/bin|' \
 +		${WRKSRC}/fftw/Makefile.in ${WRKSRC}/mpi/Makefile.in \
 +		${WRKSRC}/rfftw/Makefile.in ${WRKSRC}/threads/Makefile.in
  
  post-build:
  .if ${FFTW_FLAVOR}=="default"
 _______________________________________________
 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"
 
>Unformatted:
