Solved Set default JDK for Poudriere port building?

Hello,

I have a situation where the port Makefile doesn't specify what version of JDK is necessary, so it seems to default to the oldest:
Code:
Building java/openjdk7 | openjdk-7.261.02.1,1
Finished java/openjdk7 | openjdk-7.261.02.1,1: Ignored: is marked as broken on FreeBSD 13.0: does not link: duplicate symbol: fp_g_free
Skipping editors/openoffice-devel | apache-openoffice-devel-4.2.1633255994,4: Dependent port java/openjdk7 | openjdk-7.261.02.1,1 ignored

Doing preliminary research, I stumble onto discussions of the bsd.default-versions.mk file located at: /usr/local/poudriere/ports/default/Mk/bsd.default-versions.mk
Code:
JAVA_DEFAULT?=          8

It seems that the default version should be 8 which would allow the java packages to build, but it's defaulting to version 7. I feel like I'm missing something in either the FreeBSD docs or the Poudriere configuration, but for the life of me I can't find it.

Thanks in advance,

freebsdinator
 
I had done that already, and thought it didn't work but as soon as I added it back, other ports rebuilt with the new version.

I dug deeper through the dependencies and found the trouble child: databases/db5. It is hard-coded to jdk7 and I now understand why the port has been failing for so long!

===> NOTICE:

This port is deprecated; you may wish to reconsider installing it:

EOLd, potential security issues, maybe use db18 instead.

It is scheduled to be removed on or after 2022-06-30.

Once this port is no longer a dependency, that should address the underlying issue.

Thanks for the help!
 
Where is make.conf ?
make.conf(5)

Or specifically for poudriere:
Code:
   Create optional make.conf
     You can also specify a global make.conf which will be used for all the
     jails.  Any of the following are allowed and will all be used in the
     order shown:

           /usr/local/etc/poudriere.d/make.conf
           /usr/local/etc/poudriere.d/<setname>-make.conf
           /usr/local/etc/poudriere.d/<tree>-make.conf
           /usr/local/etc/poudriere.d/<jailname>-make.conf
           /usr/local/etc/poudriere.d/<tree>-<setname>-make.conf
           /usr/local/etc/poudriere.d/<jailname>-<tree>-make.conf
           /usr/local/etc/poudriere.d/<jailname>-<setname>-make.conf
           /usr/local/etc/poudriere.d/<jailname>-<tree>-<setname>-make.conf
           /usr/local/etc/poudriere.d/hooks/plugins/<plugin>/make.conf
poudriere(8)
 
Back
Top