Bug 242086 - ports-mgmt/portmaster: When a port is marked LLD_UNSAFE, portmaster tries to reinstall devel/binutils even if it is already installed
Summary: ports-mgmt/portmaster: When a port is marked LLD_UNSAFE, portmaster tries to ...
Status: Closed DUPLICATE of bug 241227
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-19 21:08 UTC by Yasuhiro KIMURA
Modified: 2019-11-21 03:33 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro KIMURA 2019-11-19 21:08:18 UTC
When a port is marked LLD_UNSAFE, devel/binutils is added to BUILD_DEPENDS. And when you try to install/upgrade/reinstall such port, portmaster tries to reinstall devel/binutils even if it is already installed. Following is a example of such cases.

root@maybe[2005]# pkg info -aq | grep binutils                                                                       ~
binutils-2.33.1,1
root@maybe[2006]# portmaster archivers/arj                                                                           ~

===>>> Port directory: /usr0/freebsd/ports/head/archivers/arj

===>>> Launching 'make checksum' for archivers/arj in background
===>>> Gathering dependency list for archivers/arj from ports
===>>> Launching child to install devel/binutils

===>>> archivers/arj >> devel/binutils (1/1)

===>>> Currently installed version: binutils-2.33.1,1
===>>> Port directory: /usr0/freebsd/ports/head/devel/binutils

===>>> Launching 'make checksum' for devel/binutils in background
===>>> Gathering dependency list for devel/binutils from ports
===>>> Initial dependency check complete for devel/binutils

===>>> Continuing initial dependency check for archivers/arj
===>>> Initial dependency check complete for archivers/arj


===>>> archivers/arj >> (1)

===>>> The following actions will be taken if you choose to proceed:
        Install archivers/arj
        Re-install binutils-2.33.1,1

===>>> Proceed? y/n [y] n


===>>> If you would like to upgrade or install some, but not
       all of the above try adding '-i' to the command line.
root@maybe[2007]#
Comment 1 Tatsuki Makino 2019-11-20 09:30:27 UTC
(In reply to Yasuhiro KIMURA from comment #0)

binutils now uses flavor, so it's the same as bug 241227, maybe.
Comment 2 Yasuhiro KIMURA 2019-11-21 03:33:25 UTC
(In reply to Tatsuki Makino from comment #1)

Thanks. Then I close this bug report as duplicate of bug #241227.

*** This bug has been marked as a duplicate of bug 241227 ***