ports/176406: [PATCH] devel/binutils: installs a file that conflict with devel/gnulibiberty

Craig Leres leres at ee.lbl.gov
Mon Feb 25 02:50:01 UTC 2013


>Number:         176406
>Category:       ports
>Synopsis:       [PATCH] devel/binutils: installs a file that conflict with devel/gnulibiberty
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 25 02:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Craig Leres
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
Lawrence Berkeley National Laboratory
>Environment:
System: FreeBSD fun.ee.lbl.gov 9.1-RELEASE FreeBSD 9.1-RELEASE #4 r13: Fri Feb 1 19:03:16 PST 2013 leres at fun.ee.lbl.gov:/sys/amd64/compile/LBL amd64

	
>Description:
	The devel/binutils port includes a version of libiberty and
	installs /usr/local/lib/libiberty.a which conflicts with
	the devel/gnulibiberty port.

>How-To-Repeat:
	# Build/install both ports:
	cd /usr/ports/devel/gnulibiberty && make install
	cd /usr/ports/devel/binutils && make install

	# Then ask pkg_info who owns /usr/local/lib/libiberty.a:
	pkg_info -W /usr/local/lib/libiberty.a
	pkg_info: both binutils-2.23.1 and gnulibiberty-2.19.1_2 claim to have installed /usr/local/lib/libiberty.a

	/usr/local/lib/libiberty.a was installed by package binutils-2.23.1

>Fix:
	I believe the simplest fix is for devel/binutils to not
	install the libiberty files it builds with; patch attached.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list