Bug 192960 - ports-mgmt/portmaster dependency handling is incorrect.
Summary: ports-mgmt/portmaster dependency handling is incorrect.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-24 03:42 UTC by Peter Jeremy
Modified: 2016-01-18 06:11 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Jeremy freebsd_committer freebsd_triage 2014-08-24 03:42:08 UTC
portmaster appears to ignore installed ports when calculating dependencies.  As an example, I have libjpeg-turbo-1.3.0_1 (graphics/libjpeg-turbo) installed - which installs /usr/local/lib/libjpeg.so (and related files).  If I try to update (eg) tiff, I get:

builder% portmaster tiff               

===>>> Currently installed version: tiff-4.0.3_1
===>>> Port directory: /usr/ports/graphics/tiff

===>>> Launching 'make checksum' for graphics/tiff in background
===>>> Gathering dependency list for graphics/tiff from ports
===>>> Launching child to install graphics/jpeg

===>>> tiff-4.0.3_1 >> graphics/jpeg (1/1)

===>>> Port directory: /usr/ports/graphics/jpeg

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

===>>> Continuing initial dependency check for graphics/tiff
===>>> Initial dependency check complete for graphics/tiff


===>>> tiff-4.0.3_1 >> (1)

===>>> The following actions will be taken if you choose to proceed:
        Upgrade tiff-4.0.3_1 to tiff-4.0.3_4
        Install graphics/jpeg

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

If I run "cd /usr/ports/graphics/tiff && make", then tiff compiles correctly, without requiring graphics/jpeg.
Comment 1 John Marino freebsd_committer freebsd_triage 2014-08-24 08:50:14 UTC
over to maintainer
Comment 2 wjenkner 2014-08-24 11:57:02 UTC
I think this is a regression in pkg.

Please see

http://permalink.gmane.org/gmane.os.freebsd.devel.gecko/3739

(I had CC'ed the author of the relevant change.)
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2015-04-25 16:10:38 UTC
Assignee is no longer the maintainer.