blender issues boost-jam and boost-lib versions

I am having a version control issue as the port for games/openmw requires version 1.88 of boost whereas graphics/blender requires version 1.89.

Originally I installed blender and it worked. Then I attempted to install the openmw port and saw a boostlib version error. Somehow I fixed the build error by uninstalling the boost version I had and I forget exactly what I did to get the version to change. Now that I realize that getting openmw to work broke blender, now I want the blender dep v1.89 for boost.

How should I be thinking about this software version situation?

I tried uninstalling devel/boost-libs and then installing the deps for blender again, but this seems to have just installed 1.88 again. What can I do to get 1.89 as the port install for blender managed to do originally?
 
I am having a version control issue as the port for games/openmw requires version 1.88 of boost whereas graphics/blender requires version 1.89.
They both depend on devel/boost-libs. There is no difference in version dependency.

What might be happening here is mixing quarterly packages with latest ports. Quarterly (2025Q4 branch) had 1.88, latest (main branch) has 1.89.
 
If you checked out a ports tree with git(1) you're likely on the main branch (aka 'latest'). For all -RELEASE versions pkg(8) defaults to using the quarterly package repositories, you can check with pkg repos.

If you want to switch to the 'latest' package repositories, create a /usr/local/etc/pkg/repos/FreeBSD.conf:

This is for 15.0.
Code:
FreeBSD-ports: {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest"
}
FreeBSD-ports-kmods: {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_latest_${VERSION_MINOR}"
}

For 14.3 it's:
Code:
FreeBSD: {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest"
}
FreeBSD-kmods: {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_latest_${VERSION_MINOR}"
}

The names of the repository changed, so make sure to use the correct one.
 
My ports come from install of the system I believe, eg installing from USB drive onto hardware. I'm not sure if that means git pulled latest or if somehow it merely offered quarterly.

Here is the result of `doas pkg repo`

Code:
FreeBSD-ports: {
    url             : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/quarterly",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }

FreeBSD-ports-kmods: {
    url             : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/kmods_quarterly_0",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }

FreeBSD-base: {
    url             : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/base_release_0",
    enabled         : no,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkgbase-15"
  }

FreeBSD1: {
    url             : "pkg+http://pkg.freebsd.org/FreeBSD:15:amd64/latest",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }

Seems rather a mess. I made somehow modified the FreeBSD1 into existence when trying to use pkg to get graphics drivers but didn't realize at the time to use ports as I have done for almost all my software after getting xfce4 and the intel graphics drivers working. Here is my `/usr/local/etc/pkgs/repos/FreeBSD.conf`

Code:
FreeBSD: {enalbed: no}
FreeBSD1: {
    url: "pkg+http://pkg.freebsd.org/${ABI}/latest",
    mirror_type: "srv",
    signature_type: "fingerprints",
    fingerprints: "/usr/share/keys/pkg",
    enabled: yes
}

What should be done to fix this? I wanted the latest ports for everything but I have no desire to rebuild everything right now. Seems like I have quaterly ports but latest packages? In the initial hours of my fresh install I don't think I considered the nuances of setting up ports during install and the consquences of trying to use pkg after setting the system to be based around ports.

At the end of the day I want to build blender from the port again. The port is looking for boost-libs v1.89 but install for its dep v1.88
 
After upgrading etc, I attempt to build the port for blender and get a new error.

Code:
/usr/ports/graphics/blender/work/blender-4.2.0/intern/cycles/bvh/../graph/node_enum.h:51:31: error: unknown type name 'ustringHash'; did you mean 'ustringhash'?
   51 |   unordered_map<ustring, int, ustringHash>::const_iterator begin() const
      |                               ^~~~~~~~~~~
      |                               ustringhash
/usr/local/include/OpenImageIO/ustring.h:771:21: note: 'ustringhash' declared here

Does this indicate that a header file is different from what is expected: if so does that mean that the versions do not match or does this code need to be patched? Any ideas for what can be done? Maybe I somehow need to reset the port? I tried make clean before running make install clean again
 
I think maybe blender works in quarterly but not latest?

Could I set up a jail with quaterly and run blender from that maybe? Can you get a GUI on X11 with a jail?
 
Back
Top