Bug 267411 - INDEX: broken by recent commit to math/octave-forge-symbolic
Summary: INDEX: broken by recent commit to math/octave-forge-symbolic
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: Stephen Montgomery-Smith
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-29 04:04 UTC by Tomoaki AOKI
Modified: 2022-10-29 08:21 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (stephen)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomoaki AOKI 2022-10-29 04:04:37 UTC
commit 0a2a0a1c98dac6ac7d020a22b53fa3acf5f7d43f on math/octave-forge-symbolic broke INDEX build.

--- describe.x11-wm ---
make_index: /usr/ports/math/octave-forge-symbolic: no entry for /usr/ports/math/py-sympy@
 Done.
failed to generate INDEX!

This is fixed by adding USES+= python after RUN_DEPENDS= line on
math/octave-forge-symbolic/Makefile.
(PY_FLAVOR is unresolved without it.)

See Porters' Handbook Chapter 7.4 and its Example 9. [1]

[1] https://docs.freebsd.org/en/books/porters-handbook/flavors/#flavors-auto-python


BTW, my email is refused by freebsd.org MTA. :-(
(Already reported at Bug 267336 but no luck until now.)
So I MUST file a PR even like these kind of easy error.
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-10-29 04:55:39 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2c531875d0e1350646a6bb8af001be85c1460b1f

commit 2c531875d0e1350646a6bb8af001be85c1460b1f
Author:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2022-10-29 04:52:30 +0000
Commit:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2022-10-29 04:52:30 +0000

    math/octave-forge-symbolic: Add uses=python.

    So that ${PY_FLAVOR} is defined.

    PR:             267411
    Reported by:    Tomoaki AOKI <junchoon@dec.sakura.ne.jp>

 math/octave-forge-symbolic/Makefile | 2 ++
 1 file changed, 2 insertions(+)
Comment 2 Stephen Montgomery-Smith freebsd_committer freebsd_triage 2022-10-29 04:56:24 UTC
Committed, thank you.
Comment 3 Tomoaki AOKI 2022-10-29 08:21:31 UTC
(In reply to Stephen Montgomery-Smith from comment #2)

Confirmed. Thanks!