From mexas@bristol.ac.uk  Mon Feb 24 09:35:47 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 9E196B99
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 24 Feb 2014 09:35:47 +0000 (UTC)
Received: from eu1sys200aog111.obsmtp.com (eu1sys200aog111.obsmtp.com [207.126.144.131])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id DC7611C4C
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 24 Feb 2014 09:35:46 +0000 (UTC)
Received: from mail-wi0-f176.google.com ([209.85.212.176]) (using TLSv1) by eu1sys200aob111.postini.com ([207.126.147.11]) with SMTP
	ID DSNKUwsSRGgz0M80I7nNkWGR4XXZVcMeS8Mi@postini.com; Mon, 24 Feb 2014 09:35:47 UTC
Received: by mail-wi0-f176.google.com with SMTP id hi5so2795685wib.9
        for <FreeBSD-gnats-submit@freebsd.org>; Mon, 24 Feb 2014 01:35:00 -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 pm2sm23162326wic.0.2014.02.24.01.34.58
        for <FreeBSD-gnats-submit@freebsd.org>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Mon, 24 Feb 2014 01:34:59 -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 s1O9YvVi073195
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 24 Feb 2014 09:34:57 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 s1O9YvSe073194;
	Mon, 24 Feb 2014 09:34:57 GMT
	(envelope-from mexas)
Message-Id: <201402240934.s1O9YvSe073194@mech-cluster241.men.bris.ac.uk>
Date: Mon, 24 Feb 2014 01:34:59 -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: science/cgnslib, ia64 11-current, build failure: /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:         187000
>Category:       ports
>Synopsis:       science/cgnslib, ia64 11-current, build failure: /usr/local/lib/gcc46/libgcc_s.so: could not read symbols: File in wrong format
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    thierry
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 24 09:40:00 UTC 2014
>Closed-Date:    Thu Feb 27 15:35:54 UTC 2014
>Last-Modified:  Thu Feb 27 15:35:54 UTC 2014
>Originator:     Anton Shterenlikht
>Release:        FreeBSD 11.0-CURRENT ia64
>Organization:
University of Bristol
>Environment:
System: FreeBSD mech-cluster241.men.bris.ac.uk 11.0-CURRENT FreeBSD 11.0-CURRENT #11 r260914: Fri Feb 7 13:43:53 GMT 2014 root@mech-cluster241.men.bris.ac.uk:/usr/obj/usr/src/sys/TZAV ia64


	
>Description:

building in a poudriere jail.
Fails with

cd /wrkdirs/usr/ports/science/cgnslib/work/cgnslib_3.1.4/src && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cgns_shared.dir/link.txt --verbose=1
/usr/bin/cc  -fPIC -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing  -Wl,-rpath=/usr/local/lib/gcc46  -L/usr/local/lib/gcc46 -shared -Wl,-soname,libcgns.so.3.1 -o libcgns.so.3.1 CMakeFiles/cgns_shared.dir/cgns_error.c.o CMakeFiles/cgns_shared.dir/cgns_internals.c.o CMakeFiles/cgns_shared.dir/cgns_io.c.o CMakeFiles/cgns_shared.dir/cgnslib.c.o CMakeFiles/cgns_shared.dir/adf/ADF_interface.c.o CMakeFiles/cgns_shared.dir/adf/ADF_internals.c.o CMakeFiles/cgns_shared.dir/adfh/ADFH.c.o CMakeFiles/cgns_shared.dir/cg_ftoc.c.o CMakeFiles/cgns_shared.dir/cgio_ftoc.c.o -Wl,-rpath,:::::::::::::: 
/usr/local/lib/gcc46/libgcc_s.so: could not read symbols: File in wrong format
*** Error code 1

The full build log:

http://eis.bris.ac.uk/~mexas/logs/cgnslib-3.1.4_1,1.log

	
>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->thierry 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Feb 24 09:40:09 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

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

From: Anton Shterenlikht <mexas@bris.ac.uk>
To: bug-followup@freebsd.org
Cc:  
Subject: RE: ports/187000: science/cgnslib, ia64 11-current, build failure: /usr/local/lib/gcc46/libgcc_s.so: could not read symbols: File in wrong format
Date: Mon, 24 Feb 2014 07:05:08 -0800 (PST)

 The patch from PR http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/186946
 solves this problem.
State-Changed-From-To: open->analyzed 
State-Changed-By: thierry 
State-Changed-When: lun 24 fév 2014 22:19:27 UTC 
State-Changed-Why:  

The patch proposed by tijl and included in PR ports/186946 fixes the problem. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=187000 
State-Changed-From-To: analyzed->patched 
State-Changed-By: thierry 
State-Changed-When: jeu 27 fév 2014 08:25:11 UTC 
State-Changed-Why:  

The patch has been committed as r346193. 

Please check if this is OK now. 


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

From: Anton Shterenlikht <mexas@bris.ac.uk>
To: bug-followup@freebsd.org
Cc:  
Subject: ports/187000: science/cgnslib, ia64 11-current, build failure: /usr/local/lib/gcc46/libgcc_s.so: could not read symbols: File in wrong format
Date: Thu, 27 Feb 2014 06:29:55 -0800 (PST)

 yes, seems fixed
 Please close this PR
 Many thanks
 
 Anton
State-Changed-From-To: patched->closed 
State-Changed-By: thierry 
State-Changed-When: jeu 27 fév 2014 15:35:06 UTC 
State-Changed-Why:  

Fixed by Tijl's patch. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=187000 
>Unformatted:
