freebsd-ports/sysutils/cpu-x
Alexey Dokuchaev eb6c9c8c4a sysutils/cpu-x@ncurses: unbreak the port's packaging under Poudriere
Back in 2020 diizzy@ had reported that daemon was installed in the wrong
path when the port was built under Poudriere without X11 (GTK+) support.
This seemed totally odd (and not reproducible in the Tinderbox) so I've
scratched my head and put it off for better times.

When the port was converted to flavors, the problem had resurfaced: now
the ncurses flavor was failing on the cluster!

Looking at the CMake code, it calls `include(GNUInstallDirs)' which
correctly sets CMAKE_INSTALL_FULL_LIBEXECDIR to `/usr/local/libexec'.
The code then checks for its existence, the failure logs indicate that
it does not exist, which should not be possible because it is part of
the `Templates/BSD.local.dist', so it should be mtree'd inside the build
jail.  Tinderbox does exactly this, but not Poudriere, so unless this
directory is created (populated) by the dependencies or e.g. ccache(1),
one cannot assume that it really exists in pristine environment.

Regardless of whether mtree'ing jail with `BSD.local.dist' is the right
thing or not, checking for some common path existence and setting it to
something else if it's not found is definitely wrong.

This was a joint investigation by fluffy@ and yours truly.

PR:	251785
2023-04-08 13:05:44 +00:00
..
files sysutils/cpu-x@ncurses: unbreak the port's packaging under Poudriere 2023-04-08 13:05:44 +00:00
distinfo sysutils/cpu-x: update the port to version 4.5.3 2023-04-04 03:16:40 +00:00
Makefile sysutils/cpu-x: try to further improve the port (part one) 2023-04-07 14:23:10 +00:00
pkg-descr
pkg-plist sysutils/cpu-x: update the port to version 4.5.3 2023-04-04 03:16:40 +00:00