From owner-freebsd-ports@FreeBSD.ORG Sun May 11 21:42:14 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org 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 91FE62D0 for ; Sun, 11 May 2014 21:42:14 +0000 (UTC) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4A93228AE for ; Sun, 11 May 2014 21:42:13 +0000 (UTC) Received: by mail-vc0-f175.google.com with SMTP id hu19so4751652vcb.6 for ; Sun, 11 May 2014 14:42:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=1mc9PshZXZInWbQ7H+spppoDxNNsjzu/RM9dav2imww=; b=hxJOsG4/gQdgyE/cI6huRB2RyKxfXG75V1nfqZqw0j81CaGsDbz3PO8Joi01bxzDmK tCss4Ge3/7C69mmB/bd111ak5yq/SyEEoetqE/xfnFmelDz8NN7SaKzKamLWjiqkBNqn p6MgA6l3XVR3Cw9gTkKxHyxafJgXVTCWsVLmXfvdvQgbKLZAu819e4PyZ1bhTvRHKIRq r7tCQp+I36olqqPmvRI0HxH5v3Q8y2rbILjukYshLr/cOG/Aix0+jSgdui2hCpM3jnhW +WvkPxKzizuZLRJkFGPW+WNDeVyBnHYB53fSqyVkstUKJ09W3LpWBlJFCQOtRZ6dvZIJ q5dQ== X-Gm-Message-State: ALoCoQkfSDY8JQmpZnIk3VW1SmJRrMuRHmpE7fZ7rN1w7CYWVgw1agRos/Ha4SVmNn1YxjH3i+Cw X-Received: by 10.52.183.228 with SMTP id ep4mr2676026vdc.30.1399844532589; Sun, 11 May 2014 14:42:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.178.139 with HTTP; Sun, 11 May 2014 14:41:52 -0700 (PDT) X-Originating-IP: [71.181.235.37] In-Reply-To: <536FD5F3.30006@freebsd.org> References: <536FD5F3.30006@freebsd.org> From: Geoff Speicher Date: Sun, 11 May 2014 17:41:52 -0400 Message-ID: Subject: Re: devel/binutils and devel/gnulibiberty version mismatch To: Niclas Zeising Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: Craig Leres , Gerald Pfeifer , Martin Matuska , freebsd-ports@freebsd.org, Joerg Wunsch X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 May 2014 21:42:14 -0000 On Sun, May 11, 2014 at 3:56 PM, Niclas Zeising wrote: > On 05/09/14 20:08, Gerald Pfeifer wrote: > > On Fri, 9 May 2014, Geoff Speicher wrote: > >> Bringing in other parties for feedback, based on their mention in the > >> binutils commit (svn link below). > > > > This reminded me of ports/184327: devel/binutils erroneously installs > > $PREFIX/include/ansidecl.h. > > That has been fixed, when I updated devel/binutils to 2.24. > Regards! > Actually, I have a question about ports/184327. This bug report asserts that ansidecl.h is an internal file necessary only to build the GNU toolchain and should not be installed by devel/binutils. However, binutils also installs bfd.h which happens to include ansidecl.h (at least, it does in v2.24). Therefore, the installed bfd.h is broken. This fact either contradicts the original assertion that ansidecl.h should not be installed, or else it implies that bfd.h should not be installed either. However, if we did not install bfd.h then we probably shouldn't install bfd.a either, and at least some ports seem to rely on binutils to provide them both. So I am questioning whether the removal of ansidecl.h from the devel/binutils install is the optimal fix, or if there is a better way to handle this that allows lang/gcc49 to work without breaking devel/binutils and programs that rely on BFD.