Date: Sat, 16 Jul 2022 08:18:52 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 265250] ports-mgmt/portmaster -F does not suppress build of depends (for sysutils/restic, for one) Message-ID: <bug-265250-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265250 Bug ID: 265250 Summary: ports-mgmt/portmaster -F does not suppress build of depends (for sysutils/restic, for one) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: security Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: mandree@FreeBSD.org CC: eduardo@FreeBSD.org, se@FreeBSD.org CC: eduardo@FreeBSD.org, se@FreeBSD.org I was trying portmaster -F -G <some list of origins) and found that it was waiting "forever" for a ports fetch. I saw that one of the ports actually started to BUILD a requisite, this is pstree: |-+- 06876 root /bin/sh /usr/local/sbin/portmaster -D -G -F sysutils/restic | \-+- 07800 root /usr/bin/make -DBATCH checksum | \-+- 07837 root /bin/sh /usr/ports/Mk/Scripts/do-depends.sh | \-+- 07859 root /usr/bin/make -C /usr/ports/lang/go118 -DINSTALLS_DEPENDS install | \-+- 07869 root /bin/sh make.bash -v | \-+- 07901 root ./cmd/dist/dist bootstrap -a -v | \-+- 07905 root /usr/ports/lang/go118/work/go-freebsd-amd64-bootstrap/bin/go install -gcflags=3D-l -tags=3Dmath_big_pure_go compiler_bootstrap -v bootstrap/cmd/= ... | \--- 07964 root /usr/ports/lang/go118/work/go-freebsd-amd64-bootstrap/pkg/tool/freebsd_amd6= 4/compile -o /tmp/go-build3063314774/b067/_pkg_.a -trimpath /tmp/go-build3063314774/b= 067 It can go fetch go118, but it should not attempt to build it under portmast= er -F. Proposal/request: portmaster should try harder to prevent installation of requisites in "-F" fetch-only mode.=20 Not sure but I will present this idea for thought if portmaster needs to "poison" the ports tree's environment somewhat to break build or depends attempts. --=20 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-265250-7788>