Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 2015 21:53:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 204645] devel/binutils fails to build if earlier version is present
Message-ID:  <bug-204645-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204645

            Bug ID: 204645
           Summary: devel/binutils fails to build if earlier version is
                    present
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bapt@FreeBSD.org
          Reporter: svvoyt@i.ua
          Assignee: bapt@FreeBSD.org
             Flags: maintainer-feedback?(bapt@FreeBSD.org)

Created attachment 163267
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163267&action=edit
Patch for port's Makefile

OS version: FreeBSD 10.2-RELEASE-p7
Arch: amd64

Previous version of binutils is 2.23.2

Build error caused by new define "ATTRIBUTE_RETURNS_NONNULL". I didn't remove
old version before build new one. So, in /usr/local/include was ansidecl.h from
old package version. Solution for me was to add "-I../include" before usual
path in Makefile's variable "CFLAGS" (see attachment).

-- 
You are receiving this mail because:
You are the assignee for the bug.



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