Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2014 17:41:23 GMT
From:      Ed Maste <emaste@freebsd.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/188924: devel/binutils installs non-functional bfd.h
Message-ID:  <201404231741.s3NHfNql098565@freefall.freebsd.org>
Resent-Message-ID: <201404231750.s3NHo0h0002301@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188924
>Category:       ports
>Synopsis:       devel/binutils installs non-functional bfd.h
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 23 17:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Ed Maste
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
FreeBSD
>Environment:
System: FreeBSD freefall.freebsd.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r264289: Wed Apr 9 02:48:19 UTC 2014 peter@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL amd64


>Description:
I have /usr/local/include/bfd.h installed by binutils-2.24 that contains:

#include "ansidecl.h"
#include "symcat.h"

Arbitrary 3rd party software that tries to link against bfd fails
configure with:

configure:5259: checking bfd.h presence                                         
configure:5259: gcc -E  -I/usr/local/include conftest.c                         
In file included from conftest.c:21:                                            
/usr/local/include/bfd.h:42:22: error: ansidecl.h: No such file or directory    
configure:5259: $? = 1                                                          
configure: failed program was:                                                  
| /* confdefs.h */                                                              
| #define PACKAGE_NAME "sbsigntool"                                             
| #define PACKAGE_TARNAME "sbsigntool"                                          
| #define PACKAGE_VERSION "0.6"                                                 
| #define PACKAGE_STRING "sbsigntool 0.6"                                       
| #define PACKAGE_BUGREPORT "jeremy.kerr@canonical.com"                         
| #define PACKAGE_URL ""                                                        
| #define PACKAGE "sbsigntool"                                                  
| #define VERSION "0.6"                                                         
| #define STDC_HEADERS 1                                                        
| #define HAVE_SYS_TYPES_H 1                                                    
| #define HAVE_SYS_STAT_H 1                                                     
| #define HAVE_STDLIB_H 1                                                       
| #define HAVE_STRING_H 1                                                       
| #define HAVE_MEMORY_H 1                                                       
| #define HAVE_STRINGS_H 1                                                      
| #define HAVE_INTTYPES_H 1                                                     
| #define HAVE_STDINT_H 1                                                       
| #define HAVE_UNISTD_H 1                                                       
| /* end confdefs.h.  */                                                        
| #include <bfd.h>                                                              
configure:5259: result: no                                                      

>How-To-Repeat:
Try to build 3rd party software that needs to link bfd

>Fix:


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404231741.s3NHfNql098565>