[Bug 273836] net-p2p/transmission: failed to build transmission-full-4.0.4

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 18 Sep 2023 14:01:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273836

Owen <owen@easytarget.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |owen@easytarget.org

--- Comment #10 from Owen <owen@easytarget.org> ---
I've run into this with poudriere. When the update from 3.x to 4 arrived I ran:

`poudrire options <build,jail> net-p2p/transmission`

- I had looked in UPDATING to see if there was a note there, but not seeing
anything I simply assumed the old `transmission-*` ports had been combined into
one.

And so I set the options I was presented with as:
```
 [ ] CLI    Build remote & command-line (deprecated) clients
 [ ] DOCS   Build and/or install documentation
 [ ] NLS    Native Language Support
 [ ] TESTS  Build & run unit tests
 [x] UTILS  Build utilities (create, edit, show)
 [x] WEB    Install web client
```

I the rebuilt it
`poudrire bulks <build,jail> net-p2p/transmission`

And promptly got the same failure as the OP, It was easy to resolve by building
the flavors I want, but what confused me as that I did not realise you had
added FLAVORS to this.

This is in part because I do not really associate the FLAVOR mechanism with
building different discreet parts of a port. I think of it as a way to have
otherwise conflicting builds present (eg python3.y and python3.z built and
installed on the same system, or GTK3 and GTK4 builds, etc..)

AFIK you need to remove the local `make config` options entirely where they
conflict with flavor selection. There can still be config entries for (eg) man
pages, documentation or tests. But the options now controlled by flavor need to
be removed.

-- 
You are receiving this mail because:
You are the assignee for the bug.