Poudriere "No option was selected"

I was trying to build openjdk11 and encountered the following error with print/freetype2.
Code:
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License FTL GPLv2+ accepted by the user
====> You must select one and only one option from the RENDERING single
=====> No option was selected (and one must be)
*** Error code 1

Stop.
make: stopped in /usr/ports/print/freetype2
=>> Cleaning up wrkdir
===>  Cleaning for freetype2-2.13.2
build of print/freetype2 | freetype2-2.13.2 ended at Tue May 28 08:50:14 AEST 2024
build time: 00:00:02
!!! build failure encountered
I have already run poudriere options -j 13 -c print/freetype2 to set the options and I can see the options are set in /usr/local/etc/poudriere.d/13-options/print_freetype2/options and it looks like below:
Code:
# This file is auto-generated by 'make config'.
# Options for freetype2-2.13.2
_OPTIONS_READ=freetype2-2.13.2
_FILE_COMPLETE_OPTIONS_LIST=BROTLI DEBUG DOCS LONG_PCF_NAMES PNG TABLE_VALIDATION LCD_FILTERING LCD_RENDERING TT_SIZE_METRICS
OPTIONS_FILE_SET+=BROTLI
OPTIONS_FILE_UNSET+=DEBUG
OPTIONS_FILE_SET+=DOCS
OPTIONS_FILE_SET+=LONG_PCF_NAMES
OPTIONS_FILE_SET+=PNG
OPTIONS_FILE_UNSET+=TABLE_VALIDATION
OPTIONS_FILE_UNSET+=LCD_FILTERING
OPTIONS_FILE_SET+=LCD_RENDERING
OPTIONS_FILE_SET+=TT_SIZE_METRICS
I have also encountered a similar error before with a different port and no matter what I do, it seems poudriere just doesn't use the options I set.
Any idea?

Thanks
 
and I can see the options are set in /usr/local/etc/poudriere.d/13-options/print_freetype2/options
Is there perhaps a /usr/local/etc/poudriere.d/13-default-options/, /usr/local/etc/poudriere.d/default-options/ or /usr/local/etc/poudriere.d/options/ directory with options?

Code:
   Custom build options
     Before building a package, poudriere can mount a directory containing
     option files if available.  poudriere will check for any of these
     directories in this order:

           /usr/local/etc/poudriere.d/<jailname>-<tree>-<setname>-options
           /usr/local/etc/poudriere.d/<jailname>-<setname>-options
           /usr/local/etc/poudriere.d/<jailname>-<tree>-options
           /usr/local/etc/poudriere.d/<tree>-<setname>-options
           /usr/local/etc/poudriere.d/<setname>-options
           /usr/local/etc/poudriere.d/<tree>-options
           /usr/local/etc/poudriere.d/<jailname>-options
           /usr/local/etc/poudriere.d/options
 
With default-options not in the checklist above, would there be an effect? (Is this directory name implied?)
It's the name of the ports tree. It fits these two: /usr/local/etc/poudriere.d/<jailname>-<tree>-options and /usr/local/etc/poudriere.d/<tree>-options.
 
Back
Top