Bug 162248 - [patch] devel/avr-binutils conflicts with devel/binutils
Summary: [patch] devel/avr-binutils conflicts with devel/binutils
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Joerg Wunsch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-02 11:00 UTC by 4720@hushmail.com
Modified: 2011-12-16 22:21 UTC (History)
0 users

See Also:


Attachments
file.diff (987 bytes, patch)
2011-11-02 11:00 UTC, 4720@hushmail.com
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description 4720@hushmail.com 2011-11-02 11:00:21 UTC
devel/binutils and devel/avr-binutils install info files to the same place,
overwriting each others files in the process.

pkg_info -W /usr/local/info/as.info 
pkg_info: both avr-binutils-2.20_1 and binutils-2.21.1 claim to have installed /usr/local/info/as.info

Fix: attached patch installs devel/avr-binutils info files into a separate directory
to resolve files conflict.

Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-11-02 11:00:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->joerg

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Chris Rees freebsd_committer freebsd_triage 2011-11-28 20:48:17 UTC
Responsible Changed
From-To: joerg->crees

Timeout.
Comment 3 Joerg Wunsch freebsd_committer freebsd_triage 2011-12-14 15:25:03 UTC
State Changed
From-To: open->feedback

Questions to the suggested patch: 

How useful is it to install the info files into a directory that won't 
be searched by any of the info tools?  Wouldn't it be better to 
perhaps not install them at all? 

Why has the removal of the avr subdirectory been dropped from the 
pkg-plist file (or conditionalized into the Makefile)?  If someone 
wants to be remove the entire AVR toolchain properly, the binutils are 
the last component to remove, and as such, they are responsible to 
cleanup the ${prefix}/avr subdirectory they once created. 


Comment 4 Joerg Wunsch freebsd_committer freebsd_triage 2011-12-14 15:25:03 UTC
Responsible Changed
From-To: crees->joerg

Questions to the suggested patch: 

How useful is it to install the info files into a directory that won't 
be searched by any of the info tools?  Wouldn't it be better to 
perhaps not install them at all? 

Why has the removal of the avr subdirectory been dropped from the 
pkg-plist file (or conditionalized into the Makefile)?  If someone 
wants to be remove the entire AVR toolchain properly, the binutils are 
the last component to remove, and as such, they are responsible to 
cleanup the ${prefix}/avr subdirectory they once created.
Comment 5 Joerg Wunsch freebsd_committer freebsd_triage 2011-12-16 22:20:43 UTC
State Changed
From-To: feedback->closed

Suggested patch applied. 

Thanks again, and thanks for the quick response!