notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Sanity Test Failure
Sunday, 12 Feb 2023
17:57 Piotr Kubaj (pkubaj) search for other commits by this committer
graphics/bgfx: fix build on powerpc64* and probably riscv64

/wrkdirs/usr/ports/graphics/bgfx/work/bgfx.cmake-1.118.8398-370/bimg/3rdparty/nvtt/nvcore/debug.h:173:10:
error: cast from pointer to smaller type 'uint32' (aka 'unsigned int') loses
information
            if (reinterpret_cast<uint32>(ptr) == 0xcccccccc) return false;
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/graphics/bgfx/work/bgfx.cmake-1.118.8398-370/bimg/3rdparty/nvtt/nvcore/debug.h:174:10:
error: cast from pointer to smaller type 'uint32' (aka 'unsigned int') loses
information
            if (reinterpret_cast<uint32>(ptr) == 0xcdcdcdcd) return false;
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/graphics/bgfx/work/bgfx.cmake-1.118.8398-370/bimg/3rdparty/nvtt/nvcore/debug.h:175:10:
error: cast from pointer to smaller type 'uint32' (aka 'unsigned int') loses
information
            if (reinterpret_cast<uint32>(ptr) == 0xdddddddd) return false;
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/graphics/bgfx/work/bgfx.cmake-1.118.8398-370/bimg/3rdparty/nvtt/nvcore/debug.h:176:10:
error: cast from pointer to smaller type 'uint32' (aka 'unsigned int') loses
information
            if (reinterpret_cast<uint32>(ptr) == 0xffffffff) return false;
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

(cherry picked from commit 32cf9412c58d339066e091ad088126e1236b52dd)
commit hash: 85f7d7a34bad0da5785708b8c7932375dc3cf060 commit hash: 85f7d7a34bad0da5785708b8c7932375dc3cf060 commit hash: 85f7d7a34bad0da5785708b8c7932375dc3cf060 commit hash: 85f7d7a34bad0da5785708b8c7932375dc3cf060 

Sanity Test Results

graphics/bgfx:

I did not find a Makefile for this port, and none was mentioned in the
commit.  If a repocopy has been done, please ignore this message. This
command (FreshPorts code 1):

/usr/local/bin/sudo /usr/sbin/jexec freshports /make-port.sh /usr/ports
graphics/bgfx
2>/tmp/FreshPorts.graphics.bgfx.make-error.2023.2.12.18.0.33.48932

produced this error:

Error message is: make: cannot open /usr/ports/graphics/bgfx/Makefile.
Make results are : 
make: stopped in /usr/ports/graphics/bgfx